Technical data

Configuration software for SINAUT ST7
1.10 TD7onTIM software package
Software
System Manual, 07/2009, C79000-G8976-C222-07
161
Time-of-day format
Table 1- 6 Format of the time information in the inputs of the I/O addresses of the TIM
Byte No. Offset
[bytes]
Meaning High nibble Low nibble
Value Range of
values
(decimal)
Value Range of
values
(decimal)
1 +8 Year tens 0...9 ones 0...9
2 +9 Month tens 0...9 ones 0...9
3 +10 Tag tens 0...9 ones 0...9
4 +11 Hour tens 0...9 ones 0...9
5 +12 Minute tens 0...9 ones 0...9
6 +13 Second tens 0...9 ones 0...9
7 +14 Millisecond hundreds 0...9 tens 0...9
8 +15 Millisecond ones 0...9 Status bit coded
Meaning of the entries in the table:
Offset: Offset to the base value of the peripheral inputs in bytes
High nibble: Bits 4 -7:
Low nibble: Bits 0-3
Value: Position of the relevant number
Year, month, day, hour, minute and second are two-digit (tens + ones)
Milliseconds are three-digit (hundreds + tens + ones)
Status: Status of the time information
Format of "Status"
The status of the time information is available in the four bits of the low nibble of byte 8. The
following table shows the meaning and the values of the status.
Table 1- 7 Status bits of the time (low nibble of byte no. 8)
Bit No. 3 2 1 0
Meaning Prewarning bit
Not defined
Daylight saving
time (DS), standard
time (ST)
Validity of the time
Value 0 = -
1 = prewarning:
Changeover at the
next full hour
(DS -> ST or ST -
> DS)
0 = ST
1 = DS
0 = invalid
1 = time valid