ACOS

The IEC operator returns the arc cosine (inverse of cosine) 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 variable: REAL and LREAL

Examples:

Result: fVar is 1.0472.

ST:

fVar := ACOS(0.5);

FBD:

ACOS 1: