GE VersaMax PLC User Manual page 168

Table of Contents

Advertisement

Input/ Output
enable
IN
ok
Q
168
GFK-1503E
For public disclosure
SIN_
Enable
REAL
Input
IN Q
–2
63
< IN <+2
63
, (2
63
= 9.22x10
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)
=
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)
=
10.5.5.3 Parameters of the Trigonometric Functions
Choices
When the function is enabled, the operation is
flow
performed.
IN contains the constant or reference real value
R, AI, AQ, constant
to be operated on.
OK is energized when the function is performed
flow, none
without overflow, unless an invalid operation
occurs and/or IN is NaN.
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.
OK
Output
18
)
π
π
Q
<
<
2
2
π
π
Q
<
<
2
2
Description
VersaMax PLC User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents