User Manual, AUX FUNCT PROM Manual

Programming
Chapter 3
351
Figure 3.51
General
AF4 Cosine Function Word and Digit Format
171615141312111076543210
Digit 1
(MSD)
Digit 2
Bit No.
Data Address
m
Digit 2
Operand
Digit 5
Result Address
n
Result
DE
n + 1
E = Enable Bit (1 = Function in Progress)
S = Sign Bit (1 = Negative)
MSD = Most Significant Digit
LSD = Least Significant Digit
11517
Digit 3
(LSD)
Digit 3
Digit 1
(MSD)
Digit 4
Digit 6
(LSD)
D = Done Bit (1 = Function Complete)
S
S
3. Enter a data address and a result address.
If we enter a data address of 205 and a result address of 310, the AF4
establishes the data table format shown in Figure 3.52. The data address, word
205, is reserved for the three digits of the angle whose cosine we want. The
result address, word 310, is reserved for the most significant three digits of the
cosine; the least significant three digits are stored in the next higher address,
word 311.
Figure 3.52
AF4
Cosine Function Format After Address Entry
171615141312111076543210
Digit 1
(MSD)
Digit 2
Bit No.
Data Address
Digit 2
Operand
Digit 5
Result Address
Result
DE
E = Enable Bit (1 = Function in Progress)
S = Sign Bit (1 = Negative)
MSD = Most Significant Digit
LSD = Least Significant Digit
11518
Digit 3
(LSD)
Digit 3
Digit 1
(MSD)
Digit 4
Digit 6
(LSD)
D = Done Bit (1 = Function Complete)
S
S
205
310
311