If the device you wish to communicate with uses standard Modbus register mapping, you can use the "Modbus Compatible Device" driver along with the appropriate port type (serial, TCP, etc.) and protocol (Modbus RTU, ASCII, TCP).
To extract individual bit values from a register, 40043 for example, you need to set the address field in your Input tags (typically Digital Status for this use) to indicate the register number followed by the bit number with a "/" character separating them. For example:
40043/0 will read bit 0
40043/1 will read bit 1
...
40043/15 will read bit 15
If the device you wish to communicate with uses standard Modbus register mapping, you can use the "Modbus Compatible Device" driver along with the appropriate port type (serial, TCP, etc.) and protocol (Modbus RTU, ASCII, TCP).
To extract individual bit values from a register, 40043 for example, you need to set the address field in your Input tags (typically Digital Status for this use) to indicate the register number followed by the bit number with a "/" character separating them. For example:
40043/0 will read bit 0
40043/1 will read bit 1
...
40043/15 will read bit 15
Lawrence MacNeil
Trihedral Engineering Limited