TA600032-EN0/0
- 61 -
5.2.6
Port data memory
"Port data" of "Local LSI" can be read and "Port data" of "Own device" can be written.
"Port data memory" has "Memory addresses" from address 0 to address 255.
The size of one "Port number" is 1 byte.
The size of one "Device number" is 4 bytes.
Memory addresses
(ADDR)
Port number
Device number (DN)
Binary
Decimal
0000 0000b
0
0
0 (00h)
0000 0001b
1
1
0000 0010b
2
2
0000 0011b
3
3
0000 0100b
4
0
1 (01h)
0000 0101b
5
1
0000 0110b
6
2
0000 0111b
7
3
… omission …
1111 1100b
252
0
63 (3Fh)
1111 1101b
253
1
1111 1110b
254
2
1111 1111b
255
3
For your reference, the correspondence between "Device number" and the beginning of "Memory address" is shown in "Table
5.2-3 Port data memory address quick reference".
Table 5.2-3 Port data memory address quick reference
DN
ADDR
DN
ADDR
DN
ADDR
DN
ADDR
0 (00h)
00h
16 (10h)
40h
32 (20h)
80h
48 (30h)
C0h
1 (01h)
04h
17 (11h)
44h
33 (21h)
84h
49 (31h)
C4h
2 (02h)
08h
18 (12h)
48h
34 (22h)
88h
50 (32h)
C8h
3 (03h)
0Ch
19 (13h)
4Ch
35 (23h)
8Ch
51 (33h)
CCh
4 (04h)
10h
20 (14h)
50h
36 (24h)
90h
52 (34h)
D0h
5 (05h)
14h
21 (15h)
54h
37 (25h)
94h
53 (35h)
D4h
6 (06h)
18h
22 (16h)
58h
38 (26h)
98h
54 (36h)
D8h
7 (07h)
1Ch
23 (17h)
5Ch
39 (27h)
9Ch
55 (37h)
DCh
8 (08h)
20h
24 (18h)
60h
40 (28h)
A0h
56 (38h)
E0h
9 (09h)
24h
25 (19h)
64h
41 (29h)
A4h
57 (39h)
E4h
10 (0Ah)
28h
26 (1Ah)
68h
42 (2Ah)
A8h
58 (3Ah)
E8h
11 (0Bh)
2Ch
27 (1Bh)
6Ch
43 (2Bh)
ACh
59 (3Bh)
ECh
15 (0Ch)
30h
28 (1Ch)
70h
44 (2Ch)
B0h
60 (3Ch)
F0h
13 (0Dh)
34h
29 (1Dh)
74h
45 (2Dh)
B4h
61 (3Dh)
F4h
14 (0Eh)
38h
30 (1Eh)
78h
46 (2Eh)
B8h
62 (3Eh)
F8h
15 (0Fh)
3Ch
31 (1Fh)
7Ch
47 (2Fh)
BCh
63 (3Fh)
FCh