File Register (R/Zr); Specification Method - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

27.9

File Register (R/ZR)

This device is a word device for extension. This device is specifically a file register file which exists in the file storage area on
the device/label memory.

Specification method

There are two types of the specification methods for the file register: block switching and serial number methods.
Block switching method
In this method the number of points of file register being used is specified by being divided in increments of 32K point (R0 to
R32767). When using more than one block, specification is conducted by switching to the block number used by the RSET
instruction. "R" is used as the device symbol. The range of "R" is from R0 to R32767. However in the following cases the
upper limit of the device number is "block size (unit: word) -1".
• The file register file size is smaller than 64K bytes.
• The file register file size is not a multiple of 64K bytes and the end block is specified in the RSET instruction.
MOV
MOV
Serial number method
In this method file registers having more than 32K points are specified using serial device numbers. File registers of the
multiple blocks can be used as consecutive file registers. "ZR" is used as the device symbol. The range of ZR is from ZR0 to
(file register file size (unit: word) -1).
27 DEVICES
480
27.9 File Register (R/ZR)
RSET
K1
Specify R0 of
the block 1.
D0
R0
RSET
K2
Specify R0 of
the block 2.
D0
R0
MOV
D0
ZR32768
MOV
D0
ZR65536
R0
Block 0
R32767
R0
Block 1
R32767
R0
Block 2
ZR0
(Block 0)
ZR32767
ZR32768
(Block 1)
ZR65535
ZR65536
(Block 2)

Advertisement

Table of Contents
loading

Table of Contents