6530 Programmer's Guide

Block Mode Operation
3-60
6530 Programmer’s Guide
Read I/0 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
]
...
terminator
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 3-6 on page 3-57.)
value
is either a decimal number or string that specifies a value for
the preceding configuration parameter. (See Table 3-6 on page 3-
57.)
terminator
comprises the control characters ETX (03H) and
LRC (Longitudinal Redundancy Check) in block mode.
A code/value per is returned for each configuration item. Each code/
value pair equals three bytes.
Set I/0 Device Configuration (Esc x)
The Esc x sequence sets new configuration values for the Auxl or Aux2
devices. The escape sequence has the following general format:
Esc xT
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 Aux1 device or 3 for the Aux2
device.
code
is an ASCII character that uniquely identifies a configuration
parameter. (See Table 3-6 on page 3-57.)
value
is either a decimal number or string that specifies a value for
the preceding configuration parameter. (See Table 3-6 on page 3-
57.)