Mitsubishi MELSEC-Q/L Programming Manual page 610

Table of Contents

Advertisement

ZRRDB, ZRRDBP
7.18.4
ZRRDB, ZRRDBP
Direct 1-byte read from file register
7.18.4
ZRRDB, ZRRDBP
ZRRDB
ZRRDBP
n
: Serial byte number for the file register to be read (BIN 32 bits)
: Number of the device where the read data will be stored (BIN 16 bits)
D
Internal Devices
Setting
Data
Bit
Word
n
D
Function
(1) Reads the serial byte number designated by n that does not signify a block number, and stores at the lower 8 bits of the
device designated by
D
The upper 8 bits designated by
n
Serial byte number
(2) The correspondence between file register numbers and serial byte numbers is as indicated below:
(a) If the value of n has been designated as 23560, the data at the lower 8 bits of ZR11780 will be read.
n
23560
(b) If the value of n has been designated as 43257, the data at the upper 8 bits of ZR21628 will be read.
n
43257
608
Command
Command
J
R, ZR
Bit
.
will become 00
.
D
H
File register
ZR0
Area for
block No. 0
ZR32767
ZR32768
Area for
block No. 1
ZR65535
ZR65536
Area for
block No. 2
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
Read destination
b15
designation
ZR11780
43
H
Read destination
b15
designation
ZR21628
93
H
High
Basic
performance
ZRRDB
ZRRDBP
\
U
\G
Word
D
b0
Data when an even
number is designated
Data when an odd
number is designated
b8 b7
b0
D
21
H
Data is stored
b8 b7
b0
D
42
H
Data is stored
Process
Redundant Universal
LCPU
n
D
n
D
Constants
Zn
K, H
––
b15
b8
B7
B0
00
H
Read-out contents
b15
b8 b7
b0
00
21
H
H
b15
b8 b7
b0
00
93
H
H
Other
––
––

Advertisement

Table of Contents
loading

Table of Contents