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

Скачать
Страница из 1204
7-393
ZRWRB(P)
1
2
3
4
6
6
7
8
7
.18 Ot
her instr
uctions
7
.18.5 File regist
er direct 1-byte w
rit
e (ZR
W
R
B
(P))
7.18.5  
File register direct 1-byte write (ZRWRB(P))
ZRWRB(P)
Function
(1) Writes the lower bits of data stored in the device designated by 
 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.
(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 written (BIN 32 bits)
:  Number of the device where the data to be written is 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
ZRWRB
ZRWRBP
n
n
ZRWRB
ZRWRBP
S
S
D
S
S
S
Area for 
block No. 0
Area for 
block No. 1
Area for 
block No. 2
ZR65536
ZR65535
ZR32768
ZR0
ZR32767
Serial byte number
n
Contents to 
be written
Ignored
b0
b7
b15
b8
Write destination 
designation
Writing the data
File register
S
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
Storage destination 
when an even number is designated
Storage destination 
when an odd number is designated
ZR2
ZR2500
b15
b8b7
b0