Campbell Scientific CR10 CR10 Measurement and Control - Page 19

MEMORY, PROGRAMMING, CONCEPTS, table., ovERvlEw, The'6

Page 19 highlights

OVl.2 CONNECTING POWER TO THE CRlO The CR10 can be powered bY anY 12VDC source. First connect the positive lead from the power supply to one of the 12V terminals and then connect the negative lead to one of the power ground (G) terminals. The Wiring Panel power connection is reverse polarity protected. See Section 14 for details on power supply connections. CAUTION: The metal surfaces of the CR10 Wiring Panel, and CR1OKD Keyboard Display are at the same potentialas power ground. To avoid shorting 12 volts to ground, connect the 12 volt lead first, then connect the ground lead. OV2. MEMORY AND PROGRAMMING CONCEPTS The CR10 must be programmed before it will make any measurements. A program consists of a group of instructions entered into a program table. The program table is given an execution interval which determines how frequently that table is executed. When the table is executed, the instructions are executed in sequence from beginning to end. After executing the table, the cR10 waits the remainder of the execution interval and then executes the table again starting at the beginning. The intervalat which the table is executed generally determines the interval at which the sensors are measured. The interualat which data are stored is separate from how often the table is executed, and may range from samples every execution interval to processed summaries output hourly, daily, or on longer or irregular intervals. Figure OV2.1-1 represents the measurement, processing, and data storage seguence, and the types of instructions used to accomplish these tasks. " cR10 ovERvlEw OV2.1 INTERNAL MEMORY The CR10 has 64K bytes of Random Access Memory (RAM), divided into five areas. The use of the lnput, Intermediate, and Final Storage in the measurement and data processing sequence is shown in Figure OV2.1- 1. While the total size of these three areas remains constant, memory may be reallocated between the areas to accommodate different measurement and processing needs (*A Mode, Section 1.5). The size of the 2 additional memory areas, system and program, are fixed. The five areas of RAM are: 1. Input Storage - lnput Storage holds the results of measurements or calculations. The'6 Mode is used to view lnput Storage locations for checking current sensor readings or calculated values. lnput Storage defaults to 28 locations. Additional locations can be assigned using the'A Mode (Section 1.5)" 2. Intermediate Storage - Certain Processing Instructions and most of the Output Processing Instructions maintain -' intermediate results in Intermediate Storage. Intermediate storage is automatically accessed by the instructions and cannot be accessed by the user. The default allocation is 64 locations. The number of locations can be changed using the *A Mode. 3. Final-Storage - Finalprocessed values are stored here for transfer to printer, solid state Storage Module or for retrieval via telecommunication links. Values are stored in FinalStorage only by the Output Processing Instructions and only when the Output Flag is set in the users program. Approximately 29,900 locations are allocated to Final Storage on power up. This number is reduced if lnput or Intermediate Storage is increased. 4. System Memory - used for overhead tasks such as compiling programs, transferring data etc. The user cannot access this memory. 5. Program Memory - available for user programs entered in program tables 1 and 2, and Subroutine Table 3. ov-5

  • 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

OVl.2
CONNECTING
POWER TO
THE
CRlO
The
CR10
can
be powered
bY
anY
12VDC
source.
First connect
the positive
lead from
the
power supply
to
one
of
the
12V
terminals
and
then connect
the
negative lead
to
one
of
the
power
ground
(G)
terminals.
The
Wiring
Panel
power connection is reverse polarity protected.
See
Section
14
for details on power supply
connections.
CAUTION:
The
metal surfaces of
the
CR10
Wiring
Panel, and
CR1OKD
Keyboard
Display are
at
the
same
potentialas
power
ground.
To avoid
shorting
12
volts
to
ground, connect
the
12
volt
lead first, then
connect
the
ground lead.
OV2.
MEMORY
AND
PROGRAMMING
CONCEPTS
The
CR10 must be programmed
before
it
will
make
any measurements.
A program consists
of a group
of
instructions
entered
into
a
program
table.
The
program
table
is given an
execution interval
which determines how
frequently that
table
is
executed.
When
the
table
is
executed,
the
instructions are executed
in
sequence
from
beginning to
end.
After
executing the table,
the
cR10
waits
the
remainder
of
the execution
interval and then
executes
the
table again starting
at
the
beginning.
The intervalat
which the
table
is
executed
generally determines
the
interval
at
which the
sensors
are measured. The interualat
which
data are
stored
is
separate
from
how often
the
table
is executed,
and
may range
from
samples
every
execution
interval
to
processed
summaries output hourly, daily, or
on
longer
or
irregular intervals.
Figure
OV2.1-1
represents
the
measurement,
processing, and data storage seguence, and
the
types
of instructions used
to
accomplish
these tasks.
"
cR10
ovERvlEw
OV2.1
INTERNAL
MEMORY
The
CR10 has
64K
bytes
of
Random Access
Memory (RAM),
divided
into
five
areas.
The
use of
the lnput,
Intermediate,
and
Final
Storage
in
the
measurement and data
processing sequence is shown
in
Figure OV2.1-
1.
While the
total
size
of
these
three
areas
remains
constant,
memory may
be
reallocated
between the areas
to
accommodate different
measurement
and
processing needs (*A Mode,
Section
1.5).
The size
of
the 2 additional
memory areas, system and program, are fixed.
The five areas
of
RAM
are:
1.
Input Storage
-
lnput
Storage
holds
the
results
of
measurements or calculations.
The'6
Mode is used to
view
lnput Storage
locations for checking
current sensor
readings or calculated
values.
lnput
Storage defaults to
28 locations.
Additional
locations
can
be
assigned
using
the'A
Mode (Section
1.5)"
2.
Intermediate Storage
-
Certain
Processing
Instructions
and
most of the Output
Processing Instructions maintain
-'
intermediate
results
in
Intermediate
Storage.
Intermediate
storage
is
automatically accessed by
the
instructions
and
cannot
be
accessed
by
the
user.
The
default
allocation
is 64
locations. The
number
of
locations can be
changed
using
the
*A
Mode.
3.
Final-Storage
-
Finalprocessed
values are
stored
here for transfer
to
printer, solid state
Storage Module or
for
retrieval via
telecommunication
links.
Values
are stored
in FinalStorage
only by the Output
Processing Instructions and only when the
Output
Flag is set
in
the
users program.
Approximately 29,900 locations are
allocated
to
Final Storage
on
power
up.
This
number is reduced
if lnput
or
Intermediate Storage is increased.
4.
System
Memory -
used for overhead tasks
such as
compiling
programs, transferring
data
etc.
The
user
cannot
access
this
memory.
5.
Program
Memory
-
available
for
user
programs
entered
in
program
tables
1
and
2, and Subroutine
Table
3.
ov-5