4 cyclic redundancy check, 1 check crc for valid data, Cyclic redundancy check – Campbell Scientific CS475, CS476, and CS477 Radar Water Level Sensor User Manual

Page 31: Check crc for valid data, 3. send, Identification, Command, See section 8.1.4

Advertising
background image

CS475, CS476, and CS477 Radar Water Level Sensor

• Manufacturer’s Model Number: PS61 (CS475), PS62 (CS476), or PS63

(CS477)

• Three Digit Firmware Version Number.

• Eight Digit Serial Number of Sensor.

TABLE 8-3. Send Identification Command

Initial Command

Response

aI!

a13VEGAbbbbPS6233212345678<cr><If>
Where (from left to right),
a—sensor address;
13—SDI-12 compatibility number;
VEGA = Manufacturer’s Name;
PS62 = Manufacturer’s Model Number;
3.32 = Sensor Version Number;
Serial Number = 12345678.

8.1.4 Cyclic Redundancy Check

A cyclic redundancy check (CRC) is used to produce and send a small, fixed-
size checksum of a larger block of data to the datalogger. This checksum
detects errors after transmission or storage. The CRC is computed and added
before any transmission or storage. The CRC is also authenticated by the
recipient, after the transmission, to confirm that no alterations occurred. CRCs
are very good at identifying errors caused by noise in transmission channels.

8.1.4.1 Check CRC for Valid Data

The aV! command requests three verification values from the sensor. This
command is always followed by the aD0! (Send Data) command.

The verification values that will be returned are:

• CRC check (error check)—values are 0 (OK) or 1 (failed)

• SDI-12 Radar firmware version number

• HART Sensor firmware version

23

Advertising