Specifications

SIMATIC Instructions
9-104
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
9.11 SIMATIC Table Instructions
Add to Table
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. (See
Figure 9-32.) 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
data 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.
Inputs/Outputs Operands Data Types
DATA VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, AC, Constant, *VD,
*AC, *LD
WORD
TBL VW, IW, QW, MW, SW, SMW, LW, T, C, *VD, *AC, *LD WORD
L
A
D
S
T
L
ATT DATA, TABLE
AD_T_TBL
EN
DATA
TBL
F
B
D
ENO
222 224
333
221