Galil Motion Control optcom Page 118
Optima DMC-1xxx and DMC-18x2 Command Reference
#ININT
i
107
#ININT
FUNCTION: Input interrupt automatic subroutine
DESCRIPTION:
#ININT runs upon a state transition of digital inputs 1 to 8 and is configured with II. #ININT
runs in thread 0 and requires something running in thread 0 to be active.
USAGE:
While Moving
Yes
In a Program
Yes
Command Line
No
Controller Usage
ALL
RELATED COMMANDS:
II
Input
interrupt
@IN
Read digital input
EXAMPLES:
II1 ;'arm digital input 1
#MAIN ;'print a message every second
MG "MAIN"
WT1000
JP #MAIN
#ININT ;'runs when input 1 goes low
MG "ININT"
AI1
RI
NOTE: An application program must be executing for the automatic subroutine to function, which
runs in thread 0.
NOTE: Use RI to end the routine