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