P1CHSerial port 1 character Operand Only
P1CH,P2CH
P1CH returns the last character sent to the serial port when in the operator data entry mode (CI,1)
variable= P1CHHolds a value

Full Description

P1CH returns the last character sent to the serial port when in the operator data entry mode (CI,1).

Arguments

Operands

N/A

Usage

Usage and Default Details
UsageValue
While MovingYes
In a ProgramYes
Command LineYes
Controller UsageRIO, 21x3, 300x0
Default ValueN/A
Default FormatN/A

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 P2CH {S1} ;'the 6 button was pushed on the hand terminal
6
: