beautypg.com

3 pr ogr amming the first p a rt – HEIDENHAIN TNC 640 (34059x-01) User Manual

Page 47

background image

HEIDENHAIN TNC 640

47

1

.3 Pr

ogr

amming the First P

a

rt

Further information on this topic

„

Creating a new program: See "Creating and Writing Programs" on
page 85

„

Cycle programming: See User’s Manual for Cycles

6 CYCL DEF 200 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

7 CYCL CALL PAT FMAX M13

Spindle and coolant on, call the cycle

8 L Z+250 R0 FMAX M2

Retract in the tool axis, end program

9 END PGM C200 MM