beautypg.com

H-3342 – Xylem H-3342 User Manual

Page 21

background image

H-3342

SDI-12 Command and Response Protocol 3-9

3.8 Change Sensor Address
The Change Sensor Address Command allows the sensor address to be changed. The address is
stored in non-volatile EEPROM within the sensor. The H-3342 will not respond if the command
was invalid, the address was out of range, or the EEPROM 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", "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"