beautypg.com

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

Page 208

background image

208

Fixed Cycles: Cylindrical Surface

8.5 Pr

ogr

amming Examples

8.5 Programming Examples

Example: Cylinder surface with Cycle 27

Note:

„

Machine with B head and C table

„

Cylinder centered on rotary table

„

Datum is on the underside, in the center of the
rotary table

0 BEGIN PGM C27 MM

1 TOOL CALL 1 Z S2000

Tool call: Diameter 7

2 L Z+250 R0 FMAX

Retract the tool

3 L X+50 Y0 R0 FMAX

Pre-position tool at rotary table center

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

Positioning

5 CYCL DEF 14.0 CONTOUR GEOMETRY

Define contour subprogram

6 CYCL DEF 14.1 CONTOUR LABEL 1

7 CYCL DEF 27 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

C

Z

157

60

30

20

R7

.5

50