beautypg.com

6 sl cy cles, Example: roughing-out and fine-roughing a pocket – HEIDENHAIN iTNC 530 (340 420) User Manual

Page 338

background image

310

8 Programming: Cycles

8.6 SL Cy

cles

Example: Roughing-out and fine-roughing a pocket

0 BEGIN PGM C20 MM

1 BLK FORM 0.1 Z X-10 Y-10 Z-40

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

Define the workpiece blank

3 TOOL DEF 1 L+0 R+15

Tool definition: coarse roughing tool

4 TOOL DEF 2 L+0 R+7.5

Tool definition: fine roughing tool

5 TOOL CALL 1 Z S2500

Tool call: coarse roughing tool

6 L Z+250 R0 FMAX

Retract the tool

7 CYCL DEF 14.0 CONTOUR GEOMETRY

Define contour subprogram

8 CYCL DEF 14.1 CONTOUR LABEL 1

9 CYCL DEF 20.0 CONTOUR DATA

Define general machining parameters

Q1=-20

;MILLING DEPTH

Q2=1

;TOOL PATH OVERLAP

Q3=+0

;ALLOWANCE FOR SIDE

Q4=+0

;ALLOWANCE FOR FLOOR

Q5=+0

;SURFACE COORDINATE

Q6=2

;SAFETY CLEARANCE

Q7=+100

;CLEARANCE HEIGHT

Q8=0.1

;ROUNDING RADIUS

Q9=-1

;DIRECTION OF ROTATION

X

Y

30

30

R30

R20

60°

55

10

10