5 programming examples, Example: cylinder surface with cycle 27, Programming examples – HEIDENHAIN TNC 620 (34056x-04) Cycle programming User Manual
Page 206
Fixed Cycles: Cylindrical Surface
8.5
Programming Examples
8
206
TNC 620 | User's Manual Cycle Programming | 5/2013
8.5
Programming Examples
Example: Cylinder surface with Cycle 27
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
;DIMENSION TYPE
8 L C+0 R0 FMAX M13 M99
Pre-position rotary table, spindle ON, call the cycle
9 L Z+250 R0 FMAX
Retract the tool
10 PLANE RESET TURN FMAX
Tilt back, cancel the PLANE function
11 M2
End of program
12 LBL 1
Contour subprogram
13 L X+40 Y+20 RL
Data for the rotary axis are entered in mm (Q17=1)
14 L X+50
15 RND R7.5
16 L Y+60
17 RND R7.5
18 L IX-20
19 RND R7.5
20 L Y+20
21 RND R7.5