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 x7:
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 addressesu7:
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)