Communications
configuring
System- and communication configuring D7-SYS - SIMADYN D
3-177
Edition 12.2003
3.18 Table function
3.18.1 Introduction
The table function in SIMATIC TDC / SIMADYN D provides the user with
the possibility of linking-in and using tabular values (values in a table) in a
configured software application. In this case, the function blocks TAB and
TAB_D must be configured on the SIMATIC TDC and SIMADYN D sides.
Tabular values, data type REAL are managed using the TAB and data
type DINT, using TAB_D. The user provides the tabular values.
The table function can be configured in three modes:
•
Manual mode
, i.e. the tabular values are directly entered at the block
via an online interface (e.g. CFC in the test mode), or transferred to
the block using teach-in from the program.
•
Automatic mode: Communications
, i.e. the tabular values are
transferred via a communications interface (TCP/IP, DUST1, S7 via P
bus). In order to transfer tabular values from an S7 control to a
SIMATIC FM 458 application module via the P bus, in addition, the
WR_TAB should be configured on the S7 control side.
•
Automatic mode: Memory card
, i.e. the table values are
downloaded into the memory card, from where they are read.
NOTE
The "Automatic mode, memory card" mode is presently still not
available.
It should be noted, that it is only possible to toggle the modes between
"
Manual mode"
and
"Automatic mode: Communications"
as well as
"
Manual mode"
and
"Automatic mode: Memory card"
.
A validity check is made if the tabular values have been entered or
transferred. The address of the table is displayed at "TAB" output.
The tabular values are managed twice, i.e. in two tables. The table,
defined as "valid" (=active) is used for all arithmetic/computation
operations of the configured application software. The "invalid" (=inactive)
table is used to manage value changes. All of the tabular values,
changed by the user, are initially transferred into the invalid table. If the
inactive table is activated, the new tabular values are mirrored in the
second table. The table which had been active up until then automatically
becomes invalid. This means that the new tabular values are available in
both tables.
Both tables can be saved in the SAVE area which is backed-up (buffered)
by a battery in order to prevent data loss (connection SAV=1 when
initializing).