I'm trying to get some communication between two M241 to work and wonder if it's possible to use SoMachine network protocol to transfer data.
I'm connected via USB to the first M241 and can connect to the second PLC via SoMachine network on serial line 1. (RJ45)
I have also got HMI to work via SoMachine network. But how do I transfer some variables PLC to PLC on the same line?
Any pointers are very welcome!
Regards
Tobias
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to get some communication between two M241 to work and wonder if it's possible to use SoMachine network protocol to transfer data.
I'm connected via USB to the first M241 and can connect to the second PLC via SoMachine network on serial line 1. (RJ45)
I have also got HMI to work via SoMachine network. But how do I transfer some variables PLC to PLC on the same line?
Any pointers are very welcome!
Regards
Tobias
hi Tobias.Bodin84,
Network variable is work on the concept udp protocol, the schneider PLC if you using without network port then network variable will not be work.
Serial 1(RJ45) is not a network port. is just a serial port. Is just a serial port where using RJ45 connector.
The most simple for two plc communication is using modbus RTU.
Thank you
John Lee
If you have some spare IO, you may also do some multiplexed comunication. (depends on how much data you want to send/receive).
Had troubles with AB and B&R rtu drivers, and the fall back to multiplex was a win.