SIN
The IEC operator returns the sine value for a number.
Permitted data types for the input variable, which specifies the angle in radians: any numeric basic data type
Permitted data types for output variables: REAL and LREAL
The allowed range for the input value is from -263 to +263. |
Samples:
ST:
fVar := SIN(0.5);
FBD:
Result: fVar is 0.479426.