Indirect Specification - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

3.4

Indirect Specification

(1) Indirect Specification
(a) Indirect specification is a method that specifies address of the device to be used in a
sequence program using two word devices (two points of word device). Use indirect
specification as index modification when the index register is insufficient.
MOV
DMOV
DMOV
[When index resister is used]
(b) Specify the device to be used for specifying the address as "@ + (word device
number)". For example, when @D100 is specified, the device address will be the
contents of D101 and D100.
(c) The address of the device specified indirectly can be confirmed with the ADRSET
instruction.
For the ADRSET instruction, refer to Section 7.18.6.
(2) Indirect specification available devices
Table 3.3 shows that the CPU module devices can be specified indirectly.
Internal user device
Link direct device
Intelligent function module device
Index register
File register
Extended data register (D)
Extended link register (W)
Nesting
Pointer
Constants
Other
*1: For the device names, refer to the QnUCPU User's Manual
(Function Explanation, Program Fundamentals) or Qn(H)/QnPH/QnPRHCPU User's Manuall
(Function Explanation, Program Fundamentals)
*2: Indicates when index modification by an index register is performed.
*3: Indirect specification is possible, but the address can not be written with the ADRSET instruction.
K50
Z0
K10000
D150
D100Z0
D110
Specification of
D (100 + 50) = D150
Table 3.3 List of Indirect Specification Available Devices
Device Type
Bit device *1
Word device *1
Bit device *1
Word device *1
SFC block device
SFC transition device
Network No. specification
device
I/O No. specification device
ADRSET
D100
K50
DMOV
K10000
DMOV
D+
D0
W0
@D10
MOV
Specification of
address of D150
[When indirect specification is used]
Availability of
Indirect
Example of Indirect Specification
Specification
N/A
• @D100
Available
• @D100Z2 *2
N/A
• @J1\W10
Available
*3
• @J1Z1\W10Z2 *2
• @U10\G0
Available
*3
• @U10Z1\G0Z2 *2
N/A
• @R0, @ZR20000
Available
• @R0Z1,@ZR20000Z1 *2
• @D1000
Available
• @W1000
N/A
Stores the address of
D0
D100 to D0.
W0
D150
(Address of D100) + 50 =
D10
(Address of D150)
D110
––––––––––
––––––––––
––––––––––
––––––––––
––––––––––
––––––––––
––––––––––
3-23
1
2
3
4
2
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents