SECTION 10. PROCESSING INSTRUCTIONS
10-11
*** 61 INDIRECT INDEXED MOVE ***
FUNCTION
Moves input data from location X to location Y,
where X and/or Y are indirectly addressed (X
and Y are stored in the locations specified by
Parameters 1 and 2). If a location parameter is
specified as "indexed" (xxxx--), then the actual
input location referenced is calculated by adding
the current index counter to the value in the
specified input location. When used outside a
loop, the addressing is simply indirect because
the index counter is zero.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
Input location containing
source location X
02:
4
Input location containing
destination location Y
Input locations altered: 1
*** 62 COVARIANCE/CORRELATION ***
FUNCTION
The Covariance/Correlation Instruction
(COV/CORR) for the CR23X calculates: 1)
means (M), 2) variances (V), 3) standard
deviations (SD), 4) covariances (COV), and 5)
correlation coefficients (CORR) for a set of input
values and stores the results in Input Storage.
The instruction requires the set of input values to
be located contiguously in Input Storage. The
user specifies the location of the first value and
how many total values exist. The number of
input values processed by each type of
calculation (means, variances, etc.) is
independently specified for each type. The order
of the input values determines which inputs are
processed for each type of calculation.
The instruction does not conform to the CR23X's
four instruction types. Data located in Input
Storage is processed, and the results returned to
Input Storage whenever an averaging period is
completed (Parameter 7) or the Output Flag is
set. The instruction controlling the Output Flag
must precede the COV/CORR Instruction. The
reason the calculated results are returned to Input
Storage is to allow the user access for additional
processing before storing the values in Final
Storage. Sample Instruction 70 must be used to
transfer final results from Input to Final Storage.
To accommodate cases where it is desirable to
calculate the statistical quantities over time
periods shorter than the Output Interval, an
averaging period shorter than the Output Interval
may be specified. The final values obtained at
the Output Interval are the properly weighted
average of the values calculated at the
subinterval averaging periods. This feature
allows the recording of statistical data over
longer time periods by removing the effect of
longer period frequencies in the input signals;
i.e., it provides a high pass filter. For example,
assume the variance of an input is desired. It is
determined that the averaging period should not
exceed 5 minutes due to variation in the mean
over longer time intervals. One approach is to
calculate and record the variance every 5
minutes. By specifying the subinterval averaging
period as 5 minutes and the Output Interval as 1
hour, however, the average of the 5 minute
variances are recorded every hour. The
averaging period is entered as the number of
input samples in Parameter 7 of the COV/CORR
Instruction. The number of samples for a given
period is given by:
Number of Samples =
Averaging period in seconds
Table execution interval in seconds
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Number of input values
located sequentially in
input memory
02:
2
Number of means desired
03:
2
Number of variances
desired
04:
2
Number of standard
deviations desired
05:
2
Number of covariances
desired
06:
2
Number of correlations
desired
07:
FP
Number of input
samples in averaging
period
08:
4
Input storage location
of first value in
sequential input string
09:
4
First Input Storage
location to store string
of final results
If the specified number of samples in the
averaging period (Parameter 7) exceeds the actual
number of samples occurring in the Output
Interval, the Output Interval becomes the
averaging period.
Summary of Contents for CR23X
Page 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Page 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Page 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Page 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Page 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Page 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Page 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Page 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Page 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Page 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Page 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Page 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Page 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Page 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Page 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Page 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Page 278: ...This is a blank page ...
Page 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Page 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Page 300: ...This is a blank page ...
Page 302: ...This is a blank page ...
Page 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Page 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Page 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Page 342: ...This is a blank page ...
Page 373: ...This is a blank page ...