
CD7220/CD3220 CUSTOMER DISPLAY
17
6.2 CD7220/CD3220 standard command details
ESC DC1
/Overwrite mode/
ASCII Format
ESC DC1
Dec. Format
[027][017]
Hex. Format
[1Bh][11h]
Description
Change the display mode to the overwrite mode. In this mode, the cursor will move rightward and
begin from the upper left-end position. When the cursor reached the end of the upper line, the cursor
will move down to the bottom left-end position to continue. When the cursor reached the end of the
bottom line, it will move up to the upper left-end position and overwrite the previous characters.
ESC DC2
/Vertical scroll mode/
ASCII Format
ESC DC2
Dec. Format
[027][018]
Hex. Format
[1Bh][12h]
Description
Change the display mode to the vertical scroll mode. In this mode, the cursor will move rightward.
The cursor will begin from the upper left-end position until it reached the end of the upper line, the
cursor will then move down to the bottom left-end position to continue until it reached the end of the
bottom line. Then, CD7220/CD3220 will scroll the bottom line up to replace the upper line. The
bottom line will be cleared, and the cursor will continue to the first position of the bottom line.
ESC DC3
/Horizontal scroll mode/
ASCII Format
ESC DC3
Dec. Format
[027][019]
Hex. Format
[1Bh][13h]
Description
Change the display mode to the horizontal mode. In this mo de, the extend of the cursor activity is
bond by predefined range, limited to the upper line. (Please refer to Set or cancel window command),
where the default window is the whole upper line. Once the cursor activity reached the end of the
range, the characters that comes there after will push displayed characters forward from behind.
ESC Q A d1d2d3d4d5d6.......dn CR
ESC Q B
d1d2d3d4d5d6.......dn CR
/Set the string display mode, and write string to display/
ASCII Format
ESC Q A d1d2d3d4d5d6...dn CR
ESC Q B d1d2d3d4d5d6...dn CR
Dec. Format
[027][081][065] d1d2d3..dn [013]
[027][081][066] d1d2d3..dn [013]
Hex. Format
[1Bh][51h][41h] d1d2d3..dn [0Dh]
[1Bh][51H][42h] d1d2d3..dn [0Dh] {20h<dn<ffh}
Description
Set the string display mode, write to upper or lower line d1 d2 d3 . . . dn {1<n<20}
“A” stands for the upper line, “B” stands for the lower line. The string display mode will be cancelled
and back to last mode after receive CLR or CAN.
ESC Q D
d1d2d3d4d5d6.......dn CR
/ Upper line message scroll continuously
ASCII Format
ESC Q D d1d2d3d4d5d6...dn CR
Dec. Format
[027][081][068] d1d2d3..dn [013]
Hex. Format
[1Bh][51h][44h] d1d2d3..dn [0Dh] {20h<dn<ffh}
Description
The message (previously defined) will scroll continuously in the horizontal direction until a new
command is received.