Program instructions
7.16 Table
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
327
Example: Add to Table instruction
On the first scan only, load the maximum table
length 6 to VW200.
LD SM0.1
MOVW +6, VW200
When I0.0 makes a transition to 1, add a third data
value (from VW100) to the table at VW200. Two
data entries were previously stored in the table
which can hold up to six entries.
LD I0.0
ATT VW100, VW200