3 pr ogr amming the first par t – HEIDENHAIN iTNC 530 (60642x-04) ISO programming User Manual
Page 61

HEIDENHAIN iTNC 530
61
1.
3
Pr
ogr
amming
the
first
par
t
Example NC blocks
Further information on this topic
Creating a new program: See "Creating and writing programs", page
101
Cycle programming: See User’s Manual for Cycles
%C200 G71 *
N10 G30 G17 X+0 Y+0 Z-40 *
Definition of workpiece blank
N20 G31 X+100 Y+100 Z+0 *
N30 T5 G17 S4500 *
Tool call
N40 G00 G40 G90 Z+250 *
Retract the tool
N50 G200 DRILLING
Define the cycle
Q200=2
;SET-UP CLEARANCE
Q201=-20
;DEPTH
Q206=250
;FEED RATE FOR PLNGNG
Q202=5
;PLUNGING DEPTH
Q210=0
;DWELL TIME AT TOP
Q203=-10
;SURFACE COORDINATE
Q204=20
;2ND SET-UP CLEARANCE
Q211=0.2
;DWELL TIME AT DEPTH
N60 X+10 Y+10 M13 M99 *
Spindle and coolant on, call the cycle
N70 X+10 Y+90 M99 *
Call the cycle
N80 X+90 Y+10 M99 *
Call the cycle
N90 X+90 Y+90 M99 *
Call the cycle
N100 G00 Z+250 M2 *
Retract the tool, end program
N99999999 %C200 G71 *