Skip to main content

Operator: SIN

The 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 variable: REAL and LREAL

Tip

The permitted range for the input value is −263 to +263. On x86 and x64 systems: If the input value is outside of the permitted range, the function returns the input value.

Example 143. Examples

Result in q: 0.479426.

ST

q := SIN (0.5);

FBD

_cds_img_sin.png