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! > MetalWorking > General Metalwork Discussion


General Metalwork Discussion Discuss everything relating to metal work.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-10-2011, 08:32 AM
 
Join Date: Nov 2007
Location: USA
Posts: 181
ajclay is on a distinguished road
Thread Milling

I'm always behind the times. I just heard about cutting internal threads with a milling machine. I've got a CNC Wells Index with Mach3 as the controller.

Can someone point me in the right direction on how to research the operation? It may not be possible with the machine and controller I have.

How is the code/program generated?

I'm not sure I'm even using the right name.

Any and all help is appreciated.

Thanks, Aj
Reply With Quote

  #2   Ban this user!
Old 04-10-2011, 09:33 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

The machine needs to be able to do helical interpolation. That is moving the Z axis up or down while doing a circle using G02 or G03.

Then it is simply a matter of programming the correct radius circle with the Z movement equal to the pitch of the thread.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3  
Old 04-10-2011, 09:38 AM
Gold Member
 
Join Date: Oct 2005
Location: USA
Posts: 663
Caprirs is on a distinguished road

You machine has to be capable of helical interpolation to perform thread milling operations.

Code is the same as circular interpolation except a Z is added along with a P. The Z is the end position of the helix and the P is the number of "paths" or circles the cutter has to make.

Thread milling starts with the hole at drilled/bored to the minor diameter.

So thread milling a 1/4-20 internal thread 1/2" deep would look something like this:

G0 X0. Y0. (move to center)
Z.025
G1 Z-.500 F20. (start at bottom to climb mill)
X.0321 (move tool to engage, depends on major dia. of thread milling tool)
G3 X.0312 Y0. Z0. I-.0312 P10. (moves up .500" in 10 circles =.05" pitch)
G0 Z.025

The above works for a single point thread milling tool.

If the tool has a longer length of cut, it is possible to cut all the threads in a single path/circle, move to center, and retract:

G0 X0. Y0.
Z.025
G1 Z-.500 F20.
X.0321 (depends on major dia. of thread milling tool)
G3 X.0312 Y0. Z-.450 I-.0312 P1
G1 X0. Y0.
G0 Z.025

The P and Z must obviously be matched based on the pitch of the thread.

Thread milling allows even tiny benchtop machines to create big threads. In addition, thread milling allows for more precise control of the pitch diameter which can be handy if the part eventually will get plated or anodized.
Reply With Quote

  #4   Ban this user!
Old 04-10-2011, 09:59 AM
 
Join Date: Nov 2007
Location: USA
Posts: 181
ajclay is on a distinguished road

Caprirs, you make it sound so simple. I have a basic understanding of g-code. Enough to trouble shoot my posts that are made with sheetcam. I don't know if I could handle that code all from scratch.

I machine is capable of 3D work, so it's got to be able to do circular interpolation ,but my brain isn't quite there....

Are there any programs out there that's capable of generating the g-code with the proper inputs? tpi, tool offsets, diameters, ect.....

thanks, AJ
Reply With Quote

  #5   Ban this user!
Old 04-10-2011, 10:36 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

He hit you with a lot in a big lump, take it in bite size pieces. Programming a circle is easy and to make it easier let's ignore the fact that the tool has a diameter(radius) and just look at the path of the centerline of the tool with the work zero at the center of the circle.

Now if you want to have the machine describe a 2" diameter circle (1" radius of course) you move either X or Y to a position 1" away from the work zero.

N1 G00 X0. Y1.0 (Line numbers are just for reference)

Now to program the circle you just use the G02 or G03 command with I and J

N2 G03 I0. J-1.

Depending on the machine/controller this command may be slightly different. My machines interpret the I value and the J value as the distance from the tool position to the center of the circle. In line N1 I did not move the X axis but I moved Y + 1. inch so therefore the center is -1. away from the tool position.

Line N2 tells the machine to do one circle. Some machines allow you to put a L (P) command to do multiple circles and line N3 would do three circles.

N3 G03 I0. J-1. L3

If the machine will not permit the L command it is necessary to program the necessary number of circles as in N4 thru N6.

N4 G03 I0. J-1.
N5 G03 I0. J-1.
N6 G03 I0. J-1.

Now if you can get the machine to move in the Z direction you have helical interpolation, which can be used for boring a hole by moving Z a small amount during each circle, or milling a thread by moving it the lead of the thread for each circle.

Again it depends on the machine/controller and the simplest is when the machine can perform an incremental Z movement while it is doing the circle. With this the command to spiral down three circles at 10tpi is:

N7 G91 G03 I0. J-1. Z-0.1 L3

When this type of command is not allowed it is necessary to do it the long way. Starting at the Z0. position the commands to do the same thing as line N7 are:

N8 G03 I0. J-1. Z-0.1
N9 G03 I0. J-1. Z-0.2
N10 G03 I0. J-1. Z-0.3

That is the basic idea behind thread milling.

Naturally you do have to take into acount the cutting diameter of the tool and this is done using tool compensation, the best method, or calculating the radius to correct for it, very tedious. Also when doind an internal thread you need to have moves to allow the cutter to enter gently into the cut, not just slam straight in on a radial motion. These are details you can learn once you are familar with the basics.

Write a bit of code and cut some air at very slow feed rates so you can see what is happening.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-10-2011, 09:15 PM
 
Join Date: Nov 2007
Location: USA
Posts: 181
ajclay is on a distinguished road

[QUOTE=Geof;925593]He hit you with a lot in a big lump, take it in bite size pieces. Programming a circle is easy and to make it easier let's ignore the fact that the tool has a diameter(radius) and just look at the path of the centerline of the tool with the work zero at the center of the circle.QUOTE]

Thank you for taking time to explain further. I'm going to do a little studying on what you lined out. It's going a day or so to soak in...

Thanks, Aj
Reply With Quote

  #7   Ban this user!
Old 04-11-2011, 05:35 AM
 
Join Date: Apr 2011
Location: USA
Posts: 3
robertproff is on a distinguished road

Thread mills usa has a free excel file for programming a thread mill. All you have to do is change the parameters (thread dia., cutter dia, tpi, thread depth, sfm, feed per tooth, and # of flutes) and it will give you program for thread milling. This is very useful until you become more familiar with thread milling.
Threadmills USA - Programming Help
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
Need Help!- thread milling V21 AirChunk BobCad-Cam 4 09-15-2010 12:12 AM
Thread milling on X2 webgeek Benchtop Machines 10 04-01-2010 08:13 PM
thread milling fourperf Fadal 13 03-10-2008 07:14 PM
Thread Milling ragman General Metalwork Discussion 2 02-04-2008 09:04 PM
Thread Milling 3/8-18 NPT shawn G-Code Programing 13 08-26-2006 08:24 AM




All times are GMT -5. The time now is 10:30 AM.





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