ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 28 of 57
Data Out
SW1 SW2.
Status Code
6.5. LCD Display (GB Mode)
This command is used to display the LCD Message in GB Mode.
LCD Display Command Format (5 Bytes + LCD Message Length)
Command
Class
INS
P1
P2
Lc
Data In
(Max. 16 Bytes)
LCD Display
FFh
Option Byte
69h
LCD XY
Position
LCD
Message
Length
LCD Message
INS
Option Byte (1 Byte)
CMD
Item
Description
Bit 0
Character Bold Font
1 = Bold; 0 = Normal
Bit 1 - 7
Reserved
P2
LCD XY Position.
The character to be displayed on the LCD position specified by DDRAM Address.
Please follow the DDRAM table below for the LCD character position’s representation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 DISPLAY
POSITION
FIRST LINE
00
01
02
03
04
05
06
07
LCD XY
POSITION
SECOND LINE
40
41
42
43
44
45
46
47
Table 4
: LCD Character Position Representation
Lc
LCD Message Length.
The length of the LCD message (max. 10h); If the message length is longer than the
number of characters that the LCD screen can show, then the redundant character
will not be shown on the LCD.
The length of the LCD message should be a multiple of 2 because each Chinese
Character (GB code) should contain two bytes.
Data In
LCD Message.
The data to be sent to the LCD, maximum of 8 (2 x 8bit each character) characters
for each line. Please follow the Fonts table of GB Coding.
If ASCII code is to be sent at this mode, the number of characters should be a
multiple of 2, otherwise, add 00h after the last character.
Results
SW1
SW2
Meaning
Success
90
00h
The operation is completed successfully.
Error
63
00h
The operation is failed.