DMC-40x0 Command Reference
#COMINT • 71
#COMINT
FUNCTION:
Communication Interrupt automatic subroutine
DESCRIPTION:
#COMINT can be configured by the CI command to run either when any character or a carriage
return is received on the auxiliary serial port.
USAGE:
While Moving
Yes
In a Program
Yes
Command Line
No
Controller Usage
ALL
RELATED COMMANDS:
Serial port 2 code
Serial port 2 character
Serial port 2 number
Serial port 2 string
#COMINT
Configure serial port 2
subroutine
EXAMPLES:
#A
;
'Program Label
CC
9600,0,1,0
CI
2 ;
'interrupt on any character
#Loop
MG
"Loop" ;
'print a message every second
WT
1000
JP
#Loop
#COMINT
MG
"COMINT" ;
'print a message when a character is received
EN
1,1
NOTE: An application program must be executing for the automatic subroutine to function, which runs in
thread 0.
NOTE: Use EN 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 ...