Bringing the Benefits of Real-Time Data Collection to the World
Sutron Corporation, Tel: 703-406-2800 http://www.sutron.com
a+NC<CR><LF> if M5 is not set to measure ratio.
If you are not sure whether M5 measures ratio or something else, you can determine the
configuration of the M5 measurement by use of the XG5! command. Refer to appendix A for
description on the XGm command.
Tipping-Bucket Measurement
To measure rain-fall, connect tipping bucket between channels DIN (pulled-up) and ground.
SDI-12 set-up command
To set-up a tipping-bucket measurement or change a parameter to other than the default, you can use the
SDI-12 command
aXBm+s+o+p+t+v+i!
where,
a: SDI-address of module
m: Measurement number (M command number : 1…9)
s: Slope (default is 0.01) It is a multiplier to convert number of tips to an engineering unit (such as mm)
o: Offset (default is 0.00). A constant value to be added to the result after adjusting it with Slope
p: Measurement channel (reserved for future expansion, assumes „D‟ for this version)
t: Initial count. Default is 0
v: switching de-bounce time. Default is 0.020, i.e. 20mS
i: L=Enable internal pull-down, H=Enable internal pull-up, O=floating (no pull-up or pull-down).
Default is H
Examples
Consider setting M4 to measure tipping bucket in SDI-12 module at address 1
To configure M4 to measure rain fall with the factory default parameters, use
1XB4+FD!
Which will configure the M4 command in the module at SDI-12 address “1” to measure rainfall with
factory defaults of: slope=0.01, offset=0, channel DIN with internal pull-up, initial-count=0, de-
bounce-time=20mS.
To set offset to 2.4 and leave all other parameters unchanged (default if never programmed), use
1XB4+X+2.4!
To set M4 to measure rainfall with switching de-bounce time equal to 10mS and all other parameters
set to factory default, use two commands
1XB4+FD! followed by 1XB4+X+X+X+X+0.010! or one command
1XB4+0.02+0+D+0+0.10+FD! if you can specify all the parameters.
All parameters except the 2
nd
are specified as „X‟ . „X‟ means “leave the parameter unchanged”
(factory default in this example).
1XB4+X+2.4+FD! will leave slope unchanged (default if never programmed), sets offset to 2.4 and
puts factory-default values for all the remaining parameters