So i have created a button in screen4 designer, for my plasma cutter if i press feedhold machine stops and torch off(brain turns off torch). Now this button suppose to watch Pause LED state and if OEMled 805 active , should start M3 code and cycle start. It does start if i press, but, unfortunatelly starts even if 805 led not active. So what am i doing wrong ?
GetOemLed 805 = 1
DoSpinCW
DoOEMbutton (1000)