SQRT

Calculates the square root of a real value.
lrsf_sq1
Arguments
IN
IN
REAL
Must be greater than or equal to zero
SQRT
Q
REAL
Square root of the input value
Example
(* FBD Program using "SQRT" Function *)
lrsf_sq2
(* ST Equivalence: *)
xpos := ABS (xval); xroot := SQRT (xpos);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal