Hi,

Will someone post or email some programming example of a tap cycle.

Specifically CYCL DEF 209 TAPPING W/ CHIP BRKG but 207 or 206

floating would be a big help.

I don't get an alarm, but I also don't get an tapped hole. Spindle

comes down to xy then z point then the spindle looks like it releases

from being engaged -it does a 1-degree wiggle- then home and done.

Sans guzinta.

CNC and control do have tapping. With no alarms popping up, it must

be me and it must be simple because i am simple.

Regards

Thanks for your posts. Norman at Bostomatic, too.

Here is a spot/drill/ rigid peck tap I got out of our CAM after some

post tweaks.

I am not versed in any Heidenhain programming so the structure may be

off. Comments welcomed. But the trick was to get the post to issue

hole locations after the cycle is defined. Then called with an M99 or

a Location <eob> CYCLE CALL couplet.

Can the cycles all be defined then called later on in the program or

must it be cycle/motion cycle/motion ?

And just in case you have concerns about running Internet servers out

of drive space ..... I didn't want to edit the program for length lest

I delete something which might lead to confusion.

;

0 BEGIN PGM 1 INCH

; FROM BEGIN PGM joe

;

;09/01/2009 08:08:08 AM

; C:\TAP THIS

;

;

BLK FORM 0.1 Z X-1.0 Y-1.0 Z-1.1

BLK FORM 0.2 X+1.0 Y+1.0 Z+0.0110

;

;

CYCL DEF 247 DATUM SETTING~

Q339=+1; WORK SHIFT NUMBER

;

;

CYCL DEF 32.0 TOLERANCE

CYCL DEF 32.1 T0.001

CYCL DEF 32.2 HSC-MODE:0 TA0.01

;

;

; TOOL NUMBER - 10

; DESCRIPTION - CDRILL

; TOOL LENGTH FROM HOLDER 2.000

;

; TOOL NUMBER - 11

; DESCRIPTION - .070DIA

; TOOL LENGTH FROM HOLDER 3.500

;

; TOOL NUMBER - 12

; DESCRIPTION - 2-56 TAP

; TOOL LENGTH FROM HOLDER 2.000

;

10 CYCL DEF 7.0 DATUM SHIFT

20 CYCL DEF 7.1 X+0

30 CYCL DEF 7.2 Y+0

40 CYCL DEF 7.3 Z+0

;

;***CDRILL***

CYCL DEF 247 DATUM SETTING~

Q339=+1; WORK SHIFT NUMBER

50 TOOL CALL 10 Z S2000

;

;***DRILL***

60 L X.3835 Y.1625 R0 FMAX M3

70 L Z.05 FMAX

80 M8

90 L Z.05 FMAX

100 CYCL DEF 205 UNIVERSAL PECKING~

Q200=0.05 ;SET-UP CLEARANCE~

Q201=-0.055 ;DEPTH~

Q206=15 ;FEED RATE~

Q202=0.03 ;PLUNGE DEPTH~

Q203=0.0 ;SURFACE COORDINATE~

Q204=0.05 ;2ND SET-UP CLEARANCE~

Q212=0. ;DECREMENT~

Q205=0.0 ;MIN. PLUNGE DEPTH~

Q258=0.02 ;UPPER ADV STOP DIST~

Q259=0.04 ;LOWER ADV STOP DIST~

Q257=0 ;DEPTH FOR CHIP BREAKING~

Q256=0.02 ;DIST. FOR CHIP BREAKING~

Q211=1.0 ;DWELL AT DEPTH~

Q379=0 ;RETRACT FEED RATE~

Q253=0 ;DIST. FOR CHIP BREAKING

110 L X.3835 Y.1625 FMAX M3

120 CYCL CALL

130 L X1.0385 FMAX M99

140 L X1.6935 FMAX M99

150 L X2.3485 FMAX M99

160 L X3.0035 FMAX M99

170 L X3.6585 FMAX M99

180 L X4.3135 FMAX M99

190 L X4.9685 FMAX M99

200 L X4.3769 Y-.1625 FMAX M99

210 L X3.7219 FMAX M99

220 L X3.0669 FMAX M99

230 L X2.4119 FMAX M99

240 L X1.7569 FMAX M99

250 L X1.1019 FMAX M99

260 L X.4469 FMAX M99

270 L X-.2081 FMAX M99

280 L X.3835 Y-.3825 FMAX M99

290 L X1.0385 FMAX M99

300 L X1.6935 FMAX M99

310 L X2.3485 FMAX M99

320 L X3.0035 FMAX M99

330 L X3.6585 FMAX M99

340 L X4.3135 FMAX M99

350 L X4.9685 FMAX M99

360 L X4.3769 Y-.7075 FMAX M99

370 L X3.7219 FMAX M99

380 L X3.0669 FMAX M99

390 L X2.4119 FMAX M99

400 L X1.7569 FMAX M99

410 L X1.1019 FMAX M99

420 L X.4469 FMAX M99

430 L X-.2081 FMAX M99

440 L X.3835 Y-.9275 FMAX M99

450 L X1.0385 FMAX M99

460 L X1.6935 FMAX M99

470 L X2.3485 FMAX M99

480 L X3.0035 FMAX M99

490 L X3.6585 FMAX M99

500 L X4.3135 FMAX M99

510 L X4.9685 FMAX M99

520 L X4.3769 Y-1.2525 FMAX M99

530 L X3.7219 FMAX M99

540 L X3.0669 FMAX M99

550 L X2.4119 FMAX M99

560 L X1.7569 FMAX M99

570 L X1.1019 FMAX M99

580 L X.4469 FMAX M99

590 L X-.2081 FMAX M99

600 L X.3835 Y-1.4725 FMAX M99

610 L X1.0385 FMAX M99

620 L X1.6935 FMAX M99

630 L X2.3485 FMAX M99

640 L X3.0035 FMAX M99

650 L X3.6585 FMAX M99

660 L X4.3135 FMAX M99

670 L X4.9685 FMAX M99

680 L X4.3769 Y-1.7975 FMAX M99

690 L X3.7219 FMAX M99

700 L X3.0669 FMAX M99

710 L X2.4119 FMAX M99

720 L X1.7569 FMAX M99

730 L X1.1019 FMAX M99

740 L X.4469 FMAX M99

750 L X-.2081 FMAX M99

;

760 M9

770 M5

M140 MB MAX

780 M1 ; PROGRAM STOP

;

;

;***.070DIA***

CYCL DEF 247 DATUM SETTING~

Q339=+1; WORK SHIFT NUMBER

790 TOOL CALL 11 Z S2000

;

;***.070 DRILL***

800 L X.3835 Y.1625 R0 FMAX M3

810 L Z.05 FMAX

820 M8

830 L Z.05 FMAX

840 CYCL DEF 205 UNIVERSAL PECKING~

Q200=0.05 ;SET-UP CLEARANCE~

Q201=-0.28 ;DEPTH~

Q206=13 ;FEED RATE~

Q202=0.06 ;PLUNGE DEPTH~

Q203=0.0 ;SURFACE COORDINATE~

Q204=0.05 ;2ND SET-UP CLEARANCE~

Q212=0. ;DECREMENT~

Q205=0.0 ;MIN. PLUNGE DEPTH~

Q258=0.02 ;UPPER ADV STOP DIST~

Q259=0.04 ;LOWER ADV STOP DIST~

Q257=0 ;DEPTH FOR CHIP BREAKING~

Q256=0.02 ;DIST. FOR CHIP BREAKING~

Q211=1.0 ;DWELL AT DEPTH~

Q379=0 ;RETRACT FEED RATE~

Q253=0 ;DIST. FOR CHIP BREAKING

850 L X.3835 Y.1625 FMAX M3

860 CYCL CALL

870 L X1.0385 FMAX M99

880 L X1.6935 FMAX M99

890 L X2.3485 FMAX M99

900 L X3.0035 FMAX M99

910 L X3.6585 FMAX M99

920 L X4.3135 FMAX M99

930 L X4.9685 FMAX M99

940 L X4.3769 Y-.1625 FMAX M99

950 L X3.7219 FMAX M99

960 L X3.0669 FMAX M99

970 L X2.4119 FMAX M99

980 L X1.7569 FMAX M99

990 L X1.1019 FMAX M99

1000 L X.4469 FMAX M99

1010 L X-.2081 FMAX M99

1020 L X.3835 Y-.3825 FMAX M99

1030 L X1.0385 FMAX M99

1040 L X1.6935 FMAX M99

1050 L X2.3485 FMAX M99

1060 L X3.0035 FMAX M99

1070 L X3.6585 FMAX M99

1080 L X4.3135 FMAX M99

1090 L X4.9685 FMAX M99

1100 L X4.3769 Y-.7075 FMAX M99

1110 L X3.7219 FMAX M99

1120 L X3.0669 FMAX M99

1130 L X2.4119 FMAX M99

1140 L X1.7569 FMAX M99

1150 L X1.1019 FMAX M99

1160 L X.4469 FMAX M99

1170 L X-.2081 FMAX M99

1180 L X.3835 Y-.9275 FMAX M99

1190 L X1.0385 FMAX M99

1200 L X1.6935 FMAX M99

1210 L X2.3485 FMAX M99

1220 L X3.0035 FMAX M99

1230 L X3.6585 FMAX M99

1240 L X4.3135 FMAX M99

1250 L X4.9685 FMAX M99

1260 L X4.3769 Y-1.2525 FMAX M99

1270 L X3.7219 FMAX M99

1280 L X3.0669 FMAX M99

1290 L X2.4119 FMAX M99

1300 L X1.7569 FMAX M99

1310 L X1.1019 FMAX M99

1320 L X.4469 FMAX M99

1330 L X-.2081 FMAX M99

1340 L X.3835 Y-1.4725 FMAX M99

1350 L X1.0385 FMAX M99

