Campbell Scientific CR10 CR10 Measurement and Control - Page 155

format., last.

Page 155 highlights

SECTION 11. OUTPUT PROCESSING INSTRUCTIONS Code Result xxxl SECONDS (with resolution of 0.125 sec.) xxlx HOUR-MINUTE xx2x HOUR-MINUTE,2400 instead of 0000 xlxx JULIAN DAY x2xx JULIAN DAY, previous day during first lxxx minute of new day YEAR Any combination of Year, Day, HR-MlN, and seconds is possible (e.9., 1011: YEAR, HRMtN, SEC). *** 78 SET HIGH OR LOW RESOLUTION *** DATA STORAGE FORMAT FUNCTION This instruction enables high resolution (5 character) or low resolution (4 character) final data storage format. Instruction 78 should be entered ahead of the output instructions for which the specified resolution is desired. The default format is low resolution. At the beginning of each program table execution, the low resolution format is automatically enabled. PARAM. DATA NUMBER TYPE DESCRIPTION 01: 2 O=lowresolution; 1 = high resolution Outputs Generated: 0 *** 79 SAMPLE ON MAXIMUM OR *** MINIMUM FUNCTION Instruction 79 samples specified input location values at the time a new maximum or minimum value is detected by a previous Maximize (73) or Minimize (74) Instruction. When the Output Flag is set, the values copied to lntermediate Storage are transferred to Final Storage. lnstruction 79 must directly follow the maximum or minimum Instruction to which it refers. lf the previous f nstruction 73 or74-has more than 1 repetition, Instruction 79 samples whenever a new maximum or minimum is detected in any of the locations. lf sampling is to occur only when a specific input location shows a new maximum or minimum, the previous Maximize or Minimize Instruction should have one rep referring to that input location. PARAM. DATA NUMBER TYPE DESCRIPTION 01: 2 Repetitions (number of sequential locations to 02: sample) 4 Starting input location no. Outputs Generated: 1 for each repetition *** 80 SET ACTIVE STORAGE AREA T** FUNCTION Instruction 80 is used to redirect Output data to either of the Final Storage areas or to lnput Storage and to set the array lD for Final Storage. At the beginning of each table the Active Output area is set to Final Storage Area 1. When directed to FinalStorage, the second parameter can be used to set the output array lD. lnstruction 8O should follow the instruction setting flag 0. lf parameter 2 is 0, the array lD is determined by the instruction location number of Instruction 80 or by the instruction that set the Output Flag, whichever comes last. When data are sent to Input Storage, no array lD is sent. PARAM. NUMBER TDAYTAPE 01: 2 02: 4 DESCRIPTION Storage area option 00 or 01 = Final Storage Area 1 02 = FinalStorage Area2 03 = Input Storage Area Starting input location destination if option 03 Output Array lD if options 0-2 (1-511 are valid lDs) *** 82 STANDARD DEVIATION IN TIME *** FUNCTION Calculate the standard deviation (STD DEV) of a given input location. The standard deviation is calculated using the formula: s = ((rxi2 - (xX,)z7p;7x;1/2 where Xi is the ith measurement and N is the number of samples. PARAM. NUMBER TDAYTAPE DESCRIPTION 01: 02: 2 Repetitions 4 Starting input location no. Outputs Generated: 1 for each repetition 11-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

Code
Result
xxxl
SECONDS
(with resolution of 0.125 sec.)
xxlx
HOUR-MINUTE
xx2x
HOUR-MINUTE,2400
instead of 0000
xlxx
JULIAN
DAY
x2xx
JULIAN
DAY, previous day during
first
minute of new day
lxxx
YEAR
Any combination of
Year,
Day,
HR-MlN,
and
seconds is possible
(e.9.,
1011:
YEAR,
HR-
MtN, SEC).
***
78
SET HIGH
OR LOW RESOLUTION
***
DATA STORAGE FORMAT
FUNCTION
This
instruction
enables
high resolution
(5
character)
or
low resolution
(4
character) final
data storage
format.
Instruction
78
should
be
entered ahead
of
the output
instructions
for
which the
specified
resolution is
desired.
The
default
format
is low
resolution.
At
the
beginning of each program
table
execution,
the
low resolution
format
is
automatically enabled.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
2
O=lowresolution;
1
=
high resolution
Outputs
Generated:
0
***
79
SAMPLE
ON
MAXIMUM
OR
***
MINIMUM
FUNCTION
Instruction 79 samples specified
input
location
values at the
time a new
maximum
or
minimum
value
is
detected by a previous Maximize
(73)
or
Minimize
(74) Instruction.
When
the
Output
Flag is set, the values copied
to
lntermediate
Storage are transferred
to
Final Storage.
lnstruction
79
must directly follow
the
maximum
or minimum
Instruction
to which
it
refers.
lf
the
previous
f
nstruction
73
or74-has
more
than
1
repetition, Instruction 79 samples whenever a
new maximum
or minimum
is
detected
in any
of
the
locations.
lf sampling
is
to occur only when
a
specific input
location shows
a new
maximum
or
minimum,
the
previous Maximize
or
Minimize
Instruction
should
have
one
rep referring to
that
input location.
SECTION
11.
OUTPUT
PROCESSING INSTRUCTIONS
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Repetitions (number of
sequential
locations
to
sample)
02:
4
Starting input location
no.
Outputs
Generated:
1
for
each
repetition
***
80
SET
ACTIVE
STORAGE
AREA
T**
FUNCTION
Instruction
80
is used
to
redirect Output data
to
either
of
the
Final Storage
areas
or
to
lnput
Storage and to set the
array
lD
for
Final Storage.
At
the
beginning of each
table
the Active Output
area
is
set
to
Final Storage
Area
1.
When directed
to FinalStorage, the
second
parameter can
be
used to set
the
output
array
lD.
lnstruction
8O
should follow
the
instruction
setting
flag
0.
lf parameter
2
is
0,
the array lD
is
determined
by
the
instruction location number of
Instruction 80 or by
the
instruction that set
the
Output
Flag, whichever
comes
last.
When data
are sent
to
Input Storage, no
array
lD is sent.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Storage area option
00 or 01
=
Final
Storage
Area
1
02
=
FinalStorage Area2
03
=
Input Storage Area
02:
4
Starting input location
destination
if
option 03
Output
Array lD
if
options
0-2
(1-511 are
valid
lDs)
***
82
STANDARD DEVIATION
IN
TIME
***
FUNCTION
Calculate the standard
deviation
(STD DEV) of
a given input
location.
The standard deviation
is
calculated
using the formula:
s
=
((rxi2
-
(xX,)z7p;7x;1/2
where Xi
is
the
ith measurement
and
N
is
the
number of samples.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
2
Repetitions
4
Starting input location
no.
Outputs
Generated:
1
for each
repetition
01:
01:
02:
11-5