
CR10X User Guide
8-2
*
1
Table 1 Programs
01:
10
Sec. Execution Interval
01:
P17
Panel Temperature
01:
1
Loc [:Panl Temp]
02:
P14
Thermocouple Temp (DIFF)
01:
1
Rep
02:
1
2.5mV slow Range
03:
1
IN Chan
04:
1
Type T (Copper-Constantan)
05:
1
Ref Temp Loc Panl Temp
06:
20
Loc [:Temp i ]
07:
1
Mult
08:
0
Offset
03:
P51
Spatial Average
01:
10
Swath
02:
11
First Loc Temp i-9
03:
2
Avg Loc [:10smpl av]
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