HEIDENHAIN TNC 640 (34059x-05) Cycle programming User Manual
Page 176
Fixed Cycles: Pocket Milling / Stud Milling / Slot Milling
5.9
Programming Examples
5
176
TNC 640 | User's Manual Cycle Programming | 1/2015
Q351=+1
;CLIMB OR UP-CUT
Q201=-30
;DEPTH
Q202=5
;PLUNGING DEPTH
Q369=0.1
;ALLOWANCE FOR FLOOR
Q206=150
;FEED RATE FOR PLNGNG
Q338=5
;INFEED FOR FINISHING
Q200=2
;SET-UP CLEARANCE
Q203=+0
;SURFACE COORDINATE
Q204=50
;2ND SET-UP CLEARANCE
Q370=1
;TOOL PATH OVERLAP
Q366=1
;PLUNGE
Q385=750
;FINISHING FEED RATE
8 L X+50 Y+50 R0 FMAX M99
Call CIRCULAR POCKET MILLING cycle
9 L Z+250 R0 FMAX M6
Tool change
10 TOLL CALL 2 Z S5000
Call tool: slotting mill
11 CYCL DEF 254 CIRCULAR SLOT
Define SLOT cycle
Q215=0
;MACHINING OPERATION
Q219=8
;SLOT WIDTH
Q368=0.2
;ALLOWANCE FOR SIDE
Q375=70
;PITCH CIRCLE DIA.
Q367=0
;REF. SLOT POSITION
No pre-positioning in X/Y required
Q216=+50
;CENTER IN 1ST AXIS
Q217=+50
;CENTER IN 2ND AXIS
Q376=+45
;STARTING ANGLE
Q248=90
;ANGULAR LENGTH
Q378=180
;STEPPING ANGLE
Starting point for second slot
Q377=2
;NR OF REPETITIONS
Q207=500
;FEED RATE FOR MILLING
Q351=+1
;CLIMB OR UP-CUT
Q201=-20
;DEPTH
Q202=5
;PLUNGING DEPTH
Q369=0.1
;ALLOWANCE FOR FLOOR
Q206=150
;FEED RATE FOR PLNGNG
Q338=5
;INFEED FOR FINISHING
Q200=2
;SET-UP CLEARANCE
Q203=+0
;SURFACE COORDINATE
Q204=50
;2ND SET-UP CLEARANCE
Q366=1
;PLUNGE
12 CYCL CALL FMAX M3
Call SLOT cycle
13 L Z+250 R0 FMAX M2
Retract in the tool axis, end program
14 END PGM C210 MM