Maxindex and minindex functions, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual
Page 251

ND 2100G GAGE-CHEK
251
2.4 F
o
rm
ulas
MaxIndex and MinIndex functions
The MaxIndex and MinIndex functions return the position of either the
minimum or maximum value in a list. The list can contain individual
values, ranges of values or a mixture of both.
To insert the MaxIndex or MinIndex function:
U
Press the OTHER... soft key
U
Press the XTRA dimension key
U
Use the arrow cursor keys to highlight MaxIndex or MinIndex
U
Press the ENTER key
MaxIndex function.
In the list:
(12,34,23,67,13)
The position of the maximum
value is 4.
(2,45,27,41,56)
The position of the minimum
value is 1.
(C1--C4,7,A,6,4)
The position of the maximum
value is 1.
When:
C1 = 2.0
C4 = 8.2
C2 = 5.
A = 3.8
C3 = 2.1
MaxIndex function syntax
A = MinIndex(List of values or ranges)
Example:
A = MinIndex(C1,C2,C3)
A = 2 When C1 = 2.5, C2 = 1.5, C3 = 3.7
MaxIndex function syntax
A = MaxIndex(List of values or ranges)
Example:
A = MaxIndex(C1,C2,C3)
A = 3 When C1 = 2.5, C2 = 1.5, C3 = 3.7