beautypg.com

Cycles: turning 12.33 example program – HEIDENHAIN TNC 640 (34059x-05) Cycle programming User Manual

Page 436

background image

Cycles: Turning

12.33 Example program

12

436

TNC 640 | User's Manual Cycle Programming | 1/2015

Q488=+1

;PLUNGING FEED RATE

Q478=+2

;ROUGHING FEED RATE

Q483=+0.4

;OVERSIZE FOR DIAMETER

Q505=+1

;FINISHING FEED RATE

6 CYCL CALL M303

Call the cycle, spindle on

7 CYCL DEF 801 RESET ROTARY COORDINATE SYSTEM

Reset the coordinate system

8 M145

Deactivate the active M144 in the cycle

9 FUNCTION MODE MILL

Activate milling mode

10 M140 MB MAX

Retract the tool in the tool axis

11 L A+0 C+0 R0 FMAX

Reset the rotation

12 M30

END of program

44 END PGM 5 MM