CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAM Software > CamBam


CamBam Discuss CamBam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-19-2010, 02:33 PM
 
Join Date: Feb 2007
Location: United States
Posts: 869
twocik is on a distinguished road
Tapping In Cambam ?

Tapping in Cambam, is it possible ?

If so what do I need ?



I'm running a PCNC 1100 series II Tormach. Currently using turbocad, emachine shop (for simple things). I really like CB, but need a tapping op pretty bad...
Reply With Quote

  #2   Ban this user!
Old 04-20-2010, 06:38 AM
10bulls's Avatar  
Join Date: Feb 2005
Location: UK
Posts: 504
10bulls is on a distinguished road

[copied from reply on CamBam forum]

If your hardware supports it, you might be able to do this using a custom drill script and a G84 canned cycle.

So in the drilling machine operation, set the DrillingMethod=CustomScript,

Then in the CustomScript, enter something like

G84 X$x Y$y Z$z R$r

To get the right pitch, you need to calculate the correct feedrate and spindle speed manually.

For example, if your pitch is 20 tpi, for 1 turn of the spindle, you would need to feed 1/20".
So if your spindle speed is fixed at 300rpm, your plunge feedrate would be
300/20 ipm ie 15ipm.
So in the drill mop you would set SpindleSpeed=300 and PlungeFeedrate=15.

However, for this to work your machine needs to be able synchronise your spindle and feedrates which usually means some form of feedback from the spindle.

I should also point out, I haven't tried this myself, so if anyone else sees any flaws with the above, please shout out! ...erm, and wear protective helmets/trousers and practice on a piece of foam/mdf first. Roll Eyes

Another method planned is to use a thread cutting tool and mill the threads using a spiral toolpath, which shouldn't need spindle speed / feed synchronisation. The plan is to add this over the next couple of releases.

I hope this helps.
__________________
www.cambam.co.uk
Reply With Quote

  #3   Ban this user!
Old 04-22-2010, 01:39 PM
 
Join Date: Feb 2007
Location: United States
Posts: 869
twocik is on a distinguished road

Hi 10 Bulls,
Thank you for writing back, I've uploaded my code. I've got two different mops needed, 5mm tap and a 1/4" 20 tap


Is there anyway you or anyone here can show me how ? The thing that's got me confused is how to tell the machine to stop at Z -0.375", then reverse back out to Z 1.5"..... I noticed when using a hand drill and a vise the tap seems to guide itself, so this would be the same with the machine right ?




This is from the Tormach manual




http://www.tormach.com/machine_codes.html




Self-reversing Tapping Cycles

Details:
To use the Tormach Auto-reverse tapping heads program M871 P~ (or M872, M873, M874)

The P word specifies the depth to be threaded relative to the current Z position which will typically be just clear of the workpiece surface. The P word can be negative or positive with the same meaning.

Before use of these codes the size of tapping head to be used and the pitch of the thread must be defined in the appropriated place on the Settings screen. If the part program is running in Inch (G20) mode then the pitch is taken as a number of threads per inch. If it is metric (G21) then the pitch will be in millimeters. If the spindle speed is too high for the chosen pitch then an error message will be displayed and the cycle will not be performed.

The cycle operates as follows:

The currently set spindle speed and thread pitch are used to calculate the feed rate required to move the tap at the correct speed. The corresponding feedrate for the high speed retraction of the tap is also calculated. If this exceeds the available rapid rate then an error is displayed.

The tap is then fed downwards for the commanded depth (P word).

At the end of the down-feed the spindle is rapidly retracted by the appropriate distance for the size of the head in use. This engages the reverse drive.

The spindle is then retracted, at the higher reverse rate previously calculated, for a distance sufficient to ensure the tap springs clear of the hole.

The Z axis is then positioned at the original height above the work ready to move to another hole or another tool and operation.

Note:
• The above explanation is slightly simplified from the actual code used to aid understanding.
• For best results, especially for deep holes and blind tapping, the spindle speed chosen should be checked with a tachometer to ensure it is as near the commanded (S word) speed as possible.











My G-Code File



( This file was created automatically using CamBam )
( http://www.brusselsprout.org/CAMBAM )
( 4/21/2010 5:36:50 PM )
( T1 : 0.125 )
( T2 : 0.125 )
( T3 : 0.19685 )
( T4 : 0.125 )
G20
G90
G64
G00 Z2
( MOPDrill_2 )
( T1 : 0.125 )
M06 T1
M03
G83 X0.41426 Y0 Z-0.375 R2 F3 Q-0.125
G83 X0.20952 Z-0.375 R2 Q-0.125
G83 X0.00392 Z-0.375 R2 Q-0.125
G83 X-0.3 Z-0.375 R2 Q-0.125
( Pocket (2) )
( T2 : 0.125 )
G00 Z2
M06 T2
M03
G01 F5 X-0.28998
G01 F2 Z-0.05
G02 F5 X-0.30501 Y-0.008677 I-0.01002 J0
G02 Y0.008677 I0.00501 J0.008677
G02 X-0.28998 Y0 I0.00501 J-0.008677
G01 X-0.29498
G02 X-0.30251 Y-0.004347 I-0.00502 J0
G02 Y0.004347 I0.00251 J0.004347
G02 X-0.29498 Y0 I0.00251 J-0.004347
G01 X-0.24498
G02 X-0.32751 Y-0.047648 I-0.05502 J0
G02 Y0.047648 I0.02751 J0.047648
G02 X-0.24498 Y0 I0.02751 J-0.047648
G01 X-0.19498
G02 X-0.35251 Y-0.09095 I-0.10502 J0
G02 Y0.09095 I0.05251 J0.09095
G02 X-0.19498 Y0 I0.05251 J-0.09095
G01 X-0.28998
G01 F2 Z-0.1
G02 F5 X-0.30501 Y-0.008677 I-0.01002 J0
G02 Y0.008677 I0.00501 J0.008677
G02 X-0.28998 Y0 I0.00501 J-0.008677
G01 X-0.29498
G02 X-0.30251 Y-0.004347 I-0.00502 J0
G02 Y0.004347 I0.00251 J0.004347
G02 X-0.29498 Y0 I0.00251 J-0.004347
G01 X-0.24498
G02 X-0.32751 Y-0.047648 I-0.05502 J0
G02 Y0.047648 I0.02751 J0.047648
G02 X-0.24498 Y0 I0.02751 J-0.047648
G01 X-0.19498
G02 X-0.35251 Y-0.09095 I-0.10502 J0
G02 Y0.09095 I0.05251 J0.09095
G02 X-0.19498 Y0 I0.05251 J-0.09095
G01 X-0.28998
G01 F2 Z-0.15
G02 F5 X-0.30501 Y-0.008677 I-0.01002 J0
G02 Y0.008677 I0.00501 J0.008677
G02 X-0.28998 Y0 I0.00501 J-0.008677
G01 X-0.29498
G02 X-0.30251 Y-0.004347 I-0.00502 J0
G02 Y0.004347 I0.00251 J0.004347
G02 X-0.29498 Y0 I0.00251 J-0.004347
G01 X-0.24498
G02 X-0.32751 Y-0.047648 I-0.05502 J0
G02 Y0.047648 I0.02751 J0.047648
G02 X-0.24498 Y0 I0.02751 J-0.047648
G01 X-0.19498
G02 X-0.35251 Y-0.09095 I-0.10502 J0
G02 Y0.09095 I0.05251 J0.09095
G02 X-0.19498 Y0 I0.05251 J-0.09095
G01 X-0.28998
G01 F2 Z-0.195
G02 F5 X-0.30501 Y-0.008677 I-0.01002 J0
G02 Y0.008677 I0.00501 J0.008677
G02 X-0.28998 Y0 I0.00501 J-0.008677
G01 X-0.29498
G02 X-0.30251 Y-0.004347 I-0.00502 J0
G02 Y0.004347 I0.00251 J0.004347
G02 X-0.29498 Y0 I0.00251 J-0.004347
G01 X-0.24498
G02 X-0.32751 Y-0.047648 I-0.05502 J0
G02 Y0.047648 I0.02751 J0.047648
G02 X-0.24498 Y0 I0.02751 J-0.047648
G01 X-0.19498
G02 X-0.35251 Y-0.09095 I-0.10502 J0
G02 Y0.09095 I0.05251 J0.09095
G02 X-0.19498 Y0 I0.05251 J-0.09095
( Pocket (3) )
G01 X-0.279823
G01 F2 Z-0.244
G02 F5 X-0.310089 Y-0.017474 I-0.020177 J0
G02 Y0.017474 I0.010089 J0.017474
G02 X-0.279823 Y0 I0.010089 J-0.017474
G01 F2 Z-0.294
G02 F5 X-0.310089 Y-0.017474 I-0.020177 J0
G02 Y0.017474 I0.010089 J0.017474
G02 X-0.279823 Y0 I0.010089 J-0.017474
G01 F2 Z-0.344
G02 F5 X-0.310089 Y-0.017474 I-0.020177 J0
G02 Y0.017474 I0.010089 J0.017474
G02 X-0.279823 Y0 I0.010089 J-0.017474
G01 F2 Z-0.375
G02 F5 X-0.310089 Y-0.017474 I-0.020177 J0
G02 Y0.017474 I0.010089 J0.017474
G02 X-0.279823 Y0 I0.010089 J-0.017474



( Drill (Tap Insert) ) Here will be a 5mm / 0.19685 tap
( T3 : 0.19685 )
G00 Z0.2
M06 T3
M03
G81 X-0.3 Z-0.233 R3 F0




( MOPProfile_3 )
( T4 : 0.125 )
G00 Z3
M06 T4
M03
G00 Z0.5
G00 Y-0.3325
G01 F2 Z-0.05
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
G01 F2 Z-0.1
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
G01 F2 Z-0.15
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
G01 F2 Z-0.2
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
G01 F2 Z-0.25
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
G01 F2 Z-0.3
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
G01 F2 Z-0.35
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
G01 F2 Z-0.365
G01 F8 X-0.123597
G03 X-0.041097 Y-0.25 I0 J0.0825
G01 Y-0.248579
G01 X0.486863
G03 X0.548528 Y-0.220885 I0 J0.0825
G03 X0.546811 Y0.222801 I-0.248528 J0.220885
G03 X0.485572 Y0.25002 I-0.061239 J-0.055282
G01 X-0.041097
G03 X-0.123597 Y0.3325 I-0.0825 J-0.00002
G01 X-0.3
G03 Y-0.3325 I0 J-0.3325
( MOPProfile_4 )
G01 F5 Y-0.3125
G01 F2 Z-0.375
G01 F5 X-0.123597
G03 X-0.061097 Y-0.25 I0 J0.0625
G01 Y-0.228579
G01 X0.486863
G03 X0.533579 Y-0.207598 I0 J0.0625
G03 X0.531966 Y0.2094 I-0.233579 J0.207598
G03 X0.485572 Y0.23002 I-0.046393 J-0.04188
G01 X-0.061097
G01 Y0.25
G03 X-0.123597 Y0.3125 I-0.0625 J0
G01 X-0.3
G03 Y-0.3125 I0 J-0.3125
G00 Z0.5
M05
M30
Reply With Quote

  #4   Ban this user!
Old 04-22-2010, 01:47 PM
 
Join Date: Feb 2007
Location: United States
Posts: 869
twocik is on a distinguished road

Same thread here at CamBam and uploaded my .CB file.


http://www.cambam.co.uk/forum/index....sg5601#msg5601
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tapping on a mini mill without rigid tapping??? mls Haas Mills 13 07-03-2009 06:43 PM
Tapping with the Tormach Tapping Head bobs_charger Tormach PCNC 0 04-24-2009 04:08 PM
Tapping head or rigid tapping Gregory_C Syil Products 2 10-18-2008 12:49 AM
Rigid tapping or tapping head wildcat Industrial Hobbies (Support forum) 7 09-24-2006 12:08 PM
tapping head vs hand/cordless tapping machine.... InspirationTool General Metal Working Machines 6 09-12-2005 08:10 PM




All times are GMT -5. The time now is 02:29 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361