DMC-40x0 Command Reference
P2CD • 185
P2CD
FUNCTION:
Serial port 2 code
DESCRIPTION:
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
ALL CONTROLLERS
RELATED COMMANDS:
Serial port 2 character
Serial port 2 number
Serial port 2 string
Configure #COMINT
Configure serial port 2
Communication interrupt automatic subroutine
EXAMPLES:
:^R^V
DMC4040 Rev 1.0
:^R^S
:CC 9600,0,1,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
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...