HEIDENHAIN TNC 620 User Manual page 417

Conversational programming cnc control; nc software 817600-03; 817601-03; 817605-03
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

FN 26: TABOPEN – Open a freely definable table
With the function FN 26: TABOPEN you open a freely definable
table to be written to with FN 27 or to be read from with FN 28.
Only one table can be open in an NC program. A new
block with FN 26: TABOPEN automatically closes the
last opened table.
The table to be opened must have the extension
.TAB.
Example: Open the table TAB1.TAB, which is saved in the
directory TNC:\DIR1.
56 FN 26: TABOPEN TNC:\DIR1\TAB1.TAB
FN 27: TABWRITE – Write to a freely definable table
With the FN 27: TABWRITE function you write to the table that you
previously opened with FN 26: TABOPEN.
You can write several 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.
Note that by default the FN 27: TABWRITE function
also writes values to the currently open table in Test
run mode. The FN18 ID992 NR16 function enables
you to query in which operating mode the program
is to be run. If the FN27 function is to be run only
in the Program Run, Single Block and Program
Run, Full Sequence operating modes, you can skip
the respective program section by using a jump
command.
Further Information:
parameters, page 310
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 value to be written in the
table must be saved in the Q parameters Q5, Q6 and Q7 .
53 Q5 = 3.75
54 Q6 = -5
55 Q7 = 7.5
56 FN 27: TABWRITE 5/"RADIUS,DEPTH,D" = Q5
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2015
If-then decisions with Q
Freely definable tables 11.8
11
417

Advertisement

Table of Contents
loading

Table of Contents