background image

 

Appendix D.  SDI-12 Sensor Support 

D.1  SDI-12 Command Basics  

SDI-12 commands have three components:  

Sensor address (a)

 – a single character, and is the first character of the 

command. The default address of zero (0) can be used unless multiple sensors 

are connected to the same port.  

Command body (e.g., M1)

 – an upper case letter (the “command”) followed by 

alphanumeric qualifiers.  

Command termination (!)

 – an exclamation mark.  

An active sensor responds to each command.  Responses have several standard 

forms and terminate with <CR><LF> (carriage return – line feed).  Standard 

SDI-12 commands supported by the CS215 are listed in TABLE D-1. 

TABLE D-1.  SDI-12 Command and Response Set

 

 

Name  

Command  Response 

Acknowledge 

Active  

a!  

a<CR><LF> 

Send 

Identification  

aI!  

allccccccccmmmmmmvvvxxx...xx<CR><LF> 

Change 

Address  

aAb!  

b<CR><LF>  

Address 

Query  

?!  

a<CR><LF>  

Start 

Measurement  

aM!  

atttn<CR><LF>  

Send Data  

aD0!  

a<values><CR><LF>  

Start 

verification 

aV! 

atttn  

D-1 

Содержание cs215

Страница 1: ...INSTRUCTION MANUAL CS215 Temperature and Relative Humidity Probe Revision 8 14 C o p y r i g h t 2 0 0 5 2 0 1 4 C a m p b e l l S c i e n t i f i c I n c...

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

Страница 3: ...ucts to CSI CSI will return such Products by surface carrier prepaid within the continental United States of America To all other locations CSI will return such Products best way CIP port of entry per...

Страница 4: ...g 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 Product Clea...

Страница 5: ...ore 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...

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

Страница 7: ...stallation 5 7 1 Wiring to Datalogger 6 7 2 Datalogger Programming 6 7 2 1 CRBasic Programming 7 7 2 2 Edlog Programming 7 7 3 Installation 8 8 Operation 10 8 1 Sensor Measurements 10 8 1 1 Measuremen...

Страница 8: ...ment Commands aM D 2 D 1 5 Aborting a Measurement Command D 2 D 1 6 Send Data Command aD D 2 D 2 SDI 12 Transparent Mode D 2 D 2 1 CR200 X Series Datalogger Example D 3 D 2 2 CR1000 Datalogger Example...

Страница 9: ...Table of Contents Tables 7 1 Datalogger Wiring 6 C 1 Environmental Tests C 1 D 1 SDI 12 Command and Response Set D 1 iii...

Страница 10: ...Table of Contents iv...

Страница 11: ...andled as a precision scientific instrument Santoprene rubber which composes the black outer jacket of the CS215 cable will support combustion in air It is used because of its resistance to temperatur...

Страница 12: ...Install Short Cut by clicking on the install file icon Get the install file from either www campbellsci com the ResourceDVD or find it in installations of LoggerNet PC200W PC400 or RTDAQ software 2 T...

Страница 13: ...anged by clicking the Deg C box and selecting Deg F for degrees Fahrenheit or K for Kelvin 6 After selecting the sensor click at the left of the screen on Wiring Diagram to see how the sensor is to be...

Страница 14: ...nd linearization corrections to the readings and present the data via SDI 12 to a datalogger A sintered plastic filter minimizes the effects of dust and dirt on the sensor The filter is lightweight an...

Страница 15: ...2 Relative Humidity Measurement Operating Range 0 to 100 RH 20 to 60 C see Appendix C Environmental Performance Accuracy at 25 C 2 over 10 to 90 4 over 0 to 100 Short Term Hysteresis 1 RH Temperature...

Страница 16: ...otal cable length The SDI 12 address of the CS215 can be set two ways By sending the required commands to the sensors via an SDI 12 recorder datalogger that allows talk through to the sensor see Appen...

Страница 17: ...the following syntax SDI12Recorder Destination SDIPort SDIAddress SDICommand Multiplier Offset For all of the CRBasic dataloggers the Destination parameter must be an array of length 2 with the first...

Страница 18: ...struction allows air to pass freely through thereby keeping the probe at or near ambient temperature The 41303 5A attaches to a crossarm mast or user supplied pipe with a 2 5 to 5 3 cm 1 0 to 2 1 inch...

Страница 19: ...See FIGURE 7 1 and FIGURE 7 2 for examples of shield mounting 6 Route the cable to the datalogger and secure the cable to the mounting structure using cable ties FIGURE 7 1 CS215 and 41303 5A Radiati...

