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! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-26-2007, 09:52 AM
 
Join Date: Sep 2006
Location: canada
Posts: 4
Jr. Programmer is on a distinguished road
Thread Milling on a 5 axis lathe

hi there,
We are trying to thread mill 1/8 - 27 NPT on a 5-axis lathe. Most of the software out there would only output code for a machining centre. Our lathe will only accept J & K. XYZ axis on a mill but on a lathe X (diam) is the tool axis. Any help would be appreciated.

Thanks in Advance
Reply With Quote

  #2   Ban this user!
Old 07-27-2007, 10:11 AM
jorgehrr's Avatar  
Join Date: May 2006
Location: USA
Posts: 203
jorgehrr is on a distinguished road

HI there -

I'm having a hard time myself understanding this thread mill business.
But in a lathe why not G76 thread cycle...just wondering.

Cheers

Jorge
Reply With Quote

  #3   Ban this user!
Old 07-27-2007, 11:27 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Originally Posted by Jr. Programmer View Post
hi there,
We are trying to thread mill 1/8 - 27 NPT on a 5-axis lathe. Most of the software out there would only output code for a machining centre. Our lathe will only accept J & K. XYZ axis on a mill but on a lathe X (diam) is the tool axis. Any help would be appreciated.

Thanks in Advance
Which axis is the thread rotating around?

EDIT: Silly me you mentioned it X is the tool axis you say.

I don't use software but this should be possible. Get your code output which has X, Y, Z, I and J and then do a Find and Replace in a word processing program:

Z will become X

X will become Z

Y stays the same

J stays the same

I becomes K

Your tool is moving in the Y, Z plane and advancing along the X axis. (I think)
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #4   Ban this user!
Old 07-27-2007, 02:24 PM
 
Join Date: Sep 2006
Location: canada
Posts: 4
Jr. Programmer is on a distinguished road

I believe G76 thread cycle would be used for ID threading of a cylindrical part. I need to thread mill perpendicular to the the z-axis (ie. the top of the part).
Reply With Quote

  #5   Ban this user!
Old 07-27-2007, 03:01 PM
 
Join Date: Sep 2006
Location: canada
Posts: 4
Jr. Programmer is on a distinguished road

hi Geof,
I hear ya..but on a lathe X is the diametrical which means (Z x 2 in diameter). Having said that, does the J and K change accordingly? If so how much? These machines are not quite simple as a 3 axis mill...
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-27-2007, 03:22 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Originally Posted by Jr. Programmer View Post
hi Geof,
I hear ya..but on a lathe X is the diametrical which means (Z x 2 in diameter). Having said that, does the J and K change accordingly? If so how much? These machines are not quite simple as a 3 axis mill...
No not quite as simple .

I don't think this would have any effect on J and K and it could be as simple as using a G code to shift the X axis from diameter measure to radius measure. If I was designing a machine that could turn and mill I would incorporate this feature.

If there is no way to command this then you might have to generate your code using twice the pitch so when you swap the Z and X you have compensated for it.

Also if you are just using three of the axes and they are orthogonal then you have a three axis machine.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #7  
Old 07-27-2007, 07:57 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by Jr. Programmer View Post
hi there,
We are trying to thread mill 1/8 - 27 NPT on a 5-axis lathe. Most of the software out there would only output code for a machining centre. Our lathe will only accept J & K. XYZ axis on a mill but on a lathe X (diam) is the tool axis. Any help would be appreciated.

Thanks in Advance
In theory you can Interpolate a Helical Thread on a 5 Axis Lathe. But you need a true Y and C Axis to do this. Also you will need to find the G-Code Designation that will Synchronize the C Axis with the Y Axis. What this will do is replace the Y Axis with the C Axis. Maybe a G100, G101, G120, G121, G200, G201, G300, or G301. You may also have to Designate a Work Plane.

This is still a 3 Axis movement but in the C, Z, and X Axies. It is the Same as an XYZ Movement but you are substituting the Y for the C and the X is now your Depth in the part.

What Machine, and Control Are you trying this on??


I have done this once before on a Nakamura-Tome. I will try to find the Program so you can see it.

G76 to my knowledge is only used for the XZ Plane, G18.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #8   Ban this user!
Old 07-28-2007, 06:33 AM
 
Join Date: May 2006
Location: Sweden
Posts: 265
M-man is on a distinguished road

G90 G19
S6853 M3
G00 C0.000 Y0.0000 Z0.0000 X0.0787 Position to centerline of thread/ 0.0787 above surface

G91 - incremental
G00 X-0.3692
G41 G01 Y0.000 Z-0.1555 F39.0640
G03 Y0.000 Z0.3480 X0.0185 J0.000 K0.1740 F3.5304
G03 Y-0.1928 Z-0.1925 X0.0093 J-0.0001 K-0.1926 F7.5084
G03 Y0.1928 Z-0.1931 X0.0093 J0.1929 K-0.0001
G03 Y0.1934 Z0.1931 X0.0093 J0.0001 K0.1932
G03 Y-0.1934 Z0.1937 X0.0093 J-0.1935 K0.0001
G03 Y0.000 Z-0.3492 X0.0185 J0.000 K-0.1746
G40 G01 Y0.000 Z0.1555
G00 X0.2952
G90

This should produce a 1/8 npt in you machine.

Hope it will be of any help...
Reply With Quote

  #9   Ban this user!
Old 07-28-2007, 07:09 AM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

Originally Posted by tobyaxis View Post
In theory you can Interpolate a Helical Thread on a 5 Axis Lathe. But you need a true Y and C Axis to do this. Also you will need to find the G-Code Designation that will Synchronize the C Axis with the Y Axis. What this will do is replace the Y Axis with the C Axis. Maybe a G100, G101, G120, G121, G200, G201, G300, or G301. You may also have to Designate a Work Plane.

This is still a 3 Axis movement but in the C, Z, and X Axies. It is the Same as an XYZ Movement but you are substituting the Y for the C and the X is now your Depth in the part.

What Machine, and Control Are you trying this on??


I have done this once before on a Nakamura-Tome. I will try to find the Program so you can see it.

G76 to my knowledge is only used for the XZ Plane, G18.


On machines equipped with FANUC controls G12.1 allows you to use the C axis as the Y where you are using polar interpolation to cut your part. the only problem with using G12.1 is you have to be in G1 mode at all times no G0 is allowed in your tool paths. all positioning have to be done in G1 mode. G18 plane should be active to use G12.1. the other problem using G12.1 is you have to cut at X0.
__________________
If you can ENVISION it I can make it
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
thread milling fourperf Fadal 13 03-10-2008 07:14 PM
0M-Thread milling? mikul Fanuc 1 12-05-2006 11:56 PM
EdgeCam 10.5 Y axis milling on lathe ? tricky EdgeCam 8 07-13-2006 11:17 AM
thread milling DavidC1949 G-Code Programing 2 03-30-2006 12:27 PM




All times are GMT -5. The time now is 08:25 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