COSΒΆ
The IEC Operators and additional, norm-extending \ functions Returns the cosine of a number. The result 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
COS
ST q (* Result is 0.877583 *)
Example in ST:
q:=COS(0.5);
Example in FBD: