Campbell Scientific CR23X Micrologger User Manual
Page 122

SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES
8-12
Table 8.10-3 lists the input channel
configuration and Input Storage allocation for
the measured values. After reading the new
input samples, the Level 2 measurements are
relocated using the Block Move Instruction 54,
then Ta1 is relocated through a separate move
and e1 is positioned by specifying the
destination location in the Wet/Dry-Bulb
Instruction. The COV/CORR Instruction must
be entered twice, once for each level.
In addition to ordering Level 1 and Level 2 in
locations 1-5 and 11-15 respectively, 2 more
locations are required. Converting the wet-/dry-
bulb measurements to vapor pressure using
Instruction 57 requires atmospheric pressure.
We'll use the standard atmosphere for the site
elevation and key the value into Location 17
using the C command in the
6
Mode.
This example requires that 54 locations be
allotted to Input Storage and 79 to Intermediate
Storage (35 for the 1st COV/CORR Instruction,
43 for the second, and 1 for Instruction 92).
TABLE 8.10-3. Example Input Channel and Location Assignments
INPUT
INPUT
INPUT
INPUT
PARAM
CHAN
LOC
PARAM LOC
PARA LOC
W1
1
1
W1
1
W1
1
U1
2
2
U1
2
U1
2
V1
3
3
V1
3
V1
3
W2
4
4
Ta1
9 ---------------------- Ta1
4
U2
5
5
Tw1
10
Separate moves e1
5
V2
6
6
W2
11
W2
11
Ta2
7
7
->Block->
U2
12
U2
12
Tw2
8
8
move
V2
13
V2
13
Ta1
9
9
Ta2
14
Ta2
14
Tw1
10
10
Tw2
15
e2
15
PROGRAM
*
Table 1 Program
01:
1
Execution Interval (seconds)
01:
Set Port(s) (P20)
1:
9999
C8..C5 = nc/nc/nc/nc
2:
9933
C4..C1 = nc/nc/1ms/1ms
02:
Volts (SE) (P1)
1:
6
Reps
2:
5
±5000 mV Slow Range
3:
1
SE Channel
4:
1
Loc [ W1 ]
5:
.018
Mult
6:
0
Offset