- Qt 6.4
- Qt Serial Bus
- Modbus Client example
- Qt 6.4.3 Reference Documentation

# Modbus Client example

The example implements a Modbus client application.

The example acts as Modbus client sending Modbus request via serial line and TCP respectively. The shown dialog allows the definition of standard requests and displays incoming responses.

#### 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.

The example must be used in conjunction with the Modbus server example or another Modbus device which is either connected via TCP or Serial Port.

Example project @ code.qt.io