EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 99

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
97
3
Example of specifying 32-bit indexing with "ZZ" specification
One index register can specify 32-bit indexing by using "ZZ" specification such as "ZR0ZZ4".
The 32-bit indexing with "ZZ" specification is as follows.
Specification method
To perform 32-bit indexing by using "ZZ" specification, select "Use of ZZ" in "Indexing Setting for ZR Device" in PC parameter.
Device that indexing can be used
The following device is available for indexing.
*1 This device can be used only for the High-speed Universal model QCPU.
Usable range of index registers
The following table shows the usable range of index registers in 32-bit indexing used "ZZ" specification.
The 32-bit indexing with "ZZ" specification is specified as the format ZRmZZn.
Specifying ZRmZZn enables Zn and Zn+1 of 32-bit values to index the device number, ZRm.
*2 refers to device name (ZR, D, W) for indexing target.
Device Description
ZR Serial number access format file register
D Extended data register (D)
W Extended link register (W)
M
*1
Internal relay
B
*1
Link relay
D
*1
Data register
W
*1
Link register
Jn\B
*1
Link relay
Jn\W
*1
Link register
"ZZ" specification
*2
Index registers used "ZZ" specification
*2
Index registers used
ZZ0 Z0, Z1 ZZ10 Z10, Z11
ZZ1 Z1, Z2 ZZ11 Z11, Z12
ZZ2 Z2, Z3 ZZ12 Z12, Z13
ZZ3 Z3, Z4 ZZ13 Z13, Z14
ZZ4 Z4, Z5 ZZ14 Z14, Z15
ZZ5 Z5, Z6 ZZ15 Z15, Z16
ZZ6 Z6, Z7 ZZ16 Z16, Z17
ZZ7 Z7, Z8 ZZ17 Z17, Z18
ZZ8 Z8, Z9 ZZ18 Z18, Z19
ZZ9 Z9, Z10 ZZ19 Unusable
M0
MOVP K100
DMOVP K100000 Z4
ZR0ZZ4
M0
Stores 100000 at Z4 and Z5.
Indexing ZR device with 32-bit
index registers (Z4 and Z5)
ZR (0+100000) =ZR100000

Table of Contents

Related product manuals