998
7 APPLICATION INSTRUCTIONS
7.23 File Register Read/Write Instructions
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).
• The following figure shows the file register numbers corresponding to serial byte numbers.
Ex.
When 12340 is specified in (s1), data is written to the lower 8 bits of ZR11170.
Ex.
When 43257 is specified in (s1), data is written to the upper 8 bits of ZR21628.
Operation error
(1) Data areas when an odd number is specified
(2) Data areas when an even number is specified
(1) Specifying the write-target area
(2) Ignored
(1) Specifying the write-target area
(2) Ignored
Error code
(SD0)
Description
2820H
The specified device number (serial byte number) is out of range.
∙∙∙
∙∙∙
(s2)
b15
b8
∙∙∙
b7
b0
∙∙∙
(s1)
ZR0
ZR32767
ZR32768
ZR65535
ZR65536
Serial byte number
Specifying the
write-target area
Writing data to the
file register
File register
Areas for the block
No.0
Areas for the block
No.1
Areas for the block
No.2
Data to be written to the file register
Ignored.
b15
b8
∙∙∙
b7
b0
∙∙∙
ZR0
ZR2500
ZR2502
ZR2501
ZR2503
ZR1
ZR2
∙∙∙
No.0
No.1
No.2
No.3
No.4
No.5
No.5000
No.5001
No.5002
No.5003
No.5004
No.5005
No.5006
No.5007
(2)
(1)
(s2)
b15
b8
∙∙∙
b7
b0
∙∙∙
b15
b8
∙∙∙
b7
b0
∙∙∙
ZR6170
43H
21H
54H
(s1)
12340
b15
b8
∙∙∙
b7
b0
∙∙∙
43H
54H
(1)
(2)
(s2)
b15
b8
∙∙∙
b7
b0
∙∙∙
b15
b8
∙∙∙
b7
b0
∙∙∙
ZR21628
12H
50H
43H
(s1)
43257
b15
b8
∙∙∙
b7
b0
∙∙∙
43H
50H
(1)
(2)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......