B.1.4 set units, B.1.5 set water conditions, B.1.4 set – Campbell Scientific CS475, CS476, and CS477 Radar Water Level Sensor User Manual

Page 42: B.1.5 set, Water, B-4. example, Ndix b.1.4, set units, See appendix b.1.5, set water conditions

Advertising
background image

Appendix B. SDI-12 Commands/Changing Settings

TABLE B-3. Example of Setting Address

Initial Command

Response

0A1!
Where 0 is the original address
and 1 is the new address.

1<cr><If>
The new address (1) is set in response.

B.1.4 Set Units

The distance measurement can be reported in feet (default) or meters. Change
the units by first using the aXSU+n! command (where n = 1 (feet) or 0
(meters)) followed by the aXGU! (Get Units) command. TABLE B-4 shows
an example of the command and response for changing this setting.

TABLE B-4. Example of Setting Units

Initial Command

Response

0XSU+0!
Where the first zero is the sensor
address and the second zero sets the
units to meters.

00011<cr><If>
Where (from left to right),
0—sensor’s address;
001—the amount of time (in seconds)
that you must wait before sending
another command;
1—the number of values that will be
placed in the buffer.

Subsequent Command

Response

0XGU!
Where zero is the sensor address.
This is the get units command.

0+0<cr><If>
Where the first zero is the sensor
address and the second zero indicates
that the units are now meters.

B.1.5 Set Water Conditions

The Set Water Conditions command adapts the sensor to different water
conditions.

There are four different settings:

• 0 (custom setting)

• 1 (smooth—typical peak to trough of wave < 4”)

• 2 (medium—typical peak to trough of wave < 8”)

• 3 (rough—typical peak to trough of wave > 8”)

B-4

Advertising