beautypg.com

4 pr ogr amming examples – HEIDENHAIN TNC 128 (77184x-01) User Manual

Page 438

background image

438

Fixed cycles: Pocket milling / stud milling / slot milling

1

7.4 Pr

ogr

amming examples

5 CYCL DEF 256 RECTANGULAR STUD

Define cycle for machining the contour outside

Q218=90

;1ST SIDE LENGTH

Q424=100

;WORKPC. BLANK SIDE 1

Q219=80

;2ND SIDE LENGTH

Q425=100

;WORKPC. BLANK SIDE 2

Q201=-30

;DEPTH

Q367=0

;STUD POSITION

Q202=5

;PLUNGING DEPTH

Q207=250

;FEED RATE FOR MILLING

Q206=250

;FEED RATE FOR PLNGNG

Q385=750

;FEED RATE FOR FINISHING

Q368=0

;ALLOWANCE FOR SIDE

Q369=0.1

;ALLOWANCE FOR FLOOR

Q338=5

;INFEED FOR FINISHING

Q200=2

;SET-UP CLEARANCE

Q203=+0

;SURFACE COORDINATE

Q204=20

;2ND SET-UP CLEARANCE

Q351=+1

;CLIMB OR UP-CUT

Q370=1

;TOOL PATH OVERLAP

6

X+50

R0

Call cycle for machining the contour outside

7

Y+50 R0 M3 M99

Call cycle for machining the contour outside