beautypg.com

115 set sdm baud, 117 read datalogger id, 118 sdm-can – Campbell Scientific CR10X Measurement and Control System User Manual

Page 157: 130 error monitor, 131 enhanced vibrating wire measurement

background image

SECTION 9. INPUT/OUTPUT INSTRUCTIONS

9-25

*** 115 SET SDM BAUD ***

FUNCTION
Instruction 115 may be used to set the SDM
communication rate. This may be necessary
when communicating over longer cable lengths.
The default bit period is 10 microseconds
(entering either 0 or 1 will result in this period).

PARAM.

DATA

NUMBER

TYPE

DESCRIPTION

01:

4

Bit period, 10

µs units

Normally this parameter represents the bit
period. If the parameter is indexed (--), the
value entered is an Input Location that contains
the bit period to use.

NOTE: The TDR Instruction 100 and the
SDM-SI04 Instruction 113 automatically
adjusts the SDM communication rate to the
fastest that will work.

*** 117 READ DATALOGGER ID ***

FUNCTION
Instruction 117 stores the datalogger ID into an
input location. The datalogger ID is set in the
∗D mode with Command 8 (Section 1.8.4).

PARAM

DATA

NUMBER

TYPE

DESCRIPTION

01:

4

Input location number

*** 118 SDM-CAN ***

Instruction 118 is used to configure and control
Campbell Scientific’s SDM-CAN interface. This
interface is used to communicate directly with a
CAN-bus network. See the SDM-CAN manual for
details.

*** 130 Error Monitor ***

FUNCTION
Stores an error count or status information from
*B into an input location. Indexing the option
code will cause the instruction to store the value
into an input location and then clear the *B
value. This is designed to assist with
troubleshooting and to alert users of possible
problems.

PARAM

DATA

NUMBER

TYPE

DESCRIPTION

01:

2

Option Code (Index (--) to
reset error count after
reading)

02:

4

Input location number

Option Codes:

0

Read Watchdog or E08s Errors

1

Read Table Overruns

2

Read Low 12V Detection

3

Read Lithium Battery Voltage Level
(Indexing does nothing)

4

Read Flash (for CR10X-1M or CR10X-
2M) Errors

Input Locations Altered: 1

*** 131 Enhanced Vibrating Wire

Measurement ***

FUNCTION
Excites a vibrating wire sensor with a swept
frequency (from low frequency to high), then
measures the response period and calculates
1/T

2

, where T is the period in ms. Excitation is

normally provided for each repetition. As an
option, a single excitation can be made prior to
all repetitions of the measurement. A AVW1 or
AVW4 Vibrating Wire Interface is required for
these sensors, but it may have trouble reading
the low frequencies.

T - Amount of Time to sweep between the

specified frequencies

N - Number of steps to use when sweeping

from the Starting Frequency to the
Ending Frequency

The 1/T

2

value stored in the first Input Location

specified in Parameter 11 is the result after the
# of Cycles specified in Parameter 9. The 1/T

2

value stored in the sequential Input Location is
the result after 5 times the # of Cycles specified
in Parameter 9. The value in the second Input
Location is the correct value to use unless the
reading falls into a certain range. This
instruction is most often used with the Slope
Indicator Vibrating wire. Slope Indicator has
datalogger programming instructions they
recommend using to decide which of the 2
readings to use.