EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q00U(J)CPU - Specification Methods of the File Register

Mitsubishi Electric MELSEC-Q00U(J)CPU
588 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
397
CHAPTER 4 DEVICES
4
4.7 File Register (R)
4.7.5 Specification methods of the file register
4.7.5 Specification methods of the file register
(1) Block switching method
The file register points used are divided and specified in units of 32K points (R0 to R32767).
If multiple blocks are used, the desired block is specified with the block number in the RSET instruction.
Each block has a specification range of R0 to R32767.
(2) Serial number access method
A file register whose size is exceeding 32K points can be specified using consecutive device numbers.
Multiple blocks of a file register can be used as a continuous file register.
This kind of device is expressed as "ZR".
The block numbers and ZR device points that can be specified vary depending on the following.
Storage location of the file register ( Page 391, Section 4.7.1)
File register size ( Page 391, Section 4.7.2)
D0
R0
MOV
Block 0
Block 1
Block 2
D0
R0
MOV
R0
R0
RSET K1
RSET K2
R32767
R32767
R0
R0 specification
for block 1
R0 specification
for block 2
MOV D0 ZR32768
MOV D0 ZR65536
ZR0
ZR32767
ZR32768
ZR65535
ZR65536
(Block 0)
(Block 1)
(Block 2)

Table of Contents

Related product manuals