PTPDELTATIME

Time Difference Between Local Clock and Reference Clock

Platform: 

OEM729, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7-I, SMART7-SI

This log provides information regarding the time difference between the receiver's current GPS time as used in log headers and the time provided by the grandmaster clock currently recognized by the receiver.

Message ID: 2465

Log Type: Asynchronous

Recommended Input:

LOG PTPDELTATIMEA

ASCII Example:

#PTPDELTATIMEA,COM1,0,65.5,FINESTEERING,2197,243640.000,02000020,cdba,32768;PASSIVE,002166FFFE012868,128,128,248,FE,65536,B0D5CCFFFE417085,127,128,248,FE,65535,TRUE,1538942729.217678,0.2345e-2,-0.2456077e-5,0.123456e-9*fd50a30c

Field

Field Type

Description

Format

Binary Bytes

Binary Offset

1

Log header

PTPDELTATIME header

For information about log headers, see ASCII, Abbreviated ASCII or Binary.

H

0

2

PTP State

Current PTP state (see Table: PTP States)

Enum

4

H

3

Clock Identity

Local clock identity

Hex[8]

8

H+4

4

Priority1

Local clock priority1

Uchar

1

H+12

5

Priority2

Local clock priority2

Uchar

1

H+13

6

Clock Class

Local clock class

Uchar

1

H+14

7

Clock Accuracy

Local clock accuracy

HexByte

1

H+15

8

Offset Scaled Log Variance

Local clock offset scaled log variance

Ushort

2

H+16

9

Reference Clock Identity

Reference clock identity

Hex[8]

8

H+18

10

Reference Clock Priority1

Reference clock priority1

Uchar

1

H+26

11

Reference Clock Priority2

Reference clock priority2

Uchar

1

H+27

12

Reference Clock Clock Class

Reference clock class

Uchar

1

H+28

13

Reference Clock Clock Accuracy

Reference clock accuracy

HexByte

1

H+29

14

Reference Clock Offset Scaled Log Variance

Reference clock offset scaled log variance

Ushort

2

H+30

15

Time Offsets Valid

Indication that the offsets fields are valid

Bool

4

H+32

16

Time Offset

Filtered local PTP clock time – grandmaster time (seconds)

Double

8

H+36

17

Time Offset Variance

Filtered time offset variance (seconds2)

Double

8

H+44

18

Fractional Frequency Offset

Filtered (Local clock frequency - reference clock frequency) / reference clock frequency

Double

8

H+52

19

Fractional Frequency Offset Variance

Filtered fractional frequency offset variance

Double

8

H+60

20

*

Delimiter separating log info from CRC (ASCII only)

21

xxxx

32-bit CRC (ASCII and Binary only)

Hex

4

H+68

22

[CR][LF]

Sentence terminator (ASCII only)

PTP States

Binary

ASCII

Description

1

INITIALIZING

Data sets, hardware and communication facilities are being initialized.

2

FAULTY

A fault has been detected and PTP activity is halted.

3

DISABLED

The port is disabled.

4

LISTENING

Listening for announce messages to determine if a better grand master is active.

5

PRE_MASTER

About to enter MASTER state.

6

MASTER

Acting as a PTP master.

7

PASSIVE

Equivalent to SLAVE state when the clock class < 128.

8

UNCALIBRATED

Preparing to enter SLAVE state.

9

SLAVE

Reporting time difference between the receiver and the selected foreign master.