Examples of how to calculate the pointer
18
S7-400 Instruction List
A5E00267845-01
Examples of how to calculate the pointer
•
Example for sum of bit addresses
x
7:
LAR1 P#8.2
A I [AR1,P#10.2]
Result:
Input 18.4 is addressed (by adding the byte and bit addresses)
•
Example for sum of bit addresses
u
7:
L P#10.5
LAR1
A I [AR1,P#10.7]
Result:
Input 21.4 is addressed (by adding the byte and bit addresses with carry over)