beautypg.com

1. sdi-12 command codes – Campbell Scientific AVW200-series Vibrating Wire Interfaces User Manual

Page 51

background image

AVW200-series 2-Channel Vibrating Wire Spectrum Analyzer Modules

SDIPort

The SDIPort parameter is the port to which the SDI-12

sensor is connected. A numeric value is entered:

Code Description

1

Control Port 1

3

Control Port 3

5

Control Port 5

7

Control Port 7

SDIAddress

The SDIAddress parameter is the address of the SDI12

sensor that will be affected by this instruction. Valid

addressses are 0 through 9, A through Z, and a through z.

Alphabetical characters should be enclosed in quotes (e.g.,

"0").

SDICommand

The SDICommand parameter is used to specify the

command strings that will be sent to the sensor. The

command should be enclosed in quotes. TABLE 6-1 shows

the specific SDI-12 Command Codes and their returned

values.

TABLE 6-1. SDI-12 Command Codes

SDI12 Measurement Command

Returned Values

aM!

(Measures both AVW200 Channel 1 and

Channel 2)

1) Chan1 Frequency

2) Chan1 Therm Resistance

3) Chan1 Signal Amplitude mV

RMS

4) Chan2 Frequency

5) Chan2 Therm Resistance

6) Chan2 Signal Amplitude mV

RMS

aM1!

(Measures AVW200 Channel 1; either

this command or the following command

is used for non-Campbell Scientific

dataloggers)

1) Chan1 Frequency

2) Chan1 Signal Amplitude mV

RMS

3) Chan1 Signal-to-Noise Ratio

4) Chan1 Noise Frequency

5) Chan1 Decay Ratio

6) Chan1 Therm Resistance

aM2!

(Measures AVW200 Chan2)

1) Chan2 Frequency

2) Chan2 Signal Amplitude mV

RMS

3) Chan2 Signal-to-Noise Ratio

4) Chan2 Noise Frequency

5) Chan2 Decay Ratio

6) Chan2 Therm Resistance

aV!

1) Battery Voltage

2) Trapcodes

3) WatchDog Counts

aXVWbbbb,eeee,v!

where:

bbbb = Begin Freq (100 < bbbb < 6.5K)

eeee = End Freq (100 < eeee < 6.5K)

v = Excite Voltage (1= 5v and 2 = 12v)

Returns "OK" if accepted

Returns "ERROR" if not accepted

43