Operator ‘SQRT’ΒΆ

This IEC of course yields the square root of a number.

Permitted data types for input variables: any numeric basic data type

Permitted data types for output variables: REAL or LREAL

Examples

Result in q: 4

ST:

q := SQRT(16);

FBD: