Fn 28: Tabread - Read From A Freely Definable Table; Adapting The Table Format - HEIDENHAIN TNC 620 User Manual

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

Advertisement

10
FN 28: TABREAD – Read from a freely definable table
With the FN 28: TABREAD function you read from the table
previously opened with FN 26: TABOPEN.
You can define, i.e. read, multiple column names in a TABREAD
block. The column names must be written between quotation marks
and separated by a comma. In the FN 28 block you can define the
Q parameter number in which the control is to write the value that is
first read.
If you wish to read from more than one column in
an NC block, the control will save the values under
successive Q parameters of the same type, such as QL1,
QL2, and QL3.
Use QS parameters if you want to read a text field. Use Q, QL, or
QR parameters to read from numerical fields.
Example
You wish to read the values of the columns X, Y, and D from line 6 of
the presently opened table. Save the first value in the Q parameter
Q10, the second in Q11, and the third value in Q12.
From the same row, save the column DOC in QS1.
56 FN 28: TABREAD Q10 = 6/"X,Y,D"
57 FN 28: TABREAD QS1 = 6/"DOC"

Adapting the table format

Caution: Data may be lost!
The ADAPT NC PGM / TABLE function changes the format of all
tables permanently. The control does not perform an automatic
backup of the files prior to a format change. The files will thus be
permanently changed and may no longer be usable.
Only use the function in consultation with the machine tool
builder.
Soft key
Function
Adapt format of tables present after changing the
control software version
The names of tables and table columns must start with
a letter and must not contain an arithmetic operator
(e.g., +). Due to SQL commands, these characters can
cause problems when data are input or read.
418
NOTICE
Special functions | Freely definable tables
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents