beautypg.com

4 p ath cont ours — car tesian coor dinat es, Example: full circle with cartesian coordinates – HEIDENHAIN TNC 406 User Manual

Page 127

background image

106

6 Programming: Programming Contours

6.4 P

ath Cont

ours — Car

tesian Coor

dinat

es

Example: Full circle with Cartesian coordinates

0 BEGIN PGM C-CC MM

Start of program

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

Define the workpiece blank

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

3 CYCL DEF 1.0 GENERATOR

Cycle GENERATOR (see ”Cycle 1 GENERATOR” on page 133)

4 CYCL DEF 1.1 P-TAB HDH700

Select erosion table (here, table HDH700)

5 CYCL DEF 1.2 MAX=6 MIN=6

Set power stage (here, to stage 6)

6 TOOL DEF 6 L+0 R+15

Define electrode in the program

7 TOOL CALL 6 Z U+1.5

Call electrode in the infeed axis Z, undersize 1.5 mm

8 L Z+250 C+0 R0 F MAX M37

Set-up clearance; orient electrode; eroding OFF

9 CC X+50 Y+50

Define the circle center

10 L X-40 Y+50 R0 F MAX M

Pre-position the tool

11 L Z-5 R0 F MAX M

Move to working depth

12 L X+0 Y+50 RL M36

Move to first contour point with radius compensation; eroding ON

13 C X+100 Y+50 DR- R F M

End point of first semicircle; clockwise rotation

14 C X+0 Y+50 DR- R F M

End point of second semicircle; clockwise rotation

15 X-40 Y+50 R0 F MAX M37

Retract tool in the working plane; eroding OFF

16 L Z+250 F MAX

Move electrode to set-up clearance; rapid traverse

17 END PGM C-CC MM

End of program

X

Y

50

50

CC

This manual is related to the following products: