Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-391
ZRRDB(P)
1
2
3
4
6
6
7
8
7
.18 Ot
her instr
uctions
7
.18.4 Direct 1-b
yte r
ead fro
m
 file reg
ister (
Z
RR
DB(P))
7.18.4  
Direct 1-byte read from file register (ZRRDB(P))
ZRRDB(P)
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 
.
The upper 8 bits designated by 
 will become 00
H
.
(2) The correspondence between file register numbers and serial byte numbers is as indicated 
below:
 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)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
n
––
––
––
Basic
Process
High
performance
Redundant Universal
Command
Command
ZRRDB
ZRRDBP
n
n
D
D
ZRRDB
ZRRDBP
D
D
D
D
Area for 
block No. 0
Area for 
block No. 1
Area for 
block No. 2
ZR65536
ZR65535
ZR32768
ZR0
ZR32767
Serial byte number
n
Read-out contents
00
H
B0
B7
b15
b8
File register
D
ZR0
Serial byte No. 0
Serial byte No. 1
Serial byte No. 2
Serial byte No. 3
ZR1
Serial byte No. 4
Serial byte No. 5
Serial byte No. 5000
Serial byte No. 5001
Serial byte No. 5002
Serial byte No. 5003
Serial byte No. 5004
Serial byte No. 5005
Serial byte No. 5006
Serial byte No. 5007
ZR2501
ZR2502
ZR2503
Data when an even 
number is designated
Data when an odd 
number is designated
ZR2
ZR2500
b15
b8b7
b0