H-4161 – Xylem H-4161 User Manual
Page 32

3-16 SDI-12 Command and Response Protocol
H-4161
3.16 Extended Read/Write Measure Rate commands
When Module Mode = 1 (initiate), the H-4161 initiates measurements to the sensor attached to
the auxSDI port. The measurement interval is controlled by the Measure Rate setting. These
two command allows the user to examine or change the Measure Rate setting. If the Measure
Rate is set to a value less than the time it takes to make the actual measurement, measurements
will be made back-to-back, as fast as possible. At the factory the Measure Rate is set to zero.
(seconds).
The Measure Rate setting is stored in non-volatile Flash memory. Once a new value is written to
the Flash memory, a copy is sent to the sensor data buffer for verification. This setting can be
viewed by using a subsequent "D" command. To verify this setting any other time, use the
"XRMR" command. This command takes 1 second to complete and places 1 value in the data
buffer.
Command
Response
Description
"aXRMR!"
“a0011
Read current measurement rate (seconds)
"aXWMRnn!"
“a0011
Write measurement rate (seconds)
Where:
a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
XRMR
are upper case characters.
XWMR
are upper case characters..
nn
is the new measurement rate (seconds)
Example of a H-4161 Extended Read Measure Rate command:
Command
Response
Time Values
Description
"aXRMR!"
"a0011
1 sec
1
Read Measure Rate
Command
Response
Description
"aD0!"
"a+0.
Measure Rate =
0 seconds
Example of a H-4161 Extended Write Measure Rate command:
Command
Response
Time Values
Description
"aXWMR5!"
"a0011
1 sec
1
Write Measure Rate
Command
Response
Description
"aD0!"
"a+5
Measure Rate = 5
.0 seconds