I'm using the following setup:
- Raspberrry Pi 3 as Modbus RTU Master (MODBUS_COM_Port_1)
- Arduino UNO as Modbus RTU Slave
both are connected via USB
I use ModbusSerial library for Arduino from here:https://github.com/andresarmento/modbus ... /libraries
I tested the Arduino with qModMaster on my Windows-PC via USB port. This worked well as you can see in the screenshots. Therefore I assume that the Arduino setup and code are correct.
Further, I also assigned the RaspberryPi USB Com Port described here:viewtopic.php?f=21&t=6755&p=14284&hilit=modbus+rtu#p14284
But as you can see in the screenshot, the Modbus slave is not running (red triangle) and status of Modbus Slave is 'Bus error'.
Thank you for your help!