2 creating and writing programs – HEIDENHAIN iTNC 530 (60642x-04) User Manual
Page 107

HEIDENHAIN iTNC 530
107
3.2 Cr
eating and wr
iting pr
ogr
a
ms
3.2 Creating and writing programs
Organization of an NC program in HEIDENHAIN
Conversational format
A part program consists of a series of program blocks. The figure at
right illustrates the elements of a block.
The TNC numbers the blocks in ascending sequence.
The first block of a program is identified by BEGIN PGM, the program
name and the active unit of measure.
The subsequent blocks contain information on:
The workpiece blank
Tool calls
Approaching a safe position
Feed rates and spindle speeds, as well as
Path contours, cycles and other functions
The last block of a program is identified by END PGM the program name
and the active unit of measure.
10 L X+10 Y+5 R0 F100 M3
Block number
Path function
Words
Block
Danger of collision!
After each tool call, HEIDENHAIN recommends always
traversing to a safe position from which the TNC can
position the tool for machining without causing a collision!