imparsa
Hello everybody,
I have a OpenPLC runtime working on linux machine (linux Mint) and two arduino boards (Uno and Mega); a master and two slave devices.
I'd like to configure both slave devices through the RS232 serial connection (Rx-TX) using the pins 0 and 1 of the arduino boards. Unfortunately, it seems that the software runtime does not allow this type of configuration as it does not allow me to set tdifferent slave IDs.
Has anyone tried to address this issue?
Quote 0 0
thiagoralves
You will have to modify the Arduino firmware on the boards so that each board will have a different ID. Then on the OpenPLC side, instead of using the “Arduino” device type, use “Generic Modbus RTU” and fill out the configuration exactly like the “Arduino” type, but with different slave IDs
Quote 1 0