TAN

Calculates the Tangent of a real value.
lrsf_ta1
Arguments
IN
IN
REAL
Cannot be equal to PI/2 modulo PI
TAN
Q
REAL
Tangent of the input value
= 1E+38 for invalid input
Example
(* FBD Program using "TAN" and "ATAN" Functions *)
lrsf_ta2
(* ST Equivalence: *)
tangent := TAN (angle); result := ATAN (tangent); (* result is equal to angle*)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal