beautypg.com

3 structuring programs, Definition and applications, Selecting blocks in the program structure window – HEIDENHAIN TNC 640 (34059x-02) User Manual

Page 135: Structuring programs, Structuring programs 4.3

background image

Structuring programs

4.3

4

TNC 640 | User's Manual
HEIDENHAIN Conversational Programming | 5/2013

135

4.3

Structuring programs

Definition and applications

This TNC function enables you to comment part programs in
structuring blocks. Structuring blocks are short texts with up to
37 characters and are used as comments or headlines for the
subsequent program lines.

With the aid of appropriate structuring blocks, you can organize
long and complex programs in a clear and comprehensible manner.

This function is particularly convenient if you want to change the
program later. Structuring blocks can be inserted into the part
program at any point. They can also be displayed in a separate
window, and edited or added to, as desired.

The inserted structure items are managed by the TNC in a separate
file (extension: .SEC.DEP). This speeds navigation in the program
structure window.

Displaying the program structure window / Changing
the active window

To display the program structure window, select
the screen display PROGRAM+SECTS

To change the active window, press the "Change
window" soft key

Inserting a structuring block in the (left) program
window

Select the block after which the structuring block is to be
inserted

Press the INSERT SECTION soft key or the * key
on the ASCII keyboard

Enter the structuring text with the alphabetic
keyboard

If necessary, change the structure depth with the
soft key

Selecting blocks in the program structure window

If you are scrolling through the program structure window block
by block, the TNC at the same time automatically moves the
corresponding NC blocks in the program window. This way you can
quickly skip large program sections.