6530 Programmer's Guide

Conversational Mode Operation
6530 Programmer’s Guide
2-31
Read I/O Device Configuration (Esc y)
The Esc y sequence causes the 6530 to transmit the current values for the
Auxl and Aux2 device configuration parameters to the host. The Esc y
must be followed by a T and a decimal number that identifies the device
(2 for the Auxl device and 3 for the Aux2 device). For example:
Esc y T2
The message returned has the following general format:
SOH !
code value [code value]
... CR
where:
SOH is a control character (01H) that acts as a start of header for
messages returned to the host.
The exclamation point (!) identifies this message as a configuration
message.
code
is an ASCII character that uniquely identifies a configuration
parameter. (See Table 2-4 on page 2-25.)
value
is either a decimal number or string that specifies a value for
the preceding configuration parameter. (See Table 2-4 on page 2-25.)
CR is a control character (0DH) that terminates the message.
A code/value pair is returned for each configuration item.
Each code/value pair equals three bytes.
Set I/O Device Configuration (Esc x)
The Esc x sequence sets new configuration values for the Aux 1 or Aux2
devices. The escape sequence has the following general format:
Esc x T
device code value [code value] ...
CR
where:
The T is required before
device
, which specifies the type of
device. This must be either 2 for the Auxl device or 3 for the Aux2
device.
code
is an ASCII character that uniquely identifies a configuration
parameter. (See Table 2-4 on page 2-25.)
value
is either a decimal number or string that specifies a value for
the preceding configuration parameter. (See Table 2-4 on page 2-25.)
CR is a control character (0DH) that terminates the sequence.