5 get units, 6 get water conditions, 7 get power operation mode – Campbell Scientific CS475, CS476, and CS477 Radar Water Level Sensor User Manual

Page 32: Get units, Get water conditions, Get power operation mode, 4. checking, Crc example, N 8.1.6, On 8.1.7

Advertising
background image

CS475, CS476, and CS477 Radar Water Level Sensor

TABLE 8-4 shows an example of checking the CRC.

TABLE 8-4. Checking CRC Example

Initial Command

Response

0V!
Where 0 is the sensor’s address.

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

Subsequent Command

Response

0D0!
Where the first zero is the
sensor’s address.

0+0+1610000+3320000<cr><If>
Where (from left to right),
0—sensor’s address;
0—CRC check (0 = OK);
1610000—adapter version (1.61.00.00);
3320000—sensor version (3.32.00.00).

8.1.5 Get Units

Use the aXGU! command to get the current units setting of the sensor. If the
units are feet, a 1 will be returned, and if the units are meters, a 0 will be
returned.

8.1.6 Get Water Conditions

The aXGWC! command returns the current setting of the water conditions.
Possible water conditions are:

1 = smooth (default)

2 = medium

3 = rough

0 = undefined (custom settings)

8.1.7 Get Power Operation Mode

The 0XGPOM! command provides the current power operation mode setting
of the sensor.

24

Advertising