Attention

IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include arrays and structures. Try it out in the IronPLC Playground.

ACOS

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

IEC 61131-3

Section 2.5.1.5.2

Support

Supported

Signatures

#

Input (IN)

Return Type

Support

1

REAL

REAL

Supported

2

LREAL

LREAL

Supported

Description

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

Example

See Also

  • COS — cosine

  • ASIN — arc sine

  • ATAN — arc tangent