1360 L X1.6935 FMAX M99

1370 L X2.3485 FMAX M99

1380 L X3.0035 FMAX M99

1390 L X3.6585 FMAX M99

1400 L X4.3135 FMAX M99

1410 L X4.9685 FMAX M99

1420 L X4.3769 Y-1.7975 FMAX M99

1430 L X3.7219 FMAX M99

1440 L X3.0669 FMAX M99

1450 L X2.4119 FMAX M99

1460 L X1.7569 FMAX M99

1470 L X1.1019 FMAX M99

1480 L X.4469 FMAX M99

1490 L X-.2081 FMAX M99

;

1500 M9

1510 M5

M140 MB MAX

1520 M1 ; PROGRAM STOP

;

;

;***2-56 TAP***

CYCL DEF 247 DATUM SETTING~

Q339=+1; WORK SHIFT NUMBER

1530 TOOL CALL 12 Z S600

;

;***2-56 TAP***

1540 L X.3835 Y.1625 R0 FMAX M3

1550 L Z.05 FMAX

1560 M8

1570 L FMAX

1580 L Z.05 FMAX

1590 CYCL DEF 209 TAPPING W/ CHIP BRKG ~

Q200=0.05 ;SET-UP CLEARANCE~

Q201=-0.265 ;DEPTH OF THREAD ~

Q239=0.0179 ;PITCH OF THREAD ~

Q203=0.0 ;SURFACE COORDINATE~

Q204=0.05 ;2ND SET-UP CLEARANCE~

Q257=0.085 ;DEPTH FOR CHIP BRKNG ~

Q256=0.02 ;DIST FOR CHIP BRKNG ~

Q336=0 ;ANGLE OF SPINDLE

1600 L X.3835 Y.1625 FMAX

1610 CYCL CALL

1620 L X1.0385 FMAX M99

1630 L X1.6935 FMAX M99

1640 L X2.3485 FMAX M99

1650 L X3.0035 FMAX M99

1660 L X3.6585 FMAX M99

1670 L X4.3135 FMAX M99

1680 L X4.9685 FMAX M99

1690 L X4.3769 Y-.1625 FMAX M99

1700 L X3.7219 FMAX M99

1710 L X3.0669 FMAX M99

1720 L X2.4119 FMAX M99

1730 L X1.7569 FMAX M99

1740 L X1.1019 FMAX M99

1750 L X.4469 FMAX M99

1760 L X-.2081 FMAX M99

1770 L X.3835 Y-.3825 FMAX M99

1780 L X1.0385 FMAX M99

1790 L X1.6935 FMAX M99

1800 L X2.3485 FMAX M99

1810 L X3.0035 FMAX M99

1820 L X3.6585 FMAX M99

1830 L X4.3135 FMAX M99

1840 L X4.9685 FMAX M99

1850 L X4.3769 Y-.7075 FMAX M99

1860 L X3.7219 FMAX M99

1870 L X3.0669 FMAX M99

1880 L X2.4119 FMAX M99

1890 L X1.7569 FMAX M99

1900 L X1.1019 FMAX M99

1910 L X.4469 FMAX M99

1920 L X-.2081 FMAX M99

1930 L X.3835 Y-.9275 FMAX M99

1940 L X1.0385 FMAX M99

1950 L X1.6935 FMAX M99

1960 L X2.3485 FMAX M99

1970 L X3.0035 FMAX M99

1980 L X3.6585 FMAX M99

1990 L X4.3135 FMAX M99

2000 L X4.9685 FMAX M99

2010 L X4.3769 Y-1.2525 FMAX M99

2020 L X3.7219 FMAX M99

2030 L X3.0669 FMAX M99

2040 L X2.4119 FMAX M99

2050 L X1.7569 FMAX M99

2060 L X1.1019 FMAX M99

2070 L X.4469 FMAX M99

2080 L X-.2081 FMAX M99

2090 L X.3835 Y-1.4725 FMAX M99

2100 L X1.0385 FMAX M99

2110 L X1.6935 FMAX M99

2120 L X2.3485 FMAX M99

2130 L X3.0035 FMAX M99

2140 L X3.6585 FMAX M99

2150 L X4.3135 FMAX M99

2160 L X4.9685 FMAX M99

2170 L X4.3769 Y-1.7975 FMAX M99

2180 L X3.7219 FMAX M99

2190 L X3.0669 FMAX M99

2200 L X2.4119 FMAX M99

2210 L X1.7569 FMAX M99

2220 L X1.1019 FMAX M99

2230 L X.4469 FMAX M99

2240 L X-.2081 FMAX M99

;

2250 M9

2260 M5

;

M140 MB MAX

CYCL DEF 247 DATUM SETTING~

Q339=+49; UNLOAD PART WORK SHIFT NUMBER

L X0 Y0 FMAX

CYCL DEF 247 DATUM SETTING~

Q339=+1; RELOAD ASS-U-MED WORK SHIFT NUMBER

;

L R0 FMAX

M30

END PGM 1 INCH