HEIDENHAIN iTNC 530 51
1.3 Programming the First Part
Example NC blocks
Further information on this topic
Creating a new program: See “Creating and Writing Programs” on
page 89
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 ;SETUP CLEARANCE
Q201=-20 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGN
Q202=5 ;PLUNGING DEPTH
Q210=0 ;DWELL TIME AT TOP
Q203=-10 ;SURFACE COORDINATE
Q204=20 ;2ND SETUP CLEARANCE
Q211=0.2 ;DWELL TIME AT DEPTH
N60 X+10 Y+10 M13 M99 *
Spindle and coolant on, call 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 in the tool axis, end program
N99999999 %C200 G71 *