Attention

IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.

ASIN

Returns the arc sine (inverse sine) of a numeric input.

IEC 61131-3

Section 2.5.1.5.2

Support

Not yet supported

Signatures

#

Input (IN)

Return Type

Support

1

REAL

REAL

Not yet supported

2

LREAL

LREAL

Not yet supported

Description

Returns the arc sine of IN in radians. The input must be in the range [-1.0, 1.0]. The result is in the range [-pi/2, pi/2].

Example

result := ASIN(REAL#0.0);   (* result = 0.0 *)
value := ASIN(LREAL#1.0);   (* value ~ 1.5707963 *)

See Also

  • SIN — sine

  • ACOS — arc cosine

  • ATAN — arc tangent