Hi All,
I'm running a Heidenhain TNC 415A on a Tos WHN13.8 CNC and I've made a macro program in Heidenhain Language so I can Helical mill, Drill, Peck Drill & Tap at inclined angles with a Right Angle Drive Head. Every thing works fine except for the tapping where the spindle still runs and the m/c dwells for about 3 seconds after the tap has reached its tapping depth and consequently the compensation chuck extracts beyond its limit stripping the thread or breaking the tap.
Below is the sub program code for the tapping, I've tried removing the dwell cycle and placed an M5 at the end of the tapping depth line but all to no avail the spindle still runs and the m/c still dwells.
Hope someone can see where I've made a mistake or enlighten me how to fix the problem.
Thanks in advance.
3537 LBL 206
3538 FN 1: Q99 = +Q99 + +10
3539 FN 2: Q96 = +Q52 - +10
3540 FN 7: Q60 = COS+Q59
3541 FN 3: Q97 = +Q60 * +Q99
3542 FN 3: Q64 = +Q60 * +Q96
3543 FN 6: Q60 = SIN+Q59
3544 FN 3: Q98 = +Q60 * +Q99
3545 FN 3: Q65 = +Q60 * +Q96
3546 ;
3547 ; FAST FEED TO START POINT
3548 L IX+Q97 IY+Q98 R0 F5000 M3
3549 ;
3550 ; TAPPING FEED TO TAP DEPTH
3551 L IX+Q64 IY+Q65 R0 FQ56
3552 CYCL DEF 9.0 DWELL TIME
3553 CYCL DEF 9.1 DWELL 0
3554 ;
3555 ; RETRACT TAP BACK TO START POINT
3556 L IX-Q64 IY-Q65 R0 M4
3557 FN 9: IF +10 EQU +10 GOTO LBL 210