beautypg.com

D28: tapread: read from a freely definable table – HEIDENHAIN TNC 620 (73498x-02) ISO programming User Manual

Page 336

background image

Programming: Special functions

11.5

Freely definable tables

11

336

TNC 620 | User's Manual for DIN/ISO Programming | 5/2013

D28: TAPREAD: Read from a freely definable table

After you have opened a table with

D26: TABOPEN you can use the

function

D28:TABREAD to read from it.

You can define and read several column names in a

TABREAD block.

The column names must be written between quotation marks
and separated by a comma. In the

D28 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).

N56 D28: TABREAD Q10 = 6/"RADIUS,DEPTH,D"