background image

Appendix B. SDI-12 sensor
support

SDI-12, Serial Data Interface at 1200 baud, is a protocol developed to simplify sensor and data
logger compatibility. Only three wires are necessary — serial data, ground, and 12 V. With unique
addresses, multiple SDI-12 sensors can connect to a single SDI-12 terminal on a Campbell
Scientific data logger.

This appendix discusses the structure of SDI-12 commands and the process of querying SDI-12
sensors. For more detailed information, refer to version 1.4 of the SDI-12 protocol, available at

www.sdi-12.org

.

For additional information, refer to the

SDI-12 Sensors | Transparent Mode

and

SDI-12 Sensors |

Watch or Sniffer Mode

videos.

B.1 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 of zero (0) unless multiple sensors are connected to the same port.

l

Command body – an upper case letter (the “command”), optionally followed by one or
more alphanumeric qualifiers.

l

Command termination (!) – an exclamation mark.

An active sensor responds to each command. Responses have several standard forms and always
terminate with <CR><LF> (carriage return and line feed). Standard SDI-12 commands are listed
in

Table B-1

(p. 16).

Table B-1: Campbell Scientific sensor SDI-12 command and response set

Name

Command

Response

1

Acknowledge Active

a!

a<CR><LF>

Send Identification

aI!

allccccccccmmmmmmvvvxxx...xx

<CR><LF>

Start Verification

aV!

atttn <CR><LF>

SN500SS Net Radiometer

16

Summary of Contents for SN-500-SS

Page 1: ...Revision 08 2021 Copyright 2018 2021 Campbell Scientific Inc...

Page 2: ...ong cables 12 9 Maintenance calibration and troubleshooting 13 9 1 Maintenance 13 9 2 Calibration 13 9 3 Troubleshooting 14 Appendix A Importing Short Cut code into CRBasic Editor 15 Appendix B SDI 12...

Page 3: ...c redundancy check aMC and aCC 21 B 1 9 Stopping a measurement command 21 B 1 10 Send data command aD0 aD9 21 B 1 11 Continuous measurement command aR0 aR9 22 B 1 12 Extended commands 22 B 2 SDI 12 tr...

Page 4: ...TAND the Safety section at the back of this manual l Care should be taken when opening the shipping package to not damage or cut the cable jacket If damage to the cable is suspected consult with Campb...

Page 5: ...procedure also shows using Short Cut to program the SN500SS 1 Open Short Cut and click Create New Program 2 Double click the data logger model 3 In the Available Sensors and Devices box type SN500SS...

Page 6: ...wiring the sensor 5 Repeat steps three and four for other sensors 6 In Output Setup type the scan rate meaningful table names and Data Output Storage Interval NOTE Because of the delays using SDI 12 C...

Page 7: ...he sensor is connected to the data logger check the output of the sensor in the data display in LoggerNet RTDAQ or PC400 to make sure it is making reasonable measurements 5 Overview The SN500SS is a f...

Page 8: ...on accounts for a larger proportion of net radiation during the day when the sun is shining Longwave radiation contributes to net radiation during the day and at night Net shortwave radiation is the d...

Page 9: ...1 s SDI 12 data transfer rate detector response times are 0 5 s Heater current drain at 12 VDC 63 mA heaters on communication enabled 1 5 mA heaters off communication enabled 0 6 mA heaters off commun...

Page 10: ...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 edit programs after they are importe...

Page 11: ...ample if the instrument is mounted 6 m above the surface 99 of the input of the lower sensors comes from a circular area with a 60 m radius To avoid shading or reflection effects and to promote spatia...

Page 12: ...nd cable connected 2 Attach the mounting bracket to the vertical mounting pipe or CM200 series crossarm using the provided U bolt FIGURE 7 3 p 10 If mounted to a vertical pipe ensure that the pipe doe...

Page 13: ...veling of the sensor using the sensor bubble level 5 Tighten the four screws on top of the mounting bracket to properly secure the support arm so that it does not rotate FIGURE 7 3 p 10 CAUTION The fo...

Page 14: ...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 data is ready on the next scan N...

Page 15: ...or incoming LW 3 Voltage signal for outgoing LW 4 Sensor body temperature for outgoing LW mV C mV C aM4 aC4 aMC4 or aCC4 Albedo W m 2 aXHON Turn heater on aXHOFF Turn heater off Returns the SDI 12 Add...

Page 16: ...time of day at any location in the world It is most accurate when used near solar noon in spring and summer months where accuracy over multiple clear and unpolluted days is estimated to be 4 in all c...

Page 17: ...fied by the SDI12Recorder instruction 2 Check the voltage to the sensor with a digital voltage meter If a switched 12V terminal is used temporarily connect the red wire to a 12V terminal non switched...

Page 18: ...ted for additional refinement NOTE Once the file is edited with CRBasic Editor Short Cut can no longer be used to edit the program it created 2 To add the Short Cut wiring information into the new CRB...

Page 19: ...Sniffer Mode videos B 1 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 of zero 0 unles...

Page 20: ...RC CR LF Extended Commands aXNNN a values CR LF 1 Information on each of these commands is given in the following sections B 1 1 Acknowledge active command a The Acknowledge Active command a is used t...

Page 21: ...until verification information is available n the number of values to be returned when one or more subsequent D commands are issued B 1 4 Address query command Command requests the address of the con...

Page 22: ...0 immediately 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 measurement by sending a service request to th...

Page 23: ...sor 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...

Page 24: ...t www sdi 12 org to learn more about how the CRC code is developed B 1 9 Stopping a measurement command A measurement command M is stopped if it detects a break signal before the measurement is comple...

Page 25: ...in the values part of the response to the R command B 1 12 Extended commands Many sensors support extended SDI 12 commands An extended command is specific to a make of sensor and tells the sensor to...

Page 26: ...use their transparent mode The following examples show how to enter transparent mode and change the SDI 12 address of an SDI 12 sensor The steps shown in Changing an SDI 12 address p 23 are used with...

Page 27: ...sponds with its SDI 12 address If no characters are typed within 60 seconds the mode is exited In that case simply type SDI12 again press Enter and type the correct control port number when prompted 1...

Page 28: ...lar to that shown for the CR1000X B 3 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...

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

Page 30: ...ion or Repair Reference number contact your CAMPBELL SCIENTIFIC regional office Please write the issued number clearly on the outside of the shipping container and ship as directed For all returns the...

Page 31: ...rohibit climbing by other persons Take reasonable precautions to secure tripod and tower sites from trespassers l Use only manufacturer recommended parts materials and tools Utility and Electrical l Y...

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

Reviews: