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 > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-08-2007, 06:42 AM
 
Join Date: May 2007
Location: Denmark
Posts: 50
Kai_DK is on a distinguished road
G76 threading

Hi.
When threading, I use G76.
I know of 2 ways to descripe the syntax for the thread, but I can only find the right syntax for single line G76.
I have G76 X8. Z-10. P613 Q250 F1 A60 for an internal M8*1 thread.
I would like to try to use the dual-line G76, but whats the syntax?
I need it to be able to switch between ways to execute the way the thread is made (front of insert, back of insert, etc.)
Reply With Quote

  #2   Ban this user!
Old 11-08-2007, 06:45 AM
 
Join Date: Jan 2005
Location: USA
Posts: 237
cogsman1 is on a distinguished road
G76

G76- Canned threading cycle

G76 P010010 Q0020 R0005 (first G76 sets parameters for threading)
G76 X Z P Q F R (cuts the thread)

The first G76 isn't needed but is recommended.
- G76 P Q R

P010010 sets 3 things
- first 2 digits is the amount of finish passes - 01

- second 2 digits is % of the lead or pullout exiting the thread- 00
00 = almost no angle at pullout and 99 = 9.9 leads away start out

- third 2 digits are the angle of infeed - 10
0-99 are usable

Q0020 sets the minimum cut amount during threading .002 but no decimal
(Q00200 for sub inch)

R0005 sets the cut amount of the last pass .0005 but no decimal
(R00050 for sub inch)

The second G76 cuts the thread.
-G76 X.1876 Z.3 P0302 Q0010 F.05 (R-.002) FOR 1/4-20

X.1876 =Minor Dia. of thread

Z.3 or (W) =The ending Z of the thread

P0302 =Height of thread in radius (Maj-Min)/2 (.0302)
(P03020 for sub inch)

Q0100 =Amount of the first cut. All the rest of the cuts are calculated.
(.01)
(Q01000 for sub inch)

F.05 =Feed-rate 20 TPI 1/20=.05

R = R is optional for tapered threading. R is the amount of
difference in X from start to finish in Z. When cutting threads
moving Z and X in a positive direction R is a negative value.
Reply With Quote

  #3   Ban this user!
Old 11-08-2007, 08:17 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Great info here, in a better format than I've come accross.

I'm programming my <Camsoft> lathe to do G76.

I have a question on Z start. Will the control always start threading at the current Z position and then go to Z end speced in G76 line 2? Or will it error if you're too far away? In other words, how does the control know how long the threading pass is?

Second, left hand threads. Do you just use all negative values and cut on the backside of your part?

Karl
Reply With Quote

  #4   Ban this user!
Old 11-08-2007, 04:12 PM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

Originally Posted by Karl_T View Post
Great info here, in a better format than I've come accross.

I'm programming my <Camsoft> lathe to do G76.

I have a question on Z start. Will the control always start threading at the current Z position and then go to Z end speced in G76 line 2? Or will it error if you're too far away? In other words, how does the control know how long the threading pass is?

Second, left hand threads. Do you just use all negative values and cut on the backside of your part?

Karl
i always set my z to start 1.5 turns from start of threads
for left hand threads i use a holder that will accomadate both left and right thread inserts and all i have to do is reverse the spindle

referring to cogsman the last 2 digits in the first g76 line is determined by the angle of your threads which is normally 1/2 of the included angle of the thread
__________________
If you can ENVISION it I can make it
Reply With Quote

  #5   Ban this user!
Old 11-08-2007, 11:21 PM
 
Join Date: May 2007
Location: Denmark
Posts: 50
Kai_DK is on a distinguished road

...but how about the option of theading with the front or the back of your insert?
BTW, thank you for info.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-09-2007, 02:23 AM
 
Join Date: May 2006
Location: Sweden
Posts: 265
M-man is on a distinguished road

If you have the F10TA/F11TA you use P1 for one-side, constant cutting amount
P2 zigzag with constand cutting amount
p3 and p4 just like p1 and p2 but with constant cutting depth.

for the F0TA I dont think you can apply type of cutting, but if you got special threading needs, use G32.

G76 X27.4 Z-52 K1.3 D400 F2. A60 P1 --- F10TA style

G76 P011060 Q50 R50
G76 X27.4 Z-53 P1200 Q400 F2.0 --- F0TA style
Reply With Quote

  #7   Ban this user!
Old 11-13-2007, 06:03 AM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

Originally Posted by Karl_T View Post
Great info here, in a better format than I've come accross.

I'm programming my <Camsoft> lathe to do G76.

I have a question on Z start. Will the control always start threading at the current Z position and then go to Z end speced in G76 line 2? Or will it error if you're too far away? In other words, how does the control know how long the threading pass is?

Second, left hand threads. Do you just use all negative values and cut on the backside of your part?

Karl

You program both the Z-axis start and finish positions. Machine threads between these 2 dimensions (minus compound infeed). One manual suggests 3 times the lead or .3 whichever is greater. At high RPM I usually start .5 in front of the thread. This is to allow the machine to accelerate to the correct feed. Machine will not error out because of thread length.

