ACM2002E SERIES LCD MODULE
AZ DISPLAYS, INC. 07/01/2002
8
11.0 DISPLAY INSTRUCTION TABLE
COMMAND R
SR/
WDB
7DB
6DB
5DB
4DB
3DB
2DB
1DB
0DESCRIPTION Executing
time
fosc=250khz
Clear
Display
0 0 0
0 0 0 0 0 0 1 Clears Display & Returns to Address 0. 1.64ms
0
0 0
0 0 0 0 0 1 xReturns Cursor to Address 0. Also
returns the display being shifted to the
original position. DDRAM contents
remain unchanged.
1.64ms
0 0
0
0 0 0 0 1 I/D SI/D: Set Cursor Moving Direction
I/D=1: Increment
I/D=0: Decrement
S: Specify Shift of Display
S=1: The display is shifted
S=0: The display is not shifted
40µs
Display
ON/OFF
Control
0 0 0 0 0 0 1 D C BDisplay D=1: Display on
D=0: Display off
Cursor C=1: Cursor on
C=0: Cursor off
Brink B=1: Brink on
B=0: Brink off
40µs
Cursor /
Display
Shift
0 0
0001 S/C R/L x x Moves cursor or shifts the display w/o
changing DD RAM contents
S/C=0: Cursor Shift (RAM unchanged)
S/C=1: Display Shift (RAM unchanged)
R/L=1: Shift to the Right
R/L=0: Shift to the Left
40µs
Function
Set
00001DL NFx x Sets data bus length (DL), # of display
lines (N), and character fonts (F).
DL=1: 8 bits F=0: 5x7 dots
DL=0: 4 bits F=1: 5x10 dots
N=0: 1 line display
N=1: 2 lines display
40µs
Set CG RAM
Address 0 0 0 1 Character Generator (CG) RAM
Address Sets CG RAM address. CG RAM data is
sent and received after this instruction. 40µs
Set DD
RAM
Address
0 0 1 Display Data (DD) RAM Address /
Cursor Address Sets DD RAM address. DD Ram data
is sent and received after this
instruction.
40µs
Busy Flag /
0
1B
FAddress counter used for both DD &
CG RAM address Reads Busy Flag (BF) and address
counter contents. 40µs
Write Data 1
0Write Data Writes data into DDRAM or CGRAM. 46µs
Read Data
1 1 Read Data Reads data from DDRAM or CGRAM. 46µs
x: Don't Care.