QTERM-IV/P40 User's Manual
9
Beijer Electronics Fax 801-466-8792 Web www.beijerelectronicsinc.com Phone 801-466-8770
2.2.26
LEDs On/Off/Blink/Toggle -
]
P #
This controls the LEDs on the QTERM keypad, including
the shift key LED. Any of these LEDs can be set to on, off
or blink (the blink rate is set in the QDATA file and by the
Set LED Blink Rate command). If a shift key is used, press-
ing the shift key will cause the proper state of the shift LED
to override whatever state is set by this command. If no
shift key is used, the shift LED is controlled solely by this
command.
See Table 1-2 for a list of valid values for # and the effect
of each such value. As an example of this command, the
string
]
P R
sets the second LED from the right to blink.
2.2.27
Insert/Replace Mode -
]
Q #
In insert mode, when a character is displayed at any posi-
tion on the display, all following characters are moved right
one position. The character in the current cursor location is
also moved before the incoming character is displayed. In
delete mode, the character displayed simply over writes
whatever character was there previously.
Valid values for # are
@ -
set replace mode
A -
set insert mode
2.2.28
Auto Wrap Mode -
]
R #
The auto wrap mode determines what happens when the
cursor moves past the end of a line. With auto wrap off, the
cursor stays at the last position in the line. With auto wrap
on, the cursor moves down to the first position in the next
line.
If the cursor moves past the end of the last line, and auto
wrap is on, then the action depends on the auto scroll mode.
If auto scroll is off, the cursor will wrap to the first position
of the line, but the display will not scroll. Otherwise, the
display will scroll, and the cursor will return to the first
position in the last line.
Valid values for # are
@ -
auto wrap off
A -
auto wrap on
2.2.29
Auto Scroll Mode -
]
S #
Auto scroll mode determines what happens when the cursor
moves past the end of the last line. With auto scroll off, the
cursor will stay in the last position. With auto scroll on, the
display scrolls (i.e. all lines move up, and the last line
becomes blank), and the cursor moves to the first position
in the last line.
Valid values for # are
@ -
auto scroll off
A -
auto scroll on
2.2.30
Auto Line Feed Mode -
]
T #
With auto line feed off, when a carriage return is received,
the cursor returns to the first position in the current line.
With auto line feed on, the cursor moves to the first posi-
tion in the next line, i.e. it acts as if both a carriage return
and a line feed had been received.
Valid values for # are
@ -
auto line feed off
A -
auto line feed on
2.2.31
Display Off -
]
U
This turns off the display. Once the display has been turned
off, it is turned back on by either of two events:
•
If the operator presses a key, the display is turned back
on. However, the key is not transmitted to the host.
•
If the host sends a command or character to the
QTERM, the display is turned back on, and the com-
mand or character will be processed normally.
If the QTERM has a backlight, and it is on when the com-
mand is received, the backlight is turned off along with the
display. When the display is turned back on, the backlight
is turned on if it was on when the command was processed.
Anything displayed on the LCD screen when the command
is processed is lost; i.e. when the display is turned back on
it will be blank. Custom character definitions are not lost.
The only thing the host can do that will not turn on the dis-
play is to issue the Query Status command (
]
W).
The only reason to use this command is that it substantially
reduces the power consumption of the QTERM.