Galil DMC-1400 用户手册
156 ● P1CH P2CH
DMC-1400 Series Command
Reference
P1CH P2CH
FUNCTION: Serial port 1 or serial port 2 character
DESCRIPTION:
P1CH returns the last character sent to the serial port when in the operator data entry mode
(CI,1)
P2CH returns the last character sent to 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 code
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
DMC2240 Rev 1.0o
:^R^S
:CC 9600,0,0,0
:MG
"TEST"
{P2} ;
'send a message to the hand
terminal
:MG P2CH {S1} ;
'the 6 button was pushed on the hand
terminal
6
: