Operator ‘SIN’¶
This IEC operator yields the sine value of a number.
Permitted data types for input variables that measure the angle in radians: any numeric basic data type
Permitted data types for output variables: REAL
and LREAL
Examples
Result in q
: 0.479426
ST:
q := SIN(0.5);
FBD: