Polling 5000 tags #131
Replies: 1 comment 8 replies
-
That's something you're going to have to try out and see if it will work for you, there are a ton of factors that could influence how fast you can read. What type of tags are you wanting to scan? You can fit many more simple atomic types like DINT, INT, REAL into a single request, than say strings or UDTs. If you're reading SINTs, you can fit ~4x as many in a single request as you can with DINTs. How old is your hardware? A new L85 is going to be a lot faster than old L55 or an ENBT is much slower than an EN2T. Does you PLC support large packets? Older PLCs cannot handle packets larger than 500 bytes, while new one support up to 4000 bytes. Large packets means less requests and less time overall. Another feature of newer PLCs is the use of Instance Ids in the request, instead of encoding the tag name in the packet, it uses a short internal id number. If you PLC doesn't support Instance IDs, the length of your tag names will affect how many request you can include in a packet. That said, I was able to do 3000 at ~160ms average on a really old CompactLogix, so it should be doable but there's too many unknown for me to say without trying it out on your system. |
Beta Was this translation helpful? Give feedback.
-
Reading tags fast,
Hello i need to poll about 5000 tags every 300ms.
Is it possible?
There are some objects which are not completely accesible, so i have to poll subtags in them individually
Beta Was this translation helpful? Give feedback.
All reactions