Mitsubishi MELSEC-Q/L Programming Manual page 97

Table of Contents

Advertisement

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,
*1
"ZZ" specification
ZZ0
ZZ1
ZZ2
ZZ3
ZZ4
ZZ5
ZZ6
ZZ7
ZZ8
ZZ9
*
1:
Refers to device name (ZR) for indexing target
5) The 32-bit indexing used "ZZ" specification and the acutual processing device are as follows.
(Z0 (32-bit)
100000.Z2 (16-bit)
X0
X1
6) Available functions for "ZZ" specification
The 32-bit indexing specification with "ZZ" specification applies in the following functions.
No.
1
Specifing devices in program instruction
2
Monitoing device registrations
3
Testing devices execution type
4
Testing devices with conditions
5
Setting monitor conditions
6
Tracing sampling (Trace point (specifing devices), trace taget device)
7
Data logging function (Sampling interval (specifying devices), logging target data)
ZZn cannot be used alone as a device like "DMOV K100000 ZZ0". When setting values of index registers to specify 32-bit
indexing with "ZZ" specification, set the value of Zn (Z0~Z19).
ZZn alone cannot be input to each function.
Index Registers Used
Z0, Z1
Z1, Z2
Z2, Z3
Z3, Z4
Z4, Z5
Z5, Z6
Z6, Z7
Z7, Z8
Z8, Z9
Z9, Z10
.
-20)
Ladder Example
DMOV
K100000 Z0
MOV
K-20
Z2
MOV
ZR1000ZZ0
D30Z2
Fig.3.10 Ladder Example and Actual Process Device
Function Name and Description
*1
"ZZ" specification
ZZ10
ZZ11
ZZ12
ZZ13
ZZ14
ZZ15
ZZ16
ZZ17
ZZ18
ZZ19
Actual Process Device
X1
MOV
Description
ZR1000ZZ0
ZR(1000+100000)=ZR101000
D30Z2
D(30-20)=D10
Index Registers Used
Z10, Z11
Z11, Z12
Z12, Z13
Z13, Z14
Z14, Z15
Z15, Z16
Z16, Z17
Z17, Z18
Z18, Z19
Not available
ZR101000 D10
END
95
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents