320 x 240 LCD Display Terminal
ANSI
VT100 Serial Protocol Features
The ANSI subset protocol allows the display to be used as a limited ANSI terminal with scrolling. The display consists of 30 lines of 40 characters shown using a fixed pitch 8 x 8 font. The display supports a hardware cursor, which is displayed by a flashing underline, and represents the insertion point on the display where the next printable text will be placed.
The following ANSI protocol commands are supported:
Value (ASCII 7 decimal / 07 hex) Receipt of this character causes the display to produce a 1KHz tone for 0.2 seconds.
Value (ASCII 8 decimal / 08 hex) Receipt of this character causes the display to move the cursor one position to the left.
Value (ASCII 9 decimal / 09 hex) Receipt of this
character causes the display to move the cursor right to the next tab stop.
Moving past the rightmost tab stop causes the cursor to move to the beginning of
the following line with display scrolling up if the cursor was on the last line.
There are 4 tab stops per line at positions 4, 8, 12, 16, 20, 24, and 28.
Value (ASCII 10 decimal / 0A hex) Receipt of this character causes the display to move the cursor down to the next line in the same column. The display will scroll up if the cursor was on the last line.
Value (ASCII 11 decimal / 0B hex) Receipt of this character causes the display to move the cursor down to the next line in the same column. The display will scroll up if the cursor was on the last line.
Value (ASCII 12 decimal / 0C hex) Receipt of this character causes the display to move the cursor down to the next line in the same column. The display will scroll up if the cursor was on the last line.
Value (ASCII 13 decimal / 0D hex) Receipt of this character causes the display to move the cursor left to the first column on the current line. There is a User Configuration setting that will automatically add receipt of a Line Feed (LF) character after a carriage return if required.
Value (ASCII 24 decimal / 18 hex) Receipt of this character causes the display to abort any escape sequence that may be in process. No other action is taken.
Value (ASCII 33 decimal / 1B hex) Receipt of this character causes the display to attempt to decode one or more of the following characters as a control or escape sequence that will affect the display.
Values (ASCII 32 decimal / 20 hex through ASCII 127 decimal / 7F hex) Receipt of these characters cause the display to show the character on the screen at the current cursor location, and then move the cursor right to the next position. There is a User Configuration setting that will automatically wrap the cursor to the beginning of the next line, if required, scrolling up if the cursor was on the last line. The following characters are displayed:
|
|
Upper Bits | |||||
|
Lower Bits |
0010 |
0011 |
0100 |
0101 |
0110 |
0111 |
|
0000 |
space |
0 |
@ |
P |
` |
p |
|
0001 |
! |
1 |
A |
Q |
a |
q |
|
0010 |
|
2 |
B |
R |
b |
r |
|
0011 |
# |
3 |
C |
S |
c |
s |
|
0100 |
$ |
4 |
D |
T |
d |
t |
|
0101 |
% |
5 |
E |
U |
e |
u |
|
0110 |
& |
6 |
F |
V |
f |
v |
|
0111 |
|
7 |
G |
W |
g |
w |
|
1000 |
( |
8 |
H |
X |
h |
x |
|
1001 |
) |
9 |
I |
Y |
i |
y |
|
1010 |
* |
: |
J |
Z |
j |
z |
|
1011 |
+ |
; |
K |
[ |
k |
{ |
|
1100 |
, |
< |
L |
\ |
l |
| |
|
1101 |
- |
= |
M |
] |
m |
} |
|
1110 |
. |
> |
N |
^ |
n |
? |
|
1111 |
/ |
? |
O |
_ |
o |
? |
Values (ASCII 33, 99 decimal / 1B, 63 hex) Receipt of this character sequence causes the display to clear, the cursor position to move to the upper left corner and the backlight to turn off.
Values (ASCII 33, 68 decimal / 1B, 44 hex) Receipt of this character sequence causes the display to move the cursor down to the next line in the same column. The cursor will not move and the display will not scroll up if the cursor was on the last line.
Values (ASCII 33, 69 decimal / 1B, 45 hex) Receipt of this character sequence causes the display to move the cursor down to the next line and the first column. The cursor will not move and the display will not scroll up if the cursor was on the last line.
Values (ASCII 33, 77 decimal / 1B, 4D hex) Receipt of this character sequence causes the display to move the cursor up to the previous line in the same column. The cursor will not move if the cursor was on the first line.
Values (ASCII 33, 91 decimal / 1B, 5B hex) Receipt of this character sequence causes the display to attempt to decode one or more of the following characters as an ANSI control sequence. These sequences can have 1 or 2 parameters that are expressed as decimal numbers separated by a semicolon. The absence of a parameter in a control sequence causes it to assume a default value of zero.
Values (ASCII 33, 91, 48-57, 65 decimal / 1B, 5B, 30-39, 41 hex) Receipt of this character sequence causes the display to move the cursor up n lines in the same column. The cursor will not move up past the first line in the display.
Values (ASCII 33, 91, 48-57, 70 decimal / 1B, 5B, 30-39, 46 hex) Receipt of this character sequence causes the display to move the cursor up n lines and to the first column. The cursor will not move up past the first line in the display.
Values (ASCII 33, 91, 48-57, 66 decimal / 1B, 5B, 30-39, 42 hex) Receipt of this character sequence causes the display to move the cursor down n lines in the same column. The cursor will not move past the bottom line in the display and the display will not scroll up.
Values (ASCII 33, 91, 48-57, 69 decimal / 1B, 5B, 30-39, 45 hex) Receipt of this character sequence causes the display to move the cursor down n lines and to the first column. The cursor will not move past the bottom line in the display and the display will not scroll up.
Values (ASCII 33, 91, 48-57, 67 decimal / 1B, 5B, 30-39, 43 hex) Receipt of this character sequence causes the display to move the cursor right n characters on the same line. The cursor will not move past the end of the current line.
Values (ASCII 33, 91, 48-57, 68 decimal / 1B, 5B, 30-39, 44 hex) Receipt of this character sequence causes the display to move the cursor left n characters on the same line. The cursor will not move past the beginning of the current line.
Values (ASCII 33, 91, 48-57, 71 decimal / 1B, 5B, 30-39, 47 hex) Receipt of this character sequence causes the display to move the cursor to column n on the current line. The cursor will not move past the beginning or end of the current line.
Values (ASCII 33, 91, [[48-57], 59, [48-57]], 72 decimal / 1B, 5B, [[30-39], 3B, [30-39]], 48 hex) Receipt of this character sequence causes the display to move the cursor to row r, column c. The value for r ranges from 0 7, the value for c ranges from 0 20.
Values (ASCII 33, 91, 48-50, 74 decimal / 1B, 5B, 30-32, 4A hex) Receipt of this character sequence causes part or all of the display to clear. If n = 0, the display is cleared from the cursor position to the end. If n = 1, the display is cleared from the beginning to the cursor position. If n = 2 the entire display is cleared, and the cursor is moved to the upper left (0, 0).
Values (ASCII 33, 91, 48-50, 75 decimal / 1B, 5B, 30-32, 4B hex) Receipt of this character sequence causes part or all of the line that the cursor is on to clear. If n = 0, the line is cleared from the cursor position to the end of the line. If n = 1, the line is cleared from the beginning to the cursor position. If n = 2 the entire line is cleared. The position of the cursor is not affected by this command.
Values (ASCII 33, 91, 114 decimal / 1B, 5B, 73 hex) Receipt of this character sequence causes the display to save the current cursor position.
Values (ASCII 33, 91, 116 decimal / 1B, 5B, 75 hex) Receipt of this character sequence causes the display to restore the previously saved cursor position.