Hello,
I am running a program that has 72 buttons that toggle 72 outputs on/off. Very simple program. It then reads the output to turn a lamp on/off if the out put is active or not.
It is a cMT2108 running Codesys connected using Modbus to an IR-ETN with 5xDQ16-P ouput cards. IP address for Codesys on the cMT is 192.168.0.15. My IR-ETN IP is 192.168.0.212. The IP address 2 is 192.168.0.10.
I need to add another HMI in a different location that can run the exact same program and read/write with the other HMI. I tried downloading the same program to the new HMI but no luck getting both HMI’s to respond. I changed the HMI 2 codesys address to 192.168.0.16 but same result.
How can I achieve this? I have codesys active on both HMI’s and I have downloaded the same program to both with different IP addresses. I tried using a switch to the IR-ETN and using ethernet port 2 on the second HMI.
Thanks in advance.
Hello ,
Could you please send screenshots of your network topology and device settings so we can see how everything is connected? Additionally, let us know which physical LAN ports on each HMI you’re using for the Connections.
Thank you!
Hello,
Below in the first set of pictures is the original program and system. I am using ethernet port 1 for the original setup with 192.168.0.15. The IR-ETN is 192.168.0.212.
This is what I have tried to get them to work together after testing the original configuration. Using ethernet port 1 with the second HMI 192.168.0.16.
One tech said to try and configure the modules to read and write, but I was unsuccessful with the setup as well.
Hi @taicher ,
Can you confirm this network diagram represents your set up?
Furthermore, are all devices, including both CODESYS PLCs and the IR-ETN interface, connected through the central switch? If so can you ping each Codesys PLC and the IR-ETN?
Also if you disconnect one Codesys device will the other communicate or is it so that only one specific HMI will not communicate with the IR-ETN?
Thank you!
Hello,
Yes, this is accurate. I have also tried a switch and I tried changing the new panel to a Codesys V3 Ethernet instead but I have had no luck.
I am able to ping them. Can I not run two Codesys systems together? If I can just get the second HMI to turn the outputs on/off and update from the other.
Hi @taicher,
Thank you for confirming this information. Can you please advise the serial numbers of the HMIs with CODESYS so that we can escalate this issue to a support ticket?
Panel 1 cMT2108x2 serial number 2302402848
Panel 2 cMT2108x2 serial number 2502408969