beautypg.com

H-4161 – Xylem H-4161 User Manual

Page 25

background image

H-4161

SDI-12 Command and Response Protocol 3-9

3.8 Change Sensor Address Command

The Change Sensor Address Command allows the sensor address to be changed. The address is

stored in non-volatile Flash memory within the sensor. The H-4161 will not respond if the

command was invalid, the address was out of range, or the Flash programming operation failed.

Command

Response

Description

"aAn!

"n" Change sensor address

Where:

a

is the current (old) sensor address ("0-9", "A-Z", "a-z", "*", "?"). An ASCII "*"

may be used as a "wild card" address if the current address is unknown and only

one sensor is connected to the bus.

A

is an upper-case ASCII character.

n

is the new sensor address to be programmed ("0-9", "A-Z").

NOTE: To verify the new address use the "Identify Command."

Example of a "Change Sensor Address" command:

Command

Response

Description

"aA2!"

"2"

Change sensor address to "2"