beautypg.com

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

Page 249

background image

ND 2100G GAGE-CHEK

249

2.4 F

o

rm

ulas

Database record elements are numbered starting with element 0 at
the top of the list for each dimension. The most recently stored value
is at the top. Value A(2) is the third element from the top of dimension
A list (not the second) as shown below.

List indexes must be positive integers. An index that exceeds the
range of a specified list results in an error message.

Example 1:

C = A(2)
C = 2.314

Example 2:

C = B(2,3)
C = 0.858

Shows the syntax of a data lookup function that uses record and part
indexes.

The formula assigns the value of the third element of the data stored
for dimension B of part 3 to dimension C.

Example 1.

A(0)

A(2)

Example 2.

B(2)