VT100 protocol commands
05-10-2007
CNI Engineering S.r.l.
7
3.1.12 Position cursor
This command moves the cursor to the position determined by the parameters
Pn-r
, and
Pn-c
.
Pn-r
determines the row to which the cursor moves while
Pn-c
determines the column.
If Pn-r is omitted or if its value is set to 0 or 1, the cursor moves to the first row of the display. If Pn-c is
omitted or if its value is set to 0 or 1, the cursor moves to the first column of the display.
Display rows are numbered from 1 to 4 starting from the top, and columns are numbered 1 to 20
starting from the left.
Sequence
ESC [ Pn-r ; Pn-c H
Example:
To move the cursor to row 2, column 12 (
Pn-r=2
;
Pn-c=12
).
Byte
Command
Response
00
ESC
(0x1b)
01
‘[’
(0x5b)
02
‘1’
(0x31)
03
‘;’
(0x3b)
04
‘1’
(0x31)
05
‘3’
(0x33)
06
‘H’
(0x48)
3.1.13 Tab
This command moves the cursor to the first tab position it meets to the right. The contents of the row
are not changed. The fixed tab positions are: column 9, column 17, and column 20. If the cursor is
already positioned on the last column of the display (column 20), is does not move.
Sequence
HT
Byte
Command
Response
00
HT
(0x09)
3.1.14 Save cursor
This command saves the position of the cursor (its row and column) and its attributes (off or on).
Sequence
ESC 7
Byte
Command
Response
00
ESC
(0x1b)
01
‘7’
(0x37)
Содержание RM85x
Страница 4: ......
Страница 8: ...TABLE OF CONTENTS 05 10 2007 CNI Engineering S r l iv...