beautypg.com

Advanced formula functions, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual

Page 191

background image

ND 2100G GAGE-CHEK

191

2.4 F

o

rm

ulas

Advanced formula functions

Advanced functions are used in visible and hidden dimension formulas
to assign values, perform conditional tests and perform actions.

Example 1:

A = if(C1>1.5mm,dmn(C2),dmn(C3))

The formula assigns a value to visible dimension A that depends on
the input value of C1. When C1 is greater than 1.5 mm, the dynamic
minimum value of C2 is assigned to A, otherwise, the dynamic
minimum value of C3 is assigned.

Example 2:

H1 = if(fail(),Relay(1,1),Relay(1,0))

A hidden dimension is used. Output relay 1 is set to its energized state
(closed) when any tolerance test fails, otherwise, the relay is set to its
deenergized state (open). Since a hidden dimension is used, no data is
recorded in the ND 2100G database.