158 ● P1ST P2ST DMC-1400 Series Command
Reference
P1ST P2ST FUNCTION: Serial port 1 or serial port 2 string
DESCRIPTION:
P1ST returns the last string (followed by carriage return) sent to the serial port when in the
operator data entry mode (CI,1)
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 DMC-1412 / 4 ONLY
RELATED COMMANDS:
P1CD P2CD Serial port 1/2 code
P1CH P2CH Serial port 1/2 character
P1NM P2NM Serial port 1/2 number
CI Configure #COMINT (and set operator data entry mode)
CC Configure serial port 2
#COMINT Communication interrupt automatic subroutine
EXAMPLES:
:CC 9600,0,0,0
:MG "TEST" {P2} ;'send a message to the hand terminal
:MG P2ST {S3} ;'the characters ABC were entered
ABC
: