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 |
Not yet supported |
Signatures¶
# |
Input (IN) |
Return Type |
Support |
|---|---|---|---|
1 |
|
|
Not yet supported |
2 |
|
|
Not yet supported |
Description¶
Returns the arc tangent of IN in radians. The result is in the range [-pi/2, pi/2].
Example¶
result := ATAN(REAL#0.0); (* result = 0.0 *)
value := ATAN(LREAL#1.0); (* value ~ 0.7853982 *)