Ashtech Micro-Z Interface Protocol Quick Reference |
||||||||||||||||||||||||||||||||||||||||||||||
Ashtech Micro-Z Interface Protocol Quick ReferenceSystem Default SettingsSerial port baud rate: 9600, 8, N, 1 Once new values are set they can be saved to memory by issuing a $PASHS,SAV,Y command to the serial port. Parameters are saved to memory until a memory reset or a receiver initialization is performed. This will reset all parameters back to their defaults.
The following command will force the receiver to default values: $PASHS,RST (hit Enter) To clear the stored almanac, emphemeris data, reset the receiver memory, set the serial
port baud rate to the specified rates, and/or send the modem initialization string through the
specified port send the $PASHS,INI command. The format of the command is $PASHS,INI,d1,d2,d3,d4,d5,c6
where d1-d4 are the default baud rate codes for ports A-D, d5 is the reset memory code and takes a
value of 0-3 with the following codes:
0 = No memory reset For example, sending $PASHS,INI,5,5,5,5,3,0 will do a full receiver reset. Codes 0 and 2 behave like a power cycle. Codes 1 and 3 reset all parameters to default as well as the ephemeris and almanac. Code 2 and 3 reformat the memory card by clearing the FAT table and directory structure. The parameter c6 sets the modem initialization and takes values A-D or 0 = no initialization. System Initialization - Baud RateThe $PASHQ,PRT quarries the baud rate of the current port. The return is $PASHR,PRT,c1,d2*cc where c1 is the port (A,B,C,D), d2 is the port code listed below and *cc is the checksum. 0 = 300 To set the baud rate of a port send the following command $PASHS,SPD,A,9 (hit Enter) this sets port A to 115200.
System Information
Meteorological Unit Commands
For example: $PASHS,MET,INTVL,C,10 BINEX CommandsTurn on/off BINEX output: Set observables output interval: Control output of individual record type: Query the output status Streaming Example# check to make sure you are connected, and to which port # Set Port A, C, and D baud rates to 38400 # Turn off data recording # Set the elevation mask to zero # Set the binex output interval # Turn binex on on port A # Save the current set up as power down default # Query the status of binex output. Note that binex records are set on for port A. MORE EXAMPLES: Connect to the receiver in terminal mode: COMMAND: sharc --port /dev/ttyS0 --baud 38400 --terminal 1. Reset ashtech - a power cycle For 9600 ports -> COMMAND: $PASHS,INI,5,5,5,5,0,0 For 19200 ports -> COMMAND: $PASHS,INI,6,6,6,6,0,0 For 38400 ports -> COMMAND: $PASHS,INI,7,7,7,7,0,0 For 115200 ports -> COMMAND: $PASHS,INI,9,9,9,9,0,0 - hard reset will remove programed session info and site name and data For 9600 ports -> COMMAND: $PASHS,INI,5,5,5,5,2,0 For 19200 ports -> COMMAND: $PASHS,INI,6,6,6,6,2,0 For 38400 ports -> COMMAND: $PASHS,INI,7,7,7,7,2,0 - hard reset will SLEDGE HAMMER For 9600 ports -> COMMAND: $PASHS,INI,5,5,5,5,3,0 For 19200 ports -> COMMAND: $PASHS,INI,6,6,6,6,3,0 For 38400 ports -> COMMAND: $PASHS,INI,7,7,7,7,3,0 2. Add site name SEY1: COMMAND: $PASHS,sit,SEY1 3. Program sessions: One 24 hour session COMMAND: sharc --port /dev/ttyS1 --baud 38400 --session 24,30,5,1 24 hourly session COMMAND: sharc --port /dev/ttyS1 --baud 38400 --session 1,30,5,1 4. Start/restart/stop survey COMMAND: $PASHS,REC,R/Y/N (R = rester, Y = start, N= stop) 5. check status COMMAND: $PASHQ,INF 6. Check files COMMAND: $PASHQ,FLS,0 7. Current receiver setting: $PASHQ,PAR 8. rX DATA RECOERDING SETTINGS: $PASHQ,RID 9. # od SVs locked $PASHQ,STA 10. Stop stream $PASHS,OUT,A $PASHS,BNX,OFF,A 11. Start stream (20 second) $PASHS,OUT,A,MBN,PBN,BIN 12. change output to serial port 10 sec rate $PASHS,DOI,10 13. Session programming Terminal-> $PASHS,SES,SET,A,Y,000000,235959,30,00,01,0 Terminal-> $PASHQ,SES 14. Enable Ring File $PASHS,FMR,Y 15. set port to 115K $PASHS,SPD,A,9 set port to 192.K $PASHS,SPD,A,6 Questions or problems with receiver firmware uploading may be directed to Ashtech Technical Suport at: (408)615-3980, 1-800-229-2400, or supportmagellangps.com |
||||||||||||||||||||||||||||||||||||||||||||||
Posted by: Beth Bartel - August 18, 2010. This article has been viewed 773 times. | ||||||||||||||||||||||||||||||||||||||||||||||
Online URL: https://kb.unavco.org/article/ashtech-micro-z-interface-protocol-quick-reference-369.html |
Powered by PHPKB (Knowledge Base Software)