Страница 20: ...values are ready Rather the datalogger picks up the data with the aD command on the next pass through the program Another measurement request is then sent so that data are ready on the next scan An aR...

Страница 21: ...ates the measurement At the next call of the instruction the datalogger will request the data and record the correct temperature Using the aC command requires more detailed programming to ensure the o...

Страница 22: ...s manual for more information 9 1 Troubleshooting Symptom Temperature is reported as 9999 or NAN and relative humidity is reported as 0 or as an unchanging value Recheck wiring Verify the green wire i...

Страница 23: ...old element s calibration checked in order to formally record the probe s pre calibration state pre sensor replacement you can measure its performance by plugging it into another sensor 9 4 Sensor El...

Страница 24: ...damp cloth to remove any salts that might be there 7 Unpack the replacement element avoiding static discharges to the element by making sure you touch the packaging before the element 8 Either hold th...

Страница 25: ...r sticking out of the end of the tube Gold pins Sensing Element Sensing part of the element Printing on this side Center line of the sensor body and socket Thread for the filter Gold colored side of t...

Страница 26: ...ions v 9 No 4 October 1985 www stateclimate org publications state climatologist NOAA NCY SCBOOKS SC77097 00000029 pdf EPA 2008 Quality Assurance Handbook for Air Pollution Measurement Systems Vol IV...

Страница 27: ...States and Canada A Preliminary Survey Bulletin Am Meteor Soc 73 No 4 449 457 Weiss A 1977 Algorithms for the calculation of moist air properties on a hand calculator Amer Soc Ag Eng 20 1133 1136 WMO...

Страница 28: ...CS215 Temperature and Relative Humidity Probe 18...

Страница 29: ...editing A 1 1 CRBasic Datalogger Use the following procedure to import Short Cut code into CRBasic Editor CR200 X CR1000 CR800 CR3000 CR5000 dataloggers 1 Create the Short Cut program following the p...

Страница 30: ...Edlog 3 Click File Document DLD File Assuming the default paths were used when Short Cut was installed navigate to C CampbellSci SCWin folder The file of interest has a DLD extension Select the file a...

Страница 31: ...SDI 12 signal C1 SDI 12 Black Power ground G White Power ground G Clear Shield AG AG Analog Ground represented by ground symbol on CR200 wiring panel Declare the variable array for the measurement Pu...

Страница 32: ...Power 12V 12V Green SDI 12 signal C3 Black Power ground G White Power ground G Clear Shield AG Declare the variable array for the measurement Public TRHData 2 Alias TRHData 1 AirTC Alias TRHData 2 RH...

Страница 33: ...01 60 Execution Interval seconds Measure the sensor on control port 1 Note you have to manually assign the labels in the Inloc Editor to make sure two locations are free 1 SDI 12 Recorder P105 1 0000...

Страница 34: ...Appendix B Example Programs B 4...

Страница 35: ...fications Cigarette Smoke Equivalent to 15 years in a mid size car Within Specifications N B The temperature sensor passed all tests without any detectable drift Package and electronics also passed 10...

Страница 36: ...oning process as follows 80 90 C at 5 RH for 24h baking followed by 20 to 30 C at 74 RH for 48h re hydration FIGURE C 1 Normal operating conditions of RH element C 4 Measurement Below 0 C The CS215 pr...

Страница 37: ...c qualifiers Command termination an exclamation mark An active sensor responds to each command Responses have several standard forms and terminate with CR LF carriage return line feed Standard SDI 12...

Страница 38: ...measurement data are available nn the number of values to be returned when one or more subsequent D commands are issued D 1 5 Aborting a Measurement Command A measurement command M is aborted when an...

Страница 39: ...lect the CR200Series station 3 Click on the Open Terminal button 4 Press the enter key until the datalogger responds with the CR2XX prompt At the CR2XX prompt make sure the All Caps Mode box is checke...

Страница 40: ...nd press enter The response Entering SDI12 Terminal indicates that the sensor is ready to accept SDI 12 commands 5 To query the sensor for its current SDI 12 address key in enter and the sensor will r...

Страница 41: ...control port p enter pX enter For this example key in 1X enter The datalogger will respond with entering SDI 12 If any invalid SDI 12 command is issued the datalogger will exit the SDI 12 Transparent...

Страница 42: ...Appendix D SDI 12 Sensor Support D 6...

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

Страница 44: ...m br Campbell Scientific Canada Corp CSC 14532 131 Avenue NW Edmonton AB T5L 4X4 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientific Centro Caribe S A CSCC 300 N Cementerio Edific...

Отзывы: