Alm: almanac message, Function, Command format – Spectra Precision ProMark 800 Reference Manual User Manual

Page 270: Response format, Example

Advertising
background image

258

Query Command Library

ALM: Almanac Message

Function

This command allows you to output the latest GPS almanac
data. Each response line describes the almanac data from a
given GPS satellite.

Command Format

Syntax

$PASHQ,ALM[*cc]

Response Format

Syntax

$GPALM,d1,d2,d3,d4,h5,h6,h7,h8,h9,h10,h11,h12,h13,h14,h15*cc

Parameters

Example

$PASHQ,ALM
$GPALM,31,1,01,65535,00,39A8,4E,1FEA,FD65,A10C8C,B777FE,935A86,C
994BE,0C6,001*73
$GPALM,31,2,02,65535,00,4830,4E,00D9,FD49,A10D24,64A66D,3B6857,E
6F2A3,0BA,001*7A
$GPALM,31,3,03,65535,00,552B,4E,F572,FD3B,A10CE1,20E624,0CD7E1,D
10C32,0CA,001*0D

Parameter

Description

Range

d1

Total number of messages

01-32

d2

Number of this message

01-32

d3

Satellite PRN number

01-32

d4

GPS week

4 digits

h5

SV health (in ASCII hex)

2 bytes

h6

e: Excentricity (in ASCII hex)

4 bytes

h7

toe: Almanac reference time, in seconds (ASCII hex)

2 bytes

h8

Io: Inclination angle, in semicircles (ASCII hex)

4 bytes

h9

OMEGADOT: Rate of ascension, in semicircles/second
(ASCII hex)

4 bytes

h10

A1/2: Square root of semi-major axis, in meters 1/2
(ASCII hex)

6 bytes

h11

OMEGA: Argument of perigee, in semicircles (ASCII
hex)

6 bytes

h12

OMEGA0: Longitude of ascension mode, in semicircles
(ASCII hex)

6 bytes

h13

Mo: Mean anomaly, in semi-circles (ASCII hex)

6 bytes

h14

af0: Clock parameter, in seconds (ASCII hex)

3 bytes

h15

af1: Clock parameter, in seconds/second (ASCII hex)

3 bytes

*cc

Checksum

*00-*FF

Advertising