ACOSPermalink

IEC operator: Returns the arc cosine (inverse function of cosine) of a number. The value is calculated in radians.

⮫ “Overview”

IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT, OUT must be type REAL.

Example in ST:

‎ q:=ACOS(0.5);‎

Example in FBD:

acos