beautypg.com

At (see "importing tool data" on, 2 t ool data – HEIDENHAIN iTNC 530 (34049x-08) ISO programming User Manual

Page 198

background image

198

Programming: Tools

5.2 T

ool data

Importing tool data
Using this function you can simply import tool data that you have

measured externally on a presetting device, for example. The file to be

imported must have the CSV format (comma separated value). The
CSV

file format describes the structure of a text file for exchanging

simply structured data. Accordingly, the import file must have the

following structure:

Line 1

:

In the first line you define the column names in which the data

defined in the subsequent lines is to be placed. The column names

are separated from each other by commas.

Other lines

:

All the other lines contain the data that you wish to import into the

tool table. The order of the data must match the order of the column

names in Line 1. The data is separated by commas, decimal

numbers are to be defined with a decimal point.

Follow the steps outlined below for importing:

Copy the tool table to be imported to the hard disk of the TNC in the
TNC:\systems\tooltab

directory

Start Extended Tool Management

Select the IMPORT TOOL soft key in the Tool Management: The

TNC shows a pop-up window with the CSV files stored in the
TNC:\systems\tooltab

directory

Use the arrow keys or mouse to select the file to be imported and

confirm with the ENT key: The TNC shows the content of the CSV

file in a pop-up window

Press the OK and EXECUTE soft keys to start the import process

If the tool data file to be imported contains tool numbers that are not

available in the internal tool table, the TNC displays the COMPLETE

THE TABLE soft key. If you press this soft key, the TNC will insert

empty data records until the higher tool numbers can be transferred.

The CSV file to be imported must be stored in the
TNC:\system\tooltab

directory.

If you import the tool data of tools whose numbers are

in the pocket table, the TNC issues an error message.

You can then decide whether you want to skip this data

record or insert a new tool. The TNC inserts a new tool

into the first empty line of the tool table.

Make sure that the column designations are specified

correctly (see "Tool table: Standard tool data" on page

171).

You can import any tool data, the associated data record

does not have to contain all the columns (or data) of the

tool table.

The column names can be in any order, the data must

be defined in the corresponding order.