Chapter 5 Arithmetic instructions
66 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
ACOS_LREAL calculates the Arc cosine of a Long Real value.
Arguments
Parameter
Parameter
Type
Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, execute current computation.
When EN = FALSE, there is no computation.
IN Input LREAL Must be in set [-1.0 .. +1.0].
ENO Output BOOL Enable out.
ACOS_LREAL Output LREAL Arc-cosine of the input value (in set [0.0 .. PI]) = 0.0 for invalid input.
ACOS_LREAL function language examples
Function block diagram
Ladder diagram