Technical data

SINAUT TD7 software package for the CPU
2.4 Basic blocks
Software
214 System Manual, 07/2009, C79000-G8976-C222-07
The program structure in the programming error OB121
The structure of the SINAUT program in the programming error OB121 is as follows:
OB121
ST7ObjectTest
Calling FC ST7ObjectTest in OB121 prevents a CPU stop when the
CPU receives a message with an unknown destination object number.
FC-ST7ObjectTest has a StopInOtherCases parameter. It allows you
to specify what should occur in other situations: Stop or continue
operation when OB121 is called because another data block, an FB or
an FC is missing.
A user-specific cyclic program that is required independent of the
SINAUT program can be included at any location in OB121.
2.4 Basic blocks
These blocks are needed for organizational tasks within a CPU and for controlling and
monitoring all the transmission channels.
2.4.1 FC Startup
This block is required in every CPU. It must be included in the startup program OB100. Its
only task is to set the startup memory bit in the DB BasicData and reset the corresponding
edge memory bit if it is still set.
The block has no parameters.
In a normally configured SINAUT installation, FC Startup is automatically available in the
block directory of the CPU. This happens as soon as you save in the SINAUT configuration
tool ’Subscriber Administration’ and the option for compiling the 'SINAUT TD7 Blocks for the
CPUs' is marked as active.
For more detailed information on the SINAUT startup program, refer to the section 'SINAUT
startup program in OB100’.
2.4.2 FC BasicTask
Function
This block is required in every CPU. It handles
The central tasks to be performed during startup
The processing of all communication channels
The central organizational tasks such as starting and monitoring general requests,
responding to general requests, etc.
In a normally configured SINAUT installation, FC BasicTask is automatically available in the
block directory of the CPU. This happens as soon as you save in the SINAUT configuration