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

H-4161
SDI-12 Command and Response Protocol 3-15
3.15 Extended Read/Write AutoScan Command
When the Module Mode =1 (initiate), the H-4161 actively initiates measurements and collects the
response from the sensor attached to the auxSDI port. These two commands allow the user to
select which “M” command is sent by the H-4161 when it initiates a measurement ( “0M!”,
“0M1!”, “0M2!" etc.) . The H-4161 comes from the factory with this setting set to “0" (“0M!”).
Only the settings “0" to “9" are valid:
0 = 0M! (default)
1 = 0M1!
2 = 0M2!
3 = 0M3!
4 = 0M4!
5 = 0M5!
6 = 0M6!
7 = 0M7!
8 = 0M8!
9 = 0M9!
This setting 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 "XRMC"
command. This command takes 1 second to complete and places 1 value in the data buffer.
Command
Response
Description
"aXRAC!"
“a0011
Read current AutoScan command setting
"aXWACn!"
“a0011
Write current AutoScan command
setting
Where:
a
is the sensor address ("0-9", "A-Z", "a-z", "*", "?").
XRAC
are upper case characters.
XWAC
are upper case characters.
n
is the new parameter
Example of a H-4161 Extended Read Monitored Command command:
Command
Response
Time Values
Description
"aXRAC!"
"a0011
1 sec
1
Read AutoScan setting
Command
Response
Description
"aD0!"
"a+0
Command will be “0M!”
Example of a H-4161 Extended Write Monitored Command command:
Command
Response
Time Values
Description
"aXWAC2!"
"a0011
1 sec
1
Write AutoScan setting
Command
Response
Description
"aD0!"
"a+2
Command will be “0M2!”