beautypg.com

4 cr eating and w riting pr ogr ams – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 82

background image

82

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

4.4 Cr

eating and W

riting Pr

ogr

ams

The word that is highlighted in the new block is the same as the one
you selected previously.

Finding any text

8

To select the search function, press the FIND soft key. The TNC
displays the dialog prompt Find text:

8

Enter the text that you wish to find.

8

To find the text, press the EXECUTE soft key.

Marking, copying, deleting and inserting program sections

The TNC provides certain functions for copying program sections
within an NC program or into another NC program—see the table
below.

To copy a program section, proceed as follows:

8

Select the soft-key row containing the marking functions.

8

Select the first (last) block of the section you wish to copy.

8

To mark the first (last) block: Press the SELECT BLOCK soft key. The
TNC then highlights the first character of the block and
superimposes the soft key CANCEL SELECTION.

8

Move the highlight to the last (first) block of the program section you
wish to copy or delete. The TNC shows the marked blocks in a
different color. You can end the marking function at any time by
pressing the CANCEL SELECTION soft key.

8

To copy the selected program section, press the COPY BLOCK soft
key. To delete the selected section, press the DELETE BLOCK soft
key. The TNC stores the selected block.

8

Using the arrow keys, select the block after which you wish to insert
the copied (deleted) program section.

8

To insert the block, press the INSERT BLOCK soft key.

8

To end the marking function, press the CANCEL SELECTION soft
key.

If you have started a search in a very long program, the
TNC shows a progress display window. You then have the
option of canceling the search via soft key.

In the tool axis the TNC always captures the coordinates
of the tool tip and thus always takes the active tool length
compensation into account.

To insert the section into another program, select the
corresponding program using the file manager and then
mark the block after which you wish to insert the copied
block.