
The Function Block ACOS calculates the arccosine.
Note: The Function Block uses radians. See Function Block DEG2RAD and RAD2DEG.
An integer value is expected at the input. The value of a string is attempted to be converted into an integer. The boolean value TRUE is converted to a 1.
Note: Also see the article String Conversion To Numbers, if you are working with strings.
The output returns the arccosine as an integer. In case of error, the value NAN (Not a Number) is returned.