Arithmetic instructions Chapter 5
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 95
SIN yields the Sine of a Real value.
Arguments
Parameter
Parameter
Type
Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, execute current sine computation.
When EN = FALSE, there is no computation.
IN Input REAL Any Real value.
SIN Output REAL Sine of the input value (in set [-1.0 .. +1.0]).
ENO Output BOOL Enable out.
SIN function language examples
Function block diagram
Ladder diagram