Skip to main content

Operator: ATAN

The IEC operator yields the arctangent value of a number. The value is computed in radians.

Permitted data types for input variables that measure the angle in radians: any numeric basic data type

Permitted data types for output variables: REAL and LREAL

Example 148. Examples

Result in q: 0.463648

ST

q := ATAN(0.5);

FBD

_cds_img_atan.png