6530 Programmer's Guide

Block Mode Operation
3-58
6530 Programmer’s Guide
code
is an ASCII character that uniquely identifies a configuration
parameter. (See Table 3-5.) For example, the code A specifies the
cursor type.
value
is a decimal number that specifies a value for the preceding
configuration parameter. (See Table 3-5.) For example, a 0 value for
the cursor type specifies an underscore with no blinking.
terminator
comprises the control characters ETX (03H) and
LRC (Longitudinal Redundancy Check) in block mode.
A code/value pair is returned for each configuration item. The code/value
pair equals three bytes unless the value is 100 or greater. In that case, the
code/value pair equals four bytes. When the value is less than two digits,
a space character (20H) is returned between the code and value. For
example:
A1 is returned when the cursor type is set to underscore/blinking.
H15 is returned when the baud rate is set to 19200.
In EM3270 mode the terminal returns a special character code to indicate
whether the device supports EM3270 and PFKey. See the description
below:
In EM3270 mode the terminal returns an ASCII lower case letter h (68h),
followed by a byte to specify whether PFKey is supported and another
byte to specify whether EM3270 is supported. A value of 0 (30h)
indicates no PFKey or EM3270 support while a value of 1 (31h)
indicates PFKey or EM3270 support is in effect. Table 3-7 shows the
range of possible replies and their meanings.
Table 3-7. EM3270 Mode Terminal Return Values
Configuration reply PFKey Support EM3270 Support
h00 no no
h01 no yes
h10 yes no
h11 yes yes