File Register Direct 1-Byte Write - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

File register direct 1-byte write

ZRWRB(P)
High
Basic
Process
Redundant Universal
performance
ZRWRB
ZRWRBP
n:
Serial byte number for the file register to be written (BIN 32 bits)
(S): Number of the device where the data to be written is stored (BIN 16 bits)
Setting
Internal device
data
Bit
Word
n
(S)
Processing details
• Writes the lower 8 bits of data stored in the device designated by (S) that does not signify a block number to the file register
of the serial byte number designated by n. The upper 8 bits of data in the device designated by are ignored (S).
ZR32767
ZR32768
Write destination
designation
n
Serial byte number
ZR65535
ZR65536
• The correspondence between file register numbers and serial byte numbers is as indicated below:
b15
b8b7
Serial byte No. 1
Serial byte No. 0
ZR0
Serial byte No. 3
Serial byte No. 2
ZR1
Serial byte No. 5
Serial byte No. 4
ZR2
Serial byte No. 5001
Serial byte No. 5000
ZR2500
Serial byte No. 5003
Serial byte No. 5002
ZR2501
Serial byte No. 5005
Serial byte No. 5004
ZR2502
Serial byte No. 5007
Serial byte No. 5006
ZR2503
LCPU
Command
Command
R, ZR
J\
Bit
File register
ZR0
Area for
block No. 0
Area for
block No. 1
Writing the data
Area for
block No. 2
b0
Storage destination
when an even number is designated
Storage destination
when an odd number is designated
n
ZRWRB
n
ZRWRBP
U\G
Zn
Word
b15
b8
b7
b0
S
Ignored
Contents to
be written
7 APPLICATION INSTRUCTIONS
S
S
Constant
Others
K, H
759
7.19 Other Instructions
7

Advertisement

Table of Contents
loading

Table of Contents