# KEPServerEX status in Ignition

**URL:** <https://forum.inductiveautomation.com/t/kepserverex-status-in-ignition/85416>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [February 8, 2024, 12:45am UTC](https://forum.inductiveautomation.com/t/kepserverex-status-in-ignition/85416 "2024-02-08T00:45:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![r123](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@r123](https://forum.inductiveautomation.com/u/r123)\
**Post date:** [February 8, 2024, 12:45am UTC](https://forum.inductiveautomation.com/t/kepserverex-status-in-ignition/85416/1 "2024-02-08T00:45:47Z")

</div>

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?

1. 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

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 8, 2024, 1:09am UTC](https://forum.inductiveautomation.com/t/kepserverex-status-in-ignition/85416/2 "2024-02-08T01:09:55Z")

</div>

If you only need to know if you're connected or not, use the system OPC status tags that Ignition provides for each OPC connection.

---

<div class="post-metadata">

**Author:** ![r123](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@r123](https://forum.inductiveautomation.com/u/r123)\
**Post date:** [February 8, 2024, 7:17pm UTC](https://forum.inductiveautomation.com/t/kepserverex-status-in-ignition/85416/3 "2024-02-08T19:17:03Z")

</div>

Are these the ones?

BildInfo ns=0;i=2260  
CurentTime ns=0;i=2258  
SecondsTillShutdown ns=0;i=2992  
ShutdownReason ns=0;i=2993  
StartTime ns=0;i=2257  
State ns=0;i=2259  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/5/65d3ac8537fdd4ce58dbef598e3c83164ef81328.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 8, 2024, 7:20pm UTC](https://forum.inductiveautomation.com/t/kepserverex-status-in-ignition/85416/4 "2024-02-08T19:20:02Z")

</div>

No, you should be looking at the System Tags, not browsing OPC.

[https://docs.inductiveautomation.com/display/DOC81/System+Tags](https://docs.inductiveautomation.com/display/DOC81/System+Tags)
