Galil DMC-1400 Manual De Usuario

Descargar
Página de 235
DMC-1400  Series Command Reference 
P1CD  P2CD ● 155   
P1CD  P2CD  
 
FUNCTION: Serial port 1 or serial port 2 code 
DESCRIPTION:   
DMC-21x2/3:  P1CD returns the status of the serial port when in the operator data entry mode 
(CI,1) 
DMC-2xx0:  P2CD returns the status of the auxiliary serial port (port 2) 
USAGE:    DEFAULTS: 
While Moving 
Yes 
Default Value 
In a Program 
Yes 
Default Format 
Command Line 
Yes 
 
 
Controller Usage 
DMC-1412 / 4 ONLY 
RELATED COMMANDS: 
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 
Communication interrupt automatic subroutine 
EXAMPLES: 
:^R^V 
DMC2240 Rev 1.0o 
:^R^S 
 
:CC 9600,0,0,0 
:MG 
"TEST"
 {P2} ;
'send a message to the hand  
 
 
   terminal
 
:MG P2CD ;
'no characters entered on hand terminal 
 0.0000 
:MG P2CD ;
'the number 6 was pushed on the hand   
 
   terminal 
 1.0000 
:MG P2CD ;
'enter key pushed on hand terminal 
 3.0000 
:MG P2CD ;
'the character B was pushed (shift f2)  
 
    then 
enter 
 
   2.0000