EasyManua.ls Logo

ashtech DG16 - Page 46

ashtech DG16
390 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26 DG14 and DG16 Board & Sensor Reference Manual
Use Query commands to request information from the DG16, such as the current
operating parameters, current position, or DGPS status. Query commands begin
with the command string $PASHQ.
The DG16 responds to query and set commands by issuing an acknowledgement
of a change in operating parameters or with the specific information requested
through a query.
To become familiar with the DG16 messages, send a few common commands to
the DG16 and observe the responses. In the following steps, command
messages appear as COMMAND, and response messages appear as
RESPONSE.
Chapters 5, 6, 7, and 8 contains details on these commands and responses, as well as the rest of
the commands and responses supported by the DG16.
1. Type $PASHQ,PRT and press <Enter>. This command queries the
communication setup of the port. If you have connected the PC to serial port
A, the response message is:
$PASHR,PRT,A,5
This message indicates Port A of the DG16 is using its default
communications setup 5: 9600 baud, eight data bits, no parity, and one stop
bit.
See “PRT: Serial Port Baud Rate” on page 145 for more information on this
command.
2. Type $PASHQ,STA and press <Enter>. This command queries which
satellites are locked and their signal strength at the time the command is
sent.The response message typically might display:
TIME: 18:38:31 UTC
LOCKED:03 23 16
COUNT :54 26 17
See “STA: Satellite Tracking Status” on page 159 for more information on this
command.
3. If interfacing through port A, type $PASHS,NME,POS,A,ON,1 and press
<Enter>. This commands the DG16 to return comprehensive position
information through port A at a set rate. The default rate for NME commands
is once per second. The response message output rate is 1 HZ:
$PASHR,POS,0,08,164152.90,3721.06962,N,12156.12176,W,+00003.16
,????,008.64,000.55,+000.03,01.7,01.0,01.4,00.9,GH00*20
The data string contains the position information, assuming the receiver is
tracking a sufficient number of satellites to compute a position.

Table of Contents