beautypg.com

Variables setup screen, 3 s o ft wa re s e tu p – HEIDENHAIN ND 2100G User Manual

Page 83

background image

ND 2100G GAGE-CHEK

83

2

.3

S

o

ft

wa

re

s

e

tu

p

Variables setup screen

Formulas use variables as symbols or names that represent values.

For example, in the expression:

C1+Var1()

Var1() is a variable, its value is flexible and is determined by operations
on a different formula line for the current part. Variables can represent
numeric constants, channel input values, dimension values or the
results of a wide variety of math operations.

Variables are important in formula creation because they enable users
to create flexible formulas. Rather than including data directly into a
formula, a user can use variables to represent the data. Then, when
the formula is executed, the variables are replaced with actual data.
This makes it possible for the same formula to process different sets
of data as conditions change.

The Variables setup screen allows the user to see the current value of
any of the 20 possible variables. Variables that are not defined
elsewhere by formulas can be set to constant values in this screen by
highlighting a variable field and entering the value. Variables that are
defined by formulas cannot be changed in the Variable setup screen.

Variables are unique to the part they were created in. For example, a
variable created in part 0 cannot be used in part 2. Global variables,
discussed later in this chapter, can be used across all parts.

Variables setup screen.

Variable functions are defined in the Formula setup screen
on page 82. Formulas are explained in the Formulas
section on page 163.