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 09-16-2004, 11:35 PM
 
Join Date: Sep 2004
Location: Canada
Posts: 10
Toddjones is on a distinguished road
Angry ID Threading

Hi all, I'm very new to CNC and have plunged into it head first. A friend of mine is a CNC machinist however is experiance is limited in lathe work as it relates to the G Codes.

We tried to perform a simple ID threading operation but I either get an Alarm or it does something weird.

Here is the code!

%
O0800
G20
(PROGRAM NAME - XXXXX DATE=DD-MM-YY - 16-09-04 TIME=HH:MM - 17:10 )
(TOOL - 1 OFFSET - 1)
(ID THREAD - MIN. .5 DIA. INSERT - NONE)
G0 T0101
G97 S200 M03
G0 G54 X1.05 Z-2.0358 M8
X1.2688
G99 G32 Z-4. E.8
G0 X1.05
Z-2.0403
X1.2852
G32 Z-4. E.8
G0 X1.05
Z-2.0444
X1.3
G32 Z-4. E.8
G0 X1.05
Z-2.0444
X1.3
G32 Z-4. E.8
G0 X1.05
Z-2.0358
M9
G28 U0. W0. M05
T0100
M30
%

My machine does not recognise G32 and I was advised to switch it to G92. It runs without an alarm using G92 however it does not perform the operation as it is suppost to. It seems to reverse the operation. My machinist said if I try running it I will crash the machine.

I am very frustrated as I need to make parts with an ID threat.

Any suggestions would be appreciated. He advised that there are no proper Post processors for HAAS lathe's and that I believe the said the closest POST processor is MFLAN.


Thanks

Todd!

PS I hope I posted this in the right area!
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 09-18-2004, 03:30 AM
tex tex is offline
 
Join Date: Apr 2004
Location: Serbia and Montenegro
Age: 48
Posts: 60
tex is on a distinguished road

You should use G76 code because G92 is pretty complicated (needs more lines for more passes and is OK for a single pass). Just let us know the main parameters of the thread (F, M and depth in case it is metric) and I'll write you a code. It is even better if you send me an IGS STL or STP file of the part you want to machine and I'll do it with no trouble at all:

tex707@net.yu

A few more questions: which HAAS machine are you working on and what does the "E" command stand for?

I've tried to backplot your code and it looks strange...no feedrate at all?

There are PPs for HAAS lathes (by IMS) and in case you don't have one the closest match (99%) is FANUC6T.

Here's a simple G-code for HAAS lathe with FANUC controller that works fine:

N780 X47. Z1.
N790 M19 P180
N800 G97 S400 M03
N810 G76 D0.75 X59.4 Z-17.8 K2.6 F4.23
N820 G00 X47.
N830 Z1.

Last edited by tex; 09-18-2004 at 03:43 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-23-2004, 01:23 AM
 
Join Date: Jul 2004
Location: United States
Posts: 3
kbrenneke is on a distinguished road

O0800
G20
(program Name - Xxxxx Date=dd-mm-yy - 16-09-04 Time=hh:mm - 17:10 )
(tool - 1 Offset - 1)
(id Thread - Min. .5 Dia. Insert - None)
G0 T0101
G97 S200 M03
G0 G54 X1.05 Z-2.0358 M8
G92 X1.2688 Z-4.0 F???
X1.2852
X1.3
X1.3
M9
G28 U0. W0. M05
T0100
M30
%

Hope This Help
S
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 02-20-2008, 01:20 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,150
sinha_nsit is on a distinguished road

Originally Posted by Toddjones View Post
...
...
G32 Z-4. E.8
G0 X1.05
Z-2.0444
X1.3
G32 Z-4. E.8
G0 X1.05
Z-2.0444
X1.3
G32 Z-4. E.8
...
...

My machine does not recognise G32 ...
Use F for lead in the G32 block. At least in Fanuc F is used.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 05-22-2009, 09:08 AM
 
Join Date: May 2009
Location: United States
Posts: 2
stxmuddawg is on a distinguished road
what thread are you trying to cut?

Originally Posted by Toddjones View Post
Hi all, I'm very new to CNC and have plunged into it head first. A friend of mine is a CNC machinist however is experiance is limited in lathe work as it relates to the G Codes.

We tried to perform a simple ID threading operation but I either get an Alarm or it does something weird.

