Mitsubishi MELSEC-Q/L Programming Manual page 99

Table of Contents

Advertisement

2) Index modification where the device number crosses over the boundary among the file register (ZR), extended
data register (D), and extended link register (W)
Index modification where the device number crosses over the boundary among the file register (ZR), extended
data register (D), and extended link register (W) will not cause an error.
However, an error occurs if the index modification result of file register (ZR), extended data register (D), and
extended link register exceeds the file register range (error code: 4101).
Index modification where the device
number crosses over the boundary
among the file register (ZR), extended
data register (D) will not cause an error.
User Program
MOV K1234
MOV K1234 Z20000Z1
Index modification where the device number
crosses over the boundary among the
extended data register (D), and extended
link register (W) will not cause an error.
Extended link register exceeds
the file register range.
(5) Other index modifications
(a) Bit data
Device numbers can be index modified when performing digit designation. However, Indexing is not possible by
digit designation.
BIN K4X0Z2
BIN K4Z3X0
(b) Both I/O numbers and buffer memory number can be performed indexing with intelligent function module devices*
MOV U10Z1\G0Z2 D0
File register files
ZR100
Z0=0
Z0=10000
D14196
D20000
Z1=0
Z1=4000
W2DC0
Z1=10000
D0
Setting is possible since this indicates
Indexing for device number.
If Z2=3, then (X0+3)=X3
D0
Setting is not possible since this indicates
Indexing by digit designation.
If Z1=2 and Z2=8,
then U(10+2)\G(0+8)=U12\G8
File
register
(8k)
Extended data
register (D)
(8k)
D12288~
Extended link
register (W)
(8k)
W2000~
2
3
4
5
6
7
8
1
.
97

Advertisement

Table of Contents
loading

Table of Contents