Galil Motion Control optcom Page 114
Optima DMC-1xxx and DMC-18x2 Command Reference
II (Binary EC)
i
103
#LOOP;JP #LOOP
Loop
EN End
Program
#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