Campbell Scientific CR10 CR10 Measurement and Control - Page 105

Cabling

Page 105 highlights

SECTION 7. MEASUREMENT PROGRAMMING EXAMPLES CR1 O CONNECTIONS r CABLING r USER I STANDARD CABLE W/ SENSOR I SINGLE ENDED INPUT AG \n, 12V SINGLE ENDED INPUT AG PA,R'TO,S' CIENTIFIC SERIIS FfGURE 7.17-1. CRl0/Paroscientific "T" Series Transducer Wiring Diagram Subroutine 1, which loads the coefficients into input locations, is called only on the first execution following program compilation. The temperature frequency is read on singleended Channel '12 and pressure is measured on single-ended Channel 1. Temperature,To, D and C are computed in Subroutine 2 using a generalized fourth order polynomial equation. The form of the equation is F(x) = Us + U(M1 + U(M2 + U(M3 + UM/)). This form provides faster execution and greater accuracy of the floating point math. "Ms..4" represents coefficients 0 through 4, and U is defined above. With five coefficients, To is the only parameter requiring a fourth order polynomial. To maintain the fourth order format, zero value "dummy" coefficients are plugged in where required tor the temperature, D, and C coefficients. lnstructions to output the readings to Final Storage are not included in this example. "1 01: 60 01: P89 01: 42 Q2: 1 03: 0 o4'. 1 02: 01: 02: 03: o4: 05: 06: 07: 08: P27 1 4 12 9000 6 10 1 0 03: 0't: 02: 03: 04: 05: 06: 07: 08: P27 1 3 1 5000 16 11 1 0 Table 1 Programs Sec" Execution Interval lf XF X Loc CMPILE CK F Gallsubroutine 1 Period Average (SE) Rep lnput gain=1 lN Chan No. of Cycles Time Out (units=.01 sec) Loc [:UT us ] Mult Offset Period Average (SE) Rep lnput gain=10 lN Chan No. of Cycles Time Out (units=.01 sec) Loc [:TAU us ] Mult Offset 7-21

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238

CR1
O
CONNECTIONS
SINGLE ENDED
INPUT
AG
n
\,
12V
SINGLE ENDED
INPUT
AG
Subroutine
1,
which
loads the
coefficients
into
input locations,
is
called only
on
the
first
execution
following
program compilation.
The temperature
frequency
is read on single-
ended
Channel
'12
and
pressure
is measured
on single-ended
Channel
1.
Temperature,To,
D
and C are
computed
in
Subroutine
2
using a generalized fourth
order
polynomial
equation.
The
form
of
the
equation
is
F(x)
=
Us
+
U(M1
+
U(M2
+
U(M3
+
UM/)).
This
form
provides
faster
execution and
greater
accuracy of the
floating
point
math.
"Ms..4"
represents coefficients
0
through
4,
and
U is
defined
above.
With
five
coefficients,
To is
the
only
parameter
requiring
a
fourth
order
polynomial. To
maintain the fourth
order
format, zero
value
"dummy" coefficients are
plugged
in
where
required tor the temperature,
D, and C coefficients.
lnstructions
to
output
the
readings
to
Final
Storage
are
not included
in
this example.
SECTION
7.
MEASUREMENT PROGRAMMING EXAMPLES
r
USER
CABLING
I
r
STANDARD
CABLE
W/
SENSOR
I
FfGURE
7.17-1.
CRl0/Paroscientific
"T"
Series
Transducer
Wiring
Diagram
"1
01:
60
01:
P89
01:
42
Q2:
1
03:
0
o4'.
1
Table
1
Programs
Sec" Execution Interval
lf X<=>F
X Loc
CMPILE
CK
F
Gallsubroutine
1
Period
Average
(SE)
Rep
lnput
gain=1
lN Chan
No. of Cycles
Time
Out
(units=.01
sec)
Loc
[:UT
us
]
Mult
Offset
Period
Average
(SE)
Rep
lnput gain=10
lN Chan
No. of Cycles
Time
Out
(units=.01
sec)
Loc
[:TAU
us
]
Mult
Offset
02:
01:
02:
03:
o4:
05:
06:
07:
08:
03:
0't:
02:
03:
04:
05:
06:
07:
08:
P27
1
4
12
9000
6
10
1
0
P27
1
3
1
5000
16
11
1
0
PAROSCIENTIFIC
,'T,'
SERIIS
7-21