EasyManua.ls Logo

Siemens SIMATIC S7-200

Siemens SIMATIC S7-200
606 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SIMATIC Instructions
9-107
S7-200 Programmable Controller System Manual
A5E00066097-02
9.10 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-31.) 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
INT
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
✓✓
221 226

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals