TAN

Yields the Tangent of a REAL value.
lrsf_ta1_cam5
Arguments
IN
IN
REAL
Must be greater than or equal to zero
TAN
Q
REAL
Tangent of the input value
= 1E+38 for invalid input
Example
(* FBD Program using "TAN" and "ATAN" Functions *)
lrsf_ta2_cam5
(* 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