10
5 NMEA-0183 inputs
The compass can be configured by sending various proprietary sentences to its NMEA-0183
input. Once configured, the compass will remember those settings every time it is
powered up.
Response:
When any of the following input sentences are received the A5022 will reply with an
‘acknowledge’ output sentence of the format:
$PATC,HCHDG,ACK<CR><LF>
5.1 Start Auto-Calibration
$PATC,IIHDG,IAC<CR><LF>
Refer to section 4.2. Same as pressing Switch 1 – see 4.4.
5.2 Abort Auto-Calibration.
$PATC,IIHDG,XCL<CR><LF>
Refer to section 1.3.
5.3 Resets all compass data to factory default values:
$PATC,IIHDG,0CV<CR><LF>
Output rate
u= 100 milliseconds (10 updates/second),
output damping
d= 50 percent
heading offset
f= 0 degrees.
5.4 Set heading:
$PATC,IIHDG,AHD,fff.f<CR><LF>
Forces the heading to a certain value by supplying an offset which is stored and used
thereafter.
Where f is in degrees with a valid range of 000.0 to 359.9
When f = 000.0 the result is the same as pressing switch 2 – see 1.3.
5.5 Set the Output update period:
$PATC,IIHDG,TXP,uuuu<CR><LF>
Valid range is u=100 to 3000 milliseconds. This is limited by max. data rate of NMEA-0183
output at 4800 baud.