|DATA||VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, AC, Constant, *VD, *AC, *LD||INT|
|TBL||VW, IW, QW, MW, SW, SMW, LW, T, C, *VD, *AC, *LD||WORD|
|Memory Ranges||ENO||Errors||Instruction Support for S7-200 CPUs||SIMATIC/International Mnemonics|
|The Add To Table instruction adds word values (DATA) to the table (TBL).
The first value of the table is the maximum table length (TL). The second value is the entry count (EC), which specifies the number of entries in the table. New data are added to the table after the last entry. Each time new data are added to the table, the entry count is incremented. A table may have up to 100 entries, excluding both parameters specifying the maximum number of entries and the actual number of entries.
Error Conditions that Set ENO = 0:
SM1.4 (table overflow), SM4.3 (run-time), 0006 (indirect address), 0091 (operand out of range)
This instruction affects the following Special Memory bits: SM1.4 is set to 1 if you try to overfill the table.