Attention

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

ATAN

Returns the arc tangent (inverse tangent) 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 tangent of IN in radians. The result is in the range [-pi/2, pi/2].

Example

See Also

  • TAN — tangent

  • ASIN — arc sine

  • ACOS — arc cosine