beautypg.com

Fn26: tabopen: opening a freely definable table, Fn26:tabopen open a freely definable table, Fn27:tabwrite write to a freely definable table – HEIDENHAIN TNC 426 (280 476) User Manual

Page 408: 10 .8 a d ditional f unctions

background image

HEIDENHAIN TNC 426, TNC 430

381

1

0

.8 A

d

ditional F

unctions

Example: Set a new datum at the current coordinate X+100

Example: The current coordinate Z+50 will have the value -20 in
the new coordinate system

FN26: TABOPEN: Opening a Freely Definable
Table

With FN 26: TABOPEN you can define a table to be written with FN27,
or to be read from with FN28.

.Example: Open the table TAB1.TAB, which is save in the
directory TNC:\DIR1.

FN27: TABWRITE: writing to a freely definable
table

After you have opened a table with FN 26 TABOPEN, you can use
function FN 27: TABWRITE to write to it.

You can define and write up to 8 column names in a TABWRITE block.
The column names must be written between quotation marks and
separated by a comma. You define the values that the TNC is to write
to the respective column with Q parameters.

Example:

You wish to write to the columns “Radius,” “Depth” and “D” in line
5 of the presently opened table. The values to be written in the table
must be saved in the Q parameters Q5, Q6 and Q7.

56 FN25: PRESET = X/+100/+0

56 FN25: PRESET = Z/+50/-20

Only one table can be open in an NC program. A new block
with TABOPEN automatically closes the last opened table.

The table to be opened must have the file name extension
.TAB.

56 FN26: TABOPEN TNC:\SIR1\TAB1.TAB

You can write only to numerical table fields.

If you wish to write to more than one column in a block,
you must save the values under successive Q parameter
numbers.

53 FN0: Q5 = 3.75

54 FN0: Q6 = -5

55 FN0: Q7 = 7.5

56 FN27: TABWRITE 5/“radius,depth,D” = Q5

This manual is related to the following products: