Technical data
SINAUT TD7 software package for the CPU
2.3 Structure of the SINAUT user program
Software
System Manual, 07/2009, C79000-G8976-C222-07
207
The cyclic OB1 program for a station
Cyclic OB1
BasicTask
• FC BasicTask must always be called at the start of the cyclic SINAUT
program. The FC has only one parameter, namely UserFC. Normally 0 can
be specified. However, if you require user-specific processing for received
messages, you will need to specify the number of an FC containing the
user program for this processing.
TimeTask
• As an option, you can call FC TimeTask immediately after FC BasicTask.
The FC has no parameters. FC TimeTask must be included if you need the
SINAUT time. This enables SINAUT messages to be time-stamped.
However, you can also use the SINAUT time to start program components
at a specific point in time or to schedule the transmission of data
messages. FC Trigger, described below, is then required. For this FC to be
used, the PLC must be provided with the SINAUT time from a local TIM
module. This can be specified during the parameter assignment of the TIM
in HW Config in the ’Properties’ dialog, ’Time service’ tab. See chapter
’Configuration software for SINAUT ST7’.
Trigger
• FC Trigger can be included as an option. The FC sets its output for the
duration of one OB1 cycle when the point in time or the time interval set for
the FC has been reached. The FC can be inserted several times if several
times or various time intervals are required. Requirement for the use of the
FC: FC TimeTask must be called first in the OB1 program (see above).
PartnerStatus
• FC PartnerStatus can be included as an option. The FC shows the current
’disrupted’ or ’OK’ status for a maximum of 8 SINAUT subscribers
(communication partners).










