Serial Data Formats . Orolia NetClock/GPS 9283


Add to my manuals
216 Pages

advertisement

Serial Data Formats
. Orolia  NetClock/GPS 9283  | Manualzz

Spectracom Corporation Model 9283

5 Serial Data Formats

This section describes each of the Data Format selections available on the RS-232 (Serial

Comm) and RS-485 (Remote Port) outputs. Format selection is made as part of the Serial

Comm and Remote port configuration. Most applications utilize either Data Format 0 or Data

Format 2.

5.1 Format 0

Format 0 includes a time synchronization status character, day of year, time reflecting Time

Zone Offset and DST corrections when enabled. Format 0 also includes the DST/Standard Time indicator, and the Time Zone Offset value. Format 0 data structure is shown below:

CR LF I ^ ^ DDD ^ HH:MM:SS ^ DTZ=XX CR LF where:

LF =

I =

^ =

DDD =

: =

Line Feed

Time Sync Status (space, ?, *) space separator

Day of Year (001 - 366)

Colon separator

SS =

D =

TZ =

XX =

Seconds (00- 60)

Daylight Saving Time indicator (S,I,D,O)

Time Zone

Time Zone offset (00-23)

The leading edge of the first character (CR) marks the on-time point of the data stream.

The time synchronization status character I is defined as described below:

(Space) = Whenever the front panel Time Sync lamp is green.

? = When the receiver is unable to track any satellites and the Time Sync lamp is red.

* = When the receiver time is derived from the battery backed clock or set manual through the Setup Port Interface.

The Daylight Saving Time indicator D is defined as:

S =

I =

D =

During periods of Standard time for the selected DST schedule.

During the 24-hour period preceding the change into DST

During periods of Daylight Saving Time for the selected DST schedule

O = During the 24-hour period preceding the change out of DST

Example: 271 12:45:36 DTZ=08

The example data stream provides the following information:

Sync Status: Time synchronized to GPS

NetClock/GPS Instruction Manual 5-1

Model 9283 Spectracom Corporation

Date:

Time:

5.2

Day 271

12:45:36 Pacific Daylight Time

D = DST, Time Zone 08 = Pacific Time

Format 1

This format provides the fully decoded time data stream. Format 1 converts the received day of year data (001-366) to a date consisting of day of week, month, and day of the month. Format 1 also contains a time synchronization status character, year, and time reflecting time zone offset and DST correction when enabled. Format 1 data structure is shown below:

CR LF I ^ WWW ^ DDMMMYY ^ HH:MM:SS CR LF where:

CR = Carriage Return

LF = Line Feed

I = Time Sync Status (space, ?, *)

^ = space separator

WWW = Day of Week (SUN, MON, TUE, WED, THU, FRI, SAT)

DD = Numerical Day of Month (^1-31)

MMM = Month (JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC)

YY = Year without century (99, 00, 01 etc.)

HH = Hours (00-23)

: = Colon separator

MM = Minutes (00-59)

SS = Seconds (00 - 60)

The leading edge of the first character (CR) marks the on-time point of the data stream.

The time synchronization status character I is defined as described below:

(Space) = Whenever the front panel time synchronization lamp is green.

? = When the receiver is unable to track any satellites and the time synchronization lamp is red.

* = When the receiver time is derived from the battery backed clock or set manually through the Setup Port Interface.

Example: * FRI 20APR01 12:45:36

The example data stream provides the following information:

Sync Status: The clock is not time synchronized to GPS. Time is derived from the battery backed clock or set manually

Date:

Time:

Friday, April 20, 2001

12:45:36

5-2 NetClock/GPS Instruction Manual

Spectracom Corporation Model 9283

NOTE: Data Format 1 has an available modification that may be made to the data stream structure. Most external systems utilizing Data Format 1 will look for a single digit day of the month for day 1 through day 9, with a space in front of each digit ( ^1, ^2, ^3 …

10,11… ) whereas other systems need to see a two digit day of the month for all days

1 through 9 with a leading 0 instead of a space (01, 02, 03… 10, 11…). If your device requires the two digit day of the month for days 1 through 9, the following procedure will change the Data Format 1 structure to provide this.

Connect to the Serial Setup Interface port with a PC running HyperTerminal OR telnet into the

NetClock using the IP address of the unit.

