beautypg.com

2 di – diagnostic message \(optional\), 3 nm – sentence mask and automatic output, Sentence bit# field value – Rikaline GPS-22 User Manual

Page 12: Rikaline

background image

GPS-22 Manual

Rikaline

Specifications subject to change without prior notice

Rikaline

Marketing Corp.

where m – sentence type: ‘Q’ for ‘query’, ‘S’ for ‘set’, ‘R’ for ‘response’; aa – proprietary sentence identifier
(see below); x1…xN – data parameters (only for set and query response sentences); hh – sentence
checksum

NOTE:
Each of the data parameters must be preceded with a comma, except for the aa sentence identifier,
and the checksum which is preceded with a checksum delimiter character ‘*’.

• QUERY sentence: to send a query sentence, no data fields are transmitted. The following format is used:

$PXEMQaa*hh


• RESPONSE sentence to QUERY: for a query sentence, a response sentence with all fields is transmitted.

The following format is used:
$PXEMRaa,x1,x2,x3,x4,….,xN*hh


• SET sentence: to send a set sentence, x1…xN must contain valid values. The following format is used:

$PXEMSaa,x1,x2,x3,x4,….,xN*hh

• RESPONSE sentence to SET: for a set sentence, a status response sentence is transmitted. The following

format is used:
$PXEMRaa,s*hh

where s is the status of the requested action: ‘A’ if the action was successful; ‘V’ otherwise.


The following proprietary NMEA sentence identifiers are implemented:

4.3.2.2 DI – Diagnostic Message (optional)

This sentence outputs a diagnostic string. It is used to report various error conditions. This is a
response-only sentence.

$PXEMRDI,ccccccc*hh where ccccccc is a diagnostic string up to 50 characteristics.

4.3.2.3 NM – Sentence Mask and Automatic Output Rate

This sentence configures the application to automatically output standard NMEA sentences at a specified
time interval.

$PXEMaNM,xxxx,xx*hh

Name Example

Units

Description

Message ID

$PXEMaNM

Proprietary NM protocol header, a-mode
(S = set; R = response)

Mask

0008

xxxx Output sentence mask, hex value
(see Notes below)

Rate

01

sec

xx Automatic output sentence rate
(00 to 99)

End of message termination


Notes:
xxxx is a hexadecimal value representing a 2-byte bit-mask where a specific bit sets or clears automatic
output of a particular NMEA sentence according to the table below. The mask is derived by combining all
bits which represents the NMEA sentences which will be automatically output. For example, to automatically
output GGA, GSA, ZDA, and RMC, the bits 0, 4, 5, and 8 are set to 1 in a 2-byte mask, resulting in a hex
value 0x131 (0x1+0x10+0x20+0x100). This value is sent as an ASCII string ‘0131’ in the xxxx field of the NM
sentence.

NMEA

xxxx

Sentence Bit#

Field value

GGA 0

0001

GLL 1

0002

VTG

2

0004

GSV 3

0008