Why I am facing an issue where writing to the PLC tags happens quickly, but reading the tag values has a very big delay

I am facing an issue where writing to the PLC OPC tags happens quickly, but reading the tag values has a significant delay.

This is my Tag group settings

this is showing overload, I am having this much tags 189459.
What could be the reason behind this?

Wow, your device just can’t keep up with what you are asking.

It shows that you are sending 2003 requests every second.

I think your system needs a massive rework, are you sure you need this many tags sampled at 1second ??

Reduce the number of tags, especially if you don’t use them, increase your sample rate, I’m sure you have tags coming from this PLC that do not need to be refreshed every second…

Have a look at this topic as well for some information :

I’ll the experts guide you on the proper steps to take, but expect massive rework on your side.

I’m guessing this is an AB plc? Logix driver?

If so, are you reading AOI parameters? (2000 requests suggests so) These will kill performance. Read UDT members or AOI locals making sure each item within is set to have at least Read ext. Access

You hopefully didn't just drag over all of the tags from the opc browser into your project, but it’s certainly been done before… definitely don’t do that if you did.

Also, set the cip connection size to 4000 for capable hardware.

2 Likes

Also, if you are using an AB, and it's not v20? or later, make sure you're using the legacy driver.

I believe the exact versions are

  • Logix Driver >= 20.12
  • Legacy Driver <= 20.11