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
211
Cyclic OB1
CMD..._S
The following should be inserted for acquiring and transmitting
commands:
For ST7: one or more FB-Cmd…_S
A requirement for the use of the FBs mentioned is that FC Safe is
included at the end of all data point typicals. This FC is responsible for
reliable input of commands and setpoints.
Set..._S
or
Par…_S
The following should be included for acquiring and transmitting
setpoints, limits, parameters, etc.:
For ST7: one or more FB-Set…_S or FB-Par..._S
A requirement for the use of the FBs mentioned is that FC Safe is
included at the end of all data point typicals. This FC is responsible for
reliable input of commands and setpoints.
Safe
FC Safe must be called once at the end of all data point typicals when
send blocks for commands (Cmd..._S, BTZ..) or setpoints (Set..._S,
Par..._S, STA..) are called.
The user-specific cyclic program for the master station 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.
In the above OB1 program structure for a master 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.
Note
In the master station it is practical to structure the OB1 program according to stations, in
other words, all send and receive data typicals belonging to the same station are packaged
in one FC. The best overview is provided when the number of the FC is identical to the
subscriber number of the station.
For more information on SINAUT ST1, refer to release 05/2007 of the manual.