beautypg.com

Copying a directory, Copy a directory – HEIDENHAIN iTNC 530 (340 422) ISO programming User Manual

Page 90

background image

90

4 Programming: Fundamentals of NC, File Management, Programming Aids, Pallet Management

4.4 A

d

v

a

nced Fi

le Manag

e

ment

Copying a table

If you are copying tables, you can overwrite individual lines or columns
in the target table with the REPLACE FIELDS soft key. Prerequisites:

n

The target table must exist.

n

The file to be copied must only contain the columns or lines you
want to replace.

Example

With a tool presetter you have measured the length and radius of ten
new tools. The tool presetter then generates the tool table TOOL.T
with 10 lines (for the 10 tools) and the columns

n

Tool number (column T)

n

Tool length (column L)

n

Tool radius (column R)

Copy this file to a directory other than the one containing the previous
TOOL.T. If you wish to copy this file over the existing table using the
TNC file management, the TNC asks if you wish to overwrite the
existing TOOL.T tool table:

U

U

U

U

If you press the YES soft key, the TNC will completely overwrite the
current TOOL.T tool table. After this copying process the new
TOOL.T table consists of 10 lines. The only remaining columns in
the table are tool number, tool length and tool radius.

U

U

U

U

Or, if you press the REPLACE FIELDS soft key, the TNC merely
overwrites the first 10 lines of the columns number, length and
radius in the TOOL.T file. The TNC does not change the data in the
other lines and columns.

Copying a directory

Move the highlight in the left window onto the directory you want to
copy. Instead of the COPY soft key, press the COPY DIR soft key.
Subdirectories are also copied at the same time.

The REPLACE FIELDS soft key does not appear when you
want to overwrite the table in the TNC with an external
data transfer software, such as TNCremoNT. Copy the
externally created file into a different directory, and then
copy the desired fields with the TNC file management.