151
Commands
GLL: 2-D Position
$PASHS,NME,GLL,x,s,[f]
Enable/disable NMEA latitude/longitude response message on port x, where x is
the output port, s is ON or OFF, and f is the optional message output rate ranging
from 0.05 to 999 seconds depending upon the measurement update rate option
installed.
If the command is set without a period, the G12 uses the period set by the
$PASHS,NME,PER command. If the $PASHS,NME,PER command is issued after
this message period has been set, the period resets to the PER setting.
Example
Enter the following command to enable GLL message on port A.
$PASHS,NME,GLL,A,ON
$PASHQ,GLL,[c1]
This command allows you to query for the GLL position message, where c1 is the
optional port designator for the output of the response. If a port is not specified, the
receiver sends the response to the current port.
$GPGLL
This message is not output unless position is computed. The GLL message contains
a 2-D position (latitude/longitude only) and time of position fix. The G12 can be set
to output the GLL message at regular intervals by using the command
$PASHS,NME. The message is output in the format:
$GPGLL,m1,c2,m3,c4,m5,c6*hh
Table 4.76 defines the message format.
Table 4.76. $GPGLL Message Format
Parameter Description Range
m1 Latitude of the position fix (ddmm.mmmmm) 0° - 90°
c2 Latitude sector N(orth)
S(outh)
m3 Longitude of the position fix (dddmm.mmmmm) 0° - 180°
c4 Longitude sector E(ast) or W(est)
m5 UTC time (hhmmss.ss) of the position fix 000000.00 to 235959.90
G12RevD.book Page 151 Tuesday, April 2, 2002 4:33 PM