Mitsubishi Electronics 13JW55 Network Card User Manual


 
App. - 65
(c) Device for which indexing can be used
Indexing can be used only for the devices shown below.
• ZR: Serial number access format file register
• D: Extended data register
• W: Extended link register
(d) 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 Setting 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 Cannot be specified.
(e) The following shows an example of indexing and the actual process device.
(When Z0 (32-bit) is 100000 and Z2 (16-bit) is -20)
Ladder example
Actual process device
X0
DMOV K100000 Z0
MOV ZR1000Z0 D30Z2
MOV K-20 Z2
X1
MOV
Description
ZR101000 D10
X1
ZR1000Z0 ZR(1000+100000)=ZR101000
D30Z2 D(30-20)=D10