Writing 1-byte data to the file register
ZRWRB(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions write the data in the lower bits of the specified device to the file register with the specified serial byte
number.
Ladder
(s1) (s2)
FBD/LD
EN
ENO
s1
s2
■Execution condition
Instruction
ZRWRB
ZRWRBP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Serial byte number of the file register to be written
(s2)
Device number where the write data is stored
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=ZRWRB(EN,s1,s2);
ENO:=ZRWRBP(EN,s1,s2);
Range
Data type
0 to 4294967295
32-bit unsigned binary
-32768 to 32767
16-bit signed binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
7.23 File Register Read/Write Instructions
Data type (label)
ANY32
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
7
997