Take what ever trigger input your using to trigger the G53 event in the Brain. Like an input or what ever.
do a no-op lobe. Send the termination to UserLED1500 (or what ever).
Then in the Macro Pump Put a If then statement. And make a custom Macro called M53
I.e.
'MacroPump
i=GetOEMDRO(2000) 'interlock counter
If GetUserLED(1500) and i=0 then 'interlock statement
Code "M53"
SetUserLED(1500,0) 'this will turn off the Brain LED even if the trigger is still on.
End If
******************************************************************
******************************************************************
'M53.m1s this is the G53 macro
Code "G53 g0 z0"
While IsMoving
Wend
SetUserDRO(2000,0) 'Resets the interlock DRO in the macro pump
'Scott