shub patel
I Connected I2C Connection/ USB to RS485 as below mentioned image but i am really facing issue with the both wiring as i can't able to configure slave device programing i don't know how should i make understand openplc regarding the slave pin locations Sir please help me out for a proper way to connect them and if this won't work please share an image or wiring diagram of some another way to connect multiple devices. i tryed simple USB to arduino as per vedio it works but raspberry pi has only 4 ports and i want more slaves to be connected.I2C Communication.pngModbus usb to rs485.png
Reply 0 0
thiagoralves
Slave devices use Modbus, not I2C. You won’t be able to add slave devices through I2C unless you modify OpenPLC code (a lot).
 
The easiest way for you to add more slaves is to buy a USB hub.
Reply 1 0
shub patel
cool! i was just thinking of it to buy a USB hub but i was thinking it won't work but now you made it easy for me. thank you for the reply i just spend 2days behind I2C communication that won't work.
Reply 0 0
Reply