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 > General CNC (Mill and Lathe) Control Software (NC)


General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-06-2005, 01:13 PM
 
Join Date: Jan 2005
Location: United States
Posts: 4
Roberts is on a distinguished road
Fanuc code needs updating.

I was originally going to title this post "Fanuc...Japanese for Retarded", but I didn't want my frustration of the moment to impugn everything Fanuc has done right.

My two issues are these: Why does Fanuc not have an equivilent of G13/G12 that Yasnac uses? This G code allows you to program an interpolated hole in a single line, with a spiral out, interpolate, spiral in. In our shop we use it a great deal, and now that we have a Fanuc control in the mix, we have to make edits to every single program we run, replacing a single line of code with 5 (!) to do a similar move on the Fanuc. This is pitiful.

Item 2, is the inability of the G76 Thread Cutting cycle to start on lead. In the case of a Swiss machine, where we want to cut a long thread as a series of progressive cycles, there is no provision for starting with an approach on lead. In use, this means the canned cycle destroys the thread at each start point, rendering it useless. The fix is to write a sub program with a conditional branching structure, i.e., a home-made 'canned cycle'. This, again, is pitiful.

Fanuc is a world leader in CNC control applications. It would be wonderful if they would spend a few dollars updating their fundamental CNC code. Why have we not seen improvements in this area?
Reply With Quote

  #2   Ban this user!
Old 08-06-2005, 05:35 PM
Chris D's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 390
Chris D is on a distinguished road

Originally Posted by Roberts
I was originally going to title this post "Fanuc...Japanese for Retarded", but I didn't want my frustration of the moment to impugn everything Fanuc has done right.

My two issues are these: Why does Fanuc not have an equivilent of G13/G12 that Yasnac uses? This G code allows you to program an interpolated hole in a single line, with a spiral out, interpolate, spiral in. In our shop we use it a great deal, and now that we have a Fanuc control in the mix, we have to make edits to every single program we run, replacing a single line of code with 5 (!) to do a similar move on the Fanuc. This is pitiful.

Item 2, is the inability of the G76 Thread Cutting cycle to start on lead. In the case of a Swiss machine, where we want to cut a long thread as a series of progressive cycles, there is no provision for starting with an approach on lead. In use, this means the canned cycle destroys the thread at each start point, rendering it useless. The fix is to write a sub program with a conditional branching structure, i.e., a home-made 'canned cycle'. This, again, is pitiful.



Fanuc is a world leader in CNC control applications. It would be wonderful if they would spend a few dollars updating their fundamental CNC code. Why have we not seen improvements in this area?

ITEM #1
You may want to check if that option is available for your control model. Fanuc often has plenty of features, it's the machine tool builder that selects which ones to install (and pay for). So, that cycle very well could be available, you just have to pay to have it installed - call Fanuc. Another option is to get the option of MACRO and write your own canned cycles for such things. I have found that having the MACRO option has been much more useful as it allows me to write a "Canned cycle" that can do just about anything I can dream up.

ITEM #2
Not sure at all what you are describing. I have very limitted experience with swiss style machines. Can you explain this again, perhaps relating the difference between threading with G76 on a regular lathe and a swiss style machine. I guess the part that has me confused is "Start on lead", not sure what you mean by this?


COMMENT
The code is all there, they are just options. As such, the machine tool builders select which options they want to put on their machines. So, in many cases where people complain about "Lack of features" on a FANUC control, it isn't Fanuc's fault that the machine tool builder didn't put them in the machine. However, perhaps Fanuc could lower their prices on many of those options too, then the decision wouldn't be so hard for a builder.

Chris
Reply With Quote

  #3   Ban this user!
Old 08-08-2005, 08:37 AM
 
Join Date: Jan 2005
Location: United States
Posts: 4
Roberts is on a distinguished road
Fanuc issues

Thanks for the response.
First of all, Fanuc has no option that performs like a g12/G13 cycle. Nothing even close, and I have talked directly to Fanuc about it. We have written a Macro to emulate the code, calling G113/G112 to replace the code and using the same inputs from that line to populate our Macro variables. F for feedrate, I for circle center, etc. It works, but G12/G13 would be so much nicer. Yasnac probably has a patent on the cycle, but Fanuc should license it from them. It is worth the cost.

