Arithmetic instructions Chapter 5
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 73
ATAN yields the Arc Tangent of a Real value.
Arguments
Parameter
Parameter
Type
Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, execute current arc-tangent computation.
When EN = FALSE, there is no computation.
IN Input REAL Any Real value.
ATAN Output REAL Arc-tangent of the input value (in set [-PI/2 .. +PI/2]) = 0.0 for invalid input.
ENO Output BOOL Enable out.
ATAN function language examples
Function block diagram
Ladder diagram