I'd like to add some alarms in the Ignition Perspective application for connectivity to KEPServerEX running on another server and the status for each device.
It looks like I can read the '._Statistics._Rx(&Tx)Bytes' off each device if you have diagnostics enabled in KEPServerEX on the channel. Using a Gateway Timer script, if the values for the reads and writes don't increment for a time I can trigger an alarm.
Not sure how to show that the OPC-UA connection is down?
- Use the channel/device _Statistics._TxBytes (incremental bytes in requests) _Statistics._RxBytes (incremental bytes in responses)
- If channel level Communication Diagnostics are enabled these values will increase incrementally with the number of sent and received bytes
- If both are stagnating the driver isn't able to send or receive any packets => broken connection
- doesn't work for client drivers (OPC UA/DA/XML-DA client, ODBC client), only for hard protocol drivers