beautypg.com

Sdi-12 command & response – Xylem SDI-12 RADAR User Manual

Page 34

background image

example of an extended “read Slope” command:

Command

response

Time

Values

Description

“aXrS!”

“a0011” 1 sec

1

read Slope

Subsequent Command response

Description

“aD0!”

“a+1.00” Slope is 1.00

SDi-12 CommaND & reSPoNSe

32

example of an extended “Write Slope” command:

Command

response

Time

Values

Description

“aXwS1.234!”

“a0011” 1 sec

1

write Slope

Subsequent Command response

Description

“aD0!”

“a+1.234” Slope is 1.234

Normally, the radar transmits the service request within 530mS of receipt of the break. as with some

data loggers, this leaves insufficient time to sustain continuous measurements once per second.

The Power_mode is an internal setting which puts the radar in a fast measure mode. in this mode

the radar is always awake and automatically collecting data from the radar unit and storing it at

1-second intervals. in this mode the sensor uses additional power. Changing this mode will allow

and disallow the use of some measurement types.

This command is used to change the power mode. The radar comes from the factory with the power

mode set to the Sleep mode. This setting is stored in non-volatile FLaSH memory within the sensor.

once a new value is written, a copy is sent to the sensor data buffer for verification. This data can

be viewed by using a subsequent “D” command. To read or verify the value any other time, use the

“XrPm” command.

Command

response

Description

“aXrPm!”

“a0011” read Power_Mode

“aXwPmn!”

“a0011” write Power_Mode

where:

a

is the sensor address (“0-9”, “a-Z”, “a-z”, “*”, “?”).

XrPm

are upper case characters.

XwPm

are upper case characters.

n

is the new setting (0 or 1)

0 = Sleep between measurements

1 = make continuous measurements

extended read Power_Mode and write Power_Mode