Example: full circle with cartesian coordinates, Path contours - cartesian coordinates 6.4 – HEIDENHAIN TNC 640 (34059x-04) User Manual

Page 223

Advertising
background image

Path contours - Cartesian coordinates

6.4

6

TNC 640 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

223

Example: Full circle with Cartesian coordinates

0 BEGIN PGM C-CC MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-20

Definition of workpiece blank

2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL CALL 1 Z S3150

Tool call

4 CC X+50 Y+50

Define the circle center

5 L Z+250 R0 FMAX

Retract the tool

6 L X-40 Y+50 R0 FMAX

Pre-position the tool

7 L Z-5 R0 F1000 M3

Move to working depth

8 APPR LCT X+0 Y+50 R5 RL F300

Approach the starting point of the circle on a circular arc

with tangential connection

9 C X+0 DR-

Move to the circle end point (= circle starting point)

10 DEP LCT X-40 Y+50 R5 F1000

Depart the contour on a circular arc with tangential

connection

11 L Z+250 R0 FMAX M2

Retract the tool, end program

12 END PGM C-CC MM

Advertising