ComNav Commander P2 & P2VS Installation & Operation Appendices
Document PN 29010074 V4.1 - 190 -
Configuration Save & Restore
You can save most of the autopilot’s system configuration on an external device – typically a
PC running HyperTerminal, set to “capture text to file”. This is done with PCMNC proprietary
sentences transmitted on the
OUT A
&
B
pins of the SPU’s
J9 – NAV I/O
connector.
These sentences can also be sent back to the autopilot (via
J9
, on the
IN 1A
&
B
pins) from a
PC, using HyperTerminal’s “send text file” function. This allows the configuration to be
“restored” at any time you want to – for example, if a brand new system is installed for any
reason, or if you want to have different configurations for different usage of the boat.
•
Not all of the configuration can be restored. For safety reasons, the configuration of
the drive system can not be restored – so you will have to repeat the
Drive Setup
procedure.
As well, the file stored on the PC is a plain ASCII text file, and so can be edited with any
“plain text” editor, if you wish to change anything in the autopilot’s configuration &/or
parameters. The full set of configuration sentences is listed in the following table.
The Configuration line in the Dockside Setup menu is how you use the Save/Restore
Configuration feature:
•
Idle is the default value – no transfer in either direction.
•
Rx begins the Restore process. Then, when you press the
F
F
n
n
button, a script will
guide you through the steps of sending ComNav configuration sentences to the SPU.
•
Tx begins the Save process. When you then press the
F
F
n
n
button, output of the
configuration sentences will begin.
⇒
A Save can also be initiated from the PC: send a PCMNS with a “START” ID to
the SPU, when Configuration is Idle.
•
See
Appendix 1
for details on wiring, Baud rates, etc.
All PCMNC sentences are structured in accordance with the NMEA standard format:
•
$PCMNC,id,field,data,field,data,…*<Checksum>
Each sentence starts with $PCMNC, followed by the sentence’s ID, then the
associated field names & data values, and then an NMEA checksum; commas
separate the ID, fields & values, and the checksum.
All the sentences in the table below are output during a Save sequence, with all fields (in the
order listed) and data values. Note that some fields are in pairs – shown as Field 1 & 2
below; if there’s only one field for a particular item, then Field 2 is shown as “–“. The table
lists all possible values for each field; numerical field values are shown as the range of
allowable values, or as “x” or “x.y”, with the implicit units of the value in parentheses where
applicable.
In a Restore sequence, the sentences, and their fields & data, can be input in any order;
sentences &/or fields can be skipped, if desired.
Here is an example of a PCMNC “save” output, on a P2VS system equipped with an RFU
and a 45° Compass Transducer:
$PCMNC,CMPS,NV2,0,0,0,0,0,NAV,DONE*31
$PCMNC,CMPS,NV1,0,0,0,0,0,NAV,DONE*32
$PCMNC,CMPS,DIG,25,1702,1785,7853,7848,FIX,DONE*6D
$PCMNC,SYS,VER,1.00,2,VSL,STRN,AOP,NONE,TYP,NONE*17
$PCMNC,USR,HS,DIG,TN,1,WT,0,ZG,60*79
$PCMNC,AUTO,LP,8,3,A,8,HP,5,3,A,5*74
$PCMNC,AUTO,TC,2,PD,0,SP,10,*5F
$PCMNC,NAV,NAV1,LMT,0.25,MAX,60,AUTO,BOTH,DIR,N*73
$PCMNC,WIND,FT,0.2,TA,0.50,0.50,PR,100,SR,NAV2,A*58
$PCMNC,WIND,TP,45,60,90,120,160*65
$PCMNC,WORK,TRM,OFF,TPT,2,SCL,1*75
$PCMNC,END*