Secondly, as threading relates to Swiss lathes, and in the case of a long thread: What you do is turn a short length, thread it, turn some more, thread that, turn some more, thread that, etc. This means you need to be able to come in on lead to pick up the previous thread and continue on. The G76 canned cycle has no provision for coming in on lead. What is does is drop straight down on diameter, and then follow the lead, which destroys the first thread of every fresh start. G76 does have a provision for 'chamfer out', and what it needs is a provision for 'chamfer in'. I have written a Macro for this using G32, but it is a complex and messy Macro, and not very universal as written. I am sure we can solve it, but why wouldn't Fanuc make this simple update?
Reply With Quote

  #4   Ban this user!
Old 08-08-2005, 12:46 PM
Chris D's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 390
Chris D is on a distinguished road

Hmm,

I never thought about threading on a swiss style machine, I can see where it is a bit of a problem on long threads. As there are so many swiss style machines out there, I would think that there has to be a workable solution to that - I am just stumped though, sorry. You did well though writing a macro to do it, that had to be pretty tough getting everything to pick up again in the right spot.

By chance, have you asked about this to the applications engineers from the machine tool builder (not Fanuc)? I would think they would have some sort of methods to do what you describe, but I can't come up with anything better than a macro.
Reply With Quote

  #5   Ban this user!
Old 08-08-2005, 09:07 PM
ghyman's Avatar  
Join Date: Feb 2005
Location: USA
Posts: 214
ghyman is on a distinguished road

Just today, I threaded a five inch bone screw on a Star SR20R2. And yes, my subprogram is a mess.
Unfortunately, it is not just Fanuc who is lacking in the threading cycle options... Citizen and Tsugami also require a bit of jumping through hoops to achieve this.

On the plus side, I've developed a pretty cool library of "look what I can do!" subprograms over the years!
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-14-2005, 05:24 PM
chuy's Avatar  
Join Date: Aug 2005
Location: usa
Posts: 149
chuy is on a distinguished road

The canned cycle for the g12,g13 .... I believe is g17 there is a little more involved to programming it. not quite as easy as the yasnac...., but there is one...it's been a while
since i programmed manually....,but i know for fact that there is a cycle for that... your programming manual should say unless you have really old fanuc control...
even still Fanuc control sucks when compared to yasnac...
Reply With Quote

  #7   Ban this user!
Old 09-21-2005, 11:01 AM
oil oil is offline
 
Join Date: Jul 2005
Location: USA
Posts: 3
oil is on a distinguished road

Have you tried useing G32 as your thread cycle. It works great when you have have multiple threads on a part that have to stay in lead with each other. And who uses G76 anyway because you can have more flexability with G92.
Reply With Quote

  #8   Ban this user!
Old 02-20-2006, 04:23 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

G76 has a lot of flexibility, whereas G92 has none, compared to G76. The only thing is that you should know the exact function of all the parameters of G76.
Reply With Quote

  #9   Ban this user!
Old 02-20-2006, 04:36 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Actually, it is recommended that at least 3-4 pitch lengths should be provided as run-in distance before thread cutting starts, to take care of any lag in the machine drive system, otherwise the first few threads may not have correct pitch. So, zero approach angle will not make any difference.
Reply With Quote

  #10   Ban this user!
Old 02-20-2006, 09:18 AM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

Write a G112/G113 macro that uses the variables in the same manner as a Yasnac control. Even wrote one years ago that picks up a variable to spiral from "center out" for large diameters.

Everything is so "CAD/CAM" nowadays that the options like these aren't around much or pursued anymore (for Fanuc anyway... as well as some others)
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-20-2006, 11:30 AM
 
Join Date: Jan 2005
Location: USA
Posts: 237
cogsman1 is on a distinguished road

Using the G76 is easy but does have its limits, below is a breakdown of the code and how to use it.
On a Swiss you CAN but an extended length "Guide Bushing" which will give up to 1.250" of length to allow for long threads. I use "Thread Whirling" for threads longer than that. Thread whirling is a slower process on short screws but if you need to do the turn, thread, turn , thread etc... it becomes much faster and eaiser to setup.




G76- Canned threading cycle

G76 P010060 Q.002 R.0005 (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

P010060 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 - 60
0,29,30,55,60,80 are usable (0-90 is ok)

Q.005 sets the minimum cut amount during threading

R.0005 sets the cut amount of the last pass

The second G76 cuts the thread.
-G76 X.1876 Z.3 P.0302 Q.01 F.05 (R-.002) FOR 1/4-20

X.1876 =Minor Dia. of thread

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

P.0302 =Height of thread in radius (Maj-Min)/2

Q.01 =Amount of the first cut. All the rest of the cuts are calculated.

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

  #12   Ban this user!
Old 02-20-2006, 01:11 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2
JonBoy is on a distinguished road

HAAS Controls allow settings for either Yaznak or Fanuc.
Get a HAAS.
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





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