
TPRO-cPCI/TSAT-cPCI
Spectracom Corporation
Synchronizable Timecode Generator User Manual
5-2
For example, to set the board to year 2001, day 345, hour 12, minute 56, second 29, write the
following values:
tbreg_cmd[0] = 0x03451256
tbreg_cmd[1] = 0x29000000
tbreg_cmd[2] = 0x00002001
tbreg_cmd[3] = 0x00000010
The board will compute the Gregorian date (December 11) from the Julian day (345) and the
year. Leap years are taken into account.
The year is used to determine whether the board should count to day 365 (non-leap year) or
366 (leap year) before rolling back to 001. The year
is not transmitted in the time code
output
, so each board in a system must be commanded separately. The year
is not
used in the
Match Time comparison. The power-on default is the special year 0001, a non-leap year.
TSAT-PMC boards obtain the year from the GPS satellites, or it can be set manually, as
described above. The year is incremented at the end of day 365 or 366.
A leap year is any year that is evenly divisible by four, except century years. A century year
(2000, 2100, etc.) is a leap year only if it is evenly divisible by 400 (e.g., 2000, 2400, etc.).
The response in tbreg_response[3] is 0x????0010.
The user's software must ensure that only valid values are sent to the board. Also, the year
must be set before the day. Otherwise, invalid Gregorian dates may result.
Field
.....................
Range
Day.................... 000–366
Hour ...................... 00–23
Minute ................... 00–59
Second.................. 00–59
Year .............. 1990–2999
NOTE:
The board does not check the range on these parameters. Sending out-of-range
values will cause an error. This applies to all commands.
Summary of Contents for TPRO-cPCI
Page 4: ......
Page 10: ...TPRO cPCI TSAT cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual 1 4 ...
Page 16: ...Spectracom Corporation TPRO cPCI TSAT cPCI Synchronizable Timecode Generator User Manual 2 6 ...
Page 22: ...TPRO cPCI TSAT cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual 3 6 ...
Page 30: ...TPRO cPCI TSAT cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual 4 8 ...
Page 42: ...TPRO cPCI TSAT cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual 6 2 ...
Page 44: ...TPRO cPCI TSAT cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual 7 2 ...