Download Mitsubishi 20-L Specifications

Transcript
(b) Specifying a 32-bit index setting using 'ZZ'
1) A 32-bit index can be specified to the index register by specifying an index
using 'ZZ', for instance, 'ZR0ZZ4'.
The following figure shows the 32-bit index setting using 'ZZ'.
M0
K100000
M0
K100
DMOVP
EN ENO
s
d
MOVP
EN ENO
s
d
Set 100000 to Z4 and Z5.
Z4
Set 32-bit (Z4, Z5) index to ZR.
ZR(0+100000) indicates ZR100000.
ZR0ZZ4
2) Specification method
When specifying a 32-bit index setting using 'ZZ', select "Use ZZ" in the
"Indexing Setting for ZR Device" setting in the <<Device>> tab of the PLC
parameter.
Figure 4.6-4 Index setting for ZR device on the parameter setting screen
3) Devices that can be used for the index setting
Only the following devices can be used for the index setting.
Device
Description
ZR
Serial number access file register
D
Extended data register
W
Extended link register
4) Usage range of index registers
The following table shows the usage range of index registers when specifying
32-bit index setting using 'ZZ'.
When specifying a 32-bit index setting using 'ZZ', specify a device as a form of
ZRmZZn.
The device number of ZRm is indexed with 32 bits (Zn, Zn+1) by specifying
ZRmZZn.
'ZZ'*2
'ZZ'*4
Index register
ZZ0
Z0, Z1
ZZ10
Z10, Z11
ZZ1
Z1, Z2
ZZ11
Z11, Z12
ZZ2
Z2, Z3
ZZ12
Z12, Z13
ZZ3
Z3, Z4
ZZ13
Z13, Z14
ZZ4
Z4, Z5
ZZ14
Z14, Z15
ZZ5
Z5, Z6
ZZ15
Z15, Z16
ZZ6
Z6, Z7
ZZ16
Z16, Z17
ZZ7
Z7, Z8
ZZ17
Z17, Z18
ZZ8
Z8, Z9
ZZ18
Z18, Z19
ZZ9
Z9, Z10
ZZ19
Not applicable
*4:
4-48
Index register
Indicates the device name (ZR, D, W) to be indexed
4.6 Index Setting