![HEIDENHAIN TNC 407 User Manual Download Page 242](http://html1.mh-extra.com/html/heidenhain/tnc-407/tnc-407_user-manual_2118718242.webp)
8-22
8
Cycles
TNC 426/TNC 425/TNC 415 B/TNC 407
Fig. 8.20:
Surface is machined first
Fig. 8.19:
Outline is machined first
Fig. 8.18:
Points of intersection
S
1
and
S
2
of
pockets
A and B
.
.
.
.
.
.
B
Right pocket
A
Left pocket
A
B
S
1
S
2
Cycle in a part program
%S820I G71 * ............................................................ Start of program
N10 G30 G17 X+0 Y+0 Z–20 * ................................... Define workpiece blank
N20 G31 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+3 * .............................................. Define tool
N40 T1 G17 S2500 * .................................................. Call tool
N50 G37 P01 1 P02 2 * .............................................. In the CONTOUR GEOMETRY cycle, state that the contour
elements are described in subprograms 1 and 2
N60 G57 P01 –2 P02 –15 P03 –8 P04 100 P05 +0
P06 +0 P07 500 * ....................................................... Cycle definition ROUGH-OUT
N70 G00 G40 G90 Z+100 M06 * ............................... Retract in the infeed axis, insert tool
N80 X+50 Y+50 M03 * .............................................. Pre-position in X/Y, spindle ON
N90 Z+2 M99 * .......................................................... Pre-position in Z to setup clearance, cycle call
N100 Z+100 M02 *
N110 G98 L1 *
N140 G98 L0 *
N150 G98 L2 *
N180 G98 L0 *
N99999 %S820I G71 *
Subprograms: Overlapping pockets
Pocket elements
A and B overlap.
The control automatically calculates the points of intersection
S
1
and
S
2
(they do not have to be programmed). The pockets are programmed as full
circles.
N110
G98 L1 *
N120
G01 G41 X+10 Y+50 *
N130
I+35 J+50 G03 X+10 Y+50 *
N140
G98 L0 *
N150
G98 L2 *
N160
G01 G41 X+90 Y+50 *
N170
I+65 J+50 G03 X+90 Y+50 *
N180
G98 L0 *
N99999 % S820I G71 *
Depending on the control setup (machine parameters), machining starts
either with the outline or the surface: