Mitsubishi MELSEC Q Series Programming Manual page 106

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(b) Example of specifing 32-bit indexing with "ZZ" specification.
3-16
1) 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.
M0
M0
2) Specification method
To perform 32-bit indexing by using "ZZ" specification, select "Use of ZZ" in
"Indexing Setting for ZR Device" in PC parameter.
Fig. 3.10 Setting window for indexing setting parameter for ZR device
3) Device that indexing can be used
The following device is available for indexing.
Device
ZR
D
W
4) 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,
"ZZ"
Index Registers Used
*1
specification
ZZ0
ZZ1
ZZ2
ZZ3
ZZ4
ZZ5
ZZ6
ZZ7
ZZ8
ZZ9
*
1:
refers to device name (ZR) for indexing target
DMOVP
K100000
MOVP
K100
Meaning
Serial number access format file register
Extended data register (D)
Extended link register (W)
specification
Z0, Z1
Z1, Z2
Z2, Z3
Z3, Z4
Z4, Z5
Z5, Z6
Z6, Z7
Z7, Z8
Z8, Z9
Z9, Z10
.
Stores 100000 at Z4 and Z5.
Z4
Indexing ZR device with 32-bit
ZR0ZZ4
index registers (Z4 and Z5)
ZR (0+100000) =ZR100000
"ZZ"
Index Registers Used
*1
Z10, Z11
ZZ10
Z11, Z12
ZZ11
Z12, Z13
ZZ12
Z13, Z14
ZZ13
Z14, Z15
ZZ14
Z15, Z16
ZZ15
Z16, Z17
ZZ16
Z17, Z18
ZZ17
Z18, Z19
ZZ18
Not available
ZZ19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents