Campbell Scientific CR10 CR10 Measurement and Control - Page 150

ARCTAN, here., error., coefficients., correctly., locations., ARCTANXt

Page 150 highlights

SECTION 10. PROCESSING INSTRUCTIONS Coeff. uo Y1 Y*Y2 o cl c2 ca *D1 D2 T1 T2 T3 T4 T5 Value Entry -3957.08.630428s3 5.8603 -3970.3 -7114.265 -7114.3 102779.1 102.78 70.29398 70.294 -161.96.120816471 6.6101 -119.29 0.0308837 30.884 0.0 0.0 26.33703 26.337 201..885011619885 0.0 0.0 0.85170 21.801 0.0 0.0 * Y3 and D1 coefficients are entered as Y3/1000 and D1*1000. The large number of coefficients which must be entered into the program often leads to entry error. As a check on coefficient entry, the third value output by Instruction 64 is the signature of the coefficients. The signature is a calculated number unique to the value and order of the 14 coefficients. For future comparisons, note this signature after entering the coefficients correctly. Signatures will be identical if and only if exactly the same coefficients are entered. *** 65 BULK LOAD *** FUNCTION Instruction 65 inputs given values in up to eight Input Storage locations. Instruction 65 is only in standard PROM OS10-1.1. The Bulk Load instruction has 9 parameters. The first eight are the values to be entered in input storage locations. The ninth is the input location for the first data value; subsequent data values are placed in sequential input locations. PARAM. NUMBER 01: 02: 03: 04: 05: 06: 07: OB: 09: TYPE DATA DESCRIPTION FP Param. to be entered FP tr FP x FP FP tr FP tr FP il FP 4 Starting input location **r 66 ARCTAN *** FUNCTION Calculate the angle in degrees whose tangent is )UY. The polarity of X and Y must be known to determine the quadrant of the angle, as shown here. lf 0 is entered for Parameter 2, the Arctangent of X is the result (limits of ARCTAN(X) are -90" < ARCTAN < 90'). Quadrant Siqn of X Siqn of Y I + il + l ill IV + PARAM. DATA NUMBER TYPE DESCRIPTION 01: o2: 03: 4 4 4 X Input location of txl Y Input location of tYl Destination input location for ARCTAN(Xt/) Input locations altered: 1 10-8

  • 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
10.
PROCESSING INSTRUCTIONS
Coeff.
uo
Y1
Y2
*Yo
cl
c2
ca
*D1
D2
T1
T2
T3
T4
T5
Value
Entry
5.8602s3
5.8603
-3970.348
-3970.3
-7114.265
-7114.3
102779.1
102.78
70.29398
70.294
6.610141
6.6101
-119.2867
-119.29
0.0308837
30.884
0.0
0.0
26.33703
26.337
0.8516985
0.85170
21.80118
21.801
0.0
0.0
0.0
0.0
**r
66
ARCTAN
***
FUNCTION
Calculate the angle
in
degrees whose
tangent
is
)UY.
The polarity
of
X and
Y
must be known to
determine
the
quadrant
of
the
angle, as shown
here.
lf
0
is
entered
for
Parameter
2,
the
Arctangent of
X
is
the
result (limits
of
ARCTAN(X)
are -90"
<
ARCTAN <
90').
Quadrant
I
il
ill
IV
Siqn of X
+
+
Siqn
of
Y
l
+
*
Y3
and
D1
coefficients are entered as Y3/1000
and
D1*1000.
The
large number of coefficients
which
must be
entered into
the
program often leads to entry
error.
As
a
check on coefficient entry, the third
value output
by
Instruction
64
is
the
signature of
the
coefficients. The signature
is a
calculated
number unique to the value and order
of
the
14
coefficients.
For
future
comparisons,
note
this
signature after entering the coefficients
correctly.
Signatures will be identical
if
and only
if
exactly the same coefficients are entered.
***
65 BULK LOAD
***
FUNCTION
Instruction
65
inputs given values in
up
to
eight
Input Storage
locations.
Instruction 65
is
only
in
standard PROM OS10-1.1.
The
Bulk Load instruction has 9 parameters.
The first eight are the values
to
be entered
in
input storage
locations.
The ninth
is
the
input
location for the
first
data value; subsequent data
values are placed in sequential input locations.
PARAM.
NUMBER
DATA
TYPE
DESCRIPTION
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
o2:
03:
4
Input location of
X
txl
4
Input location of
Y
tYl
4
Destination input
location
for
ARCTAN(Xt/)
Input locations
altered:
1
FP
FP
FP
FP
FP
FP
FP
FP
4
01:
02:
03:
04:
05:
06:
07:
OB:
09:
Param.
to
be entered
tr
x
tr
tr
il
Starting input location
10-8