Mitsubishi Electric MELSEC-Q/L Programming Manual page 97

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Indexing with 32-bit index registers
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.
X0
DMOV
K40000
X0
ZR10Z0
MOV
• 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.
GX Developer 8.68R or earlier
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)
*1
Stores 40000 at Z0.
Z0
Stores the data of ZR10Z0=
D0
ZR{10+40000}=ZR40010 at D0.
Indexing
GX Developer 8.68W or later
3 CONFIGURATION OF INSTRUCTIONS
3.3 Indexing
3
95

Advertisement

Table of Contents
loading

Table of Contents