beautypg.com

Minindex and maxindex, Rsetdyn, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual

Page 199

background image

ND 2100G GAGE-CHEK

199

2.4 F

o

rm

ulas

MinIndex and MaxIndex

The index location of the minimum or maximum value in a range can
be specified for channels, dimensions and system dimensions.

RsetDyn

RsetDyn range can only be specified for dimensions.

MinIndex and MaxIndex syntax

MinIndex(V1--Vn) or MaxIndex(V1--Vn)
Specifies the location within the parentheses (index) of the
minimum or maximum value.

Example:

A= MaxIndex(C1- -C4)

Dimension A is assigned a number 2 when C2 is the maximum
value in the range channel 1 through channel 4.

RsetDyn syntax

RsetDyn(A--E)
RsetDyn range can be used to dynamically reset a range of
dimensions.

Example:

RsetDyn(A- -E)

Performs a reset of all dynamic functions for dimensions in the
range dimension A through dimension E.