Technical data
SINAUT TD7 software package for the CPU
2.6 Blocks for optional expansion
Software
292 System Manual, 07/2009, C79000-G8976-C222-07
2.6.2 FC TimeTask
Function
FC TimeTask is responsible for continuous date and time management on a CPU.
The FC has no parameters. It must be included in the cyclic SINAUT program (in OB1)
following FC BasicTask.
FC TimeTask requires that the CPU is synchronized by a local TIM. This synchronization
must be enabled in the ’Time Services’ tab in the Properties dialog for the corresponding
TIM. See figure below.
Figure 2-27 TIM parameter assignment tabs - setting the synchronization on the MPI / party line
For more detailed information on setting the synchronization, refer to the chapter
"Configuration software for SINAUT ST7" in this manual, section ’Parameter assignment for
TIM modules'.
After the CPU has started up, the TIM supplies the current date/time for the first time in an
organizational message. Following this, the synchronization continues at the time interval
specified by the configuration of the TIM (a one minute time scheme is recommended for
synchronization on MPI/party line).
FC TimeTask sets the CPU clock to the synchronized time received from the TIM and reads
this clock in every OB1 cycle. As long as it continues to advance and remains plausible, the
read time is entered in the first two double words of DB BasicData and is marked as valid or
invalid and as daylight-saving or standard time. All blocks take the current time from there as
they need it. For example, data point typicals do this to time stamp their messages, as does










