Home

Generic RS-232 Communication Protocol 365

image

Contents

1. Command CmdI 0 This is where you would parse the command string ProcessCommand Command process the command string else Checksum error handling here State STSEARCHING break end switch CMDIFrameWnd OnTimer nIDEvent MS VC stuff 365 8005 Rev A 9 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc This page left blank intentionally 365 8005 Rev A 10 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Setup Command Response Response Non Volatile Factory Default Compatibility 365 8005 Rev A Antenna cable delay value input output ANTD Setup Command ANTD N lt crilf gt Query Command ANTD lt crilf gt Response ANTD N lt cslcrllf gt Description Retrieves and sets the antenna cable delay compensation value internal timing offset Fields Symbol Range Description N 99999 to 99999 Nanoseconds for GPStarplus 365 000000 to 999999 Nanoseconds for AccuSync GPStarplus 465 and GPStarplus 565 ANTD 234 lt crllf gt ANTD 00234 lt cslerilf gt This example applicable to the GPStarplus 365 will set the antenna cable delay value to 234 nanoseconds Propagation delay for most cable is approximately 1 5 nanoseconds per foot Thus for a 100 foot cable the antenna cable delay value should be set to 150ns ANTD 000234 lt cslerilf gt This example applicable to the AccuSync and GPStarp
2. Time difference value is valid only in Time Lock mode GPStarplus AccuSync 45 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Time output TIME Setup Command TIME lt crilf gt Response TIME Y D H M S m T O lt cslerllf gt Description Retrieves the current time that the unit has calculated Fields Symbol Range Description Y to 9999 Year D 1 366 Day of Year H 0 23 Hour M 0 59 Minute S 0 59 Seconds m 1 5 Time Mode where 1 GPS Time 2 UTC Time 3 LUTC Local UTC Time 4 LGPS Local GPS Time 5 MAN Manual Time T 4 9 TFOM See Time Figure of Merit table O 0 4 Operation Mode where 0 Warm up 1 Time Locked 2 Coasting 3 Recovering 4 Manual Manual Time Compatibility GPStarplus AccuSync 365 8005 Rev A 46 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Figure 1A Time Figure of Merit TFOM for GPStarplus AccuSync CommSync TFOM Value Expected Time Error ETE Ps oeae Pct siom __ tomers 365 8005 Rev A 47 FEI Zyfer Generic RS 232 Communication Protocol Time Mode input output Copyright 2005 FEI Zyfer Inc TIMM Setup Command TIMM M L lt crilf gt Setup Command TIMM lt crlilf gt Response TIMM M L lt cslerllf gt Description Sets the time mode and local time offset Fields Symbol Range Description M 1 5 Time Mode where 1 GPS Time 2 UTC Time 3 LUTC Local UTC Time 4
3. LGPS Local GPS Time 5 MAN Manual Time L 12to12 Local Hours Offset from UTC Compatibility GPStarplus Setup Command TIMM M h m lt crilf gt Setup Command TIMM lt crilf gt Response TIMM M h m lt cslerllf gt Description Sets the time mode and local time offset Fields Symbol Range Description M 1 4 Time Mode where 1 GPS Time 2 UTC Time 3 LUTC Local UTC Time 4 LGPS Local GPS Time 5 MAN Manual Time h 14 to 14 Hours Local Offset behind or ahead of UTC m 0 or 30 Minutes Local Time Offset from UTC Compatibility AccuSync 365 8005 Rev A 48 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Time Of Day output port TOD Setup Command Query Command Response Description Compatibility Setup Command Query Command Response Description Compatibility 365 8005 Rev A NONE Message is generated continuously NONE Message is generated continuously TIME Y D H M S m T O The TOD message is modeled after the TIME message All fields within the TOD message are the same as the TIME message except for the on time character l The rising edge of the first bit of the on time character occurs within ms after the rising edge of the 1 PPS reference signal NOTE The RS 232 settings for this port are fixed at 9600 baud 8 data bits one stop bit and no parity Please see the TIME message for a description on each field GPStarplus
4. NONE Message is generated continuously NONE Message is generated continuously TIME Y D H M S m T O lt crilf gt The TOD message is modeled after the TIME message All fields within the TOD message are the same as the TIME message except for the on time character l The rising edge of the first bit of the on time character occurs within 1 ms after the rising edge of the 1 PPS reference signal Note The RS 232 settings for this port are fixed at 9600 baud 8 data bits one stop bit and no parity The message string is terminated with a carriage return followed by a linefeed Please see the TIME message for a description on each field AccuSync 49 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Time Of Day String input output TODS Setup Command TODS M lt crilf gt Query Command TODS lt crilf gt Response TODS M lt cslcrllf gt Description Reads or sets the rate of the Time Of Day TOD output message to either every second or every even second Fields Symbol Range Description M lor2 Message output rate where 1 Every second 2 Every even second Compatibility AccuSync 365 8005 Rev A 50 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Setup Command Query Command Response Description Fields Compatibility 365 8005 Rev A Time Recovery Mode input output TRMO TRMO X lt crllt gt TRMO lt crllf gt T
5. SWI System 015 NanoSync TCXO 016 NanoSync SOCXO 017 NanoSync DOCXO 018 NanoSync Rubidium 019 29 Reserved 030 CommSync II 031 999 Reserved S ASCII Product name See N symbol Compatibility As indicated 365 8005 Rev A 32 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Rate Output input output ROUT Setup Command ROUT C M R LD lt crilf gt Setup Command ROUT lt crilf gt Response ROUT B M R LD lt cslerllf gt Description Sets the specified pulse rate output port to a desired rate or reads the setting Fields Symbol Range Description C A or B Output port to set M 1 19 See mode table R 2 1000000 Rate in microseconds I Oor 1 Invert flag where 0 No inverted output 1 Inverted output D 1 or 0 Divide by 2 where 0 No division 1 Divide by 2 365 8005 Rev A 33 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Mode Table Set selected channel to programmed rate between 2us and 1000000us Select 1us pulse or square wave output Select normal or inverted wave form Compatibility GPStarplus 365 8005 Rev A 34 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Reset GPS receiver input RSTG Setup Command Response Description Fields Setup Command Response Description Compatibility 365 8005 Rev A RSTG N lt crllf gt RSTG N lt cslcrilf gt Re
6. table below for description High Frequency Synthesizer board Low Frequency Synthesizer board Note If no option board is installed the response is 255 GPStarplus 30 FEI Zyfer Generic RS 232 Communication Protocol Position Average Status output Query Command Response Description Fields Compatibility 365 8005 Rev A PAVG lt crllf gt Copyright 2005 FEI Zyfer Inc PAVG PAVG D M H D M H A S lt cslerllf gt Retrieves the last value of the averaged latitude longitude and altitude of the connected antenna Same as SPOS data Symbol Range D 0 89 M 0 0 59 9999 H NorS D 0 179 Mi 0 0 59 9999 H E or W A 300 0 to 99999 9 S 02 GPStarplus AccuSync Description Latitude degrees Latitude minutes Hemisphere Longitude degrees Longitude minutes Hemisphere Altitude in meters Number of samples taken 31 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Product ID output PRID Setup Command PRID lt crilf gt Response PRID N S lt cslcrilf gt Description Outputs the product ID and short string description Fields Symbol Range Description N 000 999 Product ID where 000 GPStarplus 001 KStar 002 KStar II 003 GPSync Obsolete 004 PCS GPS 005 LStar 006 CommSync 10 MHz 007 CommSync 5 MHz 008 RPCS GPS 009 Teletrac AccuSync 010 GPStat II 011 AccuSync I 012 Compact GPS 013 SWI Module 014
7. will be truncated A default baud rate of 19200 or greater is recommended for optimum performance The following listing segment illustrates the decoding of the RS 232 command protocol The target system is Windows 3 11 using Microsoft Visual C and the standard Windows communication interface This is only a listing segment and is only illustrates the technique of building a command It is not intended as a solution to a communication protocol driver VAA AA AAAA LAA AALALA ATALA ALA LLLLFSALDLN BS AA LOVES SS AML CS LAA AAA AAA AALV LAA A S VA VALL The following definitions define a typical command building sequence define STSEARCHING d Searching for SOM define STGETDATA 2 retrieving data define STCHECKSUM1 3 getting checksum character 1 MSNibble define STCHECKSUM2 4 getting checksum character 2 LSN static char State STSEARCHING default searching static unsigned char Checksum 0 default static unsigned char GPSChecksum static char Command 300 command buffer static int CmdI command index A AAA A AAA A AAA AAA AAA ANAA TTA This function resides in the main frame as a 100 ms timer Hence the RS 232 communications is in polling mode void CMainFrame OnTimer UINT nIDEvent char s 550 char c int len i COMSTAT ComStat TITTTTTTTTTTTTTTT TTT AFA AAA ANAA AA TTT ATTA TTA Read characters from a buffer if len ReadComm g_Sio idComDev s 512 lt 0 GetCommErro
8. 0606 EEEE Sk LEAP 25 Lock Keypad Edit Key input output esssseesssseesssseeessseesssseesssseesssseesesseesssseesesseeessseesesseeee LOCK 26 Manual Time Mode input OUtput sessies ani aa ekaa E a EKRAANE eNA MANM 27 Message output unsolicited seeeesseesssseesssseesesseeeesseesssseesesseeeosseesesseeessseesesseeeesseeeesseeee MESG 28 Not Time Locked Count OUtpUt ciinii eitia a a ea ne NTLC 29 Option Board OUfput vicsisccccsssasecessivtaccesatscccadencececddesecaudevdeccasaebecdudeacaceasaacedavsseeeccdsaeeeccadentese OPBD 30 Position Average Status OUTPUT ceecccccssssceceeesceceeeesceceeeesceceeessceceeeeseeseeesecesseaeeeeesenenss PAVG 31 Product ID OUTPUT lt i sccecandecccedassteceavesceceds soececan deudcesa svecccsvecedccdasoucecandesededaaeeeccaseeedceds AREALE deeeds PRID 32 Rate Output INPU OUTPUT earita anaana a aAA AE aaa anA EAA EEEn aAA S ROUT 33 Reset GPS receiver input sseesssseesssseesssseesssseesesseesesseesesseesesseesesseeeesseeessseesesseesesseesssee RSTG 35 Set Output Frequency input output sssseesssseesssseesssseesssseesssseesesseesesseesesseesesseesesseesssereesse SETF 36 365 8005 Rev A 5 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Satellite Signal quality OUTPUT ossidi seini citar s TEEN EEE E T T EE A SIGQ 37 Set Synthesizer frequency input output sseesssseesssseesssseesssseesssseesssseesesseese
9. 5 8005 Rev A 6 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc RS 232 Communications Introduction The communication protocol consists of command sentences where each command can be queried for a response or the command can be set up for an unsolicited response Each message sentence is encased between ASCII and character After the delimiter there is a 2 byte hexadecimal ASCII checksum followed by a carriage return and a linefeed The checksum is calculated by X ORing each successive byte in the message sentence between but not including the and characters The checksum is not needed for sending commands However a checksum is always includes in a sentences sent back through the communications port to the user Unsolicited Response Several commands can have an unsolicited flag enabled By enabling the unsolicited flag the command will respond accordingly depending on when new information is available The GPS engine drives most of the unsolicited responses Use the UNSL command to enable or disable unsolicited flag for a particular command See the UNSL command for more information Queried Response Unit Identification Sending the specified message to the user port generates queried responses Each message has its own response characteristics Several messages can be queried at one time for multiple responses If for some reason sent message has not been responded to
10. 5000000 Frequency in Hz Please note that this function will not perform any range checking For the low frequency synthesizer use values between Hz and 150 000 Hz For the high frequency synthesizer board use values between 100 000 000 and 15 000 000 Hz with 5 Hz resolution If values outside the recommended values are used unpredictable results may occur GPStarplus 38 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Latitude and Longitude and Elevation position output SPOS Query Command Response Response Fields Compatibility 365 8005 Rev A SPOS lt crllf gt SPOS D M H D M H A lt cslcrllf gt Retrieves the last value of the averaged latitude longitude and altitude of the connected antenna Same as PAVG data Symbol Range Description D 0 89 Latitude degrees M 0 0 59 9999 Latitude minutes H NorS Hemisphere D 0 179 Longitude degrees Mi 0 0 59 9999 Longitude minutes H E or W Hemisphere A 300 00 to 17680 00 Altitude in meters GPStarplus AccuSync 39 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Clear Time Tag Buffer TAGC Setup Command Response Description Compatibility 365 8005 Rev A TAGC lt crilf gt TAGC lt cslcrllf gt Clears the internal time tag buffer and resets the time tag counter to zero The buffer is capable of holding 100 time tags If the time tag mode is set to wrap mode se
11. C S N C S N C S N C S N C S N C lt cslerllf gt Outputs satellite PRN signal strength and tracking mode Symbol Range Description S 00 32 Satellite PRN number N 0 9 Signal strength where 0 is no signal and 9 represents full signal and 8 9 Very good 6 7 Good 4 5 Weak lt 3 Not usable The signal strength value N is calculated from the GPS receiver s Signal to Noise Ratio value SNR as follows SNR 25 2 5 where SNR is expressed as dB Hz C 0 2 Tracking mode where 0 Searching 1 Acquiring 2 Using for navigation timing Although some receivers track more than 8 satellites the SIGQ command returns PRN tracking information for up to 8 satellites Use the following table to determine the number of satellite channels your unit can track The GPSE command will inform you to what GPS engine you are using Magellan 5 Channel Motorola UT 8 Channel Navman Jupiter T 12 Channel Motorola M12 12 Channel GPStarplus AccuSync 37 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Set Synthesizer frequency input output SNTH Setup Command Query Command Response Description Fields Compatibility 365 8005 Rev A SNTH N lt crilf gt SNTH lt crilf gt SNTH N lt cslerilf gt Retrieves or sets the synthesizer frequency This option is only available if the low frequency or high frequency board is installed Symbol Range Description N 1 1
12. FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc FEI Zyfer Generic RS 232 Communication Protocol 365 8005 Revision A For the Use With GPStarplus AccuSync 365 8005 Rev A 1 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc This page intentionally left blank 365 8005 Rev A 2 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc DATE AMENDMENTS June 20 2000 Rev 1 93 Changed TOD message from TIME Y D H M S M T O lt cslcrllf gt to TIME Y D H M S M T O lt cslcrllf gt July 7 2000 Rev 1 94 Added GPStarplus 565 to description field of ANTD command Oct 16 2003 Changed Rev from 1 94 to N C Jan 4 2005 Rev A Deleted command related to CommSync product Added Motorola M12 and Navman receiver details Changed description of commands GDOP GPSE SIGQ TRMO and VERS Deleted commands RSAH and SSLT 365 8005 Rev A 3 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc This page left blank intentionally 365 8005 Rev A 4 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc RS 232 COMMUNICATIONS 0 0 carbe 2 GT a a 4 ECA a GCS AER a Introduction 7 Programming Considerations 8 Antenna cable delay value input output sssesseesseesseesseesserssersseesseesseesseessressresseesseesseeseee ANTD 11 Azimuth and Elevation output
13. RMO X lt cslerllf gt Retrieves or sets the Time Recovery Mode of operation Note The user can only select the Dynamic and Position Average Survey mode The known mode is automatically determined by the receiver Symbol Range Description X D Dynamic K Known Read Only P Position Averaging Survey Dynamic mode is for use in a moving platform or to determine the user s location Known mode is reported by the receiver after it has established its location through its internal auto survey mechanism Position averaging Survey mode is the mode the receiver is in while running its auto survey process The receiver uses 3 D Lat Lon and Alt values when the receiver has acquired a minimum of four satellites with good satellite geometry to compute an averaged position At the end of the survey process the unit automatically enters the Known mode using those computed values Selecting the Position averaging Survey mode from the Known mode typically results in the unit quickly switching back to the Known mode This is due to the receiver already having valid position data GPStarplus AccuSync 51 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Unsolicited flag input UNSL Setup Command Response Description Fields Compatibility UNSL S lt crllf gt UNSL S C lt cslerllf gt Sets or clears the unsolicited flag for a particular command Symbol Range Description S Alphanume
14. after five seconds it can be assumed that the message was not received The RS 232 protocol has the ability to send unit identification with each message This will allow the user to identify where a particular message was originated However the command sentence changes slightly Recall that each message sentence is encased between ASCII and character The only difference is that after the character there is an identification number followed by a comma For more information see the Set Unit Identification SETI function This function should be enabled and setup using the front panel Please refer to the product user manual for details Modem Operation The RS 232 protocol does not support modem operation Nevertheless you may connect a modem that has been setup to answer an incoming call Please note that if unsolicited messages are enabled while the modem is waiting for a call the modem may disconnect the call during the connection process Thus using the unit in a quarry mode is recommended 365 8005 Rev A 7 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Programming Considerations The communication protocol was designed for both terminal input and computer input For this reason an ASCII command set is used Be aware that there are finite sized send and receive buffers in the unit about 2048 bytes total If the buffer should get full all remaining commands sent to the unit
15. e TAGM the list is automatically cleared when the maximum number of time tags is reached and the time tag is set to zero GPStarplus 40 FEI Zyfer Generic RS 232 Communication Protocol Setup Command Response Description Fields Time Tag Most Recent output TAGL TAGL lt crllf gt TAGL T D H M S N lt cslerllf gt Displays the most recent time tag Symbol Range Description T O 100 Time tag number D 1 366 Day of time tag H 0 23 Hour of time tag M 0 59 Minute of time tag S 0 59 Second of time tag N 0 9999999 Hundreds of nanoseconds GPStarplus Compatibility 365 8005 Rev A Copyright 2005 FEI Zyfer Inc 41 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Set Time Tag Mode input output TAGM Setup Command Setup Command Response Description Fields Compatibility 365 8005 Rev A TAGM M lt crllf gt TAGM lt crllf gt TAGM M lt cslerllf gt Retrieves or sets the time tag mode of operation Currently there are two modes of operation wrap mode and burst mode In wrap mode time tags are recorded into a buffer and when the buffer reaches its limit it resets itself and wraps back to the beginning In burst mode time tags are stored in to a buffer and when the buffer fills no more time tags are stored Symbol Range Description M W or B Set time tag mode where W wrap mode B burst mode GPStarplus 42 FEI Zyfer Generic RS 232 Com
16. ifference value is the same then no Leap second event is pending If the difference value is greater or smaller then a Leap second event is pending Non Volatile No Factory Default 00 Present Leap Seconds and 00 Future Leap Seconds Compatibility GPStarplus AccuSync 365 8005 Rev A 25 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Lock Keypad Edit Key input output LOCK Query Command LOCK lt crilf gt Setup Command LOCK N lt crilf gt Response LOCK N lt cslerllf gt Description Retrieves the status or sets Disable Enable status of the keypad edit key Fields Symbol Range Description N Oor 1 0 Unlock 1 Lock Compatibility GPStarplus 365 8005 Rev A 26 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Manual Time Mode input output MANM Setup Command Response Query Command Response Description Fields Non Volatile Compatibility 365 8005 Rev A MANM E Y M D H M S lt crilf gt MANM E Y M D H M S lt cslerllf gt MANM lt crllf gt MANM E lt cslerilf gt Retrieves the manual time mode setting or enables disables the manual time mode When enabled this command allows setting of the time Symbol Range Description E Oor 1 Enables or disables manual mode where 0 Disable 1 Enable Y 0 9999 Year M 1 12 Month D 1 31 Day H 0 23 Hour M 0 59 Minutes S 0 59 Seconds Note If the man
17. ight 2005 FEl Zyfer Inc Estimator Standard Deviation output ESSD Query Command Response Description Fields Compatibility 365 8005 Rev A ESSD lt crllf gt ESSD N lt cslerilf gt Outputs the most recently calculated Standard Deviation of the Estimator error actual estimated time error Symbol Range Description N 0 to 1 00E 999 Standard error of estimate GPStarplus Accusync 17 FEI Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Estimator Sample Number output ESSN Query Command Response Response Fields Setup Command Response Compatibility 365 8005 Rev A ESSN lt crllf gt ESSN N lt cslcrllf gt Outputs the current estimator sample One sample is taken per second Symbol Range Description N 0to2 Sample number ESSN lt cslcrllf gt ESSN 0000010935 lt cslerllf gt This example indicates that the current estimator sample is 10935 seconds GPStarplus AccuSync 18 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Estimator Cycle output ESTC Query Command Response Description Fields Compatibility 365 8005 Rev A ESTC lt crllf gt ESTC N lt cslerilf gt Outputs the completed number of estimator cycles Specifically an estimator cycle is where all of the statistical computed terms EFER ESSN ESSD are reset to zero The period in which a complete estimator cycle is comp
18. ilf gt Outputs information on the particular GPS engine the unit is using Symbol Range Description M 0 3 GPS engine manufacture where 0 Magellan 1 Motorola 2 Navman Jupiter T 3 Motorola M12 C 1 12 Number of channels the GPS engine is capable of N 1 2 Number of GPS engines installed Use Following table to determine the number of satellite channels your unit can track Magellan 5 Channel Motorola UT 8 Channel Motorola M12 12 Channel Navman Jupiter T 12 Channel GPStarplus AccuSync 23 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Time Code Output Format input output IRIG Query Command Setup Command Response Description Fields Compatibility 365 8005 Rev A IRIG lt crllf gt IRIG N lt crllf gt IRIG N lt cslerllf gt Reads or selects the IRIG time code output format Symbol Range Description N A B or G IRIG output format for IRIG A B or G GPStarplus 24 FEI Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc GPS UTC Time Difference output LEAP Query Command LEAP lt crilf gt Response LEAP P F lt cslerllf gt Description Reports the present and future difference in seconds between GPS time and UTC Fields Symbol Range Description P 00 to 99 Present difference in seconds between GPS and UTC time F 00 to 99 Future difference in seconds between GPS and UTC time Note If the Present and Future d
19. lete is set by the estimator period ESTP command Symbol Range Description N 0 9999999 Current estimator cycle GPStarplus AccuSync 19 FEI Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Estimator Period input output ESTP Query Command Response Description Fields Compatibility 365 8005 Rev A ESTP lt crilf gt ESTP N lt cslcrllf gt Retrieves the estimator period Estimator periods or estimator cycles is a period in seconds where all of the statistical computations are calculated EFER ESSN ESSD Symbol Range Description N 100 9999999 Estimator period in seconds Default is 86400 GPStarplus Accusync 20 FEI Zyfer Generic RS 232 Communication Protocol Event Trigger input output Query Command Setup Command Response Description Fields Compatibility 365 8005 Rev A EVTG lt crilf gt EVTG D H M S N H H MiMi S 1S 1 T P I lt crIlf gt S EVTG D H M S N H H1 M M S 1S 1 T P I lt cslcrIlf gt Copyright 2005 FEI Zyfer Inc EVTG Retrieves or sets the event trigger start time pulse repetition rate pulse width and output polarity Symbol Range D 1 366 H 0 23 M 0 59 S 0 59 N 0 9999999 H H 0 99 MM 0 59 SiS 0 59 T 0 99 P 0 000001 8 99999 I Oor 1 GPStarplus Description Day of event trigger start time Hour of event trigger start time Minute of event trigger start time Second of event trigger star
20. lus 465 and 565 will set the antenna cable delay value to 234 nanoseconds Propagation delay for most cable is approximately 1 5 nanoseconds per foot Thus for a 100 foot cable the antenna cable delay value should be set to 150ns Yes Ons GPStarplus AccuSync 11 FEI Zyfer Generic RS 232 Communication Protocol Azimuth and Elevation output Query Command Response Description Fields Compatibility 365 8005 Rev A AZEL lt crilf gt Copyright 2005 FEI Zyfer Inc AZEL AZEL N S E A S E A lt cslerllf gt Outputs the satellite PRN followed by the elevation in degrees above the horizon and azimuth in degrees relative to true north This command message may very in length Although the maximum number of satellites will never exceed twelve 12 Symbol Range N 00 to 12 S 00 to 32 E 00 to 90 A 000 to 359 GPStarplus AccuSync Description Satellites in view Sat PRN number A 00 will indicate that there is no information available Elevation Azimuth 12 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Beep On Off Setup Command Response Description Fields Non Volatile Compatibility 365 8005 Rev A BEEP BEEP N lt crllf gt BEEP N lt cslerllf gt This command enables or disables the 1PPS beep Symbol Range Description N 1 or 0 1 On 0 Off Yes GPStarplus AccuSync 13 FEl Zyfer Generic RS 232 Communication Protocol Co
21. munication Protocol Time Tag output Setup Command Response Description Fields Compatibility 365 8005 Rev A TAGT lt crilf gt TAGT T D H M S N lt cslerllf gt Copyright 2005 FEI Zyfer Inc TAGT Displays the time tag buffer The output may be many lines of time tags depending on the amount of time tags recorded Symbol T i m Z GPStarplus Range 0 100 1 366 0 23 0 59 0 59 0 9999999 Description Time tag number Day of time tag Hour of time tag Minute of time tag Second of time tag Hundreds of nanoseconds 43 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Internal Temperature output TEMP Setup Command Response Description Fields Compatibility 365 8005 Rev A TEMP lt crllf gt TEMP N lt cslerllf gt Reports the internal temperature on the unit Symbol Range Description N 25 0 C to 85 0 C Temperature range GPStarplus AccuSync 44 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Time difference between GPS 1 PPS and oscillator 1 PPS output TIMD Setup Command Response Description Fields Compatibility 365 8005 Rev A TIMD lt crilf gt TIMD N lt cslerllf gt Outputs the time difference between GPS receiver s PPS output and the unit s 1 PPS output in nanoseconds Symbol Range Description N 0 to 268435456 Time difference in nano seconds Note
22. pyright 2005 FEl Zyfer Inc DAC control input output DACV Setup Command DACV N lt crilf gt Query Command DACV lt crilf gt Response DACV N lt cslerilf gt Description Sets or reads the DAC value Fields Symbol Range Description N 0 65535 DAC value for oscillator where 32767 is center voltage Compatibility GPStarplus AccuSync 365 8005 Rev A 14 FEI Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Estimator Frequency Error last value output EFER Query Command Response Description Fields Compatibility 365 8005 Rev A EFER lt crllf gt EFER N lt cslerllf gt Outputs the most recently calculated frequency error estimate Symbol Range Description N O 1 00E 999 Calculated frequency error GPStarplus AccuSync 15 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Error Message output ERRX Query Command Response Description Fields Compatibility 365 8005 Rev A ERRX lt crllf gt ERRX N M lt cslerilf gt Display a new or most recent error Symbol Range Description N 0000 FFFF Error number M Alpha numeric ASCII error message 0x0002 Could not write DAC value to EEROM 0x0003 GPS receiver input buffer over flow buffer purged 0x0004 GPS Communication error Cycling Resetting GPS 0x0005 GPS GOOD error Resetting GPS GPStarplus AccuSync 16 FEl Zyfer Generic RS 232 Communication Protocol Copyr
23. r g_Sio idComDev amp ComStat Clear the error MS says so if len 0 return no characters then just leave len abs len SSS LA ATF ATLAS TAL T ASAT AT ATA AAT AAD AL ALATA TAT ATA AAT ALT AAT ATA A ATAATA LAT ALA LALA A Go through buffer and build a command for i 0 i lt len i c s i get character from our temporary buffer switch State SLS SL VT LS TA LL VT LA VAALIA LLAS TST AS SS SS TATA TATA LIAN LIA IAIA LUVIN case STSEARCHING if c State STGETDATA Checksum 0 CmdI 0 reset command index to 0 break V1V1 11 NAVA VAV ATIT ATTA TTT TATA TTT ATT TTT ATA T TTT T TTT 365 8005 Rev A 8 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc case STGETDATA if c Checksum c Command CmdI c save data into command if CmdI gt 256 State STSEARCHING No more than 256 else State STCHECKSUM1 break SLS S SSS STTTS SSS SSS T LLSA LS TS CVAN LLAS LS ALS LULA PS SS CLAN LS TA LSTAS LS SALS L case STCHECKSUM1 GPSChecksum c 0 get msb of checksum if GPSChecksum gt 9 GPSChecksum A 9 1 GPSChecksum GPSChecksum lt lt 4 State STCHECKSUM2 break TITTTTTTTTTTTTTTTTT ATT TTT ATT TATA TTA case STCHECKSUM2 c c 0 get lsb of checksum if c gt 9 c VAV 9 2 1 GPSChecksum c Check checksum and process messages if CS is OK if Checksum GPSChecksum
24. ric Four character command C lor0 1 Enable unsolicited flag 0 Disable unsolicited flag To disable all messages from output use the following statement UNSL XXXX 1 lt crllf gt The following table lists essential commands that have unsolicited flags Table Unsolicited Commands Interval in Seconds 1 5 10 30 86400 Any Time 365 8005 Rev A LEAP ESTC NTLC Anytime refers to a user interaction from the keypad on box level products If board level product is used then these commands must be queried This does not apply to the ERRX and MESG command 52 FEI Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Get Current Firmware Version output VERS Setup Command Response Description Fields Compatibility 365 8005 Rev A VERS lt crllf gt VERS V D G P lt cslerllf gt Reports the installed application code version and date receiver firmware version and application code number Symbol Range Description V VXx XX XX Application code version D Month Day Year Application code date G Varies GPS engine version P Alphanumeric Application code part number GPStarplus AccuSync 53
25. sets GPS receiver to a cold start re initializes the GPS receiver Symbol Range Description N C C Represents a cold start RSTG C lt crllf gt RSTG C lt crllf gt Re initializes the GPS receiver while maintaining current almanac and ephemeris Issuing a cold start re initializes the receiver The receiver will start to search the sky to acquire active GPS satellites This process could require several minutes to complete GPStarplus AccuSync 35 FEI Zyfer Generic RS 232 Communication Protocol Set Output Frequency input output SETF A B C lt crilf gt SETF lt crilf gt Setup Command Setup Command Response SETF A B C lt cslerllf gt Description or reads the selection Fields Symbol Range A 0 1 5 10 B 0 1 5 10 C 0 1 5 10 Compatibility GPStarplus 365 8005 Rev A Copyright 2005 FEI Zyfer Inc SETF Retrieves the selection or selects the frequency of the frequency output ports Description Port 1 frequency setup where 0 Off 1 1MHz 5 5 MHz 10 10 MHz Port 2 frequency setup where 0 Off 1 1 MHz 5 5 MHz 10 10 MHz Port 3 frequency setup where 0 Off 1 1 MHz 5 5 MHz 10 10 MHz 36 FEI Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Satellite Signal quality output SIGQ Setup Command Setup Command Response Fields Compatibility 365 8005 Rev A SIGQ lt cerllf gt SIGQ S N C S N C S N
26. sseeessseeessseeeess SNTH 38 Latitude and Longitude and Elevation position output ssssesssssssesssesssesseesseessersseessersseess SPOS 39 Clear Time Tag Buffet ys EE E GAA E A TAGC 40 Time Tag Most Recent output sseseesesssssseseeeesssssssseeersesssssseecesesssssseseesessssssescesesssssseeeeeeo TAGL 41 Set Time Tag Mode input OUtpUut 0 cccceccccceeseececeeseeceeseneecesseneeeesseaeesesseneeeesseeesesseeeeeeea TAGM 42 Time Tag 0Utput scs ssi coca 2 Ser ee RA se b ARCA R ARAS cee saad ce eedagenevesaaadeueeasesbuvevaddeendaaeeeveduadaeess TAGT 43 Internal Temperature output sssesssesssesssesssesssesssesssesssesseesseesseesseesseosseesseosseesseoseeeseeeseeo TEMP 44 Time difference between GPS 1 PPS and oscillator 1 PPS output cccciccccciicicriiinns TIMD 45 TIMES OUPA aaora T ATE AAT N TIME 46 Time Mode nput o0tput ensten rE EA EEEN A EERE EEO ETE TIMM 48 Time OnDay OULpUL POM n a R A4 A GAAS Aa 9 TOD 49 Time Of Day String input output cccccccccccccccsccoscococccrocssooooocavesssooooconeenssosoooonenassasouss TODS 50 Time Recovery Mode input output sesesesesesesssesssesssesssesseesseesseesseesseesseesscesseesseesseesseeseee TRMO 51 Unsolicited Hag iMpuUt zam 225209 006082 24 SS FARA Hohe Wont E E E Ea SDS UNSL 52 Get Current Firmware Version output sesseesssseesssseesssseesssseesssseesssseesesseesesseesesseeessseeeess VERS 53 36
27. ssessssesseesseessersseesserssressressreseresssesseeseeeseosseessessseeseeeseesseesse AZEL 12 Beep On Off merui n e a a a a n AA cece Al aed nee aad tar BEEP 13 DAC Control INPUt OUTPUT ccc eeecccccesesceceeeesceceeeeseeceeeseeceaeeeeceeessceseeeseceeseeeeceeseneeceeeagenss DACV 14 Estimator Frequency Error last value output cccccceeseececeeseececeeeeececseeeececseneececseaeeeeeeenens EFER 15 Error MesSage OUtDUE ccccsccccecisaccccetescccecessecccendecccausscecccateccdcctesceeddasdeccdaesesceddavenecdaeessedaaaseees ERRX 16 Estimator Standard Deviation OUtpUt cccccccssssccceesesceceeeesceceeessceceeeeseeceeeeseeceeaeeceseeneess ESSD 17 Estimator Sample Number output cccceesesceceesesceceeessceceeeesceceeaececeaeeseceeeaecesseaeeceeseneess ESSN 18 Estimator Cycle OUIDUL osre 00 A A4 rene ESTC 19 Estimator Period input output sssesssesseesseessersseessersseessresseesseesssesseesseeseessesssesssesssesseeeseesse ESTP 20 Event Trigger iNPUL OULDUL miiia 0022604 EAA AE E A AE aee aeaa i EVTG 21 Retrieve GDOP Output ccsccsccesedeccteeccccedssecedoteaccccueledecdoaceccccnesadecdeacecdcanebedecdcesenecseeesceades voce GDOP 22 GPS Engine Information OULDUL raiceiras a eea E AEE RATER a GPSE 23 Time Code Output Format input output sseesssseesssseesssseesssseesssseesssseesesseesesseesssseesesseesesseeees IRIG 24 GPS UTC Time Difference OUtDUL essi sian 64 0 AEE L N GC 2
28. t time Hundreds of nanoseconds event trigger start time Hour of event period repetition rate Minute of event period repetition rate Second of event period repetition rate Hundreds of milliseconds of period repetition rate Hundreds of microseconds of pulse width Inverted or normal pulse output where 0 Normal 1 Inverted 21 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Retrieve GDOP output GDOP Query Command Response Description Fields Compatibility 365 8005 Rev A GDOP lt crilf gt GDOP N lt cslcrilf gt Outputs the GDOP Geometrical Dilution of Precision The GDOP is the measure of the geometry of the satellites and relates to the accuracy of the navigation solution GDOP is a figure of merit that indicates the quality of the user s latitude longitude altitude and timing data At least 4 satellites must be tracked before the GDOP calculations can be made Symbol Range Description N 000 00 999 99 GDOP value Note In Known mode the GDOP value is set to zero In Position Averaging Survey and Dynamic mode the value is set to zero when less than 4 satellites are tracked GPStarplus AccuSync 22 FEI Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc GPS Engine Information output GPSE Query Command Response Description Fields Compatibility 365 8005 Rev A GPSE lt crllf gt GPSE M C N lt cslcr
29. ual mode is set to disabled 0 then all parameters after the first parameter E are ignored No GPStarplus AccuSync 27 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Message output unsolicited MESG Query Command NONE Response MESG MESSAGE lt cslcrilf gt Description The message is unsolicited If the unit should develop an error or notify the user of various statuses a message command will be generated Fields Symbol Range Description MESSAGE N A alphanumericMessage string Compatibility GPStarplus AccuSync 365 8005 Rev A 28 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Not Time Locked Count output NTLC Query Command Response Description Fields Compatibility 365 8005 Rev A NTLC crilf gt NTLC N lt cslerllf gt The command will return the number of seconds the unit has been out of time lock The count only increments after the unit has been time locked at least once Symbol Range Description N 232 Number of seconds out of time lock GPStarplus AccuSync 29 FEl Zyfer Generic RS 232 Communication Protocol Copyright 2005 FEl Zyfer Inc Option Board output OPBD Query Command Response Description Fields Compatibility 365 8005 Rev A OPBD crilf gt OPBD N lt cslcrilf gt Returns the type of option board installed Symbol Range Description N 1 254 Option board type See

Download Pdf Manuals

image

Related Search

Related Contents

Instruction Manual - Albatros Golf Solutions  Digital Still Camera  NEC MultiSync LCD1550V User's Manual  User Manual  xR6 / xR6e / xR6ce MANUAL DE INSTRUCCIONES    Nikon Coolpix 4800 Digital Camera  レベルフット取付金具(FS 用)〔RD732  Philips PET705 Portable DVD Player  Corsair 8GB DDR3  

Copyright © All rights reserved.
Failed to retrieve file