# Detect Lost connection to Gateway

**URL:** <https://forum.inductiveautomation.com/t/detect-lost-connection-to-gateway/44123>\
**Category:** Ignition\
**Created:** [March 4, 2021, 8:41pm UTC](https://forum.inductiveautomation.com/t/detect-lost-connection-to-gateway/44123 "2021-03-04T20:41:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrebro](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@rrebro](https://forum.inductiveautomation.com/u/rrebro)\
**Post date:** [March 4, 2021, 8:41pm UTC](https://forum.inductiveautomation.com/t/detect-lost-connection-to-gateway/44123/1 "2021-03-04T20:41:21Z")

</div>

I would like to be able to detect when the connection between Ignition and the PLC is lost, on the PLC end. So I can notify the operator. What is the best way to do this?

---

<div class="post-metadata">

**Author:** ![hbrowne1](https://avatars.discourse-cdn.com/v4/letter/h/c2a13f/32.png) [@hbrowne1](https://forum.inductiveautomation.com/u/hbrowne1)\
**Post date:** [March 11, 2021, 2:44am UTC](https://forum.inductiveautomation.com/t/detect-lost-connection-to-gateway/44123/2 "2021-03-11T02:44:04Z")

</div>

I need this also, have you found a way to detect when a device loses connection?

---

<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:** [March 11, 2021, 2:46am UTC](https://forum.inductiveautomation.com/t/detect-lost-connection-to-gateway/44123/3 "2021-03-11T02:46:31Z")

</div>

If you’re using our server and drivers then some of the drivers have an “Is Connected” diagnostic tag that might work.

Otherwise I think people will commonly implement some kind of heartbeat mechanism.
