Technical data
SINAUT TD7 software package for the CPU
2.6 Blocks for optional expansion
Software
System Manual, 07/2009, C79000-G8976-C222-07
291
This object reference list is created by FC ListGenerator. The FC has no parameters. It must
be included in the cyclic SINAUT program (in OB1) following FC BasicTask.
Note
There is an FC ListGenerator version for S7-300 (symbolic name, ListGenerator300) and for
S7-400 (symbolic name ListGenerator400).
When creating the list, FC ListGenerator uses the addresses set in the parameters for the
typicals that receive data. The parameters PartnerNo and PartnerObjectNo are mandatory
for these typicals. These parameters are identical with the source address in the
corresponding received message. Since the typical also knows the number of its instance
DB, it therefore knows all the addresses required for an entry in the reference list. During
startup, FC ListGenerator makes a request to all typicals that can receive data to enter their
configured addresses with the number of the instance DB in the reference list. The object
reference list therefore does not require special parameter settings, it is simply created from
the existing parameters of the receive typicals and is therefore always consistent.
For more information on SINAUT ST1, refer to release 05/2007 of the manual.
How it works
FC ListGenerator creates the list(s) after startup in three consecutive OB1 cycles:
1. In the first cycle, it determines how many entries will be required in the first and, if
applicable, in the second object reference list. The typicals involved only increment a
counter during this run.
2. In the second cycle, FC ListGenerator generates the data block for the first and, if
applicable, the second object reference list with the required length and enters 0 in all the
data words. During the same cycle, each typical involved enters its addresses and the
number of the corresponding instance DB in the list.
3. In the third and final cycle, FC ListGenerator sorts all the entries in ascending order.
Sorting speeds up the search in the list during actual operation.
When generating the data block, FC ListGenerator does the following:
If a list has not yet been created, it first searches for a free DB number; the first free DB
number below the number for DB BasicData is used.
If a list already exists, FC ListGenerator checks to see if its present length is adequate for
the currently required number of references. If the length is adequate, 0 is entered as the
content and the addresses are written again and sorted.
If the existing data block is too short, different procedures are used for S7-300 and S7-400:
● For S7-300, a new DB is generated. The old DB remains in memory because S7- 300
has no delete function for data blocks. This DB must be deleted by the user with the
programming device. If there is not enough memory on the CPU to be able to generate a
new DB, the existing DB must be deleted by the user before restarting.
● In an S7-400, the existing DB is deleted and a new DB is generated with the same
number and the new length.










