Busy Flag (BF)
When the busy flag is set at a logical "1", the LCD
unit is executing an internal operation, and no in-
struction will be accepted. The state of the busy flag
is output on data line DB
7
in response to the register
selection signals RS = 0, R/W = 1 as shown in Table
3. The next instruction may be entered after the
busy flag is reset to logical "0".
Address Counter (AC)
The address counter generates the address for
the display data RAM and character generator
RAM. When the address set instruction is written
into the instruction register, the address information
is sent to the address counter. The same instruciton
also determines which of the two RAM’s is to be
selected.
After data has been written to or read from the
display data RAM or character generator RAM, the
address counter is automatically incremented or
decremented by one. The contents of the address
counter are output on data lines DB
0
- DB
6
in
response to the register selection signals RS = 0,
R/W = 1 as shown in Table 3.
Display Data RAM (DD RAM)
This 80 x 8 bit RAM stores up to 80 8-bit character
codes as display data. The unused area of the RAM
may be used by the microprocessor as a general
purpose RAM area.
The display data RAM address, set in the address
counter, is expressed in hexadecimal (HEX) num-
bers as follows:
The address of the display data RAM corre-
sponds to the display position on the LCD panel as
follows:
a. Address type a . . . .For dual-line display
When a display shift takes place, the addresses
shift is as follows:
The addresses for the second line are not con-
tinuous to the addresses for the first line. A 40-char-
acter RAM area is assigned to each of the two line
as follows:
line 1: 00
H
- 27
H
line 2: 40
H
- 67
H
For an LCD unit with a display capacity of less
than 40 characters per line, characters equal in
number to the display capacity, as counted from
display position 1, are displayed.
b. Address type b . . . .For single-line display with
logically dual-line addressing
When a display shift takes place, the addresses
shift as follows:
The right-hand eight characters, for the purposes
of addressing and shifting, may be considered to
constitute a second display line. For the address
type of each model, see Table 12.
AC6 AC5 AC4 AC3 AC2 AC1 AC0
HEX
Digit
AC
High-order
Bits
Lower-order
Bits
HEX
Digit
1
Example: DD RAM address '4E'
0
0
1
1
1
0
4
E
9
8
7
6
5
4
3
2
1
39 40
Display Position
DD RAM Address (HEX)
Digit
Line 1
Line 2
00
H
01
H
02
H
03
H
04
H
05
H
06
H
07
H
08
H
26
H
27
H
40
H
41
H
42
H
43
H
44
H
45
H
46
H
47
H
48
H
66
H
67
H
. . .
. . .
Left
Shift
01
H
02
H
03
H
04
H
05
H
06
H
07
H
08
H
09
H
27
H
00
H
41
H
42
H
43
H
44
H
45
H
46
H
47
H
48
H
49
H
67
H
40
H
. . .
. . .
Right
Shift
27
H
00
H
01
H
02
H
0
3
H
04
H
05
H
06
H
07
H
25
H
26
H
67
H
40
H
41
H
42
H
43
H
44
H
45
H
46
H
47
H
65
H
66
H
. . .
. . .
16
15
14
Display Position
Digit
Line
1
DD RAM Address (HEX)
13
12
11
10
9
8
7
6
5
4
3
2
1
00
H
47
H
46
H
45
H
44
H
43
H
42
H
41
H
40
H
07
H
06
H
05
H
04
H
03
H
02
H
01
H
Left
Shift
01
H
48
H
47
H
46
H
45
H
44
H
43
H
42
H
41
H
08
H
07
H
06
H
05
H
04
H
03
H
02
H
Right
Shift
27
H
46
H
45
H
44
H
43
H
42
H
41
H
40
H
67
H
06
H
05
H
04
H
03
H
02
H
01
H
00
H
Dot-Matrix LCD Units
Display Unit User’s Manual
5