Xylem SDI-12 RADAR User Manual
Page 35

SDI-12 Command & Response
33
This command takes 001 seconds to complete and places 1 value in the data buffer. Use the “aD0”
command to collect and view the current value.
This command is used to change the number of measurements used in the “am1!” command when
the Power mode is set to 1. The radar comes from the factory with the number of measurments set
to 360. This setting is stored in non-volatile FLaSH memory within the sensor. The minimum and
maximum values that can be written are 1 and 360, respectively, anything beyond these values will
be set to one of the endpoints.
once a new value is written, a copy is sent to the sensor data buffer for verification. This data can
be viewed by using a subsequent “D” command. To read or verify the value any other time, use the
“XrPm” command.
Command
response
Description
“aXrNm!”
“a0011
“aXwNmnn!”
“a0011
where:
a
is the sensor address (“0-9”, “a-Z”, “a-z”, “*”, “?”).
XrNm
are upper case characters.
XwNm
are upper case characters.
nn
is the new setting (1 - 360)
This command takes 001 seconds to complete and places 1 value in the data buffer. Use the “aD0”
command to collect and view the current value.
extended read Number_of_Measurements and write Number_of_Measurements
example of an extended “read Number_of_Measurements “ command:
Command
response
Time Values
Description
“aXrNm!”
“a0011
read Number_of_Measurements
Subsequent Command response
Description
“aD0!”
“a+360
example of an extended “Write Number_of_Measurements “ command:
Command
response
Time Values
Description
“aXwNm181!”
“a0011
write Number_of_Measurements
Subsequent Command response
Description
“aD0!”
“a+181