SLVUAW9C September 2016 – February 2020 UCD90320
This command returns the Run-Time Clock value. It is given in milliseconds and days. Both are 32-bit numbers. The Run-Time clock may also be written. This allows the clock to be periodically corrected by the host. It also allows the clock to be initialized to the actual, absolute time in years (for example, March 23, 2010). The user must translate the absolute time to days and milliseconds.
The three usage scenarios for the Run-Time Clock are:
The Run-Time clock value is used to time-stamp any faults that are logged (see Section 10.26).
Byte Number
(Write) |
Byte Number
(Read) |
Payload
Index |
Description |
---|---|---|---|
0 | CMD = D7 | ||
1 | 0 | BYTE_COUNT = 8 | |
2 | 1 | 0 | Milliseconds (high byte) |
3 | 2 | 1 | Milliseconds |
4 | 3 | 2 | Milliseconds |
5 | 4 | 3 | Milliseconds (low byte) |
6 | 5 | 4 | Days (high byte) |
7 | 6 | 5 | Days |
8 | 7 | 6 | Days |
9 | 8 | 7 | Days (low byte) |