Input/Output - Campbell 21X Operator's Manual

Micrologger
Table of Contents

Advertisement

location
table.
l2
of Instruction 23
in
the program
by
13
is
the multiplier and
14
the
SECTION
9.
INPUT/OUTPUT INSTRUCTIONS'
Bu
rsUTelecommu
nications Considerations
The 21X will not respond to attempts to enter
telecommunications while Burst
measu
rements
are in progress.
lf
the Burst Measurement instruction
is
encountered while
telecommunications is
in
progress, the destination
of
the data determines
whether
or not the instruction is executed:
Burst data sent to input
locations-
lf
the
Burst instruction specifies that Burst data be
sent
to input locations, all telecommunication
activity
will
be
suspended. After the Burst
trigger condition is met and all Burst
measurements made, Telecommunications can
resume.
Burst data sent to Serial
UO
Port-
lf
the Burst
instruction specifies
that Burst data be sent to
the serial port (i.e., Storage module),21X
program execution
will pause until
telecommunications is
exited.
During
this pause
telecommunications (i.e., view input locations,
Monitor Mode with Term, etc.) can
continue.
No
Burst measurements
are made while
in
telecommunications and no Burst data is sent to
the serial
port.
After
telecommunication has
ended, datalogger program execution will
resume
as
if
the Burst instruction were just
executed.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
2
Repetitions (no.
of
channels)
2
Range
code (12-15)
2
1st
channel for analog
rneasurements
4
Option, 4 digit code
ABCD
A
Trigger
0
-
Trigger on
1st
analog channel
1
- Digital trigger
on
single-ended
Channel
1
(1H)
2 - Same as 0, but set
DigitalControl Port
#1 high when
trigger is met, Low
offset
(to
the
calibration.
I
raw data) determined by the first
is a
fixed value determined by the
input range
lected.
15
through
ln_2a.re
the raw
data.
Thus, the value of the first
sent
(M1)
in millivolts
is:
Mr = lzlls (ls -
1+)
The measurdment data are sent
in
the order that
the measureinents are made (i.e., the first
measuremerft for each channel, then
the second
measuremerft
for each channel,
etc.). The
last
2
integers
senf, ln-t and
ln
correspond
to
13
and
14
and are
the iesults of the final calibration.
SCAN INTERVAL
Instruction
28 has its own scan interval
independent
of
the
execution interval of the
program
table
in
which it resides. The resolution
of
the clock fiming
the execution interval
is
813
nanosecondb. This scan interual, entered
in
Parameter
S
(in milliseconds),
is
the
time
between
eaQh
scan
of
the specified channels
(i.e., if
4
chaf nels are specified in Parameter
1,
and the
scadr
interval is 5ms, then
the
4
measuremehts
willbe
repeated every
Sms).
The
minimurin
time
that is allowed per
measurement is
0.97ms. The
maximum
time
that is allow0d per measurement is
50ms.
lf
the
scan interval entered
does
not
allow
this much
time per meAsurement (e.9.,
if
with 4 reps,
an
interval less
than 3.88ms is entered), an error
code,
E
61,
will
be
displayed when
the program
is
compiled.
When sending data to the serial
port,
the rat$ at which the data can be
transferred inay limit the scan interval (e.9., at
9600 baud
the minimum time per measurement
is 2.2ms).
02:
03:
o4:.
the raw serial data
TION VALUES are
for
TO MILLIVOLTS
11
and
12are
9-11

Advertisement

Table of Contents
loading

Table of Contents