beautypg.com

5 pr ogr amming examples – HEIDENHAIN TNC 320 (340 55x-05) Cycle programming User Manual

Page 209

background image

HEIDENHAIN TNC 320

209

8.5 Pr

ogr

amming Examples

8 L C+0 R0 FMAX M13 M99

Pre-position rotary table, spindle ON, call the cycle

9 L Z+250 R0 FMAX

Retract the tool

10 PLANE RESET TURN FMAX

Tilt back, cancel the PLANE function

11 M2

End of program

12 LBL 1

Contour subprogram

13 L C+40 X+20 RL

Data for the rotary axis are entered in mm (Q17=1), traverse in the
X axis because of 90° tilting

14 L C+50

15 RND R7.5

16 L X+60

17 RND R7.5

18 L IC-20

19 RND R7.5

20 L X+20

21 RND R7.5

22 L C+40

23 LBL 0

24 END PGM C27 MM