beautypg.com

Preset function, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual

Page 253

background image

ND 2100G GAGE-CHEK

253

2.4 F

o

rm

ulas

Preset function

The Preset function is used to preset a dimension to a specified value.

To insert the Preset function:

U

Press the OTHER... soft key

U

Press the XTRA dimension key

U

Use the arrow cursor keys to highlight Preset

U

Press the ENTER key

Preset function in OnEvent function.

Preset function syntax

A = Formula;Preset(Dimension,value)
Assigns the function to a visible dimension. See Example 1.

H1 = Preset(Dimension,value)
Assigns the function to a hidden dimension.

H1 = Function(Preset(Dimension,value))
Assigns the function to a hidden dimension within another function.
See Example 2.

Example 1:

A = C1;Preset(B,1.25mm)

A = C1 and dimension B is preset to 1.25 mm

Example 2:

H1 = OnEventWide 1(Preset(B,1.25mm))

Presets dimension B to 1.25 mm when the LEFT WIDE key is
pressed.