Campbell SDMS40 Product Manual Download Page 41

nn

= the number of values to be returned when one or more subsequent

D

commands are

issued.

See the following example. A data logger has three sensors wired into terminal C1. The sensors
are addresses X, Y, and Z. The data logger will issue the following commands and receive the
following responses:

Table C-3: Example aC! sequence

XC!

The data logger makes a request to sensor X to start
a concurrent measurement.

X03005<CR><LF>

Sensor X immediately indicates that it will have 5 (05)
values ready for collection within the next 30 (030)
seconds.

YC!

The data logger makes a request to sensor Y to start
a concurrent measurement.

Y04006<CR><LF>

Sensor Y immediately indicates that it will have 6 (06)
values ready for collection within the next 40 (040)
seconds.

ZC!

The data logger makes a request to sensor Z to start
a concurrent measurement.

Z02010<CR><LF>

Sensor Z immediately indicates that it will have 10 val-
ues ready for collection within the next 20 (020)
seconds.

ZD0!

After 20 seconds have passed, the data logger starts
the process of collecting the data by issuing the first

D

command to sensor Z.

Z+1+2+3+4+5+6+7+8+9+10<CR><LF>

Sensor Z immediately responds with the sensor
address and the 10 values.

XD0!

10 seconds later, after a total of 30 seconds have
passed, the data logger starts the process of data
from sensor X by issuing the first

D

command.

X+1+2+3+4+5<CR><LF>

The sensor immediately responds with the sensor
address and the 5 values.

SDMS40 Multipoint Scanning Snowfall Sensor

35

Summary of Contents for SDMS40

Page 1: ...01 2019 Copyright 2019 Campbell Scientific Inc...

Page 2: ...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...

Page 3: ...ing 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 Cleanliness and Decontamination form and co...

Page 4: ...work l Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers l Do not climb tripods or towers at any time and prohibit climbing...

Page 5: ...0 8 2 RS 232 programming 11 9 Operation 12 9 1 SDI 12 sensor measurements 12 9 2 RS 232 sensor measurements 13 10 Maintenance and calibration 15 10 1 Maintenance 15 10 2 Calibration 15 10 2 1 Automati...

Page 6: ...nt commands aM 34 C 2 7 Start concurrent measurement commands aC 34 C 2 8 Start measurement commands with cyclic redundancy check aMC and aCC 36 C 2 9 Stopping a measurement command 36 C 2 10 Send dat...

Page 7: ...telligent average of the depths to provide a representative average snow depth of the target area Communications options include SDI 12 and RS 232 FIGURE 1 1 Laser area FIGURE 1 1 p 1 demonstrates the...

Page 8: ...nformation against the shipping doc uments to ensure the expected product and cable length are received l Shipped with 4 screws 2 lock washers 2 band clamps and mounting bracket l Ensure that the cabl...

Page 9: ...Sensor The default average snow depth units are millimeters This can be changed by clicking the Snow depth average box and selecting different units Type the correct SDI 12 Address 4 Click the Wiring...

Page 10: ...h and save the program Send the program to the data logger if the data logger is connected to the computer 9 If the sensor is connected to the data logger check the output of the sensor in the data lo...

Page 11: ...ic calibration process to calculate install angle and height l Output data on SDI 12 or RS 232 serial data interface l Compatible with Campbell Scientific CRBasic data loggers CR200 X series CR300 ser...

Page 12: ...sor heat on 1 8 kg 3 9 lb IP67 Class 2 Dimensions Height Length Width 12 cm 4 72 in 28 cm 11 02 in 10 cm 3 94 in Compliance documents View at www campbellsci com sdms40 7 Installation If you are progr...

Page 13: ...maximum seasonal snow depth height FIGURE 7 1 p 7 FIGURE 7 2 p 7 This provides adequate height for required accuracy and resolution Mounting procedure is provided in Table 7 1 p 8 FIGURE 7 1 SDMS40 m...

Page 14: ...le After loosely tightening the screw on the common hole FIGURE 7 1 p 7 the inclination angle can be adjusted in 5 degree increments by matching one of the six holes on the flat backed mount attached...

Page 15: ...sensor wire color function and data logger connection Wire color Function Power supply terminal Data logger connection terminal Black Power ground G Red Power 12V Green SDI 12 signal C or U1 terminal...

Page 16: ...your data acquisition needs are more complex the files that Short Cut creates are a great source for programming code to start a new program or add to an existing custom program NOTE Short Cut cannot...

Page 17: ...l parameters refer to CRBasic Help for more information 8 2 RS 232 programming The RS 232 instruction sequence is shown in the following table Example programs are provided in RS 232 program p 27 Tabl...

Page 18: ...r to pause its operation until the values are ready Rather the data logger picks up the data with the D command on the next pass through the program Another measurement request is then sent so that da...

Page 19: ...the threshold The allowed values range from 40 to 10 C aXHxx Where xx is the height in mm xx CR LF Manually set the current sensor height in mm This option would only be used if the auto matic calibra...

Page 20: ...m information such as cur rent firmware version and installation angle and height ac n a Perform automatic calibration to determine installation height and angle history n a Show measurement data from...

Page 21: ...m any obstacles or foreign material l Remove any dust or foreign deposits from the window of the SDMS40 Clean the window glass with soft cleaning fabric or tissues water and soft cleaning detergents l...

Page 22: ...aXG or RS 232 g When using the RS 232 command the sensor will ask to confirm the request Enter y to proceed 10 3 Updating operating system To update the sensor operating system download the operating...

