Trusted, Communication interface t8151b – Rockwell Automation T8xxx Trusted Communications Interface User Manual
Page 63

Trusted
TM
Communication Interface T8151B
Issue 21 Apr 10
PD-T8151B
63
Offset
Description
Start of block + 0
HEADER
Start of block + 1
YEAR_MNTH
Start of block + 2
DAY_HOUR_MIN
Start of block + 3
SEC_MSEC
Table 26 Time-stamp Block
The HEADER field is common to both Time-stamp and Variable data blocks. The TYPE bit-field will
always contain the value 1 for Time-stamp blocks. The bit-fields of the HEADER register are defined
as follows:
HEADER
Start of block + 0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RESERVED
REASON
RESERVED
TYPE
Bit-Field
Description
REASON
1 = Time-stamp denotes start of SOE event
2 = Time-stamp denotes SOE buffer overflow event.
3 = Time-stamp denotes SOE clear event.
4 = Time-stamp denotes data event.
TYPE
1 = Time-stamp block.
2 = Variable block.
Table 27 Time-stamp HEADER field
The YEAR_MNTH field is valid only for Time-stamp blocks. It contains the year and month values for
the time-stamp.
YEAR_MNTH
Start of block + 1
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
YEAR
MONTH
Bit-Field
Description
YEAR
The year value for the time-stamp (0…9999).
MONTH
The month value for the time-stamp (1…12).
Table 28 Time-stamp YEAR_MNTH field
The DAY_HOUR_MIN field is valid only for Time-stamp blocks. It contains the day of the month, hour
and minute values for the time-stamp.