Technical data
SINAUT TD7 software package for the CPU
2.6 Blocks for optional expansion
Software
System Manual, 07/2009, C79000-G8976-C222-07
293
FC Trigger to check whether a point in time configured for the FC has been reached or a
specified time period has elapsed. This time is, of course, also available to the user program.
Figure 2-28 DB BasicData, CurrentDate and CurrentTime
Table 2- 5 The exact assignment of the data words with data, time of day and time status:
Data byte 0 Year * 10 Year * 1
Data byte 1 Month * 10 Month * 1
Data byte 2 Day * 10 Day * 1
CurrentDate
Data byte 3 Hour * 10 Hour * 1
Data byte 4 Minute * 10 Minute * 1
Data byte 5 Second * 10 Second * 1
Data byte 6 Millisecond * 100 Millisecond * 10
CurrentTime
Data byte 7 Millisecond * 1 Time status
Table 2- 6 Assignment of the 4 time status bits:
2
0
0 = Date/time invalid
1 = Date/time valid
2
1
0 = Standard time
1 = Daylight saving time
2
2
(not used)
2
3
(not used)
In addition to using the time status, data bit 16.1
CpuClockOk
also indicates whether the
date/time is valid. Once the time of day is valid on the CPU, this bit is set to 1 by FC
TimeTask. In the user program this bit can be directly queried using its symbolic name
"BasicData".CpuClockOk
.










