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. Modbus is not restricted by the network type, in theory it can use any QIODevice. However, not every plugin supports all classes derived from QIODevice.

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:

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.