IEC operator⮫ “Overview”: 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 radians and must be type REAL.
Example in ST:
q:=ATAN(0.5);
Example in FBD:
