-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Currently no clear way to implement array reads and writes for both holding registers and coils.
implementation should be straight forward
For Coils its just an boolean array into the modus api coil read and write multiple.
For Registers, if the data type of the items are int16/uint16 then can just put items into use as modbus api register read and write multiple. If wanting to use floating point data types a conversion is necessary to send the data type as 2 16 byte words. I have used in the past an implementation I found in the Modbus API examples, attached below are the two VI's needed to accomplish the conversion to and from Float for transmission via Modbus.