Appendix C. SDI-12 Sensor Support
C-2
TABLE C-1. Campbell Scientific Sensor SDI-12 Command and
Response Set
Name
Command
Response
1
Send Data
aD0!
...
aD9!
a<values><CR><LF>
or
a<values><CRC><CR><LF>
Continuous
Measurement
aR0!
...
aR9!
a<values><CR><LF>
1
Information on each of these commands is given in following sections.
C.2.1 Acknowledge Active Command (a!)
The Acknowledge Active command (
a!
) is used to test a sensor on the SDI-12
bus. An active sensor responds with its address.
C.2.2 Send Identification Command (aI!)
Sensor identifiers are requested by issuing command
aI!
. The reply is defined
by the sensor manufacturer but usually includes the sensor address, SDI-12
version, manufacturer’s name, and sensor model information. Serial number 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 identification
mmmmmm 6 characters specifying the sensor model
vvv
3 characters specifying the sensor version (operating system)
xxx…xx
Up to 13 optional characters used for a serial number or other
specific sensor information that is not relevant for operation of the
data logger
<CR><LF> Terminates the response
Source:
SDI-12: A Serial-Digital Interface Standard for Microprocessor-Based Sensors
(see Appendix
C.2.3 Start Verification Command (aV!)
The response to a Start Verification command can include hardware
diagnostics, but like the
aI!
command, the response is not standardized.
Command:
aV!
Response:
atttn<CR><LF>
a
= sensor address
ttt
= time, in seconds, until verification information is available