Mitsubishi Electric MELSEC-Q/L Programming Manual page 108

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

Advertisement

Precautions
■Address for indirect specification
The address for indirect specification uses two words. Therefore, to substitute indirect specification for index modification, the
addition/subtraction of 32-bit data is required. The following is the ladder used for the address addition/subtraction of the
device stored in D1 and D0 for indirect specification.
[To add "1" to the address of the device for indirect specification]
[To subtract "1" from the address of the device for indirect specification]
■Indirect specification of extended data register (D) and extended link register (W)
Indirect specification with indirect address can be performed in the extended data register (D) and extended link register (W).
Note that when indirect specification is performed to the extended data register (D) and data register (D) in internal device or
to the extended link register (W) and link register (W) in internal device, the areas of the internal user device and extended
data register (D) or extended link register (W) are not treated as a sequence.
ADRSET D12000 D100
D+
K1000 D100
MOV
Since the areas of the data register and
extended data register are not sequence,
D13000 is inaccessible.
3 CONFIGURATION OF INSTRUCTIONS
106
3.4 Indirect Specification
DINCP
D0
Device used for indirect specification
32-bit instruction
DDECP
D0
Device used for indirect specification
32-bit instruction
Setting an address
"D12000 h to D100 and D101
Setting the address that
is an addition of 1000 to
D102
the address of D12000 to
D102 and D103
K1234 @D102
Internal user device
D0
D12000
D12287
File register files
D12288
D13000
D63487
Data register
File register
Extended data
register(D)
Extended link
register (W)

Advertisement

Table of Contents
loading

Table of Contents