Technical data

SINAUT TD7 software package for the CPU
2.3 Structure of the SINAUT user program
Software
208 System Manual, 07/2009, C79000-G8976-C222-07
Cyclic OB1
ListGenerator
FC ListGenerator300 (for S7-300 CPU) or FC ListGenerator400 (for S7-
400 CPU) can be included as options. The FC is required if the station
receives messages containing no destination address or an incomplete
destination address. This can occur in the following situations:
When the station receives ST1 messages.
When the configuration of the destination address is omitted in one or
more data point typicals in an ST7 device with which the station
communicates (the parameters PartnerNo and PartnerObjectNo were
not specified; there is therefore a transmission to all known destination
subscribers).
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.
The following typically applies to a station:
Send
Binary information, such as status messages and alarms
Analog values
Counted values
Receive
Commands
Setpoints (including limit values, parameters, etc.)
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). A data point object consists of one or more data
points of the same type, e.g. 4 bytes of binary information, or 4 analog values,
or 1 byte commands, etc.
ST7 format
Bin..._S
The following should be inserted for acquiring and transmitting of binary
information, such as status information, alarms, etc.:
For ST7: one or more FB-Bin…_S
Ana…_S
The following should be inserted for acquiring and transmitting analog
values:
For ST7: one or more FB-Ana…_S
Cnt…_S
The following should be inserted for acquiring and transmitting counted
values:
For ST7: one or more FB-Cnt…_S
A requirement for the use of the FBs mentioned is that FC PulseCounter is
included in a cyclic interrupt OB, e.g. OB35. This FC is responsible for the
actual (time-driven) acquisition of counted pulses in the background.
CMD..._R
The following should be included for receiving and outputting commands:
For ST7: one or more FB-Cmd…_R
Set..._R
or
Par…_R
The following should be included for receiving and outputting setpoints,
limits, parameters, etc.:
For ST7: one or more FB-Set…_R or FB-Par..._R
The user-specific cyclic program for the 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.