background image

Appendix C.  SDI-12 Sensor Support 

C-4

TABLE C-2.  Example aM! Sequence 

0D0! 

The data logger immediately issues the first 

D

 

command to collect data from the sensor. 

0+.859+3.54<CR><LF> 

The sensor immediately responds with the sensor 

address and the two values. 

C.2.7  Stopping a Measurement Command

A measurement command (

M!

) is stopped if it detects a break signal. A break 

signal is sent by the data logger before most commands. 

C.2.8  Send Data Command (aD0! … aD9!)

The Send Data command requests data from the sensor. It is issued 

automatically with every type of measurement command (

aM!).

 The data 

logger issues the 

aD0!

 command once a service request has been received from 

the sensor. In transparent mode (Appendix 

C.3

SDI-12 Transparent Mode

 

(p. C-

4)

), the user asserts this command to obtain data.  

Depending on the type of data returned and the number of values a sensor 

returns, the data logger may need to issue 

aD0!

 up to 

aD9!

 to retrieve all data. 

A sensor may return up to 35 characters of data in response to a 

D

 command 

that follows an 

M!

 command.  

Command: 

aD0! 

(

aD1! … aD9!

Response:  

a<values><CR><LF>

 or 

a<values><CRC><CR><LF> 

where: 

a

 = the sensor address  

<values>

 = values returned with a polarity sign (+ or –) 

<CR><LF>

 = terminates the response 

C.2.9  Continuous Measurement Command (aR0! … aR9!)

Sensors that are able to continuously monitor the phenomena to be measured 

can be read directly with the

 R

 commands (

R0!

...

R9!

). The response to the 

R

 

commands mirrors the Send Data command (

aD0!

). A maximum of 75 

characters can be returned in the 

<values>

 part of the response to the 

R

 

command.  

C.3  SDI-12 Transparent Mode

System operators can manually interrogate and enter settings in probes using 

transparent mode. Transparent mode is useful in troubleshooting SDI-12 

systems because it allows direct communication with probes. Data logger 

security may need to be unlocked before activating the transparent mode.  

Transparent mode is entered while the computer is communicating with the 

data logger through a terminal emulator program. It is accessed through 

Campbell Scientific data logger support software or other terminal emulator 

programs. Data logger keyboards and displays cannot be used.  

Содержание CS230

Страница 1: ...CS230 CS231 Temperature Profilers Revision 1 19 Copyright 2016 2019 Campbell Scientific...

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

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

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

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

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

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

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

Страница 9: ...uction 8 7 4 2 Slow Sequence Program Instructions 8 8 Operation 8 8 1 Sensor Measurements 8 8 1 1 SDI 12 Addressing 9 8 1 2 Metadata 11 8 2 Long Cables 11 8 3 Power Conservation 11 9 Maintenance Calib...

Страница 10: ...3 Line Surge Protector Mounting and Wiring D 1 Figures 7 1 CS231 installation example with three external sensors and five internal sensors 6 7 2 Internal sensor label 6 D 1 SGB3 3 line surge protecto...

Страница 11: ...r its resistance to temperature extremes moisture and UV degradation However this jacket will support combustion in air It is rated as slow burning when tested according to U L 94 H B and will pass FM...

Страница 12: ...sor in the Sensors Temperature folder Double click CS230 CS231 SDI 12 Temperature Profiler Type the correct Starting SDI 12 Address for the first external probe or the top temperature point in the rig...

Страница 13: ...ta logger check the output of the sensor in data display in LoggerNet PC400 RTDAQ or PC200W to make sure it is making reasonable measurements 5 Overview The CS231 offers the same precise temperature p...

Страница 14: ...Specifications Features Accurate and stable measurements Each sensor is individually addressed and referenced to its depth Low power consumption Digital SDI 12 output Compatible with the following da...

Страница 15: ...ent it is important that consistent contact be made between the temperature profiler and the medium The location of the temperature profiler should be representative of the intended application Typica...

Страница 16: ...and five internal sensors FIGURE 7 1 is an example configuration with three external sensors and five internal sensors Each profiler is custom built to the user s specific requirements FIGURE 7 2 sho...

Страница 17: ...the CS230 serial number is less than 1162 TABLE 7 1 Wire Colour Function and Data Logger Connections Wire Colour Function Data Logger Connection Terminal Red Power 12V Green SDI 12 Signal C or U1 term...

Страница 18: ...tonTimeout are optional parameters refer to CRBasic Help for more information 7 4 2 Slow Sequence Program Instructions Use the slow sequence program instructions when the CS230 CS231 measurements will...

Страница 19: ...floating point C aR6 Read and reset user resettable min temperature Min temperature floating point C This value constitutes the minimum of all 1 second measurements taken since the previous aR6 comma...

Страница 20: ...tiple sensors the same SDI 12 address will prevent the sensors from communicating Use the aA command where a is the affected address to reset the affected sensors to their factory configured address v...

Страница 21: ...een the temperature profiler and data logger digitally there are no offset errors incurred with increasing cable length as seen with analogue sensors However with long enough cable lengths the digital...

Страница 22: ...non switched for test purposes Symptom Sensor won t respond to command 1 Expected address not used or has been changed a Confirm all addresses in use with the aI command to determine the individual ad...

Страница 23: ...Cut program following the procedure in Section 4 QuickStart p 1 Finish the program On the Advanced tab click the CRBasic Editor button The program opens in CRBasic with the name noname CR_ Provide a n...

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

Страница 25: ...in the probe will need to be adjusted to fit specific application Const NumTempSensors 15 Uses the control terminal C1 on the CR1000X Const SDI12_Port C1 Public TempC NumTempSensors As Float Dim i As...

Страница 26: ...terval Other common station data is measured every 5 seconds and stored to a daily and hourly data tables CRBasic Example B 2 CR1000X Program Using Slow Sequence to Read CS230 CS231 with 20 Sensors CR...

Страница 27: ...tion ConvertSDI12addr EndSub Main Program BeginProg Scan 5 Sec 0 0 PanelTemp PTemp 250 Battery batt_volt CallTable Daily CallTable Hourly NextScan Poll CS230 CS231 in Slow Sequence every minute SlowSe...

Страница 28: ...ables DataTable MetaData 1 1 DataInterval 0 1 Day 10 Sample MetaData_pts Meta FP2 EndTable Define Subroutines ConvertSDI12addr Convert SDI 12 character address 0 9 A Z and a z to number value 0 61 Fun...

Страница 29: ...minimum and maximum are recorded every 5 minutes and Metadata is collected daily Declare Public Variables Public PTemp batt_volt Enter the number of temperature sensors that are in the probe will need...

Страница 30: ...order Meta i 1 SDI12_Port ConvertSDI12addr i R1 1 0 0 Next EndIf Read the current Temperature Min and Max Values Every 5 minutes and Reset the Value If TimeIntoInterval 0 5 Min Then For i 1 To NumTemp...

Страница 31: ...s C 2 SDI 12 Command Basics SDI 12 commands have three components Sensor address a a single character and the first character of the command Use the default address of zero 0 unless multiple sensors a...

Страница 32: ...ber or other sensor specific information may also be included aI allccccccccmmmmmmvvvxxx xx CR LF a Sensor SDI 12 address ll SDI 12 version number indicates compatibility cccccccc 8 character vendor i...

Страница 33: ...ated with the M command The response to each command has the form atttn CR LF where a sensor address ttt time in seconds until measurement data is available When the data is ready the sensor notifies...

Страница 34: ...rs of data in response to a D command that follows an M command Command aD0 aD1 aD9 Response a values CR LF or a values CRC CR LF where a the sensor address values values returned with a polarity sign...

Страница 35: ...ect All Caps Mode 6 Press Enter until the data logger responds with the CR1000 prompt 7 Type SDI12 and press Enter 8 At the Select SDI12 Port prompt type the number corresponding to the control termin...

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

Страница 37: ...Vac L1 L2 L3 with respect to G terminals Maximum Current 2 A per terminal 4 A total requires both ground terminals for return current Maximum Rated Surge 1200 A 8 20 us D 2 SGB3 3 Line Surge Protector...

Страница 38: ...logger using the 2 ft cable shipped with the CS230 2 U terminals are automatically configured by the measurement instruction If multiple SDI 12 sensors are connected to a data logger Campbell Scienti...

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

Страница 40: ...Asia Location Bangkok Thailand Email info campbellsci asia Website www campbellsci asia China Location Beijing P R China Email info campbellsci com cn Website www campbellsci com cn Spain Location Ba...

Отзывы: