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

3-10 SDI-12 Command and Response Protocol
H-4161
3.9 Extended Set_Current_Stage Command (for testing the 4-20mA output)
During installation and testing it is convenient to force set the H-4161's output to a particular
value. The “aXSCSddd” command allows the user to force the current measurement data (Stage)
to a particular setting. The H-4161 processes the ddd value using the current Max and Min
settings and updates the 4-10mA output. Both the Stage and mA output values are printed on the
LCD display. The H-4161 comes from the factory with the Max set to 20.00 and the Min to 4.00.
With these settings the value ddd is conveniently the same as what the output current (in
milliamps) will be. For example, if an “aXSCS10.0!” is issued, the output current will be
10.0mA. The data value must be between the current Max and Min settings or the output will be
clamped at 4.00mA or 20.0mA
This command is useful for testing the max and min settings over the dynamic range of your
SDI-12 sensor. For example: if Max=10.0 and Min=0.0, an “aXSCS5.0 will set the output
current to 12.0mA.
Note: if the module mode is INITIATE, the output setting will be overwritten when the H-4161
initiates a measurement on the auxSDI port.
Example of a H-4161 Extended "Set Current Stage" command:
Command
Response
Description
"aXSCS2.3!"
"Stage_F = 2.3
Set the Stage to 2.3
3.10 Extended Set_Milliamp Command (for testing the 4-20mA output)
During installation and testing it is often convenient to force set the H-4161's output to a
particular value. The “aXSMddd” command allows the user to force the output to a particular
milliamp setting. The value is not processed with the module’s Max and Min settings. For
example: “aXSCS5.0" will set the output current to 5.0mA, regardless of the Max or Min
settings
Note: if the module mode is INITIATE, the output setting will be overwritten when the H-4161
initiates a measurement on the auxSDI port.
Example of a H-4161 Extended "Set Milliamp" command:
Command
Response
Description
"aXSM5.6!"
"I-Out = 5.6mA
Set the output to 5.6 milliamps