5 programming examples, 5 pr ogr amming examples 8.5 programming examples, Example: cylinder surface with cycle 27 – HEIDENHAIN TNC 320 (340 55x-04) Cycle programming User Manual

Page 206

Advertising
background image

206

Fixed Cycles: Cylindrical Surface

8.5 Pr

ogr

amming Examples

8.5 Programming Examples

Example: Cylinder surface with Cycle 27

Notes:

„

Machine with B head and C table

„

Cylinder centered on rotary 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 Y S2000

Call tool, tool axis is Y

2 L Y+250 R0 FMAX

Retract the tool

3 L X R0 FMAX

Position tool on rotary table center

4 CYCL DEF 14.0 CONTOUR GEOMETRY

Define contour subprogram

5 CYCL DEF 14.1 CONTOUR LABEL 1

6 CYCL DEF 27 CYLINDER SURFACE

Define machining parameters

Q1=-7

;MILLING DEPTH

Q3=+0

;ALLOWANCE FOR SIDE

Q6=2

;SETUP 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

7 L C+0 R0 FMAX M3

Pre-position rotary table

8 CYCL CALL

Cycle call

9 L Y+250 R0 FMAX M2

Retract in the tool axis, end program

X

Y

157

52.5

40

35

60

70

Advertising