To change Data Format 1 output on a Serial port to a leading 0, type:

ser mod ser[1/2] 1 zero <enter>

(Where 1 or 2 is the desired Serial port number)

To change Data Format 1 output on a Remote RS-485 port to a leading 0, type:

rem mod rem[1/2] 1 zero <enter>

(Where 1 or 2 is the desired Remote port number).

To change Data Format 1 output on a Serial port back to a leading space, type:

Ser mod ser[1/2] none <enter>

(Where 1 or 2 is the desired Remote port number).

To change Data Format 1 output on a Remote RS-485 back to a leading space, type:

rem mod rem[1/2] none <enter>

(Where 1 or 2 is the desired Remote port number).

5.3 Format 2

This format provides a time data stream with millisecond resolution. The Format 2 data stream consists of indicators for time synchronization status, time quality, leap second and Daylight

Saving Time. Time data reflects UTC time and is in the 24-hour format. Format 2 data structure is shown below:

NOTE: Format 2 cannot be configured for a Time Zone Offset or with automatic Daylight

Saving Time adjustment. Attempting to configure a Local clock using Data Format 2 with either a Time Zone Offset or automatic DST rule will result in an error message.

CR LF IQYY ^ DDD ^ HH:MM:SS.SSS ^ LD where:

CR = Carriage Return

LF = Line Feed

I = Time Sync Status (space, ?, *)

Q = Quality Indicator (space, A, B, C, D)

YY = Year without century (99, 00, 01 etc.)

^ = space separator

NetClock/GPS Instruction Manual 5-3

Model 9283 Spectracom Corporation

DDD = Day of Year (001 - 366)

HH = Hours (00-23 UTC time)

: = Colon separator

MM = Minutes (00-59)

SS = Seconds (00-60)

. = Decimal Separator

SSS = Milliseconds (000-999)

L = Leap Second Indicator (space, L)

D = Daylight Saving Time Indicator (S,I,D,O)

The leading edge of the first character (CR) marks the on-time point of the data stream.

The time synchronization status character I is defined as described below:

(Space) = Whenever the front panel time synchronization lamp is green.

? = When the receiver is unable to track any satellites and the time synchronization lamp is red.

* = When the receiver time is derived from the battery backed clock or set manually through the Setup Port Interface.

The quality indicator Q provides an inaccuracy estimate of the output data stream. When the receiver is unable to track any GPS satellites, a timer is started. Table 6-2: Table of Quality

Indicators lists the quality indicators and the corresponding error estimates based upon the GPS receiver 1 PPS stability, and the time elapsed tracking no satellites. The Tracking Zero Satellites timer and the quality indicator reset when the receiver reacquires a satellite.

Quality Time

(hours) configuration)

(milliseconds)

05)

(milliseconds)

Rubidium Error

(Option 04)

(microseconds)

Space Lock <1 <0.01

<0.72

<0.3

<1.8

<7.2

<36

<18

<90

>36

Table 5-1: Table of Quality Indicators

The leap second indicator L is defined as:

>90

(Space) = When a leap second correction is not scheduled for the end of the month.

L = When a leap second correction is scheduled for the end of the month.

The Daylight Saving Time indicator D is defined as:

S = During periods of Standard time for the selected DST schedule.

I =

D =

O =

During the 24-hour period preceding the change into DST.

During periods of Daylight Saving Time for the selected DST schedule.

During the 24-hour period preceding the change out of DST.

5-4 NetClock/GPS Instruction Manual

Spectracom Corporation Model 9283

Example: ?A01 271 12:45:36.123 S

The example data stream provides the following information:

Sync Status: The clock has lost GPS time sync. The inaccuracy code of “A” indicates the expected time error is <10 milliseconds.

Date: Day 271 of year 2001.

Time: 12:45:36 UTC time, Standard time is in effect.

5.4 Format 3

Format 3 provides a format identifier, time synchronization status character, year, month, day, time with time zone and DST corrections, time difference from UTC, Standard time/DST indicator, leap second indicator and on-time marker. Format 3 data structure is shown below:

FFFFI^YYYYMMDD^HHMMSS±HHMMD L # CR LF where:

FFFF =

I =

^ =

YYYY =

MM =

DD =

HH =

MM =

SS =

± =

HHMM =

Format Identifier (0003)

Time Sync Status (Space, ? *) space separator

