beautypg.com

8 programming examples, 8 pr ogr amming examples 5.8 programming examples, Example: milling pockets, studs and slots – HEIDENHAIN iTNC 530 (60642x-04) Cycle programming User Manual

Page 167

background image

HEIDENHAIN iTNC 530

167

5.8 Pr

ogr

amming examples

5.8 Programming examples

Example: Milling pockets, studs and slots

0 BEGIN PGM C210 MM

1 BLK FORM 0.1 Z X+0 Y+0 Z-40

Definition of workpiece blank

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

3 TOOL DEF 1 L+0 R+6

Define the tool for roughing/finishing

4 TOOL DEF 2 L+0 R+3

Define slotting mill

5 TOOL CALL 1 Z S3500

Call the tool for roughing/finishing

6 L Z+250 R0 FMAX

Retract the tool

7 CYCL DEF 256 RECTANGULAR STUD

Define cycle for machining the contour outside

Q218=90

;1ST SIDE LENGTH

Q424=100

;WORKPC. BLANK SIDE 1

Q219=80

;2ND SIDE LENGTH

Q425=100

;WORKPC. BLANK SIDE 2

Q220=0

;CORNER RADIUS

Q368=0

;ALLOWANCE FOR SIDE

Q224=0

;ANGLE OF ROTATION

Q367=0

;STUD POSITION

Q207=250

;FEED RATE FOR MILLING

Q351=+1

;CLIMB OR UP-CUT

X

Y

50

50

100

100

80

90

8

90°

45°

50

70

Z

Y

-40

-20

-30