background image

GPS16X-HVS GPS Receiver 

13 

ComPort

 

The 

ComPort

 parameter is the control terminal pair to which 

the GPS device is attached. Valid options are COM1 (C1/C2), 

COM2 (C3/C4), COM3 (C5/C6), and COM4 (C7/C8). Rx is 

used to read in the NMEA sentences and Tx is used to monitor 

the PPS from the GPS. This instruction defaults to a baud rate 

of 38,400 bps. If a different baud rate is required, use the 

SetStatus()

 instruction to override the default. 

TimeOffset

 

The 

TimeOffset

 parameter is the local time offset, in seconds, 

from UTC.  

MaxTimeDiff

  The 

MaxTimeDiff

 parameter is the maximum difference in 

time between the data logger clock and the GPS clock that will 

be tolerated before the clock is changed. If a negative value is 

entered, the clock will not be changed.  

 

For data loggers prior to hardware revision 08, the 

MaxTimeDiff

 parameter should not be set to 0. A minimum 

value of 20 ms is recommended. With this hardware, when a 

GPS()

 instruction is in the program the clock is checked each 

second (regardless of how often the 

GPS()

 instruction is run). 

The clock is set if any difference is found. This can result in 

the clock being set each second, resulting in skipped records in 

the data table(s). This restriction does not apply to hardware 

revisions 08 or greater.  

NMEAStrings

  The 

NMEAStrings

 parameter is the string array that holds the 

NMEA sentences. If it exists, the GPRMC sentence will reside 

in NMEAStrings(1), and the GPGGA sentence will reside in 

NMEAStrings(2). Any other sentences will reside in 

subsequent indexes into the array (on a first-in basis). Once an 

index in the array is used to store a particular sentence, that 

sentence will always be stored in that location when updates to 

the sentence are received.  

8.2  Example Program Using GPS() Instruction 

The following wiring and short program provide an example of using the 

GPS()

 instruction with the Garmin GPS16X-HVS.  

Содержание GPS16X-HVS

Страница 1: ...GPS16X HVS GPS Receiver Revision 05 2020 Copyright 2003 2020 Campbell Scientific Inc...

Страница 2: ...a 9 7 1 GPGGA Sentence Position and Time 10 7 2 GPRMC Sentence Position and Time 11 8 CRBasic Programming 11 8 1 GPS Instruction 11 8 2 Example Program Using GPS Instruction 13 9 Troubleshooting 14 9...

Страница 3: ...16X HVS mounted using a CM235 Magnetic Mounting Stand 9 A 1 A200 Sensor to PC Interface A 2 Tables 1 1 Default Settings 1 6 1 Data Logger Wiring 7 6 2 CR9000X Wiring 8 6 3 GPS16X HVS Wiring to A300 Te...

Страница 4: ...same housing with one cable for the power supply and communications The GPS antenna must have a clear view of the sky Generally the GPS antenna will not work indoors The GPS16X HVS is a 12 channel GP...

Страница 5: ...rial numbers need an updated chip Data Logger Serial Number CR1000M 20409 CR800 Series 7920 CR3000 3168 In August 2014 Garmin changed the PPS output signal from 5 V to 3 V Units with serial numbers gr...

Страница 6: ...is available as a download on www campbellsci com It is included in installations of LoggerNet RTDAQ PC400 or PC200W The following procedure also describes using Short Cut to measure the GPS16X HVS 1...

Страница 7: ...g tab to see how the sensor is to be wired to the data logger Click OK after wiring the sensor 5 Repeat steps three and four for other sensors Click Next 6 In Output Setup type the scan rate meaningfu...

Страница 8: ...e sure it is making reasonable measurements 5 Specifications Physical Size 86 mm 3 39 in diameter 42 mm 1 65 in high Weight 181 g 6 4 oz without cable 332 g 11 7 oz with 5 m cable Cable PVC jacketed 5...

Страница 9: ...PPS Time 1 microsecond at rising edge of PPS pulse subject to selective availability Dynamics 999 knots velocity limited above 60 000 ft 6g dynamics Interfaces True RS 232 output asynchronous serial i...

Страница 10: ...to connect to a computer USB port or the DB9 Female to Terminal Block interface to connect to a computer serial port see Appendix A Changing GPS16X HVS Settings p A 1 TABLE 6 1 Data Logger Wiring GPS...

