Mitsubishi MELSEC Q Series Programming Manual page 105

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

Advertisement

3) Device that indexing can be used
Indexing can be used only for the device shown below.
Device
ZR
D
W
4) Usable range of index registers
The following table shows the usable range of index registers for indexing with
32-bit index registers.
For indexing with 32-bit index registers, the specified index register (Zn) and
the next index register of the specified register (Zn+1) are used. Be sure not to
overlap index registers to be used.
Setting Value
Index Registers to be Used
Z0
Z1
Z2
Z3
Z4
Z5
Z6
Z7
Z8
Z9
5) An example of indexing and the actual process device are as follows.
(When Z0 (32-bit)
100000 and Z2 (16-bit)
Ladder Example
X0
DMOV K100000
Z0
MOV
K-20
Z2
X1
MOV
ZR1000Z0 D30Z2
Fig. 3.9 Ladder Example and Actual Process Device
Meaning
Serial number access format file register
Extended data register (D)
Extended link register (W)
Setting Value
Z0, Z1
Z10
Z1, Z2
Z11
Z2, Z3
Z12
Z3, Z4
Z13
Z4, Z5
Z14
Z5, Z6
Z15
Z6, Z7
Z16
Z7, Z8
Z17
Z8, Z9
Z18
Z9, Z10
Z19
20)
Actual Process Device
X1
MOV
Description
ZR1000Z0
D30Z2
Index Registers to be Used
Z10, Z11
Z11, Z12
Z12, Z13
Z13, Z14
Z14, Z15
Z15, Z16
Z16, Z17
Z17, Z18
Z18, Z19
Cannot be specified
ZR101000 D10
ZR(1000+100000)=ZR101000
D(30-20)=D10
1
2
3
4
2
6
7
8
3-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents