public async Task <float[]> ReadBigFloatDataAsync(ushort startAddress, byte bitAddress, ushort count, byte memoryAreaCode) { var sid = IncrementSid(); var cmd = FinsDriver.ReadDataCommand(new Header(sid, true), memoryAreaCode, startAddress, bitAddress, count); _responses[sid].RecType = RecDataType.Big_float; return((await CommandAsync(sid, cmd)).FloatData); }
public float[] ReadDOFloatData(ushort startAddress, byte bitAddress, ushort count, byte memoryAreaCode) { var sid = IncrementSid(); var cmd = FinsDriver.ReadDataCommand(new Header(sid, true), memoryAreaCode, startAddress, bitAddress, count); _responses[sid].RecType = RecDataType.DO_float; return(Read(sid, cmd).FloatData); }