Campbell 21X Instrukcja Operatora Strona 78

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 191
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 77
SECTION
8. PROCESSING
AND PROGRAM
CONTROL
EXAMPLES
O4:
P54
01:
9
02:
12
03:
1
04:
11
05:
1
05:
P86
01:
10
06:
P70
01: 1
02"
2
Block Move
No. of Values
First Source
Loc Temo
i-8
Source Step
First
Destin.
Loc
[:Temp
i-9
]
Destination
Step
Do
Set
high Flag
0
(output)
Sample
Rep
Loc
l0smplav
O7'. P
End Table 1
In the
above example,
all samples for
the
average
are stored
in input
locations.
This is
necessary
when
an
average
must
be output with
each
new
sample. In most cases,
averages are
desired
less frequently
than sampling.
For
example,
it may
be necessary to
sample some
parameter
every
5 seconds and output
every
hour
an
average of
the
previous
three hours
readings.
lf all samples were
saved,
this
would
require
2160 input locations. The
same value
can
be obtained
by
computing an
hourly
average
and averaging
the
hourly
averages
for
the
past
three hours.
To do this requires
that
hourly
averages
be stored
in
input locations.
lnstruction
80
is
used
to
send the t
hour
average
to Input
Storage
and
again to send
the
3 hour
average
to
Final Storage.
Input Location
Labels:
1:AVG i-2
2:AVG i-1
3:AVG i
4:3 HR AVG
5:XX mg/M3
Table 1 Programs
Sec.
Execution
lnterval
Volt
(DIFF)
Rep
5000
mV
slow Range
lN Chan
Loc
[:XX
mg/M3
]
Mult
Offset
02: P92
01: 0
O2:
60
03: 10
03: P80
01:
3
02: 3
lf
time is
minutes into a
minute
interval
Set high Flag 0
(output)
Set Active Storage Area
Input
Storage
Area
Array
lD or location
Average
Rep
Loc XX mg/M3
SpatialAverage
Swath
First Loc AVG i-2
Avg Loc
[:3
HR
AVG
]
Set Active Storage
Area
Final
Storage
Area
Array lD
or
location
RealTime
Day,Hour-Minute
Sample
Rep
Loc
3 HR AVG
lf Flag
0
(output)
is
set
Then
Do
Block
Move
No.
of Values
First
Source Loc
AVG
i-1
Source
Step
First
Destin. Loc
[:AVG
i-2
Destination
Step
05: P51
01:
3
02:
1
03:
4
04: P71
01:
1
Q2: 5
06:
P80
01:
1
02; 25
07: P77
01: 22O
08: P7O
01:
1
02:
4
09: P91
01: 10
o2'. 30
10: P54
01: 2
02: 2
03: 1
O4: 1
05: 1
01:
01:
01:
02:
03:
04:
05:
06:
1
5
P2
1
5
3
5
10
0
11: P95 End
12: P End Table 1
8.2
RAINFALL INTENSITY
In
this example, the total
rain
for the
last 15
minutes is
output
only if
any
rain
has occurred.
The
program
makes
use of
the capability
to
direct the
output
of Output Processing
Instructions to Input Storage.
Every 15
minutes, the total rain is
sent
to
Input
Storage. lf
the
total is not
equal to
0, output is
8-2
Przeglądanie stron 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 190 191

Komentarze do niniejszej Instrukcji

Brak uwag