4 f o rm ulas – HEIDENHAIN ND 2100G User Manual
Page 197

ND 2100G GAGE-CHEK
197
2.4 F
o
rm
ulas
The logical test condition functions are only included in If and Case
functions for true/false and sorting tests.
Test conditions include:
Logical test conditions.
7
8
9
7
Logical AND (&&)
True only when all values tested fit criterion
Example:
For the condition (C1==2)&&(C2>1)
(C1==2)&&(C2>1) is false
when C1 = 1.9 and C2 = 2.0
(C1==2)&&(C2>1) is false
when C1 = 1.9 and C2 = 2.5
(C1==2)&&(C2>1) is true
when C1 = 2.0 and C2 = 2.0
(C1==2)&&(C2>1) is true
when C1 = 2.0 and C2 = 2.1
8
Logical OR (||)
True when any value tested fits criterion
Example:
For the condition (C1==2)||(C2>1)
(C1==2)||(C2>1) is false
when C1 = 1.9 and C2 = 1.0
(C1==2)||(C2>1) is true
when C1 = 1.9 and C2 = 2.5
(C1==2)||(C2>1) is true
when C1 = 2.0 and C2 = 1.9
(C1==2)||(C2>1) is true
when C1 = 2.0 and C2 = 2.1
9
RANGE (--)
The evaluation of Range depends on the formula that includes it.
Example:
Ranges can be included in the following formula functions:
Din
Dout
MinIndex
RsetDyn
MaxIndex