Mitsubishi MELSEC-Q/L Programming Manual page 612

Table of Contents

Advertisement

ZRWRB, ZRWRBP
Function
(1) Writes the lower 8 bits of data stored in the device designated by
register of the serial byte number designated by n.
The upper 8 bits of data in the device designated by are ignored
n
Serial byte number
(2) The correspondence between file register numbers and serial byte numbers is as indicated below:
ZR0
ZR1
ZR2
ZR2500
ZR2501
ZR2502
ZR2503
If n 12340 is specified, the data will be written to the lower 8 bits of ZR6170.
n
12340
If n 43257 is specified, the data will be written to the upper 8 bits of ZR21628.
43257
n
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.
Error
code
The specified device number (serial byte number) exceeds the
4101
available range.
610
File register
ZR0
Area for
block No. 0
ZR32767
ZR32768
Area for
Write destination
block No. 1
designation
ZR65535
ZR65536
Area for
block No. 2
b15
b8b7
Serial byte No. 1
Serial byte No. 0
Serial byte No. 3
Serial byte No. 2
Serial byte No. 5
Serial byte No. 4
Serial byte No. 5001
Serial byte No. 5000
Serial byte No. 5003
Serial byte No. 5002
Serial byte No. 5005
Serial byte No. 5004
Serial byte No. 5007
Serial byte No. 5006
Write destination
b15
b8 b7
designation
43
ZR6170
H
b15
b8 b7
43
H
Write destination
b15
b8 b7
designation
ZR21628
12
H
b15
b8 b7
43
H
Error details
that does not signify a block number to the file
S
.
S
b15
Writing the data
S
Ignored
b0
Storage destination
when an even number is designated
Storage destination
when an odd number is designated
b0
b15
21
S
Ignored
H
b0
54
H
b0
b15
S
50
Ignored
H
b0
50
H
Q00J/
Q00/
QnH
QnPH QnPRH
Q01
––
––
b8
b7
b0
Contents to
be written
b8 b7
b0
54
H
b8 b7
b0
43
H
QnU
LCPU
––
––

Advertisement

Table of Contents
loading

Table of Contents