background image

 

C-1 

Appendix C.

 

Using an SDM-SIO4 

C.1  SDM-SIO4 Connections 

An SDM-SIO4 should be used if measuring the GPS16X-HVS with a CR5000 or 
CR9000X datalogger. An SC110 cable is required to connect the GPS16X-HVS to 
an SDM-SIO4.  The SC110 consists of two cables.  Use the cable that terminates 
in a 9-pin male connector (DTE). The stripped and tinned leads of that cable 
attach to the GPS16X-HVS (see Table 

C-1

).  

Table C-1.  SC110’s Cable Wiring 

Wire Colour of 

SC110’s Cable 

Wire Colour of 

GPS16X-HVS 

 

Power Supply 

Brown 

Grey 

N/A 

White 

White 

N/A 

Yellow 

Shield 

N/A 

N/A 

Red 

+12 V 

N/A 

Black 

Power Ground 

 

C.2  CR9000X Example Program 

'NMEAGGA_Sio4_030805MGW1.CR9 
'This program acquires NMEA GGA data from a GPS receiver using the SDM-SIO4. 
'_____ 
'Notes: 
'(1) Data is acquired from NMEA0183 $GPGGA string: 
'    Sio4Fields:  GGAFields:      Definitions: 
'    f1           GGA(Field1)     GGA_UTC_Time of position 
'    f2,f3        GGA(Field2)     Latitude 
'    f4,          GGA(Field3)     North or South indication letter 
'    f5,f6        GGA(Field4)     Longitude 
'    f7           GGA(Field5)     East or West indication letter 
'    f8           GGA(Field6)     GPS quality,0=NoGPS,1=GPS,2DGPS 
'    f9           GGA(Field7)     Number of satellites in use 
'    f10          GGA(Field8)     HDOP, Horizontal Dilution Of Precision 
'    f11          GGA(Field9)     Antenna altitude in Meters 
'                 GGA(Field10) 
'                 GGA(Field11)    Geoidal separation in Meters 
'                 GGA(Field12) 
'                 GGA(Field13)    Age of differential GPS data 
'                 GGA(Field14)    Differential reference station 
'(2) SIO4 programming: 
'    fltst 1 "t[$GPGGA,]xFt[,]Dt[.]Dt[,]b1t[,]Dt[.]Dt[,]b1t[,]Ft[,]Ft[,]Ft[,]FX" 
'_ 
 Const OneRep=1 
 Const NoValues=0 
 Const OneValue=1 
 Const ElevenGGAValues=11 
'.. 
 Const UnityMultiplier=1.0 
 Const NoOffset=0.0 
'.. 
 Const Sio4Address0=0 
 Const Port2=2 
'.. 
'SDM-Sio4 command codes: 
 Const UnusedParameter = 0000 
 Const PollForData0001 = 0001 
 Const SendDataToLgr   = 0004 
 Const Sio4COMSetUpCmd = 2049 

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

Страница 1: ...GPS16X HVS GPS Receiver Issued 5 1 16 Copyright 2003 2015 Campbell Scientific Inc Printed under licence by Campbell Scientific Ltd CSL 807 USER MANUAL ...

Страница 2: ......

Страница 3: ...s under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations for repairs can be given on request It is the policy of Campbell Scientific to protect the health of its employees and provide a safe working environment in support of this policy a Declaration of Hazardous Material and De...

Страница 4: ......

Страница 5: ...s digital cell phones and aerials may also not be applicable according to your locality Some brackets shields and enclosure options including wiring are not sold as standard items in the European market in some cases alternatives are offered Details of the alternatives will be covered in separate manuals Part numbers prefixed with a symbol are special order parts for use with non EU variants or fo...

Страница 6: ......

Страница 7: ...fore beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working 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 only manufacturer recommended parts materials and tools Utility and Electrical You can be ...

Страница 8: ......

Страница 9: ...Troubleshooting 13 6 1 Testing and Evaluating Serial Communications 13 6 2 NMEAStrings Variable Populated but Clock Not Setting 14 Appendices A Changing GPS16X HVS Settings A 1 A 1 Computer Connections A 1 A 1 1 Using the A200 A 1 A 1 1 1 Driver Installation A 1 A 1 1 2 Wiring A 2 A 1 1 3 Powering the Sensor A 3 A 1 1 4 Determining which COM Port the A200 has been Assigned A 3 A 1 2 Using the SC11...

