Programming the first part 1.3 – HEIDENHAIN TNC 320 (77185x-01) ISO programming User Manual
Page 53

Programming the first part
1.3
1
TNC 320 | User's Manual for DIN/ISO Programming | 3/2014
53
Example NC blocks
%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 BOTTOM
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 *
Further information on this topic
Creating a new program: see "Opening programs and entering",
page 87
Cycle programming: See User's Manual for Cycles, "Cycle
fundamentals / Overviews"