187
Commands
Example
Enable VTG message or port B.
$PASHS,NME,VTG,B,ON
$PASHQ,VTG,[c1]
This command allows you to query the VTG 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.
$GPVTG
This message is not output unless positions are being computed. The VTG contains
course over ground referenced to both true and magnetic north, and speed over
ground in kilometers per hour and nautical miles per hour (knots). The message is
output in the format:
$GPVTG,f1,c2,f3,c4,f5,c6,f7,c8*hh
Table 4.113 defines the message format.
Typical VTG message:
$GPVTG,179.00,T,193.00,M,000.11,N,000.20,K*3E
Table 4.113. $GPVTG Response Structure
Field Description Range
f1 Course over ground; referenced to true north 000.00° to 359.99°
c2 North reference indicator (always T; true north) T
f3 Course over ground; referenced to magnetic north 000.00° to 359.99°
c4 North reference indicator (always M; magnetic north) M
f5 Speed over ground (knots) 000.00 to 999.99
c6 Speed unit of measure (always N; nautical miles per hour) N
f7 Speed over ground (kilometers per hour) 000.00 to 999.99
c8 Speed unit of measure (always K; KPH) K
*hh Checksum 2-character hex
G12RevD.book Page 187 Tuesday, April 2, 2002 4:33 PM