188 ● P2ST DMC-40x0 Command Reference
P2ST
FUNCTION: Serial port 2 string
DESCRIPTION:
P2ST returns the last string (followed by carriage return) sent to auxiliary serial port (port 2)
NO MORE THAN SIX CHARACTERS CAN BE ACCESSED.
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
P2CD Serial port 2 code
P2CH Serial port 2 character
P2NM Serial port 2 number
CI Configure #COMINT
CC Configure serial port 2
#COMINT Communication interrupt automatic subroutine
EXAMPLES:
:CC 9600,0,1,0
:MG "TEST" {P2} ;'send a message to the hand terminal
:MG P2ST {S3} ;'the characters ABC were entered
ABC
: