# TAG reading issue

**URL:** <https://forum.inductiveautomation.com/t/tag-reading-issue/31460>\
**Category:** Ignition\
**Created:** [January 21, 2020, 12:33pm UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460 "2020-01-21T12:33:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rameshwar.kuthale](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rameshwar.kuthale](https://forum.inductiveautomation.com/u/Rameshwar.kuthale)\
**Post date:** [January 21, 2020, 12:33pm UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/1 "2020-01-21T12:33:54Z")

</div>

Hello Guys,  
Iam facing some issues while reading tag from ignition designer v7.9.8  
Iam using momentary button on screen,through opc server iam assigning tag to button,Boolean tag,which is already defined in s7-1500 plc. when I press momentary button tag is read in plc, but sometimes tag is not read in plc.but when I make plc power off to on ,tag is reading.  
iam not able rectify this problem.  
any solutions on this problem.???

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 21, 2020, 1:52pm UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/2 "2020-01-21T13:52:15Z")

</div>

There are a number of [Siemens-specific items that should be checked](https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/29/0/connecting-to-siemens-s7-1200-and-s7-1500), but if @chi or @zxcslo have suggestions, follow their advice.

Aside from that, momentary buttons are always a problem if they aren't connected via a true I/O protocol. The following discussions are focused on Allen-Bradley products, but the issue is the same and the mitigations are similar.

Start here:

> [@HMI Momentary button Gets stuck with N/O Bit of PLC](http://forum.inductiveautomation.com/t/hmi-momentary-button-gets-stuck-with-n-o-bit-of-plc/21388/4):
>
> This thread, going back some years, is the most detailed discussion of the problem: Another thread on this issue – somewhat heated at points:

---

<div class="post-metadata">

**Author:** ![Rameshwar.kuthale](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rameshwar.kuthale](https://forum.inductiveautomation.com/u/Rameshwar.kuthale)\
**Post date:** [January 24, 2020, 9:46am UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/3 "2020-01-24T09:46:19Z")

</div>

[Siemens-specific items that should be checked] these setting are fine,i have made it already.  
next point is iam not directly connecting these buttons to plc IO’S.  
When i press momentary button i will make data block bit true,for example (db1.dbx0.0) when i release momentary button i will make data block bit false.  
some time tag is write from ignition,some times not.

second, i have to enable or disable some Boolean bits of db,which buttons i can use in ignition  
momentary ,one shot,control,two state toggle,

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 24, 2020, 10:20am UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/4 "2020-01-24T10:20:44Z")

</div>

Just try it first with the regular button (mousePressed, mouseReleased events)… so that we can find where is the problem… with buttons, with Ignition or with PLC.

---

<div class="post-metadata">

**Author:** ![Rameshwar.kuthale](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rameshwar.kuthale](https://forum.inductiveautomation.com/u/Rameshwar.kuthale)\
**Post date:** [January 24, 2020, 11:17am UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/5 "2020-01-24T11:17:15Z")

</div>

i tried with regular button,bit was not getting reset after releasing,bit was continuously set.  
i tried with momentary button,iam facing tag read problem in plc,after pressing momentary button,bit is not getting on.when i make power off to plc panel,tag is getting read  
i dont understand what is problem?

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 24, 2020, 11:44am UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/6 "2020-01-24T11:44:09Z")

</div>

Show the picture, how you programmed the regular button…

---

<div class="post-metadata">

**Author:** ![Rameshwar.kuthale](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rameshwar.kuthale](https://forum.inductiveautomation.com/u/Rameshwar.kuthale)\
**Post date:** [January 30, 2020, 11:28am UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/7 "2020-01-30T11:28:30Z")

</div>

![template](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/adced879d85a89da24d3c9a030f479b2d5da39d8.png)

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 30, 2020, 1:42pm UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/8 "2020-01-30T13:42:49Z")

</div>

OK, now show how that tag is configured…

---

<div class="post-metadata">

**Author:** ![Rameshwar.kuthale](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rameshwar.kuthale](https://forum.inductiveautomation.com/u/Rameshwar.kuthale)\
**Post date:** [February 18, 2020, 11:48am UTC](https://forum.inductiveautomation.com/t/tag-reading-issue/31460/9 "2020-02-18T11:48:30Z")

</div>

> [@Rameshwar.kuthale](#):
>
> llo Guys,  
> Iam facing some issues while reading tag from ignition designer v7.9.8  
> Iam using momentary button on screen,through opc server iam assigning tag to button,Boolean tag,which is already defined in s7-1500 plc. when I press momentary button tag is read in plc, but sometimes tag is not read in plc.but when I make plc power off to on ,tag is reading.  
> iam not able rectify this problem.  
> any solutions on this problem.???

![TAG%20Configuration](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/722fa6afaadb3c9b63afed0d4f15be56d42ab343.png)  
Tags are Browisng from S7-1500 through opc  
Tag configuartion image taken in offline.
