SINΒΆ

The IEC Operators and additional, norm-extending \ functions Returns the sine 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
SIN
ST  q  (* Result is 0.479426 *)

Example in ST:

q:=SIN(0.5);

Example in FBD:

../_images/204deb6669a48b3e0a317d310965cc0f