Campbell Scientific CR10 CR10 Measurement and Control - Page 40

Data.

Page 40 highlights

SECTION 1. FUNCTIONAL MODES indicates the flag is set. In the above example, Flags 4 and 7 are set. To toggle a flag, simply press the corresponding number. To return to displaying the input location, press "A". Entering appropriate flag tests into the program allows manual control of program execution. Forexample, to manually start the,execution of Table 2: enter lnstruction 91 as the first instruction in Table 2. The first parameter is 25 (do if Flag 5 is low), the second parameter is 0, go to end of program table. lf Flag 5 is low, all subsequent instructions in Table 2 will be skipped. Flag 5 can be toggled from the *6 Mode, effectively starting and stopping the execution of Table 2. 1.3.3 DISPLAYING AND TOGGLING PORTS The current status of the use/s pofis can be dloiscpaltaioyned(eb.9y.,h.it6ti4ng0)".0"Pworhtsilearloeodkiisnpglaayteadnleinftputot right as C8, C7, ... , C1 (exactly opposite to the flags). A port configured as output can be toggled by hitting its number while in the port display mode. There is no effect on ports configured as inputs. On power up all ports are configured as inputs. Instruction 20 is used to configure a port as an output. Ports are also configured as outputs by any program control commands which uses the poft as an output (pulse, set high, set low, toggle). 1.4 COMPILING AND LOGGING DATA. *O MODE When the *0 Mode is entered after programming the CR10, a program compile function is executed and the display shows "LOG" followed by the program table numbers that were enabled at compilation time. The display is not updated after entering *0. NOTE: Alloutput ports are set low, the timer is reset, and data values in Input and Intermediate Storage are RESET TO ZERO whenever the program tables are altered and the Program is recompiled with the *0 Mode. The same is true when the programs are compiled with *B or *D. To minimize current drain, the CRlO should be left in the *0 Mode when logging data. 1.5 MEMORY ALLOCATION . -A 1.5.1 INTERNAL MEMORY There are 2 sockets for Random Access (RAM) and 1 socket which is used for (Programmable) Read Only Memory (PROM). The standard CR10 has 64K of RAM: a 32K Chip in each socket. Earlier versions had an 8K RAM chip in each socket. Appendix G how to change RAM and PROM chips. When powered up with the keyboard display attached, the CR1OKD displays HELLO while performing a self check. The totalsystem (RAM and ROM) memory is then displayed in K bytes. The size of RAM can be displayed in the *A'mode. There are 1986 bytes allotted to Program memory. This memory may be used for 1 table or shared among all tables. Tables 3.9-1 to 3. 4 list the amount of memory used by program instructions. lnput Storage is used to store the results of Input/Output and Processing Instructions. The values stored in displayed using tihnepu*t6loMcoadtieon(sSemcatioynbe1.3). The results of Output lnstructions (data used a permanent record) are stored in Final Storage when the Output Flag is set (Section 3.7). The data in FinalStorage can be monitored using the *7 Mode (Section 2.3). Intermediate Storage is a scratch pad for Output Processing Instructions. lt is used to store the results of intermediate calculations necessary for averages, standard deviations, histograms, etc. Intermediate Storage is not accessible by the user. Each Input or Intermediate Storage location requires 4 bytes of memory. Each Final Storage location requires 2 bytes of memory. Low resolution data points require 1 Final Storage location and high resolution data points require 2.' Section 2 describes FinalStorage and data retrieval in detail. Table 1.5-1 lists the basic memory functions and the amount of memory allotted to them. 1-4

  • 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

SECTION
1.
FUNCTIONAL
MODES
indicates the
flag
is
set.
In
the
above example,
Flags 4 and
7
are
set.
To toggle
a
flag, simply
press
the corresponding number. To
return
to
displaying
the
input location, press
"A".
Entering appropriate flag
tests
into
the
program
allows manual control of program execution.
Forexample, to
manually start the,execution of
Table
2:
enter
lnstruction 91 as the first
instruction
in
Table
2.
The
first
parameter
is
25
(do if Flag
5
is low), the second parameter
is 0,
go
to end of program
table.
lf
Flag
5
is low,
all
subsequent instructions
in
Table 2 will
be
skipped.
Flag
5
can
be
toggled from the
*6
Mode, effectively starting and stopping
the
execution
of
Table
2.
1.3.3
DISPLAYING AND TOGGLING
PORTS
The current status
of
the
use/s
pofis
can
be
displayed by hitting
"0"
while looking at
an
input
location (e.9.,
.640).
Ports are displayed left to
right
as
C8,
C7,
...
,
C1 (exactly opposite to the
flags).
A port configured as output can
be
toggled by hitting its number
while
in
the
port
display
mode.
There
is no effect on ports
configured as inputs.
On power
up
all ports are configured as inputs.
Instruction
20
is used to configure a port as
an
output.
Ports are also configured as outputs by
any program control commands
which
uses
the
poft as an output (pulse, set high, set
low,
toggle).
1.4
COMPILING
AND LOGGING
DATA.
*O
MODE
When
the
*0
Mode
is
entered
after
programming
the
CR10,
a
program compile
function
is
executed and the display shows
"LOG"
followed
by
the
program
table
numbers
that were enabled
at
compilation
time.
The
display is not updated after entering
*0.
NOTE: Alloutput
ports are set low,
the
timer
is reset, and data
values in
Input and
Intermediate Storage
are
RESET TO ZERO
whenever
the
program
tables
are altered
and
the
Program is recompiled with the
*0
Mode.
The
same
is
true when the
programs are compiled
with
*B
or
*D.
To
minimize current drain,
the CRlO
should be
left
in
the
*0
Mode when logging data.
1-4
1.5
MEMORY
ALLOCATION
.
-A
1.5.1
INTERNAL
MEMORY
There are
2
sockets
for
Random Access
(RAM)
and
1
socket
which
is used
for
(Programmable) Read
Only
Memory (PROM).
The standard CR10 has 64K
of
RAM:
a
32K
Chip in
each
socket.
Earlier
versions
had an
8K
RAM chip
in
each
socket.
Appendix
G
how to change RAM
and
PROM chips.
When powered
up
with
the
keyboard display
attached, the
CR1OKD
displays HELLO while
performing a self
check.
The
totalsystem
(RAM
and
ROM) memory
is
then
displayed
in
K
bytes.
The
size of RAM can be displayed
in
the
*A'mode.
There
are
1986 bytes allotted
to
Program
memory. This
memory may be used
for
1
table
or shared among all
tables.
Tables 3.9-1
to
3.
4
list
the amount
of
memory used by program
instructions.
lnput
Storage is used
to
store
the
results
of
Input/Output
and
Processing
Instructions.
The
values stored in input locations may
be
displayed using the
*6
Mode (Section
1.3).
The
results of
Output lnstructions
(data used
a
permanent record) are stored
in
Final Storage
when the Output Flag
is
set
(Section
3.7).
The
data
in FinalStorage can
be monitored using
the
*7
Mode (Section 2.3).
Intermediate Storage
is
a scratch pad
for
Output Processing
Instructions.
lt is used to
store
the
results of intermediate calculations
necessary
for
averages, standard deviations,
histograms,
etc.
Intermediate Storage is not
accessible by
the
user.
Each Input
or
Intermediate Storage location
requires
4
bytes
of
memory.
Each Final
Storage location requires
2
bytes
of
memory.
Low
resolution data points require
1
Final
Storage location and high resolution
data
points
require
2.'
Section
2
describes FinalStorage
and data retrieval
in
detail.
Table
1.5-1 lists
the basic
memory functions
and the amount
of
memory allotted to them.