SR50A Sonic Ranging Sensor
- 13 -
SDI-12
Command
Command Function/Description
Values Returned
aM!
Distance-Meters
D
aM1!
Distance-Meters, Quality Number
D, Q
aM2!
Distance-Meters, Temperature °C
D, T
Note1
aM3!
Distance-Meters, Quality Number, Temperature °C
D, Q, T
Note1
aM4!
Snow Depth Meters, Quality Number, Temperature
SD, Q, T
aM5!
Distance-Inches
D
aM6!
Distance-Inches, Quality Number
D, Q
aM7!
Distance-Inches, Quality Number, Temperature °C
D, Q, T
Note1
aM8
!
Snow Depth Inches, Quality Number, Temperature
SD, Q, T
Note1
AM9
!
Temperature °C
T
Note1
aMC!
aMCn!
Measurement Commands with Checksum
See aM and aM1- aM8
Output is the same as
aM, aM1-aM9
Checksum is added
aC!
Concurrent Measurement Command
Distance-Meters
D
aCn!
Concurrent Measurements
Same as M1
–
M8
Output is the
Same as M1
–
M8
aCC!
aCCn!
Concurrent Measurement Commands with Checksum. See aM
and aM1- aM8
Output is the same as
aM, aM1-aM8
Checksum is added
aD0!
Send Data
Dependent upon command Sent
aV!
Verification command
S1,S2,V,WD
S1 = Firmware Signature
S2 = BootRom Signature
V = Supply Voltage
Note1
WD = Watch Dog Errors
aI!
Send Identification
013CAMPBELLSR50A 2.0SN
SN = Serial number (5 digits)
?!
Address Query
a
aAb!
Change Address command
b is the new address
aXM;D.DDD!
Extended
command
Set the distance to ground parameter in the SR50A. The distance
must be in meters with no more than 3 decimal places.
a
Address is returned
aXI;DDD.DD!
Extended
command
Set the distance to ground parameter in the SR50A. The distance
must be in Inches with no more than 2 decimal places.
a
Address is returned
aXT;CC.CC!
Extended
command
Provide the SR50A with a temperature value to perform on board
temperature compensation. The temperature must be in degrees
Celsius with a maximum of 7 characters including sign and
decimal.
a
Address is returned
aR0!
Returns the Distance to Ground Setting in the SR50A. The units
returned are in Meters
DG
aR1!
Returns the Distance to Ground Setting in the SR50A. The units
returned are in Inches
DG
aR2!
Returns the temperature sent to the SR50A for Internal
Temperature compensation. This value remains the same unless
power is cycled or a new temperature values is sent.
T
Where a = address of SDI-12 device.
Where n = numbers 1 to 9
NOTE 1: (SR50AT version only)