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:

../_images/90e90144d0e0a1fdc0a8640e01697077