Timeout Tag OPC

Hello everyone,

I am working on a project where my PLC is quite far from where my supervisor is installed, so to establish communication we are using radios and the Modbus TCP protocol. It is working, but not 100% as we would like.

From time to time, some packets are lost and my templates turn red.

First, I would like to know if it is possible to remove this red color.

Second, how can I increase the time that the OPC tag remains green? For example, only after 2 minutes without communication will the tag turn red.

In the binding configurations in the templates, select the Overaly Opt-out option.

Polling based protocols over a slow connection is not recommended, look into something like MQTT which is much better suited for low bandwidth connections.

If you are dead set on modbus, adjust your timeout settings for the device connection on the gateway.

1 Like

Using Overaly worked here, Ryan, thank you very much!

Is there another place where I can configure this read timeout to fail, other than here in device connections? I don't want to change this timeout here.

That's the only one. I'm also curious, what is your device load showing under the Devices > YourDeviceName > Details screen?

Would you like to see this screen?

No, I'm looking for the Status > Connection > Devices screen, should look like

I was interested to see if your device had any overload. I think your main issue is using a latency sensitve protocol over a slow connection.

Yes... I'm testing other parts of the software here on the workbench and it's overloaded. When I'm in the field with the radio, I'll see how it is there.

When I increase Concurrent Requests from 1 to 16, it improves significantly, but I'm not sure if it's advisable to do so.

It's fine on the Ignition side of things. It's unusual for a Modbus device to support so many concurrent requests... and if you're not currently communicating over the radio you mentioned I wouldn't be surprised if it failed spectacularly when you start.

2 Likes