Do not change start position, RPM, or compound infeed if re-threading. It will cause a double thread. Compound infeed on the 2-block G76 call is not adjustible from 0-99. At least not on the lathes I run. You are allowed 6 options: 0, 29, 30, 55, 60, or 80. The single block call has an A-value for the compond infeed which allows you to use any number between 0-99.

For left hand threads, follow the advice already given. Use a left hand threading tool and reverse the spindle direction.

Kai_DK asked about cutting with both sides of the tool. M-man's answer was correct. Notice that this option is only available in the single block call.

You control (somewhat) how much the insert cuts on a side by using the compound infeed function of the last pair of values in the P word in the first block. 0 (zero) value has no compund infeed and cuts equally on both sides of the insert. This is a tough chip. Only used it once in 22 years of programming. 60 cuts only on the leading edge (for standard 60 deg. threads). This creates less tool pressure if you are having a chatter problem. Not the best for use on work hardening materials. Normally I stick with 29 or 55. Q in first block is minimum DOC. R is DOC of last pass. On work hardening materials you will need to keep a large enough value to make a decent cut if possible.

As stated, the middle 2 values in the P word in the first block is for pull out. 00 will leave a ring on the last thread. I only use it with threads having a relief. I use 01 otherwise so the machine will pull out as quick as possible. Often I am threading to a shoulder and need to get as close as possible.

Speaking of getting close to a shoulder, slow the RPM down if the 01 value won't get close enough. The slower RPM allows the insert to stay in the cut for longer. Not always best for the insert because it will be below its best operating range, but sometimes necessary.

Hope this was of some help to you.
Reply With Quote

  #8   Ban this user!
Old 11-13-2007, 11:59 AM
 
Join Date: May 2006
Location: Sweden
Posts: 265
M-man is on a distinguished road

I always use a m-code to decide if there are chamfer or not at the end of thread, threads I make with P010060 makes a nice way out at the end even thou there shouldnt be any chamfer, mabe there are a parameter set for this amount if it is EQ to zero???. With the m-code I can make the right pitch closer to the shoulder.

And there are actual formulas to calculate the exact amount of start and end distance of the acceleration of servo when threading at certain spindle speed.
Reply With Quote

  #9   Ban this user!
Old 01-14-2008, 11:59 AM
 
Join Date: Aug 2007
Location: USA
Posts: 2
habertt is on a distinguished road
G76 Taper

I have been having a problem with my thread getting a taper and causing issues with plating. The diameter is .003 smaller at z-1.735. I have made it, overall,.004 smaller but can't get rid of the taper. How do I do it. Here's my cycle for a 1/2-20 thread. (Mori ZL25-B500, Fanuc MF-D6 (16TTA) control)

G76 P040060
G76 X.4392 Z-1.735 P0500 Q0100 F.05
Reply With Quote

  #10   Ban this user!
Old 01-14-2008, 02:06 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by habertt View Post
I have been having a problem with my thread getting a taper and causing issues with plating. The diameter is .003 smaller at z-1.735. I have made it, overall,.004 smaller but can't get rid of the taper. How do I do it. Here's my cycle for a 1/2-20 thread. (Mori ZL25-B500, Fanuc MF-D6 (16TTA) control)

G76 P040060
G76 X.4392 Z-1.735 P0500 Q0100 F.05

Try adding an R.003 to your second line. Should correct for your taper. You may have to experiment with the value for your control.

Karl
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-14-2008, 06:03 PM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

Originally Posted by Karl_T View Post
Try adding an R.003 to your second line. Should correct for your taper. You may have to experiment with the value for your control.

Karl
On our machines, this would make the taper worse. The X value in the threading cycle would be at the Z-1.735. A value of R.003 would increase the root diameter by .006 at the front of the part. (Maybe not exactly .006 because of tool pressure.) Check the manual for your machine to see how the R-value works for it.

Karl is correct when he stated that you may have to experiment with this value. Just because it is mathematically correct doesn't mean it will work out. I usually find I have to go more than what the taper is...depending on the material and size of the tool.
Reply With Quote

  #12   Ban this user!
Old 01-15-2008, 06:52 AM
 
Join Date: Jan 2005
Location: USA
Posts: 237
cogsman1 is on a distinguished road
Add "R-.004" on second G76 line to cut .004 taper.

Originally Posted by habertt View Post
I have been having a problem with my thread getting a taper and causing issues with plating. The diameter is .003 smaller at z-1.735. I have made it, overall,.004 smaller but can't get rid of the taper. How do I do it. Here's my cycle for a 1/2-20 thread. (Mori ZL25-B500, Fanuc MF-D6 (16TTA) control)

G76 P040060
G76 X.4392 Z-1.735 P0500 Q0100 F.05

Add "R-.004" on second G76 line to cut .004 taper.

G76 P040060
G76X.4392Z-1.735P0500Q.010F.05R-0.004
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
MDF threading MrWild JGRO Router Table Design 13 01-01-2010 10:17 AM
Help with threading protrxrptr17 G-Code Programing 15 02-19-2008 05:09 PM
threading wrenchcruncher General Metalwork Discussion 8 01-26-2007 06:40 PM
Threading brtlatjgt General Metalwork Discussion 2 05-11-2006 10:08 AM
CNC Threading cncuser1 Mini Lathe 8 03-21-2006 07:43 PM




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