HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual
Page 261
![background image](https://www.manualsdir.com/files/815349/content/doc261.png)
8-41
8
Cycles
TNC 426/TNC 425/TNC 415 B/TNC 407
Example:
Rectangular channel on a cylindrical surface
Channel width
20 mm
Channel height
60 mm
Depth
7.5 mm
Cylinder diameter
50 mm
Length of programming plane =
Circumference of the cylinder:
3.14 x 50 mm = 157 mm
You wish to enter the dimensional data for
the rotary axis in mm (Q17 = 1)!
Cycle in a part program
%CYLSURF G71*
N10
G30 G18 X+0 Y+0 Z–20*
N20
G31 G90 X+100 Y+100 Z+0*
N30
G99 T1 L+0 R+6*
N40
T1 G18 S100*
N50
G00 G40 G90 Y+100*
N60
G127 ................................................................. Cycle definition CYLINDER SURFACE
Q1=–7.5 ........................................................... ;MILLING DEPTH
Q3=+0 .............................................................. ;ALLOWANCE FOR SIDE
Q6=+2 .............................................................. ;SETUP CLEARANCE
Q10=+4 ............................................................ ;PECKING DEPTH
Q11=100 .......................................................... ;FEED RATE FOR PECKING
Q12=250 .......................................................... ;FEED RATE FOR MILLING
Q16=+25 .......................................................... ;RADIUS
Q17=1* ............................................................. ;DIMENSION TYPE (ANG/LIN)
N70
C+0 M3 * .......................................................... Pre-position on the rotary axis
N80
G79* ................................................................. Call the cycle
N90
G00 Y+200 M2 * .............................................. Retract, end of main program
N100 G98 L1*
N110 G01 G41 C+40 Z+20 * ..................................... Start position C 40 mm
N120 C+50 Z+20*
N130 G25 R7.5*
N140 G91 Z+60*
N150 G90 G25 R7.5*
N160 G91 C–20*
N170 G90 G25 R7.5*
N180 L Z+20
N190 G25 R7.5*
N200 C+40*
N210 G98 L0 * ........................................................... End of subprogram
N99999 % CYLSURF G71*
C
Z
30
60
50
157
20
R7,5