EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 97

Mitsubishi Electric MELSEC-Q/L
1084 pages
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...
3 CONFIGURATION OF INSTRUCTIONS
3.3 Indexing
95
3
Indexing with 32-bit index registers
*1
A method of specifying index registers in indexing with 32-bit can be selected from the following two methods.
Specifying the index registers' range used for indexing with 32-bit.
Specifying the 32-bit indexing using "ZZ" specification.
*1 The methods applies only to Universal model QCPU (excluding Q00UJCPU) and LCPU.
32-bit indexing with the "ZZ" specification is only available for the following CPU modules. See the
programming tool operating manual for the available programming tools.
The first five digits of the serial No. for QnU(D)(H)CPU is "10042" or higher (excluding Q00UJCPU).
Built-in Ethernet port QCPU
•LCPU
Example of specifying the range of index registers for use of 32-bit indexing
Each index register can be set between -2147483648 and 2147483647.
An example of indexing is shown below.
Specification method
For indexing with a 32-bit index register, specify the head number of an index register to be used on the Device tab of the Q
parameter setting screen.
When the head number of the index register used is changed on the Device tab of the Q parameter setting
screen, do not change the parameters only or do not write only the parameters into the programmable
controller. Be sure to write the parameter into the programmable controller with the program.
When the parameter is forced to be written into the programmable controller, an error of CAN'T EXE. PRG.
occurs. (Error code: 2500)
MOV
ZR10Z0
D0
Indexing
DMOV
X0
X0
K40000 Z0
Stores 40000 at Z0.
Stores the data of ZR10Z0=
ZR{10+40000}=ZR40010 at D0.
GX Developer 8.68R or earlier
GX Developer 8.68W or later

Table of Contents

Related product manuals