beautypg.com

6 sl cy cles – HEIDENHAIN iTNC 530 (340 49x-02) ISO programming User Manual

Page 387

background image

HEIDENHAIN iTNC 530

387

8.6 SL Cy

cles

Example: Pilot drilling, roughing-out and finishing overlapping contours

%C21 G71 *

N10 G30 G17 X+0 Y+0 Z-40 *

Define the workpiece blank

N20 G31 G90 X+100 Y+100 Z+0 *

N30 G99 T1 L+0 R+6 *

Define tool: drill

N40 G99 T2 L+0 R+6 *

Define the tool for roughing/finishing

N50 T1 G17 S4000 *

Call tool: drill

N60 G00 G40 G90 Z+250 *

Retract the tool

N70 G37 P01 1 P02 2 P03 3 P04 4 *

Define contour subprogram

N80 G120 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

;SET-UP CLEARANCE

Q7=+100

;CLEARANCE HEIGHT

Q8=0.1

;ROUNDING RADIUS

Q9=-1

;DIRECTION OF ROTATION

X

Y

35

50

100

100

16

16

R25

65

16

R25