HEIDENHAIN TNC 360 User Manual User Manual
Page 174
8-21
TNC 360
8
Cycles
Fig. 8.17:
Points of intersection S
1
and S
2
of
pockets A and B
Fig. 8.18:
Outline is machined first
Fig. 8.19:
Surface is machined first
8.3
SL Cycles
Cycle in a part program
0
BEGIN PGM 360821 MM
1
BLK FORM 0.1 Z X+0 Y+0 Z–20
2
BLK FORM 0.2 X+100 Y+100 Z+0
3
TOOL DEF 1 L+0 R+3
4
TOOL CALL 1 Z S1000
5
CYCL DEF 14.0 CONTOUR GEOM.
6
CYCL DEF 14.1 CONTOUR LABEL 1/2 .............. "List" of contour subprograms
7
CYCL DEF 6.0 ROUGH-OUT .............................. Cycle definition ROUGH-OUT
8
CYCL DEF 6.1 SET UP –2 DEPTH –10
9
CYCL DEF 6.2 PECKG –5 F500 ALLOW +0
10
CYCL DEF 6.3 ANGLE +0 F500
11
L Z+100 R0 FMAX M6
12
L X+50 Y+50 FMAX M3 ..................................... Pre-positioning X, Y, spindle on
13
L Z+2 FMAX M99 ............................................... Setup clearance Z, cycle call
14
L Z+100 FMAX M2 ............................................. Retract, return to start of program
15
LBL 1
19
LBL 0
20
LBL 2
24
LBL 0
25
END PGM 360821 MM
Subprograms: Overlapping pockets
The pocket elements A and B overlap.
The control automatically calculates the points of intersection S1 and S2,
so these points do not have to be programmed.
The pockets are programmed as full circles.
15
LBL 1
16
L X+10 Y+50 RL
17
CC X+35 Y+50
18
C X+10 Y+50 DR+
19
LBL 0
20
LBL 2
21
L X+90 Y+50 RL
22
CC X+65 Y+50
23
C X+90 Y+50 DR+
24
LBL 0
25
END PGM 360821 MM
Depending on the control setup (machine parameters), machining starts
either with the outline or the surface:
.
.
.
.
.
.
B
Right pocket
Subprograms on pages 8-21 and
8-22 are inserted here
A
Left pocket
A
B
S
1
S
2