How do I write a complex script for a momentary button press? The reference manual says sleep() isn't recommended for button presses. I am trying to program a button to acknowledge alarms as well as send a fault reset bit to the PLC.
Thanks
Thanks