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

SIN 1:

The allowed range for the input value is from -263 to +263.
On x86 and x64 systems, if the input value is out of range, the function returns the input value.

Samples:

ST:

fVar := SIN(0.5);

FBD:

SIN 2:

Result: fVar is 0.479426.