EasyManua.ls Logo

GE VersaMax PLC

GE VersaMax PLC
318 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Input Output
OK Enable
SIN_
REAL
IN Q
–2
63
< IN <+2
63
, (2
63
= 9.22x10
18
)
10.5.5.2 Inverse Sine, Cosine, and Tangent
When an Inverse Sine, Cosine, or Tangent function receives power flow, it operates on IN
and stores the result in output Q, whose units are radians. Both IN and Q are
floating-point values.
The Inverse Sine and Cosine functions accept a narrow range of input values, where
-1 < IN < 1
Given a valid value for the IN parameter, the Inverse Sine Real function produces a result
Q such that:
ASIN (IN)
< <
2
π
2
π
Q
=
The Inverse Cosine Real function produces a result Q such that:
ACOS(IN) = 0 < Q < π
The Inverse Tangent function accepts the broadest range of input values, where
IN +
Given a valid value for the IN parameter, the Inverse Tangent Real function produces a
result Q such that:
ATAN (IN)
< <
2
π
2
π
Q
=
10.5.5.3 Parameters of the Trigonometric Functions
Input/ Output
Choices
Description
enable flow
When the function is enabled, the operation is
performed.
IN
R, AI, AQ, constant
IN contains the constant or reference real value
to be operated on.
ok
flow, none
OK is energized when the function is performed
without overflow, unless an invalid operation
occurs and/or IN is NaN.
Q
R, AI, AQ
Output Q contains the trigonometric value of IN.
10.5.5.4 Example
In the example, the Cosine of the value in %R0001 is placed in %R0033.
168 GFK-1503E VersaMax PLC User Manual
For public disclosure

Table of Contents

Related product manuals