The Modbus Client module allows users to quickly and easily connect N3uron to any Modbus compatible device. Some of the main functionalities supported by the module include:
TCP and Serial communications: Modbus TCP, Modbus RTU, and RTU over TCP.
Unlimited connections: Multiple connections can be run in parallel to provide the fastest overall communications.
Poll on demand: Poll can depend on a tag property, if needed.
Automatic reconnection: After a set number of communication attempts.
Auto-Demotion: Allows devices with issues to be isolated to prevent them from affecting other devices in the same communication channel.
Function Codes Supported: Listed in the following table.
Function Name | Code | Hex |
Read Discrete Inputs | 02 | 0x02 |
Read Coils | 01 | 0x01 |
Write Single Coil | 05 | 0x05 |
Read Input Register | 04 | 0x04 |
Read Holding Register | 03 | 0x03 |
Write Single Register | 06 | 0x06 |
Write Multiple Registers* | 16 | 0x10 |
Note:
Function 16 is supported. However, multiple writes are not possible, thus it works like function 6 (write single register).