Examples of Addressing
17
S7-400 Instruction List
A5E00267845-01
Examples of Addressing, continued
Addressing Examples
Area-Internal Register-Indirect Addressing
A I [AR1,P#12.2]
Area-Crossing Register-Indirect Addressing
For area-crossing register-indirect addressing, the address must also contain an area identifier. The address is in the address register.
The area identifiers are as follows:
Area Coding Area
identifier (binary) hex.
P 1000 0000 80 I/O area
I 1000 0001 81 Input area
Q 1000 0010 82 Output area
M 1000 0011 83 Bit memory area
DB 1000 0100 84 Data area
DI 1000 0101 85 Instance data area
L 1000 0110 86 Local data area
VL 1000 0111 87 Predecessor local data area (access to local data of invoking block)
L B [AR1,P#8.0]
A [AR1,P#32.3]
Addressing Via Parameters
A Parameter