Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1000

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

Advertisement

Processing details
• Without recognizing block numbers, these instructions write the lower 8-bit data stored in the device specified by (s2) to the
file register with the serial byte number specified by (s1). The instructions ignore upper 8-bit data in the device specified by
(s2).
(s1)
Serial byte number
• The following figure shows the file register numbers corresponding to serial byte numbers.
b15
∙∙∙
ZR0
No.1
No.3
ZR1
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 12340 is specified in (s1), data is written to the lower 8 bits of ZR11170.
(s1)
12340
(1) Specifying the write-target area
(2) Ignored
Ex.
When 43257 is specified in (s1), data is written to the upper 8 bits of ZR21628.
(s1)
43257
(1) Specifying the write-target area
(2) Ignored
Operation error
Error code
Description
(SD0)
2820H
The specified device number (serial byte number) is out of range.
7 APPLICATION INSTRUCTIONS
998
7.23 File Register Read/Write Instructions
ZR0
Areas for the block
No.0
ZR32767
ZR32768
Areas for the block
No.1
Specifying the
write-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
ZR6170
43H
b15
∙∙∙
b8
43H
(1)
b15
∙∙∙
b8
12H
ZR21628
b15
∙∙∙
b8
43H
File register
Writing data to the
file register
b7
∙∙∙
b0
21H
(s2)
b7
∙∙∙
b0
54H
b7
∙∙∙
b0
50H
(s2)
b7
∙∙∙
b0
50H
b15
∙∙∙
b8
b7
(s2)
Ignored.
Data to be written to the file register
b15
∙∙∙
b8
b7
∙∙∙
b0
(2)
54H
b15
∙∙∙
b8
b7
∙∙∙
b0
43H
(2)
∙∙∙
b0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents