Page 1
PL-6315 GPS Receiver Binary Message Protocol User’s Reference Guide Document Revision: v0.5 Document Release: July 21, 2009 Prolific Technology Inc. 7F, No. 48, Sec. 3, Nan Kang Rd. Nan Kang, Taipei 115, Taiwan, R.O.C. Telephone: +886-2-2654-6363 Fax: +886-2-2654-6161 E-mail: sales@prolific.com.tw...
Page 2
Trademarks The Prolific logo is a registered trademark of Prolific Technology Inc. All brand names and product names used in this document are trademarks or registered trademarks of their respective holders.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Table of Contents Binary Message Structure ................5 Binary Input Message Type <F1h> ..............6 Restart (01h)...................... 7 Baud-Rate Configuration (02h) ................8 Set Datum (03h) ....................9 Set NMEA Configuration (04h)................. 10 Query Firmware Version (05h) ................11 Clock Offset (06h)....................
Page 4
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Almanac Data (84h) ..................40 Module ID (85h)....................41 Navigation Parameters (86h)................42 System Settings (87h) ..................43 Packed Trace Record (88h)................45 Extended Trace Buffer Status (8Ah) ..............47 3.10 Trace Buffer Test Status (8Ch)................48 3.11 Customized ID (8Dh)..................49 3.12 User Position, Velocity &...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 1.0 Binary Message Structure The PL-6315 binary message comprises of binary string with length of up to 255 characters. It has the following format: Format %%<Message Start>Message Body><Message End><CR><LF> Description Value Leading Byte 1...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.0 Binary Input Message Type <F1h> This group of binary messages are used to configure the GPS receiver, or to request information from the GPS receiver. If the receiver carries out the command successfully, ACK binary message is returned; otherwise NAK binary message is returned.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Set Datum (03h) Command Set Datum (03h) String %%<F1h><03h>< Parameter bytes><CS><CR><LF> Length Response %%<06h><03h ><CS><CR><LF> %%<15h><03h ><CS><CR><LF> Description Used to setup datum parameters for position transformation if non-WGS84 datum is required. Refer to Appendix A and B for the parameters to use. Type Parameters Data (Range)
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Set NMEA Configuration (04h) Command Set NMEA Configuration (04h) %%<F1h><04h>< Parameter bytes><CS><CR><LF> String Length Response %%<06h><04h ><CS><CR><LF> %%<15h><04h ><CS><CR><LF> Description Define the output interval between two consecutive NMEA sentences of the same type.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Query Firmware Version (05h) Command Query Firmware Version (05h) (6315) %%<F1h><05h>< Parameter bytes><CS><CR><LF> String Length Response %%<06h><05h><CS><CR><LF> %%<15h><05h><CS><CR><LF> See message 80h for firmware version information Description Retrieve version information of the firmware. When CRC is enabled, it may take up to one second to calculate the CRC value.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Read Ephemeris Data (09h) Command Read Ephemeris Data (09h) String %%<F1h><09h>< Parameter bytes><CS><CR><LF> Length Response %%<06h><09h><CS><CR><LF> %%<15h><09h><CS><CR><LF> Description The Ephemeris data of corresponding PRN will be output sequentially one by one per second Type Parameters Data (Range)
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.10 Read Almanac Data (0Bh) Command Read Almanac Data (0Bh) String %%<F1h><0Bh>< Parameter bytes><CS><CR><LF> Length Response %%<06h><0Bh><CS><CR><LF> %%<15h><0Bh><CS><CR><LF> Description The Almanac data of corresponding PRN will be output sequentially one by one per second Type Parameters...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.12 Set Module ID (0Dh) Command Set Module ID (0Dh) String %%<F1h><0Dh>< Parameter byte><CS><CR><LF> Length Response %%<06h><0Dh><CS><CR><LF> %%<15h><0Dh><CS><CR><LF> Description Setup Module ID. Type Parameters Data (Range) Unit Byte # (Little-endian) Type 1: Module ID type UINT08 1~2^32 UINT32...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.13 Query Module ID (0Eh) Command Query Module ID (0Eh) String %%<F1h><0Eh>< Parameter byte><CS><CR><LF> Length Response %%<06h><0Eh><CS><CR><LF> %%<15h><0Eh><CS><CR><LF> See message 85h for detail Description Retrieve User ID of the module. Type Parameters Data (Range) Unit Byte #...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.14 Set DOP Mask (0Fh) Command Set DOP Mask (0Fh) String %%<F1h><0Fh>< Parameter byte><CS><CR><LF> Length Response %%<06h><0Fh><CS><CR><LF> %%<15h><0Fh><CS><CR><LF> Description To set the DOP mask value and which type of DOP mask to use. When the calculated DOP value is higher than this mask value, no valid position data will be available.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.15 Set Elevation Mask (10h) Command Set Elevation Mask (10h) String %%<F1h><10h>< Parameter byte><CS><CR><LF> Length Response %%<06h><10h><CS><CR><LF> %%<15h><10h><CS><CR><LF> Description Set satellite elevation mask value. Satellite with elevation angle below this mask value is not used for position fix Type Parameters Data (Range)
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.17 1PPS Control (12h) Command 1PPS Control (12h) String %%<F1h><11h>< Parameter byte><CS><CR><LF> Length Response %%<06h><12h><CS><CR><LF> %%<15h><12h><CS><CR><LF> Description Enable / disable 1PPS and setup pulse width and PPM signal. 1PPS signal is output when GPS satisfies the following condition at least 3 minutes.
1: NMEA (Permanent change*) 2: Binary (Temporary change, back to Type original after recycle power) UINT08 3. Binary (Permanent change*) *’Permanent change means setting will be saved into flash for PL-6315. PL-6313 Product Datasheet - 24 - Document Version 0.3...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.20 Maintain Customized ID (16h) Command Maintain customized ID (16h) String %%<F1h><16h>< Parameter byte><CS><CR><LF> Length Response %%<06h><16h><CS><CR><LF> %%<15h><16h><CS><CR><LF> See 8Dh message for detail Description Read or set customized ID string When Read ID, length/ID string field are ignored Type Parameters Data (Range)
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.23 Set Local Time (19h) Command Set Local Time (19h) String %%<F1h><19h>CS><CR><LF> Length Response %%<06h><19h><CS><CR><LF> %%<15h><19h><CS><CR><LF> Description Set up user local time information. This command is useful to instruct module to output time information based on used zone. When flag is set to 0, system time is equal to UTC time.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.24 Set Extended Datum (1Bh) Command Set Extended Datum (1Bh) String %%<F1h><1Bh>< Parameter bytes><CS><CR><LF> Length Response %%<06h><1Bh ><CS><CR><LF> %%<15h><1Bh ><CS><CR><LF> Description Set up datum parameters used for position transformation This command is used to input datum parameter other than build-in supported ones.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.25 Set Status Led Pattern (1Ch) Command Set Status Led Pattern (1Ch) String %%<F1h><1Ch>< Parameter bytes><CS><CR><LF> Length Response %%<06h><1Ch ><CS><CR><LF> %%<15h><1Ch ><CS><CR><LF> Description Set up LED pattern Each bit is 200 ms long in time Type Parameters Data (Range)
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.26 Record Trace (1Dh) Command Record Trace (1Dh) Special HW required String %%<F1h><1Dh>< Parameter bytes><CS><CR><LF> Length Response %%<06h><1Dh ><CS><CR><LF> %%<15h><1Dh ><CS><CR><LF> Description Parameter Action Start/stop recording the user trace. Type Parameters Data (Range) Unit Byte # (Little-endian)
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 2.30 Set Receiver Parameters (22h) Command Set Receiver Parameters (22h) String %%<F1h><22>< Parameter bytes><CS><CR><LF> Length Response %%<06h><22h ><CS><CR><LF> %%<15h><22h><CS><CR><LF> Description Change receiver parameters: Antenna detection is a feature is used to monitor the antenna status. When it is detected fail, GPS will report $PLCS statement once and later periodically reported on the boundary 60 seconds with respect to UTC time.
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 3.0 Binary Output Message Type <F2h> This group of binary messages is output in response to commands that requests additional receiver information. Data Types Used (See Binary Input Message Type <F1h>) Byte Ordering (See Binary Input Message Type <F1h>) PL-6313 Product Datasheet - 37 -...
July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Firmware Revision (80h) Message Firmware Revision (80h) %%<F2h><80h>< Information bytes><CS><CR><LF> String Length Description Output the revision information of Prolific firmware. This message is provided by request. Type Parameters Data (Range) Unit Byte # (Little-endian) Revision code...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Epheremis Data (83h) Message Ephemeris Data (83h) %%<F2h><83h>< Information bytes><CS><CR><LF> String Length Description Output the Ephemeris information of one SV Type Parameters Data (Range) Unit Byte # (Little-endian) UINT08 Total # of ephemeris 0~32 UINT08 1~32: PRN...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Almanac Data (84h) Message Almanac Data (84h) %%<F2h><84h>< Information bytes><CS><CR><LF> String Length Description Output the Almanac information of one SV. Type Parameters Data (Range) Unit Byte # (Little-endian) UINT08 Total # of Almanac 0 ~ 32 UINT08 1~32: PRN...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Navigation Parameters (86h) Message Navigation Parameters (86h) %%<F2h><86h>< Information bytes><CS><CR><LF> String Length Description Used to show current navigation parameters Type Parameters Data (Range) Unit Byte # (Little-endian) Update rate 0 ~ 5 UINT08 0: Disable, 1: GDOP...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc System Settings (87h) Message Systems Settings (87h) %%<F2h><87h>< Information bytes><CS><CR><LF> String Length Description Used to show current system settings Type Parameters Data (Range) Unit Byte # (Little-endian) 0: 4800 1: 9600 2: 19200 COM 1 UINT08 3: 38400...
Page 44
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Inversed Flattening DPFP 27 – 34 Delta X +- 2^15 SINT16 Meter 35 – 36 Delta Y +- 2^15 SINT16 Meter 37 – 38 Delta Z +- 2^15 SINT16 Meter 39 – 40 Reserved 1 UINT32 41 –...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Packed Trace Record (88h) Message Packed Trace Record (88h) Special HW required %%<F2h><88h>< Information bytes><CS><CR><LF> String Length Description Used to output logged trace records Type Parameters Data (Range) Unit Byte # (Little-endian) Bit [15..9]: 0~127: Year, 1980~2107 1 –...
Page 46
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 3.8 Trace Buffer Configuration and Status (89h) Message Trace Buffer Configuration and Status (89h) Special HW required %%<F2h><89h>< Information bytes><CS><CR><LF> String Length Description Used to show status/configuration of the trace buffer. Type Parameters Data (Range) Unit...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Extended Trace Buffer Status (8Ah) Message Extended Trace Buffer Status (8Ah) Special HW required %%<F2h><8Ah>< Information bytes><CS><CR><LF> String Length Description Used to show status of extended trace buffer Type Parameters Data (Range) Unit Byte # (Little-endian)
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 3.10 Trace Buffer Test Status (8Ch) Message Extended Trace Buffer Status (8Ch) Special HW required %%<F2h><8Ch>< Information bytes><CS><CR><LF> String Length Description Report data logger storage status Type Parameters Data (Range) Unit Byte # (Little-endian) State 0: OK, 1: fail...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 3.12 User Position, Velocity & Time (D0h) Message User Position, Velocity & Time (D0h) %%<F2h><D0h>< Information bytes><CS><CR><LF> String Length Description Provide user PVT solution in Geodetic coordinates Type Parameters Data (Range) Unit Byte # (Little-endian) Week No...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 3.13 User Satellite Information (D5h) Message User Satellite Information (D5h) %%<F2h><D5h>< Information bytes><CS><CR><LF> String Length Description Provides satellite view information. Type Parameters Data (Range) Unit Byte # (Little-endian) Week No 1 ~ 65535 UINT16 1 - 2 Time of week...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 3.14 User Measurement Information (D6h) Message User Measurement Information (D6h) %%<F2h><D6h>< Information bytes><CS><CR><LF> String Length Description Provide channel measurement information. Type Parameters Data (Range) Unit Byte # (Little-endian) Week No 1 ~ 65535 UINT16 1 - 2 Time of week...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc 3.15 Extended Trace Record (D4h) Message Extended Trace Record (D4h) (By Firmware Update) %%<F2h><D4h>< Information bytes><CS><CR><LF> String Length Description Used to output extended trace record Type Parameters Data (Range) Unit Byte # (Little-endian) Year Bit [15..9]: 0~127: 1980~2107...
Page 54
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc PL-6313 Product Datasheet - 54 - Document Version 0.3...
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Appendix B Datum Reference List Delta Delta Delta Ellipsoid Datum Name Ellipsoid Region of Use Index WGS-84 WGS 84 Global WGS-84 WGS84 Global Adindan -118 Clarke 1880 Burkina Faso Adindan -134 Clarke 1880 Cameroon Adindan -165...
Page 57
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Delta Delta Delta Ellipsoid Datum Name Ellipsoid Region of Use Index Bellevue (IGN) -127 -769 International 1924 Efate & Erromango Islands Bermuda 1957 Clarke 1866 Bermuda Bissau -173 International 1924 Guinea-Bissau Bogota Observatory -318 International 1924 Colombia...
Page 58
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Delta Delta Delta Ellipsoid Datum Name Ellipsoid Region of Use Index Mean for Austria; Denmark; European 1950 -120 International 1924 France; W Germany; Netherlands; Switzerland Mean for Iraq; Israel; Jordan; European 1950 -103 -106 -141...
Page 59
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Delta Delta Delta Ellipsoid Datum Name Ellipsoid Region of Use Index Korean Geodetic System GRS 80 South Korea L. C. 5 Astro 1961 Clarke 1866 Cayman Brac Island Leigon -130 Clarke 1880 Ghana Liberia 1964 Clarke 1880...
Page 60
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Delta Delta Delta Ellipsoid Datum Name Ellipsoid Region of Use Index Mean for Antigua; Barbados; Barbuda; Caicos Islands; North American 1927 Clarke 1866 Cuba; Dominican Republic; Grand Cayman; Jamaica; Turks Islands Mean for Belize; Costa Rica; North American 1927 Clarke 1866 El Salvador;...
Page 61
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Delta Delta Delta Ellipsoid Datum Name Ellipsoid Region of Use Index Ordnance Survey Great -111 Airy 1830 Scotland; Shetland Islands Britain 1936 Ordnance Survey Great -108 Airy 1830 Wales Britain 1936 Pico de las Nieves -307 International 1924 Canary Islands...
Page 62
Revised Date: July 21, 2009 PL6315_Binary Message Protocol_v0.5.doc Delta Delta Delta Ellipsoid Datum Name Ellipsoid Region of Use Index Czechoslavakia (Prior 1 JAN S-JTSK Bessel 1841 1993) Santo (DOS) 1965 International 1924 Espirito Santo Island Azores (Sao Miguel; Santa Sao Braz -203 International 1924 Maria Ids)