7-394
ZRWRB(P)
If n 12340 is specified, the data will be written to the lower 8 bits of ZR11170.
If n 43257 is specified, the data will be written to the upper 8 bits of ZR21628.
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 writes the data at the lower bits of D100 and D101 to the lower bits of
R16000 and the upper bits of R16003 when X0 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
b15 b8
b7
b0
ZR11170
43
H
b15 b8
b7
b0
Ignored
Write destination
designation
n
12340
b15 b8b7 b0
43
H
S
21
54
54
H
H
H
b15 b8b7 b0
ZR21628
50
H
b15 b8b7 b0
Ignored
Write destination
designation
n
43257
b15 b8b7 b0
50
H
S
43
H
12
H
43
H
Step Instruction Device
b15 b8
b7
b0
R16001
R16002
54
H
BA
H
80
H
4A
H
AB
H
77
H
R16000
R16003
b15 b8b7 b0
R16001
R16002
54
H
BA
H
80
H
4A
H
AB
H
77
H
R16000
R16003
Serial byte No. 32000
(Lower bits of R16000)
Serial byte No. 32007
(Upper bits of R16003)
b15 b8
b7
b0
Ignored
D100
b15 b8b7 b0
Ignored
D101
59
H
99
H
10
H
01
H
10
H
01
H