Here is the code!

%
O0800
G20
(PROGRAM NAME - XXXXX DATE=DD-MM-YY - 16-09-04 TIME=HH:MM - 17:10 )
(TOOL - 1 OFFSET - 1)
(ID THREAD - MIN. .5 DIA. INSERT - NONE)
G0 T0101
G97 S200 M03
G0 G54 X1.05 Z-2.0358 M8
X1.2688
G99 G32 Z-4. E.8
G0 X1.05
Z-2.0403
X1.2852
G32 Z-4. E.8
G0 X1.05
Z-2.0444
X1.3
G32 Z-4. E.8
G0 X1.05
Z-2.0444
X1.3
G32 Z-4. E.8
G0 X1.05
Z-2.0358
M9
G28 U0. W0. M05
T0100
M30
%

My machine does not recognise G32 and I was advised to switch it to G92. It runs without an alarm using G92 however it does not perform the operation as it is suppost to. It seems to reverse the operation. My machinist said if I try running it I will crash the machine.

I am very frustrated as I need to make parts with an ID threat.

Any suggestions would be appreciated. He advised that there are no proper Post processors for HAAS lathe's and that I believe the said the closest POST processor is MFLAN.


Thanks

Todd!

PS I hope I posted this in the right area!
what thread are you trying to cut?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-22-2009, 09:24 AM
 
Join Date: May 2009
Location: United States
Posts: 2
stxmuddawg is on a distinguished road

G76P020060Q20R.001
G76X(MINOR OR MAJOR DIA.)Z(DEPTH)R(TAPER IF ANY)P(THREAD HEIGHT)Q(DEPTH OF CUT)F(PITCH OR FEED)

FOR A 1/2-20 ID THREAD

LIKE THIS: G76P020060Q20R.001
G76X.5Z-.5R0P250Q20F.05

THE (R.001) IS HOW MUCH STOCK THE SPRING PASS REMOVES

THE (G76P02) THE 2 IS HOW MANY SPRING PASSES IT MAKES.

G76P020060 THE (60) ON THE END MEANS 60 DEGREE TOOL.

THE (P) IN THE SECOND LINE IS THREAD HEIGHT PER SIDE:SO (P) WOULD BE .025 OF AN INCH, BUT YOU CANNOT USE DECIMALS FOR THE (P)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 05-24-2009, 01:46 PM
 
Join Date: May 2007
Location: USA
Posts: 896
g-codeguy is on a distinguished road

It always helps if you give the control being used at the very least. Machine you are using helps too. As already stated, F is used on Fanuc controls for threading. At least on the ones I am familiar with. We had some Hardinge CHNCs that used E, but can't recall the control model. If I recall correctly these CHNCs used G33 for threading, not G32. Pretty certain the ones we had when I first start had Allen Bradley controls and used G33.

Are you running a special thread? Must be as .0833 is a 12 pitch thread. You would need at least X1.312 for a 1-5/16 thread. Several thousandths more if using a generic insert instead of a topping one of the correct pitch for the thread being made.

G92 is not complicated to use. Easier than the G32 you are currently using. I prefer the G76 cycle so I can control compound infeed easier.

If I remember correctly, here is how a G92 is programmed:

G0 G54 X1.05 Z-2.0358 M8
G92X1.2688Z-4. F.0833
X1.2852
X1.3
G0G28U0W0M5
M30

Are you truly trying to thread that course of a thread in 3 passes? Not normally advisable. However I did ONE time make a 5/16 inch thread (course, but don't remember the pitch) with 3 passes in softer material as that was the only way I could eliminate chatter.
Tweet this Post!Share on Facebook
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
Okuma LC-20 Threading problem Gunner Machine Problems, Solutions , Wireless DNC, serial port 13 12-13-2011 11:11 PM
threading help!!! asap joe1970 G-Code Programing 5 04-16-2005 08:46 AM
Deskcnc version that supports threading Dan Mauch Carken Products (Deskam, DeskCNC etc) 1 04-04-2005 07:51 PM
Threading tool recomendation Toddjones Machine Problems, Solutions , Wireless DNC, serial port 4 02-18-2005 01:55 AM
Taig lathe Threading and CNC questions anoel Mini Lathe 5 01-12-2004 04:43 PM




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