Modbus Server example | Qt Serial Bus 6.4.1

- Qt 6.4
- Qt Serial Bus
- Modbus Server example
- Qt 6.4.1 Reference Documentation

# Modbus Server example

The example implements a Modbus server application.

The example acts as Modbus server. It receives standard Modbus requests, adjusts its internal states based on the request and responds with the appropriate reply.

#### Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

This example must be used in conjunction with the Modbus Client example. This example should be started and put into the listen state before the Modbus client example is started. Subsequent interactions between the two examples use the Modbus protocol.

Example project @ code.qt.io