
106 ● II DMC-1400 Series Command Reference
EXAMPLES:
#A Program A
II 1 Specify interrupt on input 1
JG 5000 Specify jog speed
BG Begin motion
#LOOP;JP #LOOP Loop
EN End Program
#ININT Interrupt subroutine
ST;MG "INTERRUPT" Stop X, print message
AM After stopped
#CLEAR;JP#CLEAR,@IN[1]=0 Check for interrupt clear
BG Begin motion
RI Return to main program
NOTE: An application program must be running on the controller for the Input Interrupt function to
work.