Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 998

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• Without recognizing block numbers, these instructions read the data from the file register with the serial byte number
specified by (s), and store the data in the lower 8 bits of the device specified by (d). 00H is stored in the upper 8 bits of the
device specified by (d).
(s)
Serial byte number
• The following figure shows the file register numbers corresponding to serial byte numbers.
b15
∙∙∙
ZR0
No.1
ZR1
No.3
No.5
ZR2
ZR2500
No.5001
ZR2501
No.5003
ZR2502
No.5005
ZR2503
No.5007
(1) Data areas when an odd number is specified
(2) Data areas when an even number is specified
Ex.
When 23560 is specified in (s), the data in the lower 8 bits of ZR11780 is read.
(s)
23560
(1) Specifying the read-target area
Ex.
When 43257 is specified in (s), the data in the upper 8 bits of ZR21628 is read.
(s)
43257
(1) Specifying the read-target area
Operation error
Error code
Description
(SD0)
2820H
The specified device number (serial byte number) is out of range.
7 APPLICATION INSTRUCTIONS
996
7.23 File Register Read/Write Instructions
ZR0
Areas for the block
No.0
ZR32767
ZR32768
Areas for the block
No.1
Specifying the
read-target area
ZR65535
ZR65536
Areas for the block
No.2
b8
b7
∙∙∙
b0
No.0
No.2
No.4
No.5000
No.5002
No.5004
No.5006
(2)
(1)
(1)
b15
∙∙∙
b8
43H
ZR11780
(1)
b15
∙∙∙
b8
ZR21628
93H
File register
Reading data from
the file register
b7
∙∙∙
b0
21H
(d)
b7
∙∙∙
b0
42H
(d)
b15
∙∙∙
b8
b7
(d)
00H
Data read from the file register
b15
∙∙∙
b8
b7
∙∙∙
b0
00H
21H
b15
∙∙∙
b8
b7
∙∙∙
b0
00H
93H
∙∙∙
b0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents