Using the Kepware OPC Quick Client I can see .._System._Error and ._System._FailedConnection change when I pull the network cable. I had planned to use those two to disable the poll group for the relevant PLC.
In OA, though, as soon as I pull the cable the datapoints stop updating. (The Kepware server is on the OA machine addressed as 127.0.0.1, so I won't have connection issues between OA and Kepware.)
16 seconds later I see a single update to the _System._Error and _System._Failed connection tags. This would be sufficient for me to disable the poll group, but brings up a couple of concerns:
- How is the Kepware Quick Client still able to communicate to the server, and why is the OA client different? (Perhaps it's normal OPC rather than OPC UA?)
- After the disconnect I see several pages of
WARNING, 17/opcua, OpcUaCServerQueue in Function push, Queue overflow @ opcua1-Queue, 1000 exceeded, values will be discarded
Obviously I don't care about values on that particular device, since the cable is unplugged, but there are several devices still connected, and if the driver is throwing away changes on other devices that would be a problem.
(Note: the 16 second delay doesn't appear to be affected by poll rate or the amount of overflowed messages.)