beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 23

background image

Publication GMLC- 5.2 - November 1999

xx

Table of Contents

Chapter 25 – The Expression Builder

Calculation Accuracy.......................................... 460

The Numeric Keypad ......................................................460

Precedence ..........................................................461

( ) Parentheses ...............................................461
[ ] Brackets ....................................................462

Expression Operators ......................................................462

Mathematical Operators............................................ 463

Addition + ...........................................................463
Subtraction - ........................................................464
Multiplication * ...................................................464
Division / .............................................................464
Exponentiation ^ .................................................465
// Integer Quotient ...............................................465
Integer Remainder @ .........................................465

Logical Operators .....................................................466

Bitwise NOT ~ ....................................................467
Bitwise AND & .................................................467
Bitwise OR | ........................................................468
Boolean NOT ! ....................................................469
Boolean AND && .............................................469
Boolean OR || ......................................................469

Relational Operators .................................................470

Precedence ..........................................................470
Equal to = ............................................................471
Not Equal to ! .....................................................471
Greater Than > ...................................................472
Less Than < ........................................................472
Greater Than or Equal to >= ..............................472
Less Than or Equal to <= ...................................473

System Variables ............................................................473

Chapter 26 – Motion Variables

Actual Position ....................................................477
Command Position ..............................................478
Strobed Position ..................................................478