4
Programming: Programming Aids
4.4
Structuring programs
4.4
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.
Structure blocks can also be displayed in a separate window, and
be edited or added to, as desired. 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 structure 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
Enter the structuring text
If necessary, change the structure depth with the
soft key
You can also insert structure blocks with the key
combination Shift + 8.
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.
150
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2015