Hello,
I have raspberry Pi (model 3B+ with Codesys 3.5.15.30) with one modbus master RTU (COM port 1) and with UBS to RS485 converter connected to one of raspberries USB port, so I can communicate with slaves on that bus.
My question is can I add one more modbus master to new COM port (and add one more USB to RS485 converter) to communicate with other group of modbus RTU slave devices?
Thank you in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have raspberry Pi (model 3B+ with Codesys 3.5.15.30) with one modbus master RTU (COM port 1) and with UBS to RS485 converter connected to one of raspberries USB port, so I can communicate with slaves on that bus.
My question is can I add one more modbus master to new COM port (and add one more USB to RS485 converter) to communicate with other group of modbus RTU slave devices?
Thank you in advance!
Hi,
you need this to setup that way:
Example: ( Adapt your settings to your devices)
/etc/CODESYSControl_Users.cfg
[SysCom]
Linux.Devicefile.1=/dev/ttyS1
Linux.Devicefile.2=/dev/ttyUSB0
to have Com1 und Com2 for CODESYS available.
BR
Edwin
Thank you very much for the information