Rainfall Intensity - Campbell Measurement and Control Module CR10 Operator's Manual

Ds 70;
Hide thumbs Also See for Measurement and Control Module CR10:
Table of Contents

Advertisement

SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES
04:
P54
Block Move
01:
9
No. of Values
02:
12
First Source Loc Temp i-8
03:
1
Source Step
04:
11
First Dest. Loc [:Temp i-9 ]
05:
1
Destination Step
05:
P86
Do
01:
10
Set high Flag 0 (output)
06:
P70
Sample
01:
1
Reps
02:
2
Loc 10smpl av
07:
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. If 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.
Instruction 80 is used to send the 1 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
*
1
Table 1 Programs
01:
5
Sec. Execution Interval
01:
P2
Volt (DIFF)
01:
1
Rep
02:
25
2500 mV 60 Hz rejection
03:
3
IN Chan
04:
5
Loc [:XX mg/M3 ]
05:
10
Mult
06:
0
Offset
8-2
02:
P92
01:
0
02:
60
03:
10
03:
P80
01:
3
02:
3
04:
P71
01:
1
02:
5
05:
P51
01:
3
02:
1
03:
4
06:
P80
01:
1
02:
25
07:
P77
01:
110
08:
P70
01:
1
02:
4
09:
P91
01:
10
02:
30
10:
P54
01:
2
02:
2
03:
1
04:
1
05:
1
11:
P95
12:
P

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. If the total is not equal to 0, output is
redirected to Final Storage Area 1, the time is
output and the total is sampled.
If time is
minutes into a
minute interval
Set high Flag 0 (output)
Set Active Storage Area
Input Storage Area
Array ID or location
Average
Rep
Loc XX mg/M3
Spatial Average
Swath
First Loc AVG i-2
Avg Loc [:3 HR AVG ]
Set Active Storage Area
Final Storage Area 1
Array ID or location
Real Time
Day,Hour-Minute
Sample
Reps
Loc 3 HR AVG
If Flag/Port
Do if flag 0 (output) is high
Then Do
Block Move
No. of Values
First Source Loc AVG i-1
Source Step
First Dest. Loc [:AVG i-2 ]
Destination Step
End
End Table 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds 70

Table of Contents

Save PDF