User's Manual TNC 360 (from 259 900-11) - heidenhain
User's Manual TNC 360 (from 259 900-11) - heidenhain
User's Manual TNC 360 (from 259 900-11) - heidenhain
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6 Subprograms and Program Section Repeats<br />
6.1 Subprograms<br />
6-4<br />
Example for exercise: Group of four holes at three different locations<br />
The holes are drilled with cycle 1 PECK<br />
DRILLING. You enter the setup clearance, feed<br />
rate, drilling feed rate etc. once in the cycle.<br />
You can then call the cycle with the<br />
miscellaneous function M99 (see page 8-3).<br />
Coordinates of the first hole in each group:<br />
Group 1 X = 15 mm Y = 10 mm<br />
Group 2 X = 45 mm Y = 60 mm<br />
Group 3 X = 75 mm Y = 10 mm<br />
Spacing of holes:<br />
IX = 20 mm IY = 20 mm<br />
Total hole depth (DEPTH): Z = 10 mm<br />
Hole diameter: Ø = 5 mm<br />
Part Program<br />
0 BEGIN PGM <strong>360</strong>064 MM<br />
1 BLK FORM 0.1 Z X+0 Y+0 Z–20<br />
2 BLK FORM 0.2 X+100 Y+100 Z+0<br />
3 TOOL DEF 1 L+0 R+2.5<br />
4 TOOL CALL 1 Z S1000<br />
5 CYCL DEF 1.0 PECK DRILLING<br />
6 CYCL DEF 1.1 SETUP –2<br />
7<br />
8<br />
CYCL DEF 1.2 DEPTH –10<br />
CYCL DEF 1.3 PECKG –10<br />
Cycle definition PECKING (see page 8-5)<br />
9 CYCL DEF 1.4 DWELL 0<br />
10 CYCL DEF 1.5 F100<br />
<strong>11</strong> L Z+100 FMAX<br />
12 L X+15 Y+10 R0 FMAX M6 ................................ Move to hole group 1, insert tool<br />
13 L Z+2 FMAX M3 ................................................. Pre-position in the infeed axis<br />
14 CALL LBL 1 ........................................................ Subprogram call (with block 14 the subprogram is executed<br />
once)<br />
15 L X+45 Y+60 FMAX ........................................... Move to hole group 2<br />
16 CALL LBL 1 ........................................................ Subprogram call<br />
17 L X+75 Y+10 FMAX ........................................... Move to hole group 3<br />
18 CALL LBL 1 ........................................................ Subprogram call<br />
19 L Z+100 FMAX M2 ............................................. Retract tool; return to program (M2):<br />
............................................................................ The subprogram is entered after M2<br />
20 LBL 1 .................................................................. Beginning of subprogram<br />
21 L M99 ................................................................. Execute peck drilling cycle for first hole in group<br />
22 L IX+20 FMAX M99 ............................................ Move to position for second hole and drill<br />
23 L IY+20 FMAX M99 ............................................ Move to position for third hole and drill<br />
24 L IX–20 FMAX M99 ............................................ Move to position for fourth hole and drill<br />
25 LBL 0 .................................................................. End of subprogram<br />
26 END PGM <strong>360</strong>064 MM<br />
Y<br />
60<br />
10<br />
Z<br />
20<br />
20<br />
1<br />
2<br />
20<br />
20<br />
20<br />
5<br />
15 45 75<br />
3<br />
X<br />
<strong>TNC</strong> <strong>360</strong>