Campbell 21X Operator's Manual page 106

Micrologger
Table of Contents

Advertisement

02:
03:
04:
05:
06:
07:
08:
09:
*lnput configuration;
channels 8,7,6,5
*lnput configuration;
channels
4,3,2,1
**Function; channels 8,7,6,5
**Function; channels
4,3,2,1
***Output option
Loc
Mult
Offset
.
Inputconfigurations:
6
=
firigh
level, rising edge
1
= ftigh level, falling edge
2
= lbw level, rising edge
3
= lbw level, falling edge
**
Functions:
0
=
tllo
value returned
1
= period in ms
2
=
frequency in kHz
3
=
time since previous channel's edge
ln ms
4
=
time since channel
1
in ms
5 = Counts
on channel 2 since channel
11,
linear interpolation
6
=
frequency in kHz (low resolution)
7
= bounts
8
=
bounts on
Channel2 since
Channel
1, no interpolation
***
Outgtt
option:
0
Average over execution interval
0--
Continuous averaging
XXXX
Averaging interual in msec,
XXXX>O
Capture all events until
XXXX edges of
channel
1
(0<xxxx,9999)
Test memory
102 SDM-SW8A
***
4
4
4
4
4
4
FP
FP
xx4x--
99eB--
l
l
l**
The
8 chanrtrel
SDM-SW8A Switch
Closure Input
Module
is
a peripheralfor measuring
up
to
I
channels of switch
closure or voltage pulse
inputs.
Each
channel may
be
configured
to read
single-pole
double-throw (SPDT) switch closure,
or
single-pde single-throw (SPST) switch
closure, or
voltage
pulse.
Output options
include counts, duty cycle, and
state.
This
instruction
if
not in
all PROM options.
l
I
SECTION
9.
INPUT/OUTPUT INSTRUCTIONS
The SWSA
is
addressed by the datalogger,
allowing multiple SWSA's to be connected to one
datalogger.
16
addresses are available.
lf more channels are requested than exist in one
module, the datalogger
automatically increments
the address and continues to
the next SW8A.
The
address settings for rnultiple SWSA's must
sequentially
increase.
For
example, assume
2
SWSA's addressed as 22 and
23
are
connected,
and 12 Reps are requested.
8
channels from
the
first SWBA and the first 4 channels from the
next
will be
read.
Only
one Function Option (Parameter 3) may
be
specified
per lnstruction
102.
lf
all4
functions
are desired,
the instruction must be entered
4
times.
Function Ootion
0 provides the state
of
the
signal
at
the
time P102 is
executed. A
1
or
0 corresponds
to high or low states,
respectively.
Function
Ootion
1
provides
signalduty
cycle.
The result
is
the percentage of time.
the signal is high during the sample interval.
Function Option
2 provides
a
count
of
the
number of positive
transitions
of
the signal.
Function Ootion
3 provides the signature
of
the SWSA
PROM. A positive
number
(signature) indicates
the PROM and RAM
are
good,
azero
(0) indicates bad PROM,
and
a negative number indicates bad RAM.
Function Option
3 is not used routinely, but
is helpful in
"debugging". Only one Rep
is
required
for Option
3.
Parameter 4 specifies the first SWSA channel to
be read
(1..8).
One
or more sequential channels
are read depending on the
Reps.
To optimize
program efficiency, the sensors should be wired
sequentially.
Data are stored in
sequentialdatalogger input
locations, starting
at
the location specified
in
Parameter
5.
The number of input locations
consumed
is
equal to
the number of Reps.
The scaling multiplier and offset (Parameters
6
and 7) are applied to all
readings.
lf
a multiplier
is not entered,
all readings are set to
0.
9-13

Advertisement

Table of Contents
loading

Table of Contents