ATANΒΆ

The IEC Operators and additional, norm-extending \ functions Returns the arc tangent (inverse function of tangent) of a number.

IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT. The result OUT is calculated in arc minutes and must be type REAL.

Example in IL:

LD  0.5
ATAN
ST  q  (* Result is 0.463648 *)

Example in ST:

q:=ATAN(0.5);

Example in FBD:

../_images/573db731552e041e0a317d311e46b97a