Modbus 从属范例

范例实现 Modbus 从属应用程序。

The example acts as Modbus slave. It receives standard Modbus requests, adjusts its internal states based on the request and responds with the appropriate reply. As such a slave is the equivalent of a Modbus server.

运行范例

要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,拜访 构建和运行范例 .

This example must be used in conjunction with the Modbus 主控范例 . This example should be started and put into the listen state before the Modbus master example is started. Subsequent interactions between the two examples use the Modbus protocol.

范例工程 @ code.qt.io