Modbus Daisy Chain not working!
I have 25 slave devices in daisy chain on RS485 physical layer. I am using Arduino as my slave device and TTL to RS485 converter connected to it. At the master end I have a Raspberry Pi and RS485 to USB converter connected to it. Now I am able to receive data from 10-11 devices properly and continuously. But 9 devices are giving checksum error or Too short response error. And remaining others are giving No communication. I have proper shielding throughout the slave devices and it's connected to Raspberry Pi's ground. But the other end is not connected anywhere. Also I have termination resistor of 120ohms at the last connected slave, but not on Pi's side. When I soldered 120ohms resistor to RS485-USB converter of Pi, I am getting less devices on communication line.
TTL to RS485 converter - https://robu.in/product/max485-ttl-rs485/
RS485 to USB converter - https://robu.in/product/usb-rs485-converter-adapter-support-win7-xp-vista-linux-mac-os/
The Arduino library - https://github.com/yaacov/ArduinoModbusSlave
Raspberry Pi Library - https://minimalmodbus.readthedocs.io/en/stable/
Any help would be appreciated!
Posted Mar 13, 2021, 5:50 PM UTC
Check whether any issues on the slave-device/cable on the 10th(or the first device you are not getting good response).