4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
5 <title>MX4200 Receiver Data Format</title>
6 <link href="../scripts/style.css" type="text/css" rel="stylesheet">
10 <h1>MX4200 Receiver Data Format</h1>
12 <!-- #BeginDate format:En2m -->21-Oct-2010 23:44<!-- #EndDate -->
15 <h2>Table of Contents</h2>
17 <li><a href="#control">Control Port Sentences</a>
18 <li><a href="#input">Control Port Input Sentences</a>
20 <li><a href="#input_000">$PMVXG,000</a> Initialization/Mode Control - Part A
21 <li><a href="#input_001">$PMVXG,001</a> Initialization/Mode Control - Part B
22 <li><a href="#input_007">$PMVXG,007</a> Control Port Configuration
23 <li><a href="#input_023">$PMVXG,023</a> Time Recovery Configuration
24 <li><a href="#input_gpq">$CDGPQ,YYY</a> Query From a Remote Device / Request to Output a Sentence
26 <li><a href="#output">Control Port Output Sentences</a>
28 <li><a href="#output_000">$PMVXG,000</a> Receiver Status
29 <li><a href="#output_021">$PMVXG,021</a> Position, Height, Velocity
30 <li><a href="#output_022">$PMVXG,022</a> DOPs
31 <li><a href="#output_030">$PMVXG,030</a> Software Configuration
32 <li><a href="#output_101">$PMVXG,101</a> Control Sentence Accept/Reject
33 <li><a href="#output_523">$PMVXG,523</a> Time Recovery Configuration
34 <li><a href="#output_830">$PMVXG,830</a> Time Recovery Results
38 <h2><a name="control">Control Port Sentences</a></h2>
39 <p>The Control (CDU) Port is used to initialize, monitor, and control the receiver. The structure of the control port sentences is based on the <cite>NMEA-0183</cite> Standard for Interfacing Marine Electronics Navigation Devices (version 1.5). For more details, please refer to the <cite>NMEA-0183</cite> Specification available from the <a href="http://www.nmea.org/">National Marine Electronics Association</a>.</p>
40 <p>Reserved characters are used to indicate the beginning and the end of records in the data stream, and to delimit data fields within a sentence. Only printable ASCII characters (Hex 20 through 7F) may be used in a sentence. <a href="#table_2">Table 2</a> lists the reserved characters and defines their usage. <a href="#table_1">Table 1</a> illustrates the general Magnavox proprietary NMEA sentence format.</p>
41 <h4><a name="table_1">Table 1. Magnavox Proprietary NMEA Sentence Format</a></h4>
42 <code>$PMVXG,XXX,...................*CK </code>
50 <td><code>$</code></td>
51 <td>Sentence Start Character</td>
54 <td><code>P</code></td>
55 <td>Special ID (P = Proprietary)</td>
58 <td><code>MVX</code></td>
59 <td>Originator ID (MVX = Magnavox)</td>
62 <td><code>G</code></td>
63 <td>Interface ID (G = GPS)</td>
66 <td><code>XXX</code></td>
67 <td>Sentence Type</td>
70 <td><code>...</code></td>
74 <td><code>*</code></td>
75 <td>Optional Checksum Field Delimiter</td>
78 <td><code>CK</code></td>
79 <td>Optional Checksum</td>
82 <h4><a name="table_2">Table 2. NMEA Sentence Reserved Characters</a></h4>
90 <td><code>$</code></td>
92 <td>Start of Sentence Identifier</td>
95 <td><code>{cr}{lf}</code></td>
97 <td>End of Sentence Identifier</td>
100 <td><code>,</code></td>
102 <td>Sentence Delimiter</td>
105 <td><code>*</code></td>
107 <td>Optional Checksum Field Delimiter</td>
110 <p>Following the start character <code>$</code>, are five characters which constitute the block label of the sentence. For Magnavox proprietary sentences, this label is always <code>PMVXG</code>. The next field after the block label is the sentence type, consisting of three decimal digits.</p>
111 <p>The data, delimited by commas, follows the sentence type. Note that the receiver uses a free-format parsing algorithm, so you need not send the exact number of characters shown in the examples. You will need to use the commas to determine how many bytes of data need to be retrieved.</p>
112 <p>The notation <code>CK</code> shown in <a href="#table_1">Table 1</a> symbolically indicates the optional checksum in the examples. The checksum is computed by exclusive-ORing all of the bytes between the <code>$</code> and the <code>*</code> characters. The <code>$</code>, <code>*</code> and the checksum are not included in the checksum computation.</p>
113 <p>Checksums are optional for Control Port input sentences, but are highly recommended to limit the effects of communication errors. Magnavox receivers always generate checksums for Control Port output sentences.</p>
114 <p>ASCII data characters are transmitted in the following format:</p>
118 <td>8 (msb always 0)</td>
129 <p>NULL fields are fields which do not contain any data. They would appear as two commas together in the sentence format, except for the final field. Some Magnavox proprietary sentences require that the format contain NULL fields. mandatory NULL fields are identified by an '*' next to the respective field.</p>
131 <h2><a name="input">Control Port Input Sentences</a></h2>
132 These are the subset of the MX4200 control port input sentences sent by the NTP driver to the GPS receiver.
134 <h3><a name="input_000">$PMVXG,000</a></h3>
135 <h4>Initialization/Mode Control - Part A</h4>
136 Initializes the time, position and antenna height of the MX4200.
177 <td>000000-235959</td>
181 <td>WGS-84 Latitude</td>
185 <td>0 - 8959.9999</td>
189 <td>North/South Indicator</td>
197 <td>WGS-84 Longitude</td>
201 <td>0 - 17959.9999</td>
205 <td>East/West Indicator</td>
213 <td>Altitude (height above Mean Sea Level) in meters (WGS-84)</td>
229 <code>$PMVXG,000,,,,,,,,,,*48</code><br>
230 <code>$PMVXG,000,,,,,5128.4651,N,00020.0715,W,58.04,*4F</code>
232 <h3><a name="input_001">$PMVXG,001</a></h3>
233 <h4>Initialization/Mode Control - Part B</h4>
234 Specifies various navigation parameters: Altitude aiding, acceleration DOP limits, and satellite elevation limits.
247 <td>Constrain Altitude</td>
265 <td>Horizontal Acceleration Factor</td>
297 <td>Elevation Limit</td>
305 <td>Time Output Mode</td>
314 <td>Local Time Offset</td>
322 <code>$PMVXG,001,3,,0.1,0.1,10,10,5,U,0*06</code>
324 <h3><a name="input_007">$PMVXG,007</a></h3>
325 <h4>Control Port Output Configuration</h4>
326 This message enables or disables output of the specified sentence and defines the output rate. The user sends this message for each sentence that the receiver is to output.
339 <td>Control Port Output Block Label</td>
347 <td>Clear Current Output List</td>
356 <td>Add/Delete Sentence from List</td>
373 <td>Sentence Output Rate</td>
381 <td># digits of Precision for CGA and GLL sentences</td>
405 <code>$PMVXG,007,022,0,1,,1,,,*4F</code>
407 <h3><a name="input_023">$PMVXG,023</a></h3>
408 <h4>Time Recovery Configuration</h4>
409 This message is used to enable/disable the time recovery feature of the receiver. The time synchronization for the 1PPS output is specified in addition to a user time bias and an error tolerance for a valid pulse. This record is accepted in units configured for time recovery. If the back panel contains a 1PPS outlet, the receiver is a time recovery unit.
422 <td>Time Recovery Mode</td>
429 N=No Time Recovery</td>
433 <td>Time Synchronization</td>
442 <td>Time Mark Mode</td>
447 V=Valid Pulses Only</td>
451 <td>Maximum Time Error</td>
459 <td>User Time Bias</td>
467 <td>ASCII Time Message Control</td>
472 1=830 to Control Port<br>
473 2=830 to Equipment Port</td>
477 <td>Known Pos PRN</td>
482 0=Track All Sats</td>
486 <code>$PMVXG,023,S,U,A,500,0,1,*16</code>
488 <h3><a name="input_gpq">$CDGPQ,YYY</a></h3>
489 <h4>Query From a Remote Device / Request to Output a Sentence</h4>
490 Enables the controller to request a one-time transmission of a specific block label. To output messages at a periodic rate, refer to input sentence <a href="#input_007">$PMVXG,007</a>.
503 <td>ID of Remote Device</td>
507 <td>(See <cite>NMEA-0183</cite>)</td>
515 <td>(See <cite>NMEA-0183</cite>)</td>
523 <td>(See <cite>NMEA-0183</cite>)</td>
527 <td>Label of Desired Sentence</td>
531 <td>Any Valid NMEA or Magnavox Sentence Type</td>
535 <code>$CDGPQ,030*5E</code>
537 <h2><a name="output">Control Port Output Sentences</a></h2>
538 These are the subset of the MX4200 control port output sentences recognized by the NTP driver.
540 <h3><a name="output_000">$PMVXG,000</a></h3>
541 <h4>Receiver Status</h4>
542 Returns the current status of the receiver including the operating mode, number of satellites visible, and the number of satellites being tracked.
554 <td>Current Receiver Status</td>
557 <td>ACQ=Reacquisition<br>
558 ALT=Constellation Selection<br>
559 IAC=Initial Acquisition<br>
560 IDL=Idle, No Satellites<br>
562 STS=Search The Sky<br>
567 <td>Number of Satellites that should be Visible</td>
574 <td>Number of Satellites being Tracked</td>
581 <td>Time since Last Navigation</td>
588 <td>Initialization Status</td>
591 <td>0=Waiting for Initialization<br>
592 1=Initialization Complete</td>
596 <code>$PMVXG,000,TRK,3,3,0122,1*19</code>
598 <h3><a name="output_021">$PMVXG,021</a></h3>
599 <h4>Position, Height, Velocity</h4>
600 This sentence gives the receiver position, height, navigation mode and velocity north/east. <em>This sentence is intended for post analysis applications.</em>
612 <td>UTC Measurement Time</td>
613 <td>Seconds into the week</td>
619 <td>WGS-84 Latitude</td>
626 <td>North/South Indicator</td>
633 <td>WGS-84 Longitude</td>
640 <td>East/West Indicator</td>
647 <td>Altitude (MSL)</td>
654 <td>Geoidal Height</td>
661 <td>Velocity East</td>
668 <td>Velocity North</td>
675 <td>Navigation Mode</td>
678 <td><em>Navigating</em><br>
679 1=Position From a Remote Device<br>
682 4=2D differential<br>
683 5=3D differential<br>
684 <em>Not Navigating</em><br>
685 51=Too Few Satellites<br>
686 52=DOPs too large<br>
687 53=Position STD too large<br>
688 54=Velocity STD too large<br>
689 55=Too many iterations for velocity<br>
690 56=Too many iterations for position<br>
691 57=3 Sat Startup failed</td>
695 <code>$PMVXG,021,142244.00,5128.4744,N,00020.0593,W,00054.4,0047.4,0000.1,-000.2,03*66</code>
697 <h3><a name="output_022">$PMVXG,022</a></h3>
699 This sentence reports the DOP (Dilution Of Precision) values actually used in the measurement processing corresponding to the satellites listed. The satellites are listed in receiver channel order. Fields 11-16 are output only on 12-channel receivers.
711 <td>UTC Measurement Time</td>
712 <td>Seconds into the week</td>
718 <td>East DOP (EDOP)</td>
725 <td>North DOP (NDOP)</td>
732 <td>Vertical DOP (VDOP)</td>
739 <td>PRN on Channel #1</td>
746 <td>PRN on Channel #2</td>
753 <td>PRN on Channel #3</td>
760 <td>PRN on Channel #4</td>
767 <td>PRN on Channel #5</td>
774 <td>PRN on Channel #6</td>
781 <td>PRN on Channel #7</td>
788 <td>PRN on Channel #8</td>
795 <td>PRN on Channel #9</td>
802 <td>PRN on Channel #10</td>
809 <td>PRN on Channel #11</td>
816 <td>PRN on Channel #12</td>
823 <code>$PMVXG,022,142243.00,00.7,00.8,01.9,27,26,10,09,13,23*77</code>
825 <h3><a name="output_030">$PMVXG,030</a></h3>
826 <h4>Software Configuration</h4>
827 This sentence contains the navigation processor and baseband firmware version numbers.
839 <td>Nav Processor Version Number</td>
846 <td>Baseband Firmware Version Number</td>
853 <code>$PMVXG,030,DA35,015</code>
855 <h3><a name="output_101">$PMVXG,101</a></h3>
856 <h4>Control Sentence Accept/Reject</h4>
857 This sentence is returned (on the Control Port) for every <strong>$PMVXG</strong> and <strong>$XXGPQ</strong> sentence that is received.
876 <td>Accept/Reject Status</td>
879 <td>0=Sentence Accepted<br>
882 3=Unrecognized ID<br>
883 4=Wrong # of fields<br>
884 5=Required Data Field Missing<br>
885 6=Requested Sentence Unavailable</td>
889 <td>Bad Field Index</td>
896 <td>Requested Sentence ID (If field #1 = GPQ)</td>
903 <code>$PMVXG,101,GPQ,0,,030*0D</code>
905 <h3><a name="output_523">$PMVXG,523</a></h3>
906 <h4>Time Recovery Configuration</h4>
907 This sentence contains the configuration of the time recovery function of the receiver.
919 <td>Time Recovery Mode</td>
925 N=No Time Recovery</td>
929 <td>Time Synchronization</td>
937 <td>Time Mark Mode</td>
940 <td>A=Always Output Time Pulse<br>
941 V=Only when Valid</td>
945 <td>Maximum Time Error for which a time mark will be considered valid</td>
952 <td>User Time Bias</td>
959 <td>Time Message Control</td>
963 1=830 to Control Port<br>
964 2=830 to Equipment Port</td>
975 <code>$PMVXG,523,S,U,A,0500,000000,1,0*23</code>
977 <h3><a name="output_830">$PMVXG,830</a></h3>
978 <h4>Time Recovery Results</h4>
979 This sentence is output approximately 1 second preceding the 1PPS output. It indicates the exact time of the next pulse, whether or not the time mark will be valid (based on operator-specified error tolerance), the time to which the pulse is synchronized, the receiver operating mode, and the time error of the <strong>last</strong> 1PPS output. The leap second flag (Field #11) is not output by older receivers.
991 <td>Time Mark Valid</td>
1023 <td>00:00:00-23:59:59</td>
1027 <td>Time Synchronization</td>
1035 <td>Operating Mode</td>
1040 K=Known Position</td>
1044 <td>Oscillator Offset - estimate of oscillator frequency error</td>
1051 <td>Time Mark Error of last pulse</td>
1058 <td>User Time Bias</td>
1065 <td>Leap Second Flag - indicates that a leap second will occur. This value is usually zero except during the week prior to a leap second occurrence, when this value will be set to +/-1. A value of +1 indicates that GPS time will be 1 second further ahead of UTC time.</td>
1072 <code>$PMVXG,830,T,1998,10,12,15:30:46,U,S,000298,00003,000000,01*02</code>
1074 <script type="text/javascript" language="javascript" src="../scripts/footer.txt"></script>