Skip to content

Missing handling of Tag Bus array elements #21

@brbrindle

Description

@brbrindle

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.

Float to 2 Uint16 for Modbus.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions