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