Attention

IronPLC supports IEC 61131-3 Structured Text excluding I/O mapping.

SIN

Returns the sine of an angle in radians.

IEC 61131-3

Section 2.5.1.5.2

Support

Supported

Signatures

#

Input (IN)

Return Type

Support

1

REAL

REAL

Supported

2

LREAL

LREAL

Supported

Description

Returns the sine of IN, where IN is an angle expressed in radians. The result is in the range [-1.0, 1.0].

Example

See Also

  • COS — cosine

  • TAN — tangent

  • ASIN — arc sine