beautypg.com

5 pr ogr amming examples, Example: cylinder surface with cycle 28 – HEIDENHAIN TNC 640 (34059x-01) Cycle programming User Manual

Page 210

background image

210

Fixed Cycles: Cylindrical Surface

8.5 Pr

ogr

amming Examples

Example: Cylinder surface with Cycle 28

Notes:

„

Cylinder centered on rotary table

„

Machine with B head and C table

„

Datum at center of rotary table

„

Description of the midpoint path in the
contour subprogram

0 BEGIN PGM C28 MM

1 TOOL CALL 1 Z S2000

Tool call, tool axis Z, diameter 7

2 L Z+250 R0 FMAX

Retract the tool

3 I X+50 Y+0 R0 FMAX

Position tool at rotary table center

4 PLANE SPATIAL SPA+0 SPB+90 SPC+0
TURN FMAX

Positioning

5 CYCL DEF 14.0 CONTOUR GEOMETRY

Define contour subprogram

6 CYCL DEF 14.1 CONTOUR LABEL 1

7 CYCL DEF 28 CYLINDER SURFACE

Define machining parameters

Q1=-7

;MILLING DEPTH

Q3=+0

;ALLOWANCE FOR SIDE

Q6=2

;SET-UP CLEARANCE

Q10=-4

;PLUNGING DEPTH

Q11=100

;FEED RATE FOR PLNGNG

Q12=250

;FEED RATE FOR MILLING

Q16=25

;RADIUS

Q17=1

;TYPE OF DIMENSION

Q20=10

;SLOT WIDTH

Q21=0.02

;TOLERANCE

Remachining active

C

Z

157

-52.5

40

-35

60

-70