beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 686

background image

Publication GMLC-5.2 - November 1999

649

The argument can be any floating point value or expression.

For example, the following expression is evaluated as 9 if the user
variable Cut_Length has a value between 9 and 10 (9

Cut_Length < 10),

10 if Cut_Length has a value between 10 and 11
(10

Cut_Length < 11), etc.

Round_down(Cut_Length)

Integer Value

The value of the Integer function is the integer part of the argument, as
shown below.

Argument

+1

+2

–1

–2

+1

+2

–1

–2