Indirect Address Read Operations - Mitsubishi Electric MELSEC-Q/L Programming Manual

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

Advertisement

Indirect address read operations

ADRSET(P)
High
Basic
Process
Redundant Universal
performance
ADRSET
ADRSETP
(S): Number of the device whose indirect address is read out (Device name)
(D): Head number of the device where the indirect address of the device designated by (S) will be stored (BIN 32 bits)
Setting
Internal device
data
Bit
Word
(S)
(D)
Processing details
• Stores the indirect address of the device designated by (S) at (D) and (D)+1. The address stored at the device designated
by (D) is used when an indirect device address is performed by the sequence program.
ADRSET W100 D100
MOV K1234 @D100
• A bit device designation cannot be made at (S).
See Page 105 Indirect Specification for further information on indirect designations.
Operation error
• There is no operation error in the ADRSET(P) instruction.
LCPU
Command
Command
R, ZR
J\
Bit
Stores the address of W100 address to D100 and D101.
Reads the contents of D100.
D0
D1
D100
Address of
D101
W100
ADRSET
S
ADRSETP
S
U\G
Zn
Word
Writes 1234 to the address
specified by D100 and D101.
Device area
W100
1234
7 APPLICATION INSTRUCTIONS
D
D
Constant
Others
761
7.19 Other Instructions
7

Advertisement

Table of Contents
loading

Table of Contents