Technical data
Appendix
27.3 Data Types and Parameter Types
Programming with STEP 7
612 Manual, 05/2010, A5E02789666-01
Example for Area-Crossing Addressing
In area-crossing addressing the memory area is indicated in the pointer (in the example I and Q).
L P# I8.7 Load the value of the pointer and the area identification in accumulator
1.
LAR1 Load memory area I and the address 8.7 into AR1.
L P# Q8.7 Load the value of the pointer and the area identification in accumulator
1.
LAR2 Load memory area Q and the address 8.7 into AR2.
A [AR1, P#0.0] Query the signal state at input bit I 8.7 and
= [AR2, P#1.1] assign the signal state to output bit Q 10.0.
The offset 0.0 has no influence. Output 10.0 is calculated from 8.7 (AR2) plus the offset 1.1. The
result is 10.0 and not 9.8, see pointer format.