Technical data

SINAUT TD7 software package for the CPU
2.3 Structure of the SINAUT user program
Software
206 System Manual, 07/2009, C79000-G8976-C222-07
2.3.2 Cyclic SINAUT program in OB1
Introduction
The basic structure of the cyclic SINAUT program in OB1 is described below. In later
sections, you will find a detailed description of OB1 for a station and a master station.
Note
Unless indicated otherwise, the call sequence of the blocks must be adhered to exactly!
The entire cyclic SINAUT program must be processed in every OB1 cycle.
Basic structure of the cyclic SINAUT program in OB1
Cyclic OB1
BasicTask
FC BasicTask must always be called at the start of the cyclic SINAUT
program. It handles basic SINAUT tasks that are always required.
Directly following FC BasicTask, additional blocks can be called to perform
optional basic functions, for example:
- FC TimeTask
Provides the SINAUT time.
- FC Trigger
Scheduled starts for user programs and data
messages.
- FC PartnerStatus
Displays subscriber OK/disrupted
- FC PartnerMonitor
Extended subscriber-specific display and control
features.
Optional SINAUT
basic functions
- FC ListGenerator
Creation of address lists for received messages
with incomplete destination addresses.
Data point typicals
Following the FCs shown above for SINAUT basic tasks, data point
typicals for sending and receiving data are called. The sequence of the
individual typicals is unimportant. The number of typicals to call and the
required types depend on the amount and type of data to be sent and
received. You can see which data point typicals are currently available by
referring to the SINAUT TD7 library installed on the programming device.
All data point typicals are FBs. An instance DB must be specified when an
FB is called. The number of this instance DB is identical to the object
number of the datapoint object (this addressing rule does not apply to the
ST1 versions of the data point typicals).
The user-specific cyclic program that is required independent of the
SINAUT program can be included before or after the SINAUT program in
OB1 or, if suitable, within the SINAUT program itself.
Note
Users, of course, is free to structure the SINAUT program in OB1 according to their
preferences by ’packing’ the SINAUT program in one or more FCs.