beautypg.com

2 structuring programs, Definition and applications, Selecting blocks in the program structure window – HEIDENHAIN iTNC 530 (60642x-04) User Manual

Page 160

background image

160

Programming: Programming Aids

4.2 Str

uct

ur

ing pr

ogr

a

ms

4.2 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 PGM + 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.