# TCP Device "Is Connected" Diagnostic tag issues

**URL:** <https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997>\
**Category:** Ignition\
**Created:** [July 6, 2023, 2:18pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997 "2023-07-06T14:18:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilan](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@ilan](https://forum.inductiveautomation.com/u/ilan)\
**Post date:** [July 6, 2023, 2:18pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997/1 "2023-07-06T14:18:30Z")

</div>

Hi guys,  
We need to detect communications loss with TCP/IP devices.  
Now we are using TCP Driver for all the devices, but the "Is Connected" tag still return true.  
what can we do to be sure that when we will disconnect the device from the network the "Is Connected" tag will change his value to false?

---

<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:** [July 6, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997/2 "2023-07-06T14:32:51Z")

</div>

What version of Ignition are you using?

---

<div class="post-metadata">

**Author:** ![ilan](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@ilan](https://forum.inductiveautomation.com/u/ilan)\
**Post date:** [July 6, 2023, 2:36pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997/3 "2023-07-06T14:36:19Z")

</div>

Hi Kevin,  
We are using Ignition v7.9

---

<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:** [July 6, 2023, 2:37pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997/4 "2023-07-06T14:37:16Z")

</div>

Ok, for starters make sure you are on the latest 7.9.

Is the "inactivity timeout" setting set to something non-zero? When the connection is lost, is it "clean"; i.e. does the other side send a TCP FIN?

---

<div class="post-metadata">

**Author:** ![ilan](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@ilan](https://forum.inductiveautomation.com/u/ilan)\
**Post date:** [July 6, 2023, 3:05pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997/5 "2023-07-06T15:05:00Z")

</div>

Hi,  
The "inactivity timeout" setting set to 5000ms,  
When the connection is lost the tag not getting cleared and the tag value still true.

---

<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:** [July 6, 2023, 3:06pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997/6 "2023-07-06T15:06:32Z")

</div>

You may need to work with support to see if there's anything they can find or do.

Since this is 7.9 and it is well into EOL there will be no bug fixes or updates regardless of the outcome.

---

<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:** [July 6, 2023, 3:23pm UTC](https://forum.inductiveautomation.com/t/tcp-device-is-connected-diagnostic-tag-issues/75997/7 "2023-07-06T15:23:42Z")

</div>

FWIW, the "Is Connected" tag works fine for me with a quick test in 7.9.21.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/5/a504ffe518aa1d1db18f851b7aeab54889a81419.png)
