ACOSΒΆ

The IEC Operators and additional, norm-extending \ functions Returns the arc cosine (inverse function of cosine) of a number. The value is calculated in arc minutes.

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

Example in IL:

LD 0.5
ACOS
ST q  (* Result is 1.0472 *)

Example in ST:

q:=ACOS(0.5);

Example in FBD:

../_images/07337f6c54fee0740a317d3171a1fc23