beautypg.com

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

Page 124: Structuring programs

background image

Programming: Programming aids

4.3

Structuring programs

4

124

TNC 128 | User's Manual HEIDENHAIN Conversational Programming | 5/2014

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
252 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. Use the
appropriate screen layout for this.

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

Display the program structure window: Select the
PGM + SECTS screen display

Switch the active window: Press the

CHANGE

WINDOW soft key

Inserting a structuring block in the program window

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

Press the

SPEC FCT key

Press the

PROGRAMMING AIDS soft key

Press the

INSERT SECTION soft key or the * key

on an external ASCII keyboard

Enter the structuring text

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.