beautypg.com

HEIDENHAIN TNC 620 (81760x-02) User Manual

Page 408

background image

Programming: Special functions

11.7

Freely definable tables

11

408

TNC 620 | User's Manual

HEIDENHAIN Conversational Programming | 2/2015

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 several 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 TNC is to write the value that is

first read.

You can read only numerical table fields.
If you wish to read from more than one column in a

block, the TNC will save the values under successive

Q parameter numbers.

Example

You wish to read the values of the columns "Radius," "Depth" and

"D" from line 6 of the presently opened table. Save the first value in

Q parameter Q10 (second value in Q11, third value in Q12).

56 FN 28: TABREAD Q10 = 6/"RADIUS,DEPTH,D"