I have two devices on communication line, both of them modbus. Everything works OK if both are working, but If i turn off one communication with it times out and whole communication line stops:
If you look at last line it says:”Establish a TCP connection with 192.168.95.112:502″ it is waiting there for few seconds without communicating with other device which is still turned ON.
With turning off the device i mean turning off the simulator on some PC. Other device that is PLC is still working.
As you can see it takes 25 seconds between two reads. But it should read every second. So if I send command in this 25 second window it won’t be sent. Should every device be on it’s own line?
It takes time for waiting 192.168.95.112 at 08:07:43.
I don’t see the 1st screenshot that may be contains communication channel properties. Could you post it again?
You could increase the Reconnect parameter to 30 or 60, for example, to reduce latency when a device is offline.
Also it can be a good idea to split polling into several communication lines that work in parallel.