- 11 -
5.2. CD5220 Standard Mode Command List
Command
Code (hex)
Function Description
ESC DC1
1B 11
US SOH
1F 01
Overwrite mode
ESC DC2
1B 12
US STX
1F 02
Vertical scroll mode
ESC DC3
1B 13
US ETX
1F 03
Horizontal scroll mode
ESC Q A
[DATA]
CR
1B 51 41
[DATA]
0D
Set the string display mode, write string to
upper line. *
1
Maximal
[DATA]
length is 20
ESC Q B
[DATA]
CR
1B 51 42
[DATA]
0D
Set the string display mode, write string to
lower line.
*1
Maximal
[DATA]
length is 20
ESC Q D
[DATA]
CR
1B 51 44
[DATA]
0D
Upper line message scroll continuously. *
1
*
2
Maximal
[DATA]
length is 40
ESD [ D
1B 5B 44
BS 08
Move cursor left
ESC [ C
1B 5B 43
HT 09
Move cursor right
ESC [ A
1B 5B 41
US LF
1F 0A
Move cursor up
ESC [ B
1B 5B 42
LF 0A
Move cursor down
ESC [ H
1B 5B 48
HOM 0B
Move cursor to home position
ESC [ L
1B 5B 4C
CR 0D
Move cursor to left-most position
ESC [ R
1B 5B 52
US CR
1F 0D
Move cursor to right-most position
ESC [ K
1B 5B 4B
US B
1F 42
Move cursor to bottom position
ESC #
n
1B
23
n
Command type select
n
= 30h ~ 37h
US @
1F 40
Execute self test
US E
n
1F
45
n
Blink display screen
n
= 00h ~ FFh
n
= 0 for no blink
ESC I
x y
1B
6C
x y
US $
x y
1F
24
x y
Move cursor to specified position
x
= 1 ~ 14h, for columns location.
y
= 1,2, for lines location.
ESC #
n
1B
23
n
Command type select
n
= 30h ~ 37h
US E
n
1F
45
n
Blink display screen
n
= 00h ~ FFh
n
= 0 for no blink
ESC I
x y
1B
6C
x y
Move cursor to specified position
x
= 1 ~ 14h, for columns location.
y
= 1,2, for lines location.
ESC @
1B 40
Initialize display