Fn260Abopen: Opening A Freely Definable Table; Fn27: Tabwrite: Writing To A Freely Definable Table - HEIDENHAIN ITNC 530 User Manual

Conversational programming
Hide thumbs Also See for ITNC 530:
Table of Contents

Advertisement

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.
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.
Example: Open the table TAB1.TAB, which is saved in the
directory TNC:\DIR1.
56 FN26: TABOPEN TNC:\DIR1\TAB1.TAB
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.
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.
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.
53 FN0: Q5 = 3.75
54 FN0: Q6 = -5
55 FN0: Q7 = 7.5
56 FN27: TABWRITE 5/"RADIUS,DEPTH,D" = Q5
562
11 Programming: Q Parameters

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itnc 530 e

Table of Contents