Страница 10: ...onnection 5 A 1 A200 Sensor to PC Interface A 2 Tables 1 1 Default Settings 1 3 1 Datalogger Wiring 4 5 1 GPS16X HVS Wiring to A300 Terminals and Datalogger Terminals 5 5 2 A300 Cable Wiring to Datalogger Terminals 6 4 1 NMEA GPGGA String Definition 6 A 1 A200 Wiring A 2 A 2 SC110 s DCE Cable Wiring A 3 B 1 CR23X Wiring B 1 B 2 P15 for NMEA GPGGA Data String B 2 B 3 Filter B 3 C 1 SC110 s Cable Wi...

Страница 11: ...ame 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 GPS receiver that supports FAA Wide Area Augmentation System WAAS or RTCM differential GPS Also supported is the 1 Pulse Per Second PPS timing signal The cable connections provided with the GPS16X HVS do ...

Страница 12: ...ated clock chip The clock chip is factory replaced requires an RMA Dataloggers with the following serial numbers need an updated chip Datalogger Serial Number CR1000M 20409 CR800 CR850 7920 CR3000 3168 In August 2014 Garmin changed the GPS16X HVS PPS output signal from 5 V to 3 V Units with serial numbers greater than 1A4189318 have a 3 V PPS output signal When this new design is used with a CR800...

Страница 13: ...te Reacquisition Less than 2 s Hot 1 s all data known Warm 38 s initial position time and almanac known ephemeris unknown Cold 45 s SkySearch 5 min no data known Sentence Rate 1 s default NMEA 0183 output interval configurable from 1 to 900 s in one second increments Accuracy GPS Standard Positioning Service SPS Position Less than 15 m 95 typical 100 m with selective availability on Velocity 0 1 k...

Страница 14: ...se with the CR800 850 CR1000 and CR3000 See Section 3 1 Using with an A300 p 5 The CR6 does not require the use of an A300 Refer to Appendix B 1 CR23X Connections p B 1 if connecting the receiver to a CR23X Our CR5000 and CR9000X connect to the receiver via the SC110 and an SDM SIO4 see Appendix C Using an SDM SIO4 p C 1 If the GPS16X HVS is to be connected to a computer to change the default sett...

Страница 15: ... A300 is needed to connect the PPS output to a CR800 series CR1000 or CR3000 datalogger Those dataloggers require the PPS line to have a voltage of 3 8 V or greater Table 3 2 GPS16X HVS Wiring to A300 Terminals and Datalogger Terminals GPS16X HVS Wire Colour GPS16X HVS Wire Function A300 Terminal Datalogger Red 12 V 12V Black Ground G Yellow Enable Ground or Control Port White TXD Output Control P...

Страница 16: ... x M y y zzzz hh CR LF Table 4 1 NMEA GPGGA String Definition Field Description 0 GPGGA NMEA string identifier 1 hhmmss UTC of Position Hours minutes seconds 2 1111 111 Latitude Degrees minutes thousandths of minutes 3 a N North or S South 4 nnnnn nnn Longitude Degrees minutes thousandths of minutes 5 b E East or W West 6 t GPS Quality Indicator 0 No GPS 1 GPS 2 DGPS 7 uu Number of Satellites in U...

Страница 17: ... 1 03 11 9 00016 M 016 M 6E 4 2 GPRMC Sentence Position and Time Example signal not acquired GPRMC 235947 000 V 0000 0000 N 00000 0000 E 041299 1D Example signal acquired GPRMC 092204 999 A 4250 5589 S 14718 5084 E 0 00 89 68 211200 25 Field Example Comments Sentence ID GPRMC UTC Time 092204 999 hhmmss sss Status A A Valid V Invalid Latitude 4250 5589 ddmm mmmm N S Indicator S N North S South Long...

Страница 18: ...dware revision number greater than 007 RevBoard field in the datalogger s Status table Otherwise resolution is 10 milliseconds The clock set relies on information from the GPRMC sentence If this sentence is not returned a clock set will not occur By default the instruction expects the GPS unit to be set up at 38400 baud outputting the GPRMC and GPGGA sentences once per second The datalogger expect...

Страница 19: ...ter is the control port 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...

Страница 20: ...longitude_b Minutes longitude Alias gps_data 5 speed Speed Alias gps_data 6 course Course over ground Alias gps_data 7 magnetic_variation Magnetic variation from true north East West Alias gps_data 8 fix_quality GPS fix quality 0 invalid 1 GPS 2 differential GPS 6 estimated Alias gps_data 9 nmbr_satellites Number of satellites used for fix Alias gps_data 10 altitude Antenna altitude Alias gps_data...

Страница 21: ...ic rmcspeed As String Public rmccourse As String Public rmcutcdate As String Public rmcmagvariation As String Public rmcmage_w As String Public rmcchecksum As String gga variables Public ggaid As String 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...

Страница 22: ...alculatedChecksum CalculatedChecksum AND 255 ReportedChecksum HexToDec Right rawdata 2 If CalculatedChecksum ReportedChecksum Then If InStr 1 rawdata GPRMC 2 Then RMCstring rawdata ElseIf InStr 1 rawdata GPGGA 2 Then GGAstring rawdata EndIf EndIf SerialInRecord GPSPort rawdata 36 0 h0D0A NBytesReturned 11 CalculatedChecksum CheckSum rawdata 9 Len rawdata 3 CalculatedChecksum CalculatedChecksum AND...

Страница 23: ...ng and Evaluating Serial Communications Test the GPS16X HVS for proper operation including the baud rate and output string Use a computer terminal emulator software a serial port RS 232 and a 9 pin to pigtail cable SC110 sockets The computer and serial port can be the same as used to communicate with the datalogger Terminal emulation software is common Hyperterm is supplied as part of Windows and ...

Страница 24: ...ed good GPRMC strings and a synchronized PPS signal Once GPSReady reaches 10 the datalogger will begin to use GPS time for clock setting The 12th value populated in GPSArray indicates elapsed time since a GPRMC string was received and should not exceed 1 If the GPRMC string is being received and GPSReady remains at zero the PPS signal is not being received by the datalogger ...

Страница 25: ...Differential mode Automatic Earth Datum Index WGS 84 Selected Sentences GPGGA and GPRMC Common changes would be baud rate and selected sentences The NMEA 0183 GPVTG data sentence gives ground speed and direction which may be required for some applications Changes can be made with the Garmin software or with a terminal emulator and the Garmin technical user manual Contact Garmin International www g...

Страница 26: ...6X HVS see Figure A 1 and Table A 1 A data cable CSI part number 17648 ships with the A200 This cable has a USB type A male connector that attaches to a PC s USB port and a type B male connector that attaches to the A200 s USB port Table A 1 A200 Wiring Colour Sensor Cable Label A200 Terminal Red 12V 12Vdc Black G G Yellow G G White Rx Rx Grey Tx Tx Blue sig ground G Shield sig ground G Figure A 1...

Страница 27: ...will be the next port number that 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 assigned to the A200 you can monitor the appearance of a new COM port in the list of COM ports offered in your software package e g LoggerNet before and after the installation ...

Страница 28: ...Appendix A Changing GPS16X HVS Settings A 4 ...

Страница 29: ...ds such as time latitude longitude and elevation P15 requires non numeric delimiters between data points The only available format of GPS data with delimiters is the NMEA 0183 format Program instruction 15 P15 reads serial data and discards non numeric values All non numeric values act as delimiters between numbers and decimal points can also act as delimiters P15 can be used to import everything ...

Страница 30: ...er of consecutive input locations to send 7 42 Termination character 42 is ASCII equivalent of the asterisk 8 100 Maximum number of characters to receive 9 80 Delay in mS How long to wait for GPGGA string 10 1 Starting input location for time and position data 11 1 Multiplier always 1 12 0 Offset always 0 P15 parameters 4 5 and 10 are somewhat variable When using a CR23X parameter 4 can be set to ...

Страница 31: ...er in P63 Table B 3 Filter ASCII Equivalent Character 36 71 G 80 P 71 G 71 G 65 A B 2 4 Managing the Data Several of the data values in the GPGGA string are too large to view or write to final storage Some simple math is used to parse the data The UTC time is in the format hhmmss where hh is the hours mm is the minutes and ss is the seconds Six digits are too many to view with the datalogger displ...

