Campbell Scientific CR10 CR10 Measurement and Control - Page 25

ov-l1

Page 25 highlights

CRlO OVERVIEW TABLE OV4.2-2. Additional Keys Allowed in Telecommunications g - CR : S or nS C or nC Action Change Sign, Index (same as C) Enter/advance (same as A) Colon (used in setting time) Stops transmission of data (10 second time-out; any character restads) Aborts transmission of Data OV4.3 PROGRAMMING SEOUENCE ln routine applications, the CR10 measures sensor output signals, processes the measurements over some time interval and stores the processed results. A generalized programming sequence is: 1. Enter the execution interval. ln most cases, the execution interval is determined by the desired sensor scan rate. 2. Enter the InpuVOutput instructions required to measure the sensors. 3. lf processing in addition to that provided by the Output Processing Instructions (step 5) is required, enter the appropriate Processing Instructions. 4. Enter the Program Control Instruction to test the output condition and set the Output Flag when the condition is met. For example, use lnstruction 92 to output based on time. Instruction 86 to output every execution interval. Instruction 88 or 89 to output based on a comparison of values in input locations. This instruction must precede the Output Processing lnstructions which store data in Final Storage. Instructions are described in Sections 9 through 12. 5. Enter the Output Processing Instructions to store processed data in Final Storage. The order in which data are stored is determined by the order of the Output Processing lnstructions in the table. Repeat steps 4 through 6 for additional outputs on ditferent intervals or conditions. NOTE: The program must be executed for output to occur. Therefore, the interval at which the Output Flag is set must be evenly divisible by the execution interval. For example, with a 2 minute execution interval and a 5 minute output interval, the program willonly be executed on the even multiples of the 5 minute intervals, not on the odd. Data will be output every 10 minutes instead of every 5 minutes. Execution interuals and output intervals set with f nstruction 92 are synchronized with real time starting at midnight. OV4.4 INSTRUCTION FORMAT Instructions are identified by an instruction number. Each instruction has a number of parameters that give the CR10 the information it needs to execute the instruction. The CR10 Prompt Sheet has the instruction numbers in red, with the parameters briefly listed in columns following the description. Some parameters are footnoted with further description under the "lnstruction Option Codes" heading. For example, Instruction 73 stores the maximum value that occurred in an Input Storage location over the output interval. The instruction has three parameters (1) REPetitionS, the number of sequential Input Storage locations on which to find maxima, (2) TIME, an option of storing the time of occurrence with the maximum value, and (3) LOC the first Input Storage location operated on by the Maximum Instruction. The codes for the TIME parameter are listed in the "lnstruction Option Codes". The repetitions parameter specifies how many times an instruction's function is to be repeated. -For example, four l0T.thermistor probes may be measured with a single lnstruction 11, Temp107, with four repetitions. Parameter 2 specifies the input channel of the first thermistor (the probes must be connected to sequential channels). Parameter 4 specifies the Input Storage location in which to store measurements from the first thermistor. lf location 5 were used and the first probe was on channel 1, the ov-l1

  • 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

TABLE
OV4.2-2.
Additional
Keys
Allowed in
g
Telecommunications
Action
-
Change Sign, Index (same as
C)
CR
Enter/advance (same as A)
:
Colon (used in setting time)
S
or
nS
Stops
transmission
of
data
(10
second
time-out;
any
character
restads)
C
or
nC
Aborts
transmission of
Data
OV4.3
PROGRAMMING
SEOUENCE
ln
routine applications,
the
CR10 measures
sensor output
signals,
processes
the
measurements over some
time
interval and
stores
the processed
results.
A
generalized
programming
sequence
is:
1.
Enter
the execution
interval.
ln
most cases,
the
execution interval
is
determined
by
the
desired sensor
scan
rate.
2.
Enter
the
InpuVOutput instructions required
to
measure
the
sensors.
3.
lf processing
in
addition to
that
provided by
the
Output
Processing Instructions (step
5)
is
required, enter
the
appropriate
Processing
Instructions.
4.
Enter
the
Program
Control
Instruction
to
test
the
output condition and set the Output
Flag when the
condition
is
met.
For
example,
use
lnstruction 92 to
output
based on time.
Instruction
86
to
output every execution
interval.
Instruction 88 or 89 to output based on
a
comparison
of
values
in input locations.
This
instruction must precede
the
Output
Processing lnstructions which store
data
in
Final
Storage.
Instructions are described
in
Sections
9
through
12.
5.
Enter
the Output
Processing Instructions
to
store processed
data
in Final
Storage.
The
order
in
which data are
stored
is
determined
by
the
order
of
the
Output
Processing
lnstructions
in
the table.
CRlO
OVERVIEW
Repeat steps
4
through
6
for
additional
outputs on
ditferent
intervals or conditions.
NOTE:
The program
must be executed
for
output to
occur.
Therefore,
the
interval at
which the
Output
Flag is set must be evenly
divisible
by
the
execution
interval.
For
example,
with
a
2
minute
execution
interval
and a
5
minute
output
interval,
the
program
willonly
be executed on the
even
multiples
of
the 5
minute intervals, not on the odd.
Data will be output
every
10 minutes
instead of every
5
minutes.
Execution interuals and output intervals set with
f
nstruction
92
are
synchronized
with
real
time
starting
at
midnight.
OV4.4
INSTRUCTION FORMAT
Instructions
are
identified by
an
instruction
number.
Each instruction has
a
number
of
parameters
that
give
the
CR10
the
information
it
needs to execute
the
instruction.
The
CR10 Prompt Sheet has
the
instruction
numbers in red, with
the
parameters briefly
listed
in
columns following the description.
Some parameters are footnoted with
further
description under
the
"lnstruction Option Codes"
heading.
For
example,
Instruction
73
stores
the
maximum value
that occurred
in
an
Input
Storage location over the
output
interval.
The
instruction has
three
parameters
(1)
REPetitionS,
the
number of
sequential
Input
Storage
locations on which to
find
maxima,
(2)
TIME,
an option of storing the time
of
occurrence with
the
maximum value,
and
(3)
LOC the
first
Input
Storage
location operated
on
by
the Maximum Instruction.
The codes for
the
TIME
parameter
are
listed
in
the
"lnstruction
Option Codes".
The
repetitions parameter
specifies
how many
times
an
instruction's
function
is
to
be repeated.
-For
example,
four l0T.thermistor
probes may be
measured with a
single lnstruction
11,
Temp-
107,
with
four repetitions.
Parameter 2 specifies
the
input channel of the first
thermistor
(the
probes
must be connected
to
sequential
channels).
Parameter
4
specifies
the
Input
Storage
location
in
which
to store
measurements
from the first
thermistor.
lf
location
5
were
used
and the
first
probe was on
channel
1,
the
ov-l1