132
●
#ININT
DMC-40x0 Command Reference
#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.
USAGE:
While Moving
Yes
In a Program
Yes
Command Line
No
Controller Usage
ALL
RELATED COMMANDS:
interrupt
Read digital input
from
interrupt
EXAMPLES:
#A
II
1
;
' arm digital input 1
#MAIN
;
' print message every second
MG
"MAIN"
WT
1000
JP
#MAIN
#ININT
;
'runs when input 1 goes low
MG
"ININT"
AI
1
RI
NOTE: The automatic subroutine runs in thread 0.
NOTE: Use RI to end the routine
Содержание DMC-40x0 Series
Страница 2: ......
Страница 4: ......
Страница 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...