# Momentary Button Enable Disable issue

**URL:** <https://forum.inductiveautomation.com/t/momentary-button-enable-disable-issue/16589>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [January 14, 2018, 4:49pm UTC](https://forum.inductiveautomation.com/t/momentary-button-enable-disable-issue/16589 "2018-01-14T16:49:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [January 14, 2018, 4:49pm UTC](https://forum.inductiveautomation.com/t/momentary-button-enable-disable-issue/16589/1 "2018-01-14T16:49:01Z")

</div>

I have found a strange issue with the momentary buttons enabled property.  
If the Enabled property goes FALSE while the button is activated, it will continue to write to the PLC bit even though it is disabled.  
To understand the issue  
Create a value expression on the Enabled property that checks for a condition and then sets false.  
Example: SomeTagValue\>=90&&AccessPermitted  
Then have the momentary button executing a script that sets SomeTagValue = SomeTagValue+1

If you are holding down the button when the value of the tag hits 90, the button will disable but keep writing to the tag.  
I would think that the momentary button should STOP writing if its Enabled property goes FALSE?  
Or am I missing something?  
Ignition 7.9.5

---

<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 14, 2018, 7:17pm UTC](https://forum.inductiveautomation.com/t/momentary-button-enable-disable-issue/16589/2 "2018-01-14T19:17:42Z")

</div>

Sounds like a bug to me. IMNSHO, momentary buttons aren’t all that reliable (_cannot_ be) inside of TCP connections, which would include the client-gateway connection in Ignition.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [January 22, 2018, 8:50pm UTC](https://forum.inductiveautomation.com/t/momentary-button-enable-disable-issue/16589/3 "2018-01-22T20:50:33Z")

</div>

_BUMP_  
Can anyone at Inductive say if this is working as designed or a bug?
