Logical and control, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual
Page 196

196
2 Installation and Specifications
2.4 F
o
rm
ulas
Logical and control
Logical functions assign values to dimensions or perform operations
based on true/false and sorting tests of specified terms. True/false
tests are performed by the If function. Sorting tests are performed by
the Case function. Each test type uses the same set of test criteria and
conditions.
The logical test criteria functions are only included in If and Case
functions for true/false and sorting tests.
Test criteria include:
To insert a test criteria function:
U
Press the +-*/... soft key
U
Press the dimension key for the test criteria you would like to insert
Logical test criteria.
1
2
4
3
5
6
1
Greater than (>)
5 > 3 is true
5 > 5 is false
5 > 6 is also false
2
Less than (<)
3 < 5 is true
3 < 3 is false
3 < 2 is also false
3
Greater than or equal to (>=)
5 >= 3 is true
3 >= 3 is also true
3 >= 4 is false
4
Less than or equal to (<=)
3 <= 5 is true
3 <= 3 is also true
3 <= 2 is false
5
Equal to (==)
5 == 5 is true
5 == 4 is false
6
Not equal to (!=)
5 != 4 is true
5 != 5 is false