EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 98

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...
96
3 CONFIGURATION OF INSTRUCTIONS
3.3 Indexing
Device that indexing can be used
Indexing can be used only for the device shown below.
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.
A case where Indexing has been performed, and the actual process device (Z0 (32-bit) =100000, Z2 (32-bit) = -20)
Device Description
ZR Serial number access format file register
D Extended data register (D)
W Extended link register (W)
Set value Index registers to be used Set value Index registers to be used
Z0 Z0, Z1 Z10 Z10, Z11
Z1 Z1, Z2 Z11 Z11, Z12
Z2 Z2, Z3 Z12 Z12, Z13
Z3 Z3, Z4 Z13 Z13, Z14
Z4 Z4, Z5 Z14 Z14, Z15
Z5 Z5, Z6 Z15 Z15, Z16
Z6 Z6, Z7 Z16 Z16, Z17
Z7 Z7, Z8 Z17 Z17, Z18
Z8 Z8, Z9 Z18 Z18, Z19
Z9 Z9, Z10 Z19 Unusable
Ladder example Actual process device
X0
DMOV K100000 Z0
MOV ZR1000Z0 D13000Z2
DMOV K-20 Z2
X1
MOV ZR101000 D12980
X1
Description ZR1000Z0 ZR (1000 + 100000) = ZR101000
D13000Z2 D (13000 - 20) = D12980

Table of Contents

Related product manuals