Arithmetic operators – HEIDENHAIN IK 5293 User Manual

Page 332

Advertising
background image

Chapter 7

Programming

318

Arithmetic Operators

Test conditions are essentially mathematical equations. The chart below lists
the arithmetical operators used in the QC5000 software.

Arithmetic operators determine what happens in the test condition. Take a
look at the following test condition to get a better understanding.

In this example, the ‘==’ arithmetic operator determines that Thing_1 must
equal 5mm for the test condition to be true. The entire test condition reads:
if Thing_1 is equal to 5mm. This means the action Measure_Thing_2 will
only be carried out if Thing_1 equals 5mm.

Changing the arithmetic operator changes the entire test condition. For
example, if the ‘==’ in the example is changed to ‘<=’ Thing_1 must be less
than or equal to 5mm for the test condition to be true.

Advertising