beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 690

background image

Publication GMLC-5.2 - November 1999

653

Square Root

The value of the Square_root function is the square root (

) of the

argument, as shown below.

The argument may be any floating point value or expression, but must be
positive. A negative argument gives a value of 0 for the Square_root
function.

For example, the following expression is evaluated as 5 if the user
variable Cut_Length has a value of 25.

Square_root(Cut_Length)

Argument

1

2

1

2

3

4

5

3