Introduction to formulas, 4 f o rm ulas 2.4 formulas – HEIDENHAIN ND 2100G User Manual
Page 163

ND 2100G GAGE-CHEK
163
2.4 F
o
rm
ulas
2.4 Formulas
Formulas define dimensions that are displayed on the LCD screen.
Formulas can be created that make a dimension equal in value to a
channel input, or that calculate a dimension from one or more
channels using math, logic or other functions.
In this section, you’ll learn the basics of creating formulas for the
ND 2100G. You’ll learn to create formulas that use math, logic and
data evaluation functions to calculate dimensions, and to use
advanced functions that control or automate measurements.
Introduction to formulas
Formulas use channel inputs and formula functions to define visible
dimensions, hidden dimensions and custom ND 2100G functions.
Formulas contain a dimension label at the top of a formula page, and
arrange the defining channel functions, constants, and math, logic or
control functions underneath.
The syntax of ND 2100G formulas is typical of algebraic equations
generally, and is similar to the syntax used to define cell values in
spread-sheet applications.
The examples below show simple formulas that define visible
dimensions A, B, C and D using channel inputs C1, C2, C3 and C4:
Example
Description
A=C1
Dimension A is equal to the value of input
channel 1
B=2*C2
Dimension B is equal to 2 times the value of input
channel 2
C=C2+C3+C4
Dimension C is equal to the sum of the values of
input channels 2, 3 and 4
D=C4
Dimension D is equal to the value of input
channel 4