beautypg.com

1 sl cy cles with complex cont our f o rm ula – HEIDENHAIN TNC 320 (340 55x-05) Cycle programming User Manual

Page 219

background image

HEIDENHAIN TNC 320

219

9.1 SL Cy

cles with Complex Cont

our F

o

rm

ula

Contour description program 1: pocket A

Contour description program 2: pocket B

Area of inclusion

Both areas A and B are to be machined, including the overlapping area:

„

The areas A and B must be programmed in separate programs
without radius compensation.

„

In the contour formula, the areas A and B are processed with the
"joined with" function.

Contour definition program:

0 BEGIN PGM POCKET_A MM

1 L X+10 Y+50 R0

2 CC X+35 Y+50

3 C X+10 Y+50 DR-

4 END PGM POCKET_A MM

0 BEGIN PGM POCKET_B MM

1 L X+90 Y+50 R0

2 CC X+65 Y+50

3 C X+90 Y+50 DR-

4 END PGM POCKET_B MM

A

B

50 ...

51 ...

52 DECLARE CONTOUR QC1 = "POCKET_A.H"

53 DECLARE CONTOUR QC2 = "POCKET_B.H"

54 QC10 = QC1 | QC2

55 ...

56 ...