Qt Modbus

Modbus is a request/reply protocol that has one Modbus client in its network and may have many Modbus servers. Servers can control only their own internal states, and clients can read and write data in them.

Each Modbus server has four tables in which it can store data.

namedata range in one fieldpermissions for client
Discrete Inputs0-1Read
Coils0-1Read/Write
Input Registers0-65535 (0xffff)Read
Holding Registers0-65535 (0xffff)Read/Write

The Modbus API provides some common API to access the Modbus devices: