Configuring
4.7.3 Automatic mode: Communications
4.7.3.1
Application with an S7 control and SIMATIC FM 458-1 DP
application module
Transferring
tabular values
NOTE
Table too large for
a DB
4-64
The following prerequisites must be fulfilled in order to successfully
transfer tables: :
The function blocks TAB and/or TAB_D must be configured in the
FM 458-1 DP application module corresponding to the configuring
specifications for "Automatic mode: Communications" (A detailed
explanation is provided in Section "Configuring for S7 control and
SIMATIC FM 458-1 DP application module").
The X and Y values of a table in a DB must always be present
alternating. There must be a Y value for each X value, so that the
number of values in a data set is always an integer number.
In order to start data transfer, inputs REQTAB and REQDB at
WR_TAB must be set to 1. The tabular values of the DB, specified at
input DBNUM at WR_TAB can then be transferred.
The actual number of transferred data blocks is always displayed at the
CNTTEL output of the WR_TAB.
The number of data blocks is displayed at the TABTEL output of the
WR_TAB, which is required until the complete contents of the DB are
transferred to the SIMATIC FM 458-1 DP application module.
If the tabular values have been completely entered in the specified DB, or
if it involves the last partial transfer of a table (sub-set of a table), which
does not "fit" completely into a DB, then before starting the transfer, input
LASTDB of the WR_TAB should be set to 1. This means that the
SIMATIC FM 458-1 DP application module is signaled at the end of the
data transfer. The STATUS output of the WR_TAB then changes from 2
to 0.
All of the tabular values, which are located in the DB, specified at the
DBNUM input of the WR_TAB, are always transferred.
If the table is too large for a data block, then the tabular values are split-
up into individual sub-sets for transfer. The procedure is as follows:
To start, the first table section is written into the DB and is then
transferred as described above. The LASTDB input of the WR_TAB
remains at 0. The STATUS output of WR_TAB stays at 2 during data
transfer and then changes, at the end of the table sub-set transfer (partial
transfer) from 2 to 1.
Application Module FM 458-1 DP - User Manual
A5E01078222-02
Edition 03.2009