Campbell Measurement and Control Module CR10 Operator's Manual page 118

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

Advertisement

converts the readings to engineering units.
Temperature (°C), pressure (psi), and signature
are stored in Locations 17, 18, and 19,
respectively. Instructions to output the readings
to Final Storage are not included in this
example.
*
1
Table 1 Programs
01:
60
Sec. Execution Interval
If the program has just compiled, a 0 is in Loc
20. If Loc 20 = 0, call subroutine 1 and load the
temperature coefficients into Loc 3..16.
01:
P89
If X<=>F
01:
20
X Loc COMP CHK
02:
1
=
03:
0
F
04:
1
Call Subroutine 1
Measure temperature period in microseconds
02:
P27
Period Average (SE)
01:
1
Rep
02:
4
Input gain=1
03:
12
IN Chan
04: 9000
No. of Cycles
05:
6
Time Out (units=.01sec)
06:
1
Loc [:TEMP,us]
07:
1
Mult
08:
1
Offset
Measure pressure period in microseconds
03:
P27
Period Average (SE)
01:
1
Rep
02:
4
Input gain=1
03:
1
IN Chan
04: 5000
No. of Cycles
05:
15
Time Out (units=.01sec)
06:
2
Loc [:PRESS,us]
07:
1
Mult
08:
0
Offset
04:
P64
Paro Processing
01:
1
Start Loc: Temp(us),
Pressure(us), U
02:
17
Start Loc: Temp(°C),
Pressure(psi), SIG
05:
P
End Table 1
*
3
Table 3 Subroutines
01:
P85
Beginning of Subroutine
01:
1
Subroutine Number
SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES
02:
01:
02:
03:
03:
01: -3970.3
02:
03:
04:
01: -7114.3
02:
03:
05:
01:
02:
03:
06:
01:
02:
03:
07:
01:
02:
03:
08:
01:
02:
03:
09:
01:
02:
03:
10:
01:
02:
..T
03:
0
5
11:
01:
02:
03:
12:
01:
02:
03:
P30
Z=F
5.8603
F
0
Exponent of 10
3
Z Loc [:U0 ]
P30
Z=F
F
0
Exponent of 10
4
Z Loc [:Y1 ]
P30
Z=F
F
0
Exponent of 10
5
Z Loc [:Y2 ]
P30
Z=F
102.78
F
0
Exponent of 10
6
Z Loc [:Y3 ]
P30
Z=F
70.294
F
0
Exponent of 10
7
Z Loc [:C1 ]
P30
Z=F
6.6101
F
0
Exponent of 10
8
Z Loc [:C2 ]
P30
Z=F
-119.29
F
0
Exponent of 10
9
Z Loc [:C3 ]
P30
Z=F
30.884
F
0
Exponent of 10
10
Z Loc [:D1 ]
P30
Z=F
0
F
0
Exponent of 10
11
Z Loc [:D2 ]
P30
Z=F
26.337
F
0
Exponent of 10
12
Z Loc [:T1 ]
P30
Z=F
.85170 F
0
Exponent of 10
13
Z Loc [:T2 ]
7-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds 70

Table of Contents

Save PDF