Modbus function 16 (10 hex) for 32-bit float data types, Preset Multiple Registers/Write Multiple Registers with float data.
BusProtocolErrors.FTALK_SUCCESS on success or error code. See BusProtocolErrors for possible error codes.
Writes float values into pairs of output registers (holding registers, 4:00000 table).
Note Modbus does not know about any other data type than discretes and 16-bit registers. Because a float value is of 32-bit length, it will be transferred as two consecutive 16-bit registers. This means that the amount of registers transferred with this function is twice the amount of float values passed to this function.
Note Broadcast supported for serial protocols
MbusMasterFunctions Class | FieldTalk Namespace | MbusMasterFunctions.writeMultipleFloats Overload List