beautypg.com

7 sl cycles with contour formulas, Fundamentals – HEIDENHAIN iTNC 530 (340 49x-03) User Manual

Page 461

background image

HEIDENHAIN iTNC 530

461

8.7 SL Cy

cles with Cont

our F

o

rm

ulas

8.7 SL Cycles with Contour Formulas

Fundamentals

SL cycles and the contour formulas enable you to form complex
contours by combining subcontours (pockets or islands). You define
the individual subcontours (geometry data) as separate programs. In
this way, any subcontour can be used any number of times. The TNC
calculates the complete contour from the selected subcontours,
which you link together through a contour formula.

Properties of the subcontours

„

By default, the TNC assumes that the contour is a pocket. Do not
program a radius compensation. In the contour formula you can
convert a pocket to an island by making it negative.

„

The TNC ignores feed rates F and miscellaneous functions M.

„

Coordinate transformations are allowed. If they are programmed
within the subcontour they are also effective in the following
subprograms, but they need not be reset after the cycle call.

„

Although the subprograms can contain coordinates in the spindle
axis, such coordinates are ignored.

„

The working plane is defined in the first coordinate block of the
subprogram. The secondary axes U,V,W are permitted.

Example: Program structure: Machining with SL
cycles and contour formulas

0 BEGIN PGM CONTOUR MM

...

5 SEL CONTOUR “MODEL“

6 CYCL DEF 20 CONTOUR DATA ...

8 CYCL DEF 22 ROUGH-OUT...

9 CYCL CALL

...

12 CYCL DEF 23 FLOOR FINISHING ...

13 CYCL CALL

...

16 CYCL DEF 24 SIDE FINISHING ...

17 CYCL CALL

63 L Z+250 R0 FMAX M2

64 END PGM CONTOUR MM

Example: Program structure: Calculation of the
subcontours with contour formulas

0 BEGIN PGM MODEL MM

1 DECLARE CONTOUR QC1 = “CIRCLE1“

2 DECLARE CONTOUR QC2 = “CIRCLE31XY“

3 DECLARE CONTOUR QC3 = “TRIANGLE“

4 DECLARE CONTOUR QC4 = “SQUARE“

5 QC10 = ( QC1 | QC3 | QC4 ) \ QC2

6 END PGM MODEL MM

0 BEGIN PGM CIRCLE1 MM

1 CC X+75 Y+50

2 LP PR+45 PA+0

3 CP IPA+360 DR+

4 END PGM CIRCLE1 MM

0 BEGIN PGM CIRCLE31XY MM

...

...

The memory capacity for programming an SL cycle (all
contour description programs) is limited to 128 contours.
The number of possible contour elements depends on the
type of contour (inside or outside contour) and the number
of contour descriptions. You can program up to 16384
contour elements.

The SL cycles with contour formulas presuppose a
structured program layout and enable you to save
frequently used contours in individual programs. Using a
contour formula, you can connect the subcontours to a
complete contour and define whether it applies to a
pocket or island.

In its present form, the “SL cycles with contour formulas”
function requires input from several areas in the TNC’s
user interface. This function is to serve as a basis for
further development.