Страница 32: ...gger actually stores FFFFFFFFh a very large number The time field includes six digits which can be greater than 99999 This limits the usefulness of the time field as a test for a valid GPS fix A better approach is to overwrite the GPS quality location with zero before executing P15 Use P30 to overwrite one input location If the GPS time is used to set the datalogger clock the GPS time must be pars...

Страница 33: ...egrees and minutes 3 Lat_Frac Latitude fractions of minute 4 LngDegMin Longitude degrees and minutes 5 Lng_Frac Longitude fractions of minute 6 Quality GPS quality indicator 7 NumSats Number of satellites in use 8 HDPWhole Horizontal Dilution of Precision 9 HDPFrac Horizontal Dilution of Precision tenths 10 Elevation Elevation in metres 11 Geoidal Geoidal separation in metres 12 Geoidalth Geoidal ...

Страница 34: ...RTS DTR C5 TXD RXD 5 1 Start Loc for TX Raw_Time 6 0 Number of Locs to TX 7 42 Termination Character for RX 8 100 RX Buffer Size or Max Chars to RX if Par 2 indexed 9 80 Time Out for CTS TX and or RX 0 01 sec units 10 1 Start Loc for RX Raw_Time 11 1 0 Mult for RX 12 0 0 Offset for RX filter for GPGGA 3 Extended Parameters P63 1 36 Option 2 71 Option G 3 80 Option P 4 71 Option G 5 71 Option G 6 6...

Страница 35: ... Z X Y P35 1 19 X Loc Int1 2 21 Y Loc Minutes 3 19 Z Loc Int1 Move decimal left 2 places 13 Z X F P37 1 19 X Loc Int1 2 100 F 3 19 Z Loc Int1 Pluck of seconds 14 Z INT X P45 1 19 X Loc Int1 2 22 Z Loc Seconds Write data to final storage every time there is a valid read of GPS data 15 Do P86 1 10 Set Output Flag High Flag 0 16 Set Active Storage Area P80 18796 1 1 Final Storage Area 1 2 101 Array I...

Страница 36: ...ct sometimes check the P15 time out It may need a longer time out Also check the P15 maximum number of characters to receive usually 100 is enough Check the P15 termination character it should be set to 42 The termination character should also work if set to 13 or 10 Also check the buffering and filter Buffering should be turned off by indexing parameter 2 For P15 to properly read the GPGGA string...

Страница 37: ...ing Turning on the data buffering may remedy the problem Lengthening the serial time out to allow P15 to execute for 2 cycles of NMEA output may help Otherwise the SDM SIO4 may be required or the datalogger program will need to be simplified The datalogger will not pick up valid data until the GPS16X HVS has a valid GPS fix except during a GPS16X HVS warm start where time can be read before positi...

Страница 38: ...Appendix B CR23X Wiring and Programming B 10 ...

Страница 39: ...ired from NMEA0183 GPGGA string Sio4Fields GGAFields Definitions f1 GGA Field1 GGA_UTC_Time of position f2 f3 GGA Field2 Latitude f4 GGA Field3 North or South indication letter f5 f6 GGA Field4 Longitude f7 GGA Field5 East or West indication letter f8 GGA Field6 GPS quality 0 NoGPS 1 GPS 2DGPS f9 GGA Field7 Number of satellites in use f10 GGA Field8 HDOP Horizontal Dilution Of Precision f11 GGA Fi...

Страница 40: ...taTable GPSData True 1 DataInterval 0 0 0 0 Sample ElevenGGAValues RawGGAData IEEE4 EndTable _________ BeginProg Configure SDM Sio4 Port 2 for communications with GPS port SDMSIO4 NotUsed OneRep Sio4Address0 Port2 Sio4COMSetUpCmd Port2ComCode UnusedParameter NoValues UnityMultip lier NoOffset Delay 100 mSec Start GGA data filter on SDM Sio4 port SDMSIO4 NotUsed OneRep Sio4Address0 Port2 StartRxFil...

Страница 41: ......

Страница 42: ...NW Edmonton Alberta T5L 4X4 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientific Centro Caribe S A CSCC 300N Cementerio Edificio Breller Santo Domingo Heredia 40305 COSTA RICA www campbellsci cc info campbellsci cc Campbell Scientific Ltd CSL 80 Hathern Road Shepshed Loughborough LE12 9GX UNITED KINGDOM www campbellsci co uk sales campbellsci co uk Campbell Scientific Ltd Franc...

Отзывы: