Hi, I’m pretty new with the software here is my question .I’m trying to use a momentary button as a write button to the PLC with the confirmation security popup. But when i click the ‘write’ button the value changes to one and the popup appear so it’s not useful. How can i make a script that when I press the button the popup shows i confirm ,then the value change to one then the value goes back to 0 .
Thanks
No, you cannot make a popup work in this case. Use a toggle button in addition to your momentary button, with the toggle controlling the enabled property of the momentary button. That will give you two-step functionality without needing a popup. Use a release script on your momentary button to reset the toggle if you wish the user to confirm every time.
2 Likes
Thank you that worked!