609
ZRWRB, ZRWRBP
1
2
3
4
4
6
7
8
7.18
Ot
her inst
ructions
7.18.5
Z
RWRB, Z
R
WRBP
Operat
i
on
E
rror
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program
E
xamp
l
e
(1) The following program reads the lower 8 bits of ZR16000 and the upper 8 bits of ZR16003, and stores them at D100 and
D101 when X0 is ON.
[Ladder Mode]
[List Mode]
[Operation]
n
: Serial byte number for the file register to be written (BIN 32 bits)
: Number of the device where the data to be written is stored (BIN 16 bits)
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4101
The specified device number (serial byte number) exceeds the
available range.
––
––
––
––
ZRWRB, ZRWRBP
File register direct 1-byte write
7.18.5
ZRWRB, ZRWRBP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
n
––
––
Step
I
nstruct
i
on
De
vi
ce
b15
b8 b7
b0
ZR16001
ZR16002
8
F
H
25
H
32
H
3
4
H
4
2
H
12
H
00
H
93
H
ZR16000
ZR16003
25
H
D100
93
H
D101
00
H
00
H
b15
b8 b7
b0
Ser
i
a
l
byte
N
o
.
32000
(
L
o
w
er
8
b
i
ts
of
ZR16000)
Ser
i
a
l
byte
N
o
.
32007
(
U
pper
8
b
i
ts
of
ZR16003)
Basic
Process
High
performance
Redundant Universal
LCPU
Command
Command
ZRWRB
ZRWRBP
n
n
ZRWRB
ZRWRBP
S
S
S
S