1 0 pr ogr amming examples – HEIDENHAIN TNC 310 (286 140) User Manual

Page 192

Advertising
background image

10 Programming: Q Parameters

180

Example: Concave cylinder machined with spherical cutter

Example: Concave cylinder machined with spherical cutter

Center in X axis

Center in Y axis

Center in Z axis

Starting angle in space (Z/X plane)

End angle in space (Z/X plane)

Radius of the cylinder

Length of the cylinder

Rotational position in the X/Y plane

Allowance for cylinder radius

Feed rate for plunging

Feed rate for milling

Number of cuts

Define the workpiece blank

Define the tool

Tool call

Retract the tool

Call machining operation

Reset allowance

Call machining operation

Retract in the tool axis, end program

0 BEGIN PGM CYLIN MM

1 FN 0: Q1 = +50

2 FN 0: Q2 = +0

3 FN 0: Q3 = +0

4 FN 0: Q4 = +90

5 FN 0: Q5 = +270

6 FN 0: Q6 = +40

7 FN 0: Q7 = +100

8 FN 0: Q8 = +0

9 FN 0: Q10 = +5

10 FN 0: Q11 = +250

11 FN 0: Q12 = +400

12 FN 0: Q13 = +90

13 BLK FORM 0.1 Z X+0 Y+0 Z-50

14 BLK FORM 0.2 X+100 Y+100 Z+0

15 TOOL DEF 1 L+0 R+3

16 TOOL CALL 1 Z S4000

17 L Z+250 R0 FMAX

18 CALL LBL 10

19 FN 0: Q10 = +0

20 CALL LBL 10

21 L Z+100 R0 FMAX M2

Program sequence

Program functions only with a spherical cutter. The
tool length refers to the sphere center.

The contour of the cylinder is approximated by
many short line segments (defined in Q13). The
more line segments you define, the smoother the
curve becomes.

The cylinder is milled in longitudinal cuts (here:
parallel to the Y axis).

The machining direction can be altered by changing
the entries for the starting and end angles in
space:

Clockwise machining direction:
starting angle > end angle
Counterclockwise machining direction:
starting angle < end angle

The tool radius is compensated automatically.

1

0.1

0 Pr

ogr

amming Examples

X

Y

50

100

100

Z

Y

X

Z

-50

R40

Advertising
This manual is related to the following products: