beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 677

background image

Publication GMLC-5.2 - November 1999

640

Mathematical Functions

Absolute Value

The

Absolute_value function is a positive value equal to the magnitude

of the argument, as shown below.

The argument can be any floating point value or expression. If the
argument is positive, it is not affected by the Absolute_value function.

For example, the following expression is evaluated as 10.257 if the user
variable Cut_Length has a value of 10.257 or -10.257.

Absolute_value(Cut_Length)

Arc Cosine

The value of the Arc_cosine function is the principal angle (in radians)
whose cosine is equal to the argument, as shown below.

Argument

+

+