Configure Slave Device

OpenPLC supports Arduino UNO by default, only the device name, device type, and connected port need to be configured, the COM Port should be the same as ‘/dev/ttyUSB*’ above:

Figure 1. Configure Slave Device

After completing the configuration and saving, start PLC Runtime. VisionFive 2 can connect Arduino through serial and use it as a sub-device of Modbus-RTU to expand its IO. The verification of the connections of Modbus-RTU master and slave is the same as Modbus-TCP.