X25AM Programming Manual

X3PAD Interface
X25AM Programming Manual527201-001
4-5
Changing the Operational State of X3PAD
receiving input from the terminal. For the X3PAD to receive PAD commands it must be
in the command state, and not in the data transfer state.
Changing the Operational State with a Terminal Command
X3PAD enters the data-transfer state as a result of the CALL, RESUME, and SEND
terminal commands. Anything that follows these commands is data.
CALL [ address ]
RESUME
SEND [ file ]
Changing the Operational State with an Escape Character
X3PAD enters the command state when the character data stream from the terminal
contains an escape character. The default escape character is DLE (a CTRL-P on
65xx terminals). This character can be set to any value or completely disabled with the
SET ESCAPE command.
SET ESCAPE { character }
{ NONE }
You must specify a value; there is no default.
Changing the Operational State with the BREAK Key
When the BREAK parameter is set to ESCAPE, the BREAK key can be used to make
X3PAD enter the command state.
BREAK Key Processing
BREAK key processing depends on the operational state of X3PAD. For processing
details, see Table 4-5.
Table 4-5. The BREAK Key and Operational States of X3PAD
Operational State of X3PAD Result of Pressing BREAK
Waiting for command input
(Command state)
X3PAD suspends. Invoking program regains control of
the terminal.
Processing a command
(Command state)
Command aborted. X3PAD prompts for input.
Data-transfer state Action depends on SET BREAK parameters.