Sutron Corporation RLR-0003-1 Manuel D’Utilisation

Page de 63
Bringing the Benefits of Real-Time Data Collection to the World 
28 
SDI-12 Sensor Operation 
The  radar  can  function  as  an  SDI-12  Sensor.    This  allows  the  radar  to  connect  to  another  data  logger  or 
transmitter to provide the data when requested.   If you are not using the radar with another data recorder or 
transmitter, you can skip this section. 
 
For details on 
, please refer to page 10. 
 
The most common SDI-12 command used with the radar is the “M” measure command followed by the “D0” 
command.  The “M” command requests the  radar to make a measurement and the “D0” command gets the 
data.  While there are a lot of other commands available, most users will simply use the M, D0 commands. 
 
Note:  The  radar  „Mode‟  of  operation,  ie  Normal  vs.  Continuous  Mode,  will  have  an  impact  on  the 
communication delays experienced with the SDI-12 operation.  See section 
 for more details 
on operation.  
 
The remainder of this section documents all the SDI-12 commands supported by the radar.  Note that most 
any setting that can be changed from the front panel, can also be changed via SDI-12. 
 
Changing the SDI-12 address can be accomplished via the front panel (
). 
SDI-12 Reference 
The  radar  will  respond  to  all  standard  SDI-12  commands.    To  use  the  SDI-12  commands  you  must  have  a 
data logger or interface that supports the SDI-12 standard. The radar is compliant with SDI-12 Specifications 
version 1.3.  More details on the SDI-12 interface can be found at 
. 
 
The general form of an SDI-12 command is: 
 
 
aC!<CR><LF> 
   
where a is the sensor address 0-9,A-Z,a-z,*, ?. (Addresses * and ? will address any sensor, regardless 
of its address.) 
 C is the command and ! is the last character of the command.   
 
The standard SDI commands are as follows 
 
 
Name 
Command(s) 
Response 
Example/Notes 
 
Acknowledge Active 
a! 
 
Send Identification 
aI! 
A13 SUTRON 1.0 
RLRXXXV1.21 
Where 1.0 is the board 
revision,  V1.21 is the 
software revision 
 
Change Address 
aAb!  
 
Address Query 
?! 
 

MC 

CC 
 an
aM!  
aD0! 
atttn 

+stage 
+discharge 
+units 
+distance 
+validity 
 
Returns stage in user set 
units, discharge (0 if 
disabled), units 
indicator, and validity.  
The validity can be 0-
valid, 1-sensor failure, 
2-data old, 3-system not 
configured properly