Galil COMMAND REFRENNCE DMC-1400 Manual De Usuario

Descargar
Página de 235
DMC-1400  Series Command Reference #COMINT 
● 59   
#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.  CI,1 must be issued to use 
#COMINT. 
USAGE:     
While Moving 
Yes 
 
 
In a Program 
Yes 
 
 
Command Line 
No 
 
 
Controller Usage 
DMC-1412 / 4 ONLY 
RELATED COMMANDS: 
Serial port 1/2 code 
Serial port 1/2 character 
Serial port 1/2 number 
Serial port 1/2 string 
Configure #COMINT (and set operator data entry mode) 
Configure serial port 2  
End subroutine 
EXAMPLES: 
CC
9600,0,0,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