Galil Motion Control manc 18x 6 Page 114
DMC-18x6 Command Reference
106
#ININT Interrupt
subroutine
STA;MG "INTERRUPT";AMA
Stop A, print message, wait for motion to complete
#CLEAR;JP#CLEAR,@IN[1]=0
Check for interrupt clear
BGA Begin
motion
RI0
Return to main program, don't re-enable trippoints