Arcsine of x. ASIN (x) returns the arcsine of x (operand one) in the range -pi/2 to pi/2 radians. When x is less than -1 or greater than 1, ASIN returns a zero value and BAD status.
Syntax:
'external reference' := ASIN(Real value);
Example:
VAR T63; T64; T17; T18; (* Temporary values *) END_VAR; T63 := .5; T64 := -.5; T17 := ASIN(T63); T18 := ASIN(T64);
The above example shows T63 set to the value of .5 and T64 set to the value of -.5. T17 is set to the result of ASIN(T63), which is 0.5235987755983 and T18 is set to the result of ASIN(T64), which is -0.5235987755983.