Hi guys, I've just done the same with a virtual E-Stop, when I press the button, it works correctly by resetting all the outputs and puts the machine into an E-Stop condition, but when I press the same button, it won't clear the E-Stop, do I need to use a different OEM code for clearing it?
DoOemButton(1021)
SetUserLED(1001,0)
SetUserLED(1002,0)
BTW I'm only using a custom macro so I can reset some custom LEDs I have on the screen.
Darc