Страница 11: ...all of the wires into the same terminal 6 1 1 Using with an A300 In 2014 Garmin changed the pulse per second PPS output of the GPS16X HVS from 5 V to 3 V Units with a serial number 1A4189318 or great...

Страница 12: ...th the Magnetic Mount Alternatively the GPS16X HVS can be mounted directly to the CM235 using three M4 screws supplied with the 17212 or by the customer FIGURE 6 2 GPS16X HVS mounted using a CM235 Mag...

Страница 13: ...f Precision HDOP 9 w w Antenna Altitude in Meters 10 M M Meters 11 x x Geoidal Separation in Meters 12 M M Meters Geoidal separation is the difference between the WGS 84 earth ellipsoid and mean sea l...

Страница 14: ...over ground 0 00 Knots Course over ground 0 00 Degrees UTC Date 211200 DDMMYY Magnetic variation Degrees Magnetic variation E East W West Checksum 25 Terminator CR LF 8 CRBasic Programming This secti...

Страница 15: ...4 19200 Baud rates of 2400 bps or lower will not work as the GPS unit will not transmit the two GPS sentences once per second reliably Similar problems can be encountered even at higher baud rates if...

Страница 16: ...t be set to 0 A minimum value of 20 ms is recommended With this hardware when a GPS instruction is in the program the clock is checked each second regardless of how often the GPS instruction is run Th...

Страница 17: ...ring normally less than 1 second Alias gps_data 13 gps_ready Counts from 0 to 10 10 ready Alias gps_data 14 max_clock_change Maximum value the clock was changed in msec Alias gps_data 15 nmbr_clock_ch...

Страница 18: ...and have a GPS quality number greater than zero DB9 Female to Terminal Block Connections GPS16X Receiver DB9 to Terminal Block Interface White Pin 2 Black and Yellow Pin 5 shares power ground 9 1 2 T...

Страница 19: ...eady variable It will increment from 0 to 10 when the data logger has received good GPRMC strings and a synchronized PPS signal Once GPSReady reaches 10 the data logger will begin to use GPS time for...

Страница 20: ...1 Hz PPS Length 100 mS Phaze output Data off DGPS Mode WAAS only Differential mode Automatic Earth Datum Index WGS 84 Selected Sentences GPGGA and GPRMC Common changes would be baud rate and selected...

Страница 21: ...t The terminal block provides 12V G TX and RX terminals for connecting the GPS16X HVS see FIGURE A 1 and TABLE A 1 A data cable ships with the A200 This cable has a USB type A male connector that atta...

Страница 22: ...at is free However if other devices have been installed in the past some of which may no longer be plugged in the A200 may be assigned a higher COM port number To check which COM port has been assigne...

Страница 23: ...ng Public ggautc As String Public ggailatitude As String Public ggan_s_ind As String Public ggalongitude As String Public ggae_w_ind As String Public ggapositionfix As String Public gganumsatellites A...

Страница 24: ...ta 3 CalculatedChecksum CalculatedChecksum AND 255 ReportedChecksum HexToDec Right rawdata 2 If CalculatedChecksum ReportedChecksum Then If InStr 1 rawdata GPRMC 2 Then RMCstring rawdata ElseIf InStr...

Страница 25: ...Appendix B Serial Programming B 3 ggachecksum Right GGAstring 2 CallTable gpsdata NextScan EndProg...

Страница 26: ...ther manufacturer s products that are resold by Campbell Scientific are warranted only to the limits extended by the original manufacturer Refer to www campbellsci com terms warranty for more informat...

Страница 27: ...shipping container Campbell Scientific s shipping address is CAMPBELL SCIENTIFIC INC RMA _____ 815 West 1800 North Logan Utah 84321 1784 For all returns the customer must fill out a Statement of Prod...

Страница 28: ...ng on or around tripods and towers Do not climb tripods or towers at any time and prohibit climbing by other persons Take reasonable precautions to secure tripod and tower sites from trespassers Use o...

Страница 29: ...nfo campbellsci fr www campbellsci fr Germany Location Phone Email Website Bremen Germany 49 0 421 460974 0 info campbellsci de www campbellsci de India Location Phone Email Website New Delhi DL India...

Отзывы: