ATAN

The IEC operator returns the arc tangent (inverse of tangent) for a number. The value is calculated in radians.

Permitted data types for the input variable, which specifies the angle in radians: any numeric basic data type

Permitted data types for the output variables: REAL and LREAL

Examples:

Result: fVar is 0.463648.

ST:

fVar := ATAN(0.5);

FBD:

ATAN 1: