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
209
In the above OB1 program structure for a station, only data point typicals which process data
of the same type are listed. There are additional data point typicals that can send and
receive any combination of data types:
For ST7:
● FB-Dat12D_S for sending or
● FB-Dat12D_R for receiving 12 data double-words with any content
These typicals can also be included in the cyclic SINAUT program in place of or in addition
to the data point typicals in the program structure here.
Note
There is no data-specific processing and change control for these typicals for any
combination of information types. The user program is responsible for this. The only optional
change control that can be activated is the triggering of a transmission at each bit change.
For more information on SINAUT ST1, refer to release 05/2007 of the manual.
The cyclic OB1 program for a master 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. You can also use the SINAUT time to
start program sections according to a schedule. 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
more than once 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 indicates the
current ’disrupted’ or ’OK’ status for a maximum of 8 SINAUT
subscribers (communication partners).
If you want to display the status for more than 8 subscribers, a
corresponding number of PartnerStatus FCs must be included.
The block is practical for monitoring the connections with local TIMs.










