
3.
Final
stored
The use
of
Storage
in
processing
While the
constant,
the areas
Section
1
memory,
progranfs
entered
in Program
Tables
1 and
2, and
$ubroutine
Table
3.
(Sections
OV3,
1.1)
state
Module
or
for retrieval via
links.
Values are stored
in Final only
by
the Output
Output
19,296
power
Instructions and
only
when
the
is set
in
the users
program.
The
allocated' to Final Storage at
is reduced
if
Input or
Intermediate
is increased.
Systeni Memory
-
used for overhead tasks
such as] compiling
programs,
transferring
data, etb. The user
cannot access this
ge -
Final,
processed
values
are
for transfer
to
printer,
tape,
solid
Input, Intermediate, and Final
measurement
and
data
is
shown
in Figure
OV2:1.
size of
these
three
areas
remains
may be reallocated between
accommodate
different
t and
processing
needs
(*A
Mode,
The size of
system
and
program
fixed.
21X MICROLOGGER OVER\NEW
used to develop high
level
algorithms
to
process
measurements
prior
to Output
Processing
(Section
1 0).
OUTPUT
PROCESSING INSTRUCTIONS
(69-82,
Section 1 1) are the
only
instructions
which store data
in Final Storage
(destination).
Input Storage
(source)
values
are
processed
over time
to
obtain averages,
maxima, minima, etc.
There
are two types
of
processing
done
by Output Instructions:
Intermediate
and
Final.
Intermediate
processing
normally
takes
place
each
time the
instruction is executed.
For
example,
when the Average Instruction
is executed, it adds the
values from the
input locations
being
averaged
to
running
totals
in lntermediate
Storage.
lt
also
keeps
track of
the
number of samples.
Final
processing
occurs only when the
Output
Flag is high. The Output Processing
Instructions
check
the Output Flag. lf the
flag is high,
finalvalues
are
calculaled
and
output.
With
the
Average,
accumulated
totals
are divided by the
number
of samples
and the
resulting
averages sent to
Final
Storage.
lntermediate locations
are
zeroed
and the
process
stafts
over. The Output
Flag, Flag
0,
is
set
high by
a
Program
Control
Instruction which
must
precede
the
Output
Processing Instructions in
the
user
entered
program.
PROGRAM
CONTROL
INSTRUCTIONS
(85-98,
Section 12) are used
for logic
decisions
and conditional statements.
They
can set
flags,
compare
values
or times,
execute
loops,
call subroutines,
conditionally
execute
portions
of the
program,
etc.
OV2.3 PROGRAM
TABLES
AND
THE
EXECUTION
AND OUTPUT
INTERVALS
Programs are
entered
in Tables
1 and
2.
Subroutines,
called
from
Tables
1
and
2, are
entered
in Subroutine Table 3.
The size of each
table
is flexible,
limited only by the total amount
of
program
memory. lf Table
1 is the only table
programmed,
the entire
program
memory
is
available
for Table 1.
Table 1 and
Table
2 have independent
execution
intervals.
entered
in
units of seconds
ov2.2 21Xl
Figure 1 illustrates the
use
of the three
act
on data.
The
used
to
control
different
i ion
types which
fouilh type, Control,
is
output ti and
vary
program
execution.
are
identified
by
numbers.
1. rNPUT/OUTPUT TNSTRUCTTONS
(1-
26,101-104, Section 9) controlthe
terminal
strip
inputs
and outputs
(the
sensor is
the
source, Figure OV1-2), storing the
results in
Input
Sprage
(destination).
Multiplier
and
offset
pBrameters
allow conversion of linear
signals
into
engineering units.
The Control
Ports
and
Continuous Analog Outputs
are
also addressed
with
l/O lnstructions.
2. PROCqS$NG TNSTRUCTTONS
(30-66,
Sectionr 1 0)
perform
numerical operations
on
valups
located
in
Input Storage
(source)
and stofe the
results
back
in Input Storage
(destin4tion).
These
instructions can be
4.
ov-5
Komentáře k této Příručce