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

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

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

8 Cycles<br />

8.4 Cycles for Coordinate Transformations<br />

8-32<br />

Example: Datum shift<br />

A machining sequence in the form of a<br />

subprogram is to be executed twice:<br />

a) once, referenced to the specified datum 1<br />

X+0/Y+0 and<br />

b) a second time, referenced to the shifted<br />

datum 2 X+40/Y+60.<br />

Cycle in a part program<br />

0 BEGIN PGM <strong>360</strong>833 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+4<br />

4 TOOL CALL 1 Z S1000<br />

5 L Z+100 R0 FMAX<br />

6 CALL LBL 1 ........................................................ Without a datum shift<br />

7 CYCL DEF 7.0 DATUM SHIFT<br />

8 CYCL DEF 7.1 X+40<br />

9 CYCL DEF 7.2 Y+60<br />

10 CALL LBL 1 ........................................................ With a datum shift<br />

<strong>11</strong> CYCL DEF 7.0 DATUM SHIFT ............................ Cancellation of datum shift<br />

12 CYCL DEF 7.1 X+0<br />

13 CYCL DEF 7.2 Y+0<br />

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

15 LBL 1<br />

16 L X–10 Y–10 R0 FMAX M3<br />

17 L Z+2 FMAX<br />

18 L Z–5 F200<br />

19 L X+0 Y+0 RL<br />

20<br />

21<br />

L Y+20<br />

L X+25<br />

Subprogram for the geometry of the original contour<br />

22 L X+30 Y+15<br />

23 L Y+0<br />

24 L X+0<br />

25 L X–10 Y–10 R0<br />

26 L Z+2 FMAX<br />

27 LBL 0<br />

28 END PGM <strong>360</strong>833 MM<br />

The location of the subprogram (NC block) depends on the transformation<br />

cycle:<br />

LBL 1 LBL 0<br />

Datum shift Block 15 Block 27<br />

Mirror image, rotation, scaling Block 19 Block 31<br />

Y<br />

20 15<br />

20<br />

Y<br />

Z<br />

40<br />

1<br />

Z<br />

2<br />

15<br />

25<br />

30<br />

25<br />

30<br />

60<br />

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