7-392
ZRRDB(P)
(a) If the value of n has been designated as 23560, the data at the lower 8 bits of ZR11780
will be read.
(b) If the value of n has been designated as 43257, the data at the upper 8 bits of ZR21628
will be read.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• A device number (serial byte number) that exceeds the range of allowable designations
has been designated. (Error code: 4101)
Program Example
(1) The following program reads the lower bits of ZR16000 and the upper bits of R16003, and
stores results at D100 and D101 when X0 is ON.
[Ladder Mode] [List Mode]
[Operation]
b15 b8
b7
b0
ZR11780
43
H
21
H
b15 b8
b7
b0
00
H
21
H
Data is stored
Read destination
designation
n
23560
D
D
b15 b8
b7
b0
ZR21628
93
H
42
H
b15 b8
b7
b0
00
H
93
H
Data is stored
Read destination
designation
n
43257
Step Instruction Device
b15 b8b7 b0
R16001
R16002
8F
H
25
H
32
H
34
H
42
H
12
H
00
H
93
H
R16000
R16003
Serial byte No. 32000
(Lower bits of R16000)
Serial byte No. 32007
(Upper bits of R16003)
25
H
D100
93
H
D101
00
H
00
H
b15 b8b7 b0