Page 23: ...Select the Session Category and set the parameters to the following a Select a serial line Use the COM port assigned to your serial cable b Speed baud 57600 c Data bits 8 d Stop bits 1 e Parity None f...

Page 24: ...ating operating system procedure Step Procedure 5 Select the Terminal Category and select the Force on option for both the Local echo and Local line editing parameters SDMS40 Multipoint Scanning Snowf...

Page 25: ...ur serial cable b Speed baud 57600 c Data bits 8 d Stop bits 1 e Parity None f Flow control None 7 Click the Open button 8 Once the PuTTY terminal emulator opens apply power to the sensor 9 Let the se...

Page 26: ...he parameters to the following a Hex file press the button and select the cpp hex operating system file from the folder b Speed baud 57600 c Device SDMS d Com port Use the COM port assigned to your se...

Page 27: ...ion White Operating system reset Pin 4 Blue RX Pin 3 Yellow TX Pin 2 Brown Ground Pin 5 Only use when resetting the operating system Table 10 3 Power wiring Color Function Connection Red Power 12 V Bl...

Page 28: ...t Cut code and wiring diagram into CRBasic Editor 1 Create the Short Cut program following the procedure in Quickstart p 2 Finish the program On the Advanced tab click the CRBasic Editor button The pr...

Page 29: ...highlight several lines of CRBasic code then right click and select Comment Block This feature is demonstrated at about 5 10 in the CRBasic Features video SDMS40 Multipoint Scanning Snowfall Sensor 23...

Page 30: ...C1 Brown Signal ground analog ground CRBasic Example 1 CR1000X SDI 12 program to measure the SDMS40 SDMS40 SDI 12 Sample Program CR1000X SequentialMode Constants Const SDMS40_Interval 1 in minutes Con...

Page 31: ...Battery FP2 False False Sample 1 status CompileResults String Maximum 1 status PanelTemp FP2 False False Minimum 1 status PanelTemp FP2 False False Sample 1 status ProgSignature UINT4 Sample 1 status...

Page 32: ...ts by sending 0D1 thru 0D8 commands SDI12Recorder SDMS40_Snow_Depth_Points 1 SDI12_PORT1 0 D1 _ 1 0 0 1 1 SDI12Recorder SDMS40_Snow_Depth_Points 6 SDI12_PORT1 0 D2 _ 1 0 0 1 1 SDI12Recorder SDMS40_Sno...

Page 33: ...xample 2 CR1000X RS 232 program to measure the SDMS40 SDMS40 RS232 Sample Program CR1000X SequentialMode User entered constants Const SDMS40_Interval 1 measurement and data output interval in minutes...

Page 34: ..._Distance_Points 36 Units SDMS40_Distance_Points mm Dim SDMS40_string As String 2000 string to hold data string received from SDMS40 Dim SDMS40_string_temp As String 2000 Dim SDMS40_Serial_Check Snow...

Page 35: ...t SDMS40_COMport ac CHR 13 _ are you sure 2 50 If SDMS40_Serial_Check 13 Then SDMS40_Serial_Check SerialOut SDMS40_COMport y CHR 13 _ confirmed 2 50 SerialIn SDMS40_string SDMS40_COMport 1000 2000 Spl...

Page 36: ...g_temp SDMS40_string t 1 4 SplitStr SDMS40_Temperature SDMS40_string_temp 3 0 SplitStr SDMS40_string_temp SDMS40_string P 1 4 SplitStr SDMS40_Depth_Points SDMS40_string_temp 36 0 SplitStr SDMS40_strin...

Page 37: ...ensors Watch or Sniffer Mode videos C 2 SDI 12 command basics SDI 12 commands have three components l Sensor address a a single character and the first character of the command Use the default address...

Page 38: ...equest CRC aRC0 aRC9 a values CRC CR LF Extended Commands aXNNN a values CR LF 1 Information on each of these commands is given in the following sections C 2 1 Acknowledge active command a The Acknowl...

Page 39: ...time in seconds until verification information is available n the number of values to be returned when one or more subsequent D commands are issued C 2 4 Address query command Command requests the add...

Page 40: ...ely indicates that it will return two values within the next 35 seconds 0 CR LF Within 35 seconds sensor 0 indicates that it has completed the meas urement by sending a service request to the data log...

Page 41: ...immediately indicates that it will have 6 06 values ready for collection within the next 40 040 seconds ZC The data logger makes a request to sensor Z to start a concurrent measurement Z02010 CR LF S...

Page 42: ...rn more about how the CRC code is developed C 2 9 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 c...

Page 43: ...f sensor and tells the sensor to perform a specific task They have the following structure Responses vary from unit to unit See the sensor manual for specifics Command aXNNNN The command will start wi...

Page 44: ...Connect under Datalogger click Terminal Emulator The terminal emulator window opens 3 Under Select Device located in the lower left side of the window select the CR1000 station 4 Click Open Terminal 5...

Page 45: ...data logger responds with the CR2XX prompt 7 Type SDI12 and press Enter 8 The response SDI12 indicates that the sensor is ready to accept SDI 12 commands 9 To query the sensor for its current SDI 12 a...

Page 46: ...0 to 1 C 4 References SDI 12 Support Group SDI 12 A Serial Digital Interface Standard for Microprocessor Based Sensors Version 1 4 River Heights UT SDI 12 Support Group 2017 http www sdi 12 org curre...

Page 47: ...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...

Reviews: