Chapter 5
Arithmetic instructions
ACOS
Parameter
EN
IN
ENO
ACOS
64
ACOS yields the Arc Cosine of a Real value. Input and output values are in
radians.
Arguments
Parameter
Data Type
Type
Input
BOOL
Input
REAL
Output
BOOL
Output
REAL
ACOS 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 arc-cosine computation.
When EN = FALSE, there is no computation.
Must be in set [-1.0 .. +1.0].
Enable out.
Arc-cosine of the input value(in set [-p1/2..+p1/2])=0 for invalid input