ASIN (arcsine)

The ASIN instruction calculates the arcsine of a Real value. The input and output values are in radians.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the Micro810, L20E, L50E, and L70E controllers.
ASIN
ASIN
ASIN parameters
Parameter
Parameter Type
Data Type
Description
EN
Input
BOOL
When set to true, the instruction is enabled.
  • TRUE: Execute the current computation.
  • FALSE: There is no computation.
Applies to ladder diagram programs.
IN
Input
REAL
The value must be within [-1.0 .. +1.0].
ASIN
Output
REAL
Arcsine of the input value (in set [-p1/2..+p1/2]) = 0 for invalid input.
ENO
Output
BOOL
Enables output. Applies to ladder diagram programs.

ASIN examples

ASIN function block diagram example
ASIN function block diagram example
ASIN ladder diagram example
ASIN ladder diagram example
ASIN structured text example
ASIN structured text example
(* ST Equivalence: *) sine := SIN (angle); result := ASIN (sine); (* result is equal to angle *)
Results
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal