30.07.2013 Views

User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain

User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain

User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6 Subprograms and Program Section Repeats<br />

6.4 Nesting<br />

6-10<br />

Example for exercise: Group of four holes at three positions (see page 6-4), but with three different tools<br />

Machining sequence:<br />

Countersinking - Pecking - Tapping<br />

The drilling operation is programmed with cycle<br />

G83: PECKING (see page 8-4) and cycle G84:<br />

TAPPING (see page 8-6). The groups of holes<br />

are approached in one subprogram, and the<br />

machining is performed in a second subprogram.<br />

Coordinates of the first hole in each group:<br />

1 X = 15 mm Y = 10 mm<br />

2 X = 45 mm Y = 60 mm<br />

3 X = 75 mm Y = 10 mm<br />

Spacing between<br />

holes<br />

Hole data:<br />

IX = 20 mm IY = 20 mm<br />

Countersinking ZC = 3 mm Ø = 7 mm<br />

Pecking ZP = 15 mm Ø = 5 mm<br />

Tapping ZT = 10 mm Ø = 6 mm<br />

Part program<br />

–3<br />

–15<br />

–20<br />

Z<br />

15<br />

100<br />

75<br />

20 20<br />

%S610I G71 * ............................................................ Begin program<br />

N10 G30 G17 X+0 Y+0 Z–20 * .................................. Define the workpiece blank<br />

N20 G31 G90 X+100 Y+100 Z+0 *<br />

N30 G99 T25 L+0 R+2.5 * ......................................... Tool definition for pecking<br />

N40 G99 T30 L+0 R+3 * ............................................ Tool definition for countersinking<br />

N50 G99 T35 L+0 R+3.5 * ......................................... Tool definition for tapping<br />

N60 T30 G17 S3000 * ................................................ Tool call for countersinking<br />

N70 G83 P01 –2 P02 –3 P03 –3 P04 0<br />

P05 100 * ................................................................... Cycle definition for pecking<br />

N80 L1,0 * ................................................................. Call of subprogram 1<br />

N90 T25 G17 S2500 * ................................................ Tool call for pecking<br />

N100 G83 P01 –2 P02 –25 P03 –10 P04 0<br />

P05 150 * ................................................................... Cycle definition for pecking<br />

N110 L1,0 * ............................................................... Call of subprogram 1<br />

N120 T35 G17 S100 * ................................................ Tool call for tapping<br />

N130 G84 P01 –2 P02 –15 P03 0.1 P04 100 * .......... Cycle definition for tapping<br />

N140 L1,0 * ............................................................... Call of subprogram 1<br />

N150 Z+100 M02 * .................................................... Retract the tool; end of main program<br />

N160 G98 L1 * ........................................................... Beginning of subprogram 1<br />

N170 G00 G40 G90 X+15 Y+10 M03 * ..................... Move to hole group 1<br />

N180 Z+2 * ................................................................ Pre-position in the infeed axis<br />

N190 L2,0 * ............................................................... Call subprogram 2<br />

N200 X+45 Y+60 * .................................................... Move to hole group 2<br />

N210 L2,0 * ............................................................... Call subprogram 2<br />

N220 X+75 Y+10 * .................................................... Move to hole group 3<br />

N230 L2,0 * ............................................................... Call subprogram 2<br />

N240 G98 L0 * ........................................................... End of subprogram 1<br />

N250 G98 L2 * ........................................................... Beginning of subprogram 2<br />

N260 G79 *<br />

N270 G91 X+20 M99 * .............................................. Machine holes by sequentially activating the three cycles<br />

N280 Y+20 M99 *<br />

N290 X–20 G90 M99 *<br />

N300 G98 L0 * ........................................................... End of subprogram 2<br />

N9999 %S610I G71 *<br />

X<br />

<strong>TNC</strong> <strong>360</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!