Reading A Table Value - HEIDENHAIN TNC 620 User Manual

Klartext programming
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

Special functions | Accessing table values

Reading a table value

The function TABDATA READ allows you to read a value from a table
and save it to a Q parameter.
Depending on the type of column you want to transfer, you can use
Q, QL, QR, or QS to save the value. The control will automatically
convert the table values to the unit of measure used in the NC
program.
The control reads from the tool table that is currently active. You can
read a value from a compensation table only if you have activated
the table concerned.
For example, the TABDATA READ function enables you to pre-check
the data of the tool to be used to prevent error messages from
occurring during program run.
Procedure
Proceed as follows:
Press the SPEC FCT key
Press the PROGRAM FUNCTIONS soft key
Press the TABDATA soft key
Press the TABDATA READ soft key
Enter the Q parameter for the result
Confirm with the ENT key
Press the soft key for the desired table (e.g.,
CORR-TCS)
Enter the column name
Confirm with the ENT key
Enter the line number of the table
Press the ENT key
Example
12 SEL CORR-TABLE TCS "TNC:\table\corr.tco"
13 TABDATA READ Q1 = CORR-TCS COLUMN "DR" KEY "5"
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
Activate the compensation table
Save the value of line 5, column DR, from the compensation
table to Q1
10
403

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents