Mitsubishi MELSEC Q Series Programming Manual page 114

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

Advertisement

(3) Precautions
(a) The address for indirect specification uses two words.Therefore, to substitute indirect
[To add "1" to the address of the device for indirect specification]
[To subtract "1" from the address of the device for indirect specification]
(b) Indirect specification of extended data register (D) and extended link register (W)
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-24
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.
DINCP
DDECP
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.
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
D0
Device used for indirect specification
32-bit instruction
D0
Device used for indirect specification
32-bit instruction
Internal user device
D0
D12000
D12287
File register files
D12288
D13000
D63487
Data register
File register
Extended data
register(D)
Extended link
register (W)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents