Mitsubishi Electric MELSEC-Q/L Programming Manual page 103

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Other index modifications
For bit data, device numbers can be index modified when performing digit designation.
However, Indexing is not possible by digit designation.
BIN K4X0Z2
BIN K4Z3X0
Both start I/O numbers and buffer memory addresses can be performed indexing with intelligent function module devices
MOV U10Z1\G0Z2 D0
Both network numbers and device numbers can be performed indexing with link direct devices
MOV J1Z1\K4X0Z2 D0
*1 For the intelligent function module device and link direct devices, refer to the User's Manual (Function Explanation, Program
Fundamentals) for the CPU module used.
When indexing is used for multiple CPU shared devices
for the CPU shared memory address are automatically executed.
MOV U3E0Z1
*2 For the multiple CPU shared device, refer to the User's Manual (Function Explanation, Program Fundamentals) for the CPU module
used.
Like index modification using file register (ZR), index modification using extended data register (D) and extended link register
(W) by 32 bits can be performed by the following two methods.
• Specifying the index registers' range used for indexing with 32-bit.
• Specifying the 32-bit indexing using "ZZ" specification.
*3 The methods applies only to Universal model QCPU (excluding Q00UJCPU) and LCPU.
32-bit indexing with the "ZZ" specification is only available for the following CPU modules. See the
programming tool operating manual for the available programming tools.
• The first five digits of the serial No. for QnU(D)(H)CPU is "10042" or higher (excluding Q00UJCPU).
• Built-in Ethernet port QCPU
• LCPU
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
If Z1=2 and Z2=8,
then J(1+2)\K4X(0+8)=J3\K4X8
*2
G0Z2 D0
\
If Z1=2 and Z2=8,
then U3E(0+2)\G(0+8)=U3E2\G8
, indexing for the head I/O numbers of CPU modules and indexing
*3
3 CONFIGURATION OF INSTRUCTIONS
*1
.
*1
.
3.3 Indexing
3
101

Advertisement

Table of Contents
loading

Table of Contents