10
QTERM-IV/P40 User's Manual
Beijer Electronics Fax 801-466-8792 Web www.beijerelectronicsinc.com Phone 801-466-8770
2.2.32
Backlight On/Off/Toggle -
]
V #
This command turns the backlight on and off.
Valid values for # are
@ -
backlight off
A -
backlight on
B -
backlight toggle
2.2.33
Query Status -
]
W
The Query Status command (
]
W) returns a character indi-
cating two things: the number of characters presently in the
QTERM transmit buffer (0 to 15), and whether the display
is on or off. Refer to Table 1-2 at the end of this chapter for
the exact values returned for various conditions.
This is the only command which you can send to the
QTERM which does not cause the display to be turned back
on if the display is off when this command is received.
2.2.34
Query Cursor Position -
]
X
Returns the cursor position as two ASCII characters. These
two characters are defined in the same way as for the Set
Cursor Position (ESC I) command. See Table 1-2 for a
detailed listing.
2.2.35
Query Character -
]
Y
Returns the character value for the character at the current
cursor position.
2.2.36
Scroll Down -
]
Z
This causes the top three lines on the display to move down
one line. The top line is cleared, and the cursor remains at
the same absolute location on the display; i.e. it does not
scroll down with the text.
2.2.37
Key Click/Repeat Mode -
]
a #
This selectively enables and disables both key repeat and
key click. The key click duration and key click rate are set
in the QDATA file.
Valid values for # are
@ -
click off, repeat off
A -
click off, repeat on
B -
click on, repeat off
C -
click on, repeat on
This command globally enables and disables the key
repeat. Which specific keys repeat is defined in the
QDATA file.
2.2.38
Set Cursor Mode -
]
b #
The QTERM cursor can be an underline cursor, a block
cursor, neither or both. When neither is selected, no cursor
is visible to the user.
Valid values for # are
@ -
block off, underline off (no cursor)
A -
block off, underline on
B -
block on, underline off
C -
block on, underline on
2.2.39
Set Shift Mode -
]
c #
The shift key on the QTERM can operate in one of two
ways:
•
FUNCTION MODE, where the shift key stays shifted
for one additional key press only
•
LOCK MODE, where the shift key stays shifted until
it is pressed a second time
For either mode, the shift LED can be enabled or disabled,
and, if enabled, properly reflects the state of the shift key.
Valid values for # are
@ -
function mode, shift LED enabled
A -
lock mode, shift LED enabled
B -
function mode, shift LED disabled
C -
lock mode, shift LED disabled
Note that the shift LED enable/disable does not affect the
shift operation itself, only the LED indicator. If you do not
wish to have a shift key at all, you can disable the shift
function by a parameter in the QDATA file.
2.2.40
Control dig0 and dig1 -
]
d #
These two digital lines can be used for general control pur-
poses, or they can be used to drive an external buzzer or
horn.
Valid values for # are
@ -
dig0 off (low)
A -
dig1 off (low)
H -
dig0 on (high)
I -
dig1 on (high)
P -
dig0 blink