Year (1999, 2000, 2001 etc.)

Month Number (01-12)

Day of the Month (01-31)

Hours (00-23)

Minutes (00-59)

Seconds (00-60)

Positive or Negative UTC offset (+,-) Time Difference from UTC

D =

L =

UTC Time Difference Hours, Minutes (00:00-23:00)

Daylight Saving Time Indicator (S,I,D,O)

Leap Second Indicator (space, L)

# =

CR =

LF =

On time point

Carriage Return

Line Feed

The time synchronization status character I is defined as:

(Space) = Whenever the front panel time synchronization lamp is green.

? = When the receiver is unable to track any satellites and the time synchronization lamp is red.

* = When the receiver time is derived from the battery backed clock or set manually through the Setup Port Interface.

The time difference from UTC, ±HHMM, is selected when the Serial Comm or Remote port is configured. A time difference of -0500 represents Eastern Time. UTC is represented by +0000.

The Daylight Saving Time indicator D is defined as:

NetClock/GPS Instruction Manual 5-5

Model 9283 Spectracom Corporation

S = During periods of standard time for the selected DST schedule.

I =

D =

During the 24-hour period preceding the change into DST.

During periods of Daylight Saving Time for the selected DST schedule.

O = During the 24-hour period preceding the change out of DST.

The leap second indicator L is defined as:

(Space) = When a leap second correction is not scheduled at the end of the month.

L = When a leap second correction is scheduled at the months end.

Example: 0003 20010415 124536-0500D #

The example data stream provides the following information:

Data Format: 3

Sync Status:

Date:

Time:

Time Synchronized to GPS.

April 15, 2001.

12:45:36 EDT (Eastern Daylight Time). The time difference is 5 hours

Leap Second: No leap second is scheduled for this month.

5.5 Format 4

Format 4 provides a format indicator, time synchronization status character, modified Julian date, time reflecting UTC with 0.1 millisecond resolution and a leap second indicator. Format 4 data structure is shown below:

FFFFIMJDXX^HHMMSS.SSSS^L CR LF where:

FFFF =

I =

MJDXX =

HH =

MM =

SS.SSSS =

L =

CR =

LF =

Format Identifier (0004)

Time Sync Status (Space, ? *)

Modified Julian Date

Hours (00-23 UTC time)

Minutes (00-59)

Seconds (00.0000-60.0000)

Leap Second Indicator (^, L)

Carriage Return

Line Feed

The start bit of the first character marks the on-time point of the data stream.

The time synchronization status character I is defined as:

(Space) = Whenever the front panel time synchronization lamp is green.

5-6 NetClock/GPS Instruction Manual

Spectracom Corporation Model 9283

? = When the receiver is unable to track any satellites and the time synchronization lamp is red.

* = When the receiver time is derived from the battery backed clock or set manually through the Setup Port Interface.

The leap second indicator L is defined as:

(Space) = When a leap second correction is not scheduled at the end of the month.

L = when a leap second correction is scheduled at the months end.

Example: 0004 50085 124536.1942 L

The example data stream provides the following information:

Data format:

Sync Status:

Modified Julian Date: 50085

4

Time synchronized to GPS.

Leap Second:

5.6 Format 7

A leap second is scheduled at the end of the month.

This format provides a time data stream with millisecond resolution. The Format 7 data stream consists of indicators for time synchronization status, leap second and Daylight Saving Time.

Time data reflects UTC time and is in the 24-hour format. Format 7 data structure is shown below:

NOTE: Format 7 cannot be configured for a Time Zone Offset or with automatic Daylight

Saving Time adjustment. Attempting to configure a Local clock using Data Format 7 with either a Time Zone Offset or automatic DST rule will result in an error message.

CR LF I^YY^DDD^HH:MM:SS.SSSL^D CR LF where:

CR = Carriage Return

LF = Line Feed

I = Time Sync Status (space, ?, *)

YY = Year without century (99, 00, 01 etc.)

^ = space separator

DDD = Day of Year (001 - 366)

HH = Hours (00-23 UTC time)

: = Colon separator

MM = Minutes (00-59)

SS = Seconds (00-60)

. = Decimal Separator

SSS = Milliseconds (000-999)

L = Leap Second Indicator (space, L)

D = Daylight Saving Time Indicator (S,I,D,O)

NetClock/GPS Instruction Manual 5-7

Model 9283 Spectracom Corporation

The leading edge of the first character (CR) marks the on-time point of the data stream.

The time synchronization status character I is defined as described below:

(Space) = Whenever the front panel time synchronization lamp is green.

? = When the receiver is unable to track any satellites and the time synchronization lamp is red.

* = When the receiver time is derived from the battery backed clock or set manually through the Setup Port Interface.

The leap second indicator L is defined as:

(Space) = When a leap second correction is not scheduled for the end of the month.

L = When a leap second correction is scheduled for the end of the month.

The Daylight Saving Time indicator D is defined as:

S = During periods of Standard time for the selected DST schedule.

I =

D =

During the 24-hour period preceding the change into DST.

During periods of Daylight Saving Time for the selected DST schedule.

O = During the 24-hour period preceding the change out of DST.

Example: ? 01 271 12:45:36.123 S

The example data stream provides the following information:

Sync Status: The clock has lost GPS time sync.

Date: Day 271 of year 2001.

Time: 12:45:36 UTC time, Standard time is in effect.

5.7 Format 8

Format 8 includes a time synchronization status character, the four digit year, day of year, time reflecting Time Zone Offset and DST corrections when enabled. Format 8 also includes the

DST/Standard Time indicator, and the Time Zone Offset value. Format 8 data structure is shown below:

CR LF I ^ ^YYYY^ DDD ^ HH:MM:SS ^ D+XX CR LF or

CR LF I ^ ^YYYY^ DDD ^ HH:MM:SS ^ D-XX CR LF where

CR = Carriage Return

LF = Line Feed

I = Time Sync Status (space, ?, *)

YYYY = Four digit year indication

^ = space separator

DDD = Day of Year (001 - 366)

HH = Hours (00-23)

: = Colon separator

5-8 NetClock/GPS Instruction Manual

Spectracom Corporation Model 9283

MM = Minutes (00-59)

SS = Seconds (00 - 60)

D = Daylight Saving Time indicator (S,I,D,0)

XX = Time Zone Switch Setting (+/- 00 to 12)

The leading edge of the first character (CR) marks the on-time point of the data stream.

Time sync status character I is described below:

I = (space) when the NetClock is synchronized to UTC

source.

= * when the NetClock time is set manually.

= ? when the NetClock has not achieved or has lost

synchronization to UTC source.

The time and date can be set to either local time or UTC time, depending upon the configuration of the output port.

5.8 Format 90

Format 90 provides a position data stream in NMEA 0183 GPGGA GPS Fix data format.

The Format 90 data structure is shown below:

$GPGGA,HHMMSS.SS,ddmm.mmmm,n,dddmm.mmmm,e,Q,SS,YY.y,+AAAAA.a,M,,,,*CC CR

LF where:

$GP = GPS

GGA =

HHMMSS.SS =

GPS Fix Data Message

System Talker

Latest time of Position Fix, UTC. This field is blank until a 3D fix is

ddmm.mmmm,n =

dd = mm.mmmm =

n =

dddmm.mmmm,e =

ddd = mm.mmmm =

e =

Q =

0 =

1 =

SS =

YY.Y = acquired

Latitude degress, 00...90 minutes, 00.0000....59.9999 direction, N = North, S = South

Longitude degress, 000...180 minutes, 00.0000....59.9999 direction, E = East, W = West

Quality Indicator,

No 3D fix

3D fix

Number of satellites tracked, 0...8

Dilution of precision, 00.0...99.9

+AAAAA.a,M =

,,,, =

Antenna height in meters, referenced to mean sea level

Fields for geoidal separation and differential GPS not supported

cc = Check sum message, HEX 00...7F

Check sum calculated by Xoring all bytes between $ and *.

CR =

LF =

Carriage Return

Line Feed

NetClock/GPS Instruction Manual 5-9

Model 9283 Spectracom Corporation

Example:

$GPGAA,151119.00,4307.0241,N,07729.2249,W,1,06,03.2,+00125.5,M,,,,*3F

The example data stream provides the following information:

Time of Position Fix: 15:11:19.00 UTC

Satellites Used:

Dilution of Precision:

Antenna Height:

Check Sum:

6

3.2

+125.5 meters above sea level

3

5-10 NetClock/GPS Instruction Manual

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement