Program instructions
7.16 Table
S7-200 SMART
368
System Manual, V2.3, 07/2017, A5E03822230-AF
7.16
Table
7.16.1
Add to table
LAD / FBD
STL
Description
ATT DATA,
TBL
The add to table instruction adds word values DATA to a table TBL. The first value in
the table is the maximum table length TL. The second value is the entry count EC,
which stores the number of entries in the table and is updated automatically. 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 can have up to 100 data entries.
Non-fatal errors with ENO = 0
SM bits affected
•
0006H Indirect address
•
0091H Operand out of range
•
SM1.4 Table overfill
•
SM1.4 Set to 1 if you try to overfill the table
Input / output
Data type
Operand
DATA
INT
IW, QW, VW, MW, SMW, SW, T, C, LW, AC, AIW, *VD, *LD, *AC, Constant
TBL
WORD
IW, QW, VW, MW, SMW, SW, T, C, LW, *VD, *LD, *AC
Note
To create a table, first make an entry for the maximum number of table entries. If you do not
do this, then you cannot make any entries in the table.
Edge trigger instructions must activate all table read and table write instructions.
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...