Time (1 Hz, 6 byte)

Configuration file fields

This section is autogenerated from the Rule Schema.

GNSS time (1000 ms) output.time

State output.time.state

Type Default Options
integer 1

Disable: 0 Enable: 1

ID Format output.time.id_format

ID format of the message

Type Default Options
integer 0

Standard (11-bit): 0 Extended (29-bit): 1

Message ID (hex) output.time.id

ID of the message in hex. Example: 00435354.

Type Default
string 01

Trigger method output.time.trigger

Transmission trigger method. Push: Signal is periodically transmitted. Poll: Signal is transmitted on request

Type Default Options
integer 0

Push: 0 Poll: 1


Frame layout

Note

The frame layout is defined in the CANmod.gps DBC file

The time frame contains information regarding the time provided by the GNSS system.

Name

Bitpos

Length

Factor

Offset

Min

Max

Unit

TimeValid

0

1

1

0

0

5

TimeConfirmed

1

1

1

0

0

31

Epoch

8

40

0.001

1577840400

1577840400

2677352027

s

TimeValid

The TimeValid signal can take one of the following values:

  • 0: Invalid

  • 1: Valid

When TimeValid is Valid the time is considered known.

TimeConfirmed

The TimeConfirmed signal can take one of the following values:

  • 0: Unconfirmed

  • 1: Confirmed

The time is Confirmed when is has been confirmed by using an additional independent source.

Epoch

The Epoch signal holds the current UTC time in seconds with a resolution of 1ms / bit.

Decoding example

Raw time frame payload:

  • Hex: 075F4F3EC003 (byte 0 to the right)

  • Bin: 0000011101011111010011110011111011000000 000000 1 1 (bit 0 to the right)

Epoch(40)

Reserved(6)

TimeConfirmed(1)

TimeValid(1)

Raw (bin)

0000011101011111010011110011111011000000

000000

1

1

Raw (dec)

31663800000

1

1

Scaled

31663800

1

1

Offset

1609504200

1

1

The Epoch physical value corresponds to the date and time: 2021/01/01 12:30:00 (UTC).