Control - Campbell 21X Operator's Manual

Micrologger
Table of Contents

Advertisement

location
is updated by
an
llQ
Instruction.
suppose
a
temperature
is initiated
by
Table
1
which has
an
intervalof
1
second. The
every 10
mi
are
in
Table
2
which has
an
of
10
seconds. The
execution
10
minute period, but
the average will
be
the
result of only 60
of
those measurements
because
the instruction to average
is
executed
only one
tenth as often as the instruction to
make
the measurement.
occurs only when
the Output
Flag is set
3.7.1).
The
Output Flag,
Flag
0,
is
at
desired intervals or in response
to specified
by using an appropriate
Program
lnstruction (Section
1
1
).
3.7
USE OF
FLAGS:
OUTPUT AND
PROGRATT'I
CONTROL
There
are
1Q
flags
which may be used
in
21X
programs.
wo
of
the
flags have functions with
Output
Instructions: Flag
0
controls
final
and
data storage, and Flag
9
can disable
processing.
Flags
1-8
may be
as desired in programming the
and
9
are
automatically set low al
of
the program
table.
Flags
1-8
21X.
Flags
the begin
SECTION
3.
INSTRUCTION
SET BASICS
data
is
called an
output array. The Output Flag
is set according to
time or event dependent
intervals using Program
Control Instructions
specified
by
the
user.
The
Output Flag
is
set
low
at
the beginning of each table.
Each group of
Output Processing Instructions
creating an output
array must be preceded by
a
Program
Control Instruction that sets the Output
Flag.
Output is most often desired
at
fixed intervals;
this is accomplished with Instruction 92,
lt
Time,
which checks
the clock to see if it
is
X minutes
into a
Y minute
interval.
lf the time
condition
is
met,
a
command is
executed. Output
at
the
beginning
of
the interval by making Parameter
1,
time into the interual,
0.
Parameter 2, the
time
interual
in minutes, is how often output will
occur; i.e., the Output Interual. Enter
10
for
parameter
3,
the command code,
to set Flag
0
high.
lnstruction 92 is
followed in the program
table
by
the Output Instructions which define the
output array desired.
The
time interval
is
synchronized to
24 hour
time; output will occur on each integer multiple
of
the Output Interval starting trom midnight
(0
minutes).
lf
the
Output Interval is not an even
divisor
of
144O
minutes (24 hours),
the last
output interval
of
the day will be less than the
specified
time
interval.
Output
will occur at
midnight and
will resume synchronized to the
new day.
NOTE:
lf
the
Output Flag
is
already
set high and the test condition of
a
subsequent Program Control
Instruction acting on the
flag fails,
the
flag
is
set
low.
This
feature
eliminates having to enter another
instruction
to specifically reset the
Output Flag
at
the end of an output
array before proceeding to another
group of
Output Instructions with
a
different
output interval (see example
in OV4.3).
3.7.2 THE INTERMEDIATE
PROCESSING
DISABLE FLAG
The Intermediate Processing Disable Flag,
9,
suspends intermediate processing when
For
remaln
Control
the *6
untilacted
on by
a Program
or until manually toggled from
Flag
O
Flag
1
Flag
9
TABLE
3.7-1.
Flag
Description
-
Output Flag
to8
-
UserFlags
-
lntermediate Processing
Disable Flag
Flags are sqt
with Program Control Instructions.
The
Output Flag, Flag 0, and the intermediate
processing disable
flag, Flag
9,
will always
be
set low
if
thp set high
condition is not
met. The
status of
flags 1-8 are not changed if a
conditional
test
is
false.
3.7.1
THE OUTPUT FLAG
A set of propessed data
values is placed
in
Final Stora$e by
Output Processing lnstructions
when the
Qutput Flag, Flag 0, is set
high.
This
set
of
I
Flag
it
is
3-3

Advertisement

Table of Contents
loading

Table of Contents