31.07.2013 Views

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

SHOW MORE
SHOW LESS

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.2 Program Section Repeats<br />

6-6<br />

Example for exercise: Row of holes parallel to X-axis<br />

Coordinates of 1st hole: X = 5 mm<br />

Spacing between holes: IX =15 mm<br />

Y =10 mm<br />

No. of holes: N = 6<br />

Hole depth: Z = 10<br />

Hole diameter: Ø = 5 mm<br />

Part Program<br />

Y<br />

0 BEGIN PGM <strong>360</strong>066 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 L Z+100 R0 FMAX M6<br />

6 L X–10 Y+10 Z+2 FMAX M3 .............................. Pre-position in negative X-direction<br />

7 LBL 1 .................................................................. Beginning of program section to be repeated<br />

8 L IX+15 FMAX<br />

9 L Z–10 F100<br />

10 L Z+2 FMAX ....................................................... Move to hole position, drill, retract<br />

<strong>11</strong> CALL LBL 1 REP 5/5 ........................................... Call LABEL 1; repeat program section between blocks 7 and<br />

<strong>11</strong> five times (for 6 holes!)<br />

12 L Z+100 R0 FMAX M2<br />

13 END PGM <strong>360</strong>066 MM<br />

10<br />

Z<br />

5<br />

5 15<br />

55<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!