LK202-24-USB rev 1
15
The position where text is to be inserted is a character location stored in the LK202-24-USB's volatile
memory and maintained internally by the LK202-24-USB's firmware. This position is manipulated by the
commands shown in the following section.
2.6 Text Commands
In this section commands are identified by their names and decimal values. Hex and ASCII equivalents are
given in the summary (Table 6-1).
Before issuing commands to the LK202-24-USB please read sections
6.2 and 6.3.
Some commands, marked with an (R), may be "remembered" to set new defaults that will be in effect each
time the unit is powered on. See section 5.1.1 for further information.
2.6.1 Auto line wrap on (254 67) (R)
Enables automatic line wrapping. Note that this is not "word wrapping" and wraps may occur in the middle
of a word.
2.6.2 Auto line wrap off (254 68) (R)
Disables automatic line wrapping. Characters beyond the end of a line will be lost.
2.6.3 Auto scroll on (254 81) (R)
When auto scrolling is on, it causes the LK202-24-USB to shift the entire display’s contents up to make
room for a new line of text when the text reaches the scroll position (the bottom right character position).
2.6.4 Auto scroll off (254 82) (R)
When auto scrolling is disabled, text will wrap to the top left corner of the display area. Existing text in the
display area is not erased before new text is placed. A series of "spaces" followed by a Cursor Home
command may be used to erase the top line of text.
2.6.5 Set cursor position (254 71 [column] [row])
This command sets the cursor position (text insertion point) to the [column] and [row] specified. Columns
have values from 1 to 20 (0x01 to 0x14) and rows have values of 1 and 2 (0x01 and 0x02).
2.6.6 Send cursor home (254 72)
This command moves the cursor position (text insertion point) to the top left of the display area.
2.6.7 Turn on underline cursor (254 74) (R)
Turns on the underline cursor. The cursor shows the current text insertion point. Both underline and
blinking cursors may be turned on or off independently. The cursor is off by default.
2.6.8 Turn off underline cursor (254 75) (R)
Turns off the underline cursor. Does not affect the blinking block cursor.
2.6.9 Turn on block (blinking) cursor (254 83) (R)
Turns on the blinking block cursor. The cursor shows the current text insertion point. Both blinking and
underline cursors may be turned on or off independently. The cursor is off by default.