Transcendental Functions (Dl260 Only) - Automationdirect.com DirectLOGIC DL205 Series User Manual

Table of Contents

Advertisement

Transcendental Functions (DL260 only)

The DL260 CPU features special numerical functions to complement its real number
230
capability. The transcendental functions include the trigonometric sine, cosine, and tangent,
240
and also their inverses (arc sine, arc cosine, and arc tangent). The square root function is also
250-1
grouped with these other functions.
260
The transcendental math instructions operate on a real number in the accumulator (it cannot
be BCD or binary). The real number result resides in the accumulator. The square root
DS
Used
function operates on the full range of positive real numbers. The sine, cosine and tangent
functions require numbers expressed in radians. You can work with angles expressed in
HPP
N/A
degrees by first converting them to radians with the Radian (RADR) instruction, then
performing the trig function. All transcendental functions utilize the following flag bits.
Discrete Bit Flags
SP63
SP70
SP72
SP73
SP75
Math Function
SP53
Sine Real (SINR)
The Sine Real instruction takes the sine of the real number
stored in the accumulator. The result resides in the
accumulator. Both the original number and the result are in
IEEE 32-bit format.
Cosine Real (COSR)
The Cosine Real instruction takes the cosine of the real
number stored in the accumulator. The result resides in the
accumulator. Both the original number and the result are in
IEEE 32-bit format.
Tangent Real (TANR)
The Tangent Real instruction takes the tangent of the real
number stored in the accumulator. The result resides in the
accumulator. Both the original number and the result are in
IEEE 32-bit format.
Arc Sine Real (ASINR)
The Arc Sine Real instruction takes the inverse sine of the real
number stored in the accumulator. The result resides in the
accumulator. Both the original number and the result are in
IEEE 32-bit format.
Chapter 5: Standard RLL Instructions - Transcendental Functions
On when the result of the instruction causes the value in the accumulator to be zero.
On anytime the value in the accumulator is negative.
On anytime the value in the accumulator is a valid floating point number.
On when a signed addition or subtraction results in a incorrect sign bit.
On when a real number instruction is executed and a non-real number was encountered.
On when the value of the operand is larger than the accumulator can work with.
Description
Range of Argument
DL205 User Manual, 4th Edition, Rev. B
SINR
COSR
TANR
ASINR
5–121
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF