Campbell 21X Operator's Manual page 14

Micrologger
Table of Contents

Advertisement

Table
1.
Execute every
x sec.
0.0125<x<6553
I
nstru
ctions
are executed
sequentially
in the order
they
are entered in the
table.
One
complete pass
through the table is made
each execution interual
unless
program control
instructions
are used
to
or branch execution.
NormalOrder:
MEASURE
PROCESS
CHECK
OUTPUT COND.
PUT PROCESSING
21X MICROLOGGER OVERVIEW
with an allowable range of 0.0125 to 6553
seconds.
Intervals shorter
than 0.1 seconds
are allowed only
in
Table
1.
Subroutine
Table
3
has no execution interval; subroutines are only
executed when called from
Table
1 or 2.
OV2.3.1 THE
EXECUTION
INTERVAL
The
execution interval specifies how often the
program
in
the
table
is
executed, which
is
usually determined by how often the sensors are
to be
measured.
Unless
two different
measurement rates
are needed, use only one
table.
A program
table
is
executed sequentially
starting with the
first instruction
in
the table and
proceeding to the end
of
the table.
Each instruction
in
the
table requires
a
finite
time to
execute.
lf
the
execution interval is less
than the
time required to process the table, the
21X overruns the
execution interval, finishes
processing the
table and waits for the next
execution interval before initiating the table.
When an overrun occurs,
decimal points are
shown on either side
of
the G on the display
in
the LOG mode
(.0).
Overruns and
table priority
are discussed in
Section
1.1.
FIGURE OV2.2.
Program and
Subroutine Tables
OV2.3.2 THE OUTPUT
The interval
at
which oul
independent from the
ex
than the fact
that it must
executed (i.e.,
a
table
ce
execution interval and
or
A single program table
c
output intervals and
conr
unique data set (output
i
Instructions
are used to
which determines when
Output Processing Instrt
instruction setting the
Or
data output and its
sequ,
output array
is
created
b
Control Instruction settin
in response to an output
Output Processing Instrt
set to output.
OV3.
PROGRAMMING
A program
is
created by
datalogger or on
a PC
ur
Datalogger Support Soft
This manualdescribes
d
able
2.
Execute every y sec.
1
<v<6553
Table
2
r.s
used if there is
a
need
to
measure
and
process data on a separate
interualfrom that in Table
1.
ov-6
Table
3.
Subroutines
A subroutine is executed
only when called from
Table
I
or 2.
Subroutine Label
lnstructions
End
Subroutine Label
Instructions
End
Subroutine Label
lnstructions
End
TPUT
INTERVAL
ch output occurs
is
the execution interval, other
I
must occur when the
table
is
rble
cannot have a 10 minute
and output
every 15 minutes)
able
can have many different
d
conditions, each with
a
utput
array).
Program Contro
ied
to set
the Output Flag
when output
occurs. The
I
Instructions which follow the
the
Output Flag determine
thr
i
sequence.
Each additional
ated by
another Program
setting the
Output Flag high
rutput condition, followed by
I
Instructions defining the
dati
MING
THE 21X
ed by keying
it
directly
into
th,
PC using
the PC208
rt
Software program EDLOG.
'ibes
direct interaction with
thr

Advertisement

Table of Contents
loading

Table of Contents