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 03-07-2007, 09:01 AM
 
Join Date: Mar 2007
Location: England
Posts: 5
cncjoy is on a distinguished road
Smooth motion required high feed 3 axis surface milling

Is there a simple fix to this problem?

We're using a Fanuc 6M control to run a 3 axis simultaneous (X,Y & Z) surface milling program at a 2000mm/min feedrate.

The program is made up of thousands of small (1mm) X,Y,Z movements.

In practice, the machine never reaches the programmed feed because it is always accelerating and decelerating between each co-ordinate.

We are not working to tight tolerances (+/-0.2)

Is there some way of either configuring the control or modifying the CNC program so that the moves are "smoothed" out in order to achieve a higher feed rate?

I'd be very interested to read any suggestions you have.

Thanks
Reply With Quote

  #2   Ban this user!
Old 03-07-2007, 08:01 PM
Dave1's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 154
Dave1 is on a distinguished road

Originally Posted by cncjoy View Post
Is there a simple fix to this problem?

We're using a Fanuc 6M control to run a 3 axis simultaneous (X,Y & Z) surface milling program at a 2000mm/min feedrate.

The program is made up of thousands of small (1mm) X,Y,Z movements.

In practice, the machine never reaches the programmed feed because it is always accelerating and decelerating between each co-ordinate.

We are not working to tight tolerances (+/-0.2)

Is there some way of either configuring the control or modifying the CNC program so that the moves are "smoothed" out in order to achieve a higher feed rate?

I'd be very interested to read any suggestions you have.

Thanks
If you program a G98 (?) at the end of each linear feed line it might get rid of the pauses between moves. i'm not sure if it is G98 though.
Dave
__________________
Schneider Machine
A force of one
Reply With Quote

  #3   Ban this user!
Old 03-07-2007, 10:28 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

Lots of things to think about here. The Fanuc 6M has two "speed limits" for running a 3D surface program.

One speed limit is the control's internal "block processing" speed. The control can only process so many blocks per second, no matter how far each block moves the machine. If your point-to-point distance is very small (say, .005 inches per block), then your feedrate will be very low and there's not much you can do about it.

Another speed limit is the number of characters per second that the control can process, and here is where there are LOTS of ways to speed things up. If you're running through a DNC link of some sort, your character speed is about 300 cps. This is the speed of a Fanuc paper tape reader, and any Fanuc 6M would only be drip-fed through that tape reader port with a BTR (Behind the Tape Reader) link of some sort. At 300 CPS, you can only read so many blocks of data per second, and this is where the number of CHARACTERS per block makes a big difference. Here are some tricks:

1) Don't use N-numbers. They're not needed
2) Don't have space characters in your program
3) Use only a LF (Line Feed) at the end of each block. CR (Carriage Return) isn't needed
4) Take out redundant numbers and G-codes


Now, for the scary part:

5) Use incremental mode (G91). Yes, you heard me ... G91
6) Take all the decimal points out of your numbers

The six suggestions mentioned above will take this program:

N0001 G90 G00 X0.0000 Y0.0000 Z0.0000
N0002 G01 X0.0050 Y0.0050 Z0.0050
N0003 G01 X0.0100 Y0.0100 Z0.0100
(etc.)

into this program:

G90G00X0.0000Y0.0000Z0.0000
G91X50Y50Z50
X50Y50Z50
X50Y50Z50
(etc.)

As you can see, the program has a lot fewer characters, but the moves are the same.

If your point to point distances are small, it may be better to make a series of short G02 or G03 moves instead of even shorter G01 moves. Most CAM systems can produce a series of arcs to make a 3D surface rather than a series of straight G01 moves.

On the 6M, you can also "open up" the parameters for the "in-position" zone. These are set with parameters 70 (X) 71 (Y) and 72 (Z). Normally, they're set to a small value, like "10" or "20". By making this value a bit larger, you open up the tollerance of the in-position zone. Each G01 move must let the servos get into position by less than this tollerance before the next block can be executed. Opening up this tollerance lets the servos begin one block a little before the previous block has finished it's move.

One more hint: If your machine has INCH ballscrews, program in inch. If your machine has METRIC ballscrews, program in metric. If your program is in the same increment system as the ballscrews and servos, the control does not need to perform an inch/metric conversion on each block, saving some processor time.
Reply With Quote

  #4   Ban this user!
Old 03-07-2007, 11:17 PM
Dave1's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 154
Dave1 is on a distinguished road

I checked some programs I posted years ago for a Bridgeport BOSS 9 and it seems that the Accel/deaccel code is G99. Basically your telling the control to turn off the deacceleration between moves, it speeds up the moves quite well although accuracy isn't on the priority list. Your code may be different but if I remember correctly the BP software emulated a Fanuc 6M pretty close (I used to own a BOSS 9)
Sometimes you only need to code it once in a feed move, sometimes it needs to be in every line.
Also, as Dan pointed out, you could start by stripping the (N) numbers and spaces, it's relatively easy to do in an editor as they usually have a utility to do this. Give it a try and see if it helps.

Dave
__________________
Schneider Machine
A force of one
Reply With Quote

  #5   Ban this user!
Old 03-08-2007, 02:53 AM
 
Join Date: Mar 2007
Location: England
Posts: 5
cncjoy is on a distinguished road

Originally Posted by Dan Fritz View Post
Lots of things to think about here. The Fanuc 6M has two "speed limits" for running a 3D surface program.

One speed limit is the control's internal "block processing" speed. The control can only process so many blocks per second, no matter how far each block moves the machine. If your point-to-point distance is very small (say, .005 inches per block), then your feedrate will be very low and there's not much you can do about it.

Another speed limit is the number of characters per second that the control can process, and here is where there are LOTS of ways to speed things up. If you're running through a DNC link of some sort, your character speed is about 300 cps. This is the speed of a Fanuc paper tape reader, and any Fanuc 6M would only be drip-fed through that tape reader port with a BTR (Behind the Tape Reader) link of some sort. At 300 CPS, you can only read so many blocks of data per second, and this is where the number of CHARACTERS per block makes a big difference. Here are some tricks:

1) Don't use N-numbers. They're not needed
2) Don't have space characters in your program
3) Use only a LF (Line Feed) at the end of each block. CR (Carriage Return) isn't needed
4) Take out redundant numbers and G-codes


Now, for the scary part:

5) Use incremental mode (G91). Yes, you heard me ... G91
6) Take all the decimal points out of your numbers

The six suggestions mentioned above will take this program:

N0001 G90 G00 X0.0000 Y0.0000 Z0.0000
N0002 G01 X0.0050 Y0.0050 Z0.0050
N0003 G01 X0.0100 Y0.0100 Z0.0100
(etc.)

into this program:

G90G00X0.0000Y0.0000Z0.0000
G91X50Y50Z50
X50Y50Z50
X50Y50Z50
(etc.)

As you can see, the program has a lot fewer characters, but the moves are the same.

If your point to point distances are small, it may be better to make a series of short G02 or G03 moves instead of even shorter G01 moves. Most CAM systems can produce a series of arcs to make a 3D surface rather than a series of straight G01 moves.

On the 6M, you can also "open up" the parameters for the "in-position" zone. These are set with parameters 70 (X) 71 (Y) and 72 (Z). Normally, they're set to a small value, like "10" or "20". By making this value a bit larger, you open up the tollerance of the in-position zone. Each G01 move must let the servos get into position by less than this tollerance before the next block can be executed. Opening up this tollerance lets the servos begin one block a little before the previous block has finished it's move.

One more hint: If your machine has INCH ballscrews, program in inch. If your machine has METRIC ballscrews, program in metric. If your program is in the same increment system as the ballscrews and servos, the control does not need to perform an inch/metric conversion on each block, saving some processor time.

I was initially interested in the parameter settings, which you have stated so that's something I want to try. I have already crunched the program down using most of your suggestions except for the incremental idea. I can convert the code to incremental using an excel spreadsheet.

I was not aware of the significance of the CPS processing speeds but will be mindful of this in future.

Did try getting the CAM system to fit arcs where possible a few years back but the CNC control didn't interpret the moves as intended causing a poor quality finishes.... I may re-visit this option now I try out on a test piece.

You've been very helpful...I've printed your response off for future reference

Thank you.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-08-2007, 03:01 AM
 
Join Date: Mar 2007
Location: England
Posts: 5
cncjoy is on a distinguished road

Originally Posted by Dave1 View Post
I checked some programs I posted years ago for a Bridgeport BOSS 9 and it seems that the Accel/deaccel code is G99. Basically your telling the control to turn off the deacceleration between moves, it speeds up the moves quite well although accuracy isn't on the priority list. Your code may be different but if I remember correctly the BP software emulated a Fanuc 6M pretty close (I used to own a BOSS 9)
Sometimes you only need to code it once in a feed move, sometimes it needs to be in every line.
Also, as Dan pointed out, you could start by stripping the (N) numbers and spaces, it's relatively easy to do in an editor as they usually have a utility to do this. Give it a try and see if it helps.

Dave

Thanks for your help Dave, I will cautiously try your suggestion as you're indicating that it may not work. If it does...it will be an easy fix.

G99 is usually stated after a drilling canned cycle as opposed to a G98.

G99 = return to R value
G98 = return to previous Z value

I'm assuming G99 has another function by what you're saying.

Thanks for your suggestion

Reply With Quote

  #7   Ban this user!
Old 03-08-2007, 09:23 AM
Dave1's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 154
Dave1 is on a distinguished road

You know, I believe your correct. Although some G codes are somewhat standard, some are at the digression of the machine tool builder. G99 in your case is already used. That code is also used in the Milltronics for return to reference point. In the BOSS software it was not. Maybe your 6M doesn't allow for turning off the deaccel within the code, check the manual for accel/deaccel or even possible exact stop?

Dave
__________________
Schneider Machine
A force of one
Reply With Quote

  #8   Ban this user!
Old 05-11-2007, 01:50 AM
 
Join Date: Mar 2007
Location: England
Posts: 5
cncjoy is on a distinguished road

Originally Posted by Dan Fritz View Post
Lots of things to think about here. The Fanuc 6M has two "speed limits" for running a 3D surface program.

One speed limit is the control's internal "block processing" speed. The control can only process so many blocks per second, no matter how far each block moves the machine. If your point-to-point distance is very small (say, .005 inches per block), then your feedrate will be very low and there's not much you can do about it.

Another speed limit is the number of characters per second that the control can process, and here is where there are LOTS of ways to speed things up. If you're running through a DNC link of some sort, your character speed is about 300 cps. This is the speed of a Fanuc paper tape reader, and any Fanuc 6M would only be drip-fed through that tape reader port with a BTR (Behind the Tape Reader) link of some sort. At 300 CPS, you can only read so many blocks of data per second, and this is where the number of CHARACTERS per block makes a big difference. Here are some tricks:

1) Don't use N-numbers. They're not needed
2) Don't have space characters in your program
3) Use only a LF (Line Feed) at the end of each block. CR (Carriage Return) isn't needed
4) Take out redundant numbers and G-codes


Now, for the scary part:

5) Use incremental mode (G91). Yes, you heard me ... G91
6) Take all the decimal points out of your numbers

The six suggestions mentioned above will take this program:

N0001 G90 G00 X0.0000 Y0.0000 Z0.0000
N0002 G01 X0.0050 Y0.0050 Z0.0050
N0003 G01 X0.0100 Y0.0100 Z0.0100
(etc.)

into this program:

G90G00X0.0000Y0.0000Z0.0000
G91X50Y50Z50
X50Y50Z50
X50Y50Z50
(etc.)

As you can see, the program has a lot fewer characters, but the moves are the same.

If your point to point distances are small, it may be better to make a series of short G02 or G03 moves instead of even shorter G01 moves. Most CAM systems can produce a series of arcs to make a 3D surface rather than a series of straight G01 moves.

On the 6M, you can also "open up" the parameters for the "in-position" zone. These are set with parameters 70 (X) 71 (Y) and 72 (Z). Normally, they're set to a small value, like "10" or "20". By making this value a bit larger, you open up the tollerance of the in-position zone. Each G01 move must let the servos get into position by less than this tollerance before the next block can be executed. Opening up this tollerance lets the servos begin one block a little before the previous block has finished it's move.

One more hint: If your machine has INCH ballscrews, program in inch. If your machine has METRIC ballscrews, program in metric. If your program is in the same increment system as the ballscrews and servos, the control does not need to perform an inch/metric conversion on each block, saving some processor time.
I've now put into practice all your suggestions, including incremental programming. This has led to a significant timesaving. It turned out that the CPS was the main reason our programs were not efficient. To keep the number of characters per line down, I programmed out all 3 axis simultaneous moves to 2 axis only. I went through the whole program making savings wherever possible; changing feed rates, tooling and process. A program that once took 8.2 hours now takes 4.6. Thanks for your help!
Reply With Quote

  #9   Ban this user!
Old 05-11-2007, 04:21 AM
 
Join Date: Dec 2006
Location: usa
Posts: 247
joecnc1234 is on a distinguished road

What software are you using to program with? I know mastercam has a filter in the operations to limit small moves on 3d programs. and the code I remember was G68 exact stop mode I think you call up g67 or g69 and it cancels exact stop mode. Sometimes I've found slowing the feedrate will help in the jerkiness to achieve a better finish without sacrificing cycle time, your not getting to 2000mm/min anyway so look at the highest feed you achieve and program a little less. Good luck
Joe
Reply With Quote

  #10   Ban this user!
Old 07-06-2007, 09:26 AM
 
Join Date: Mar 2003
Location: Phoenix, AZ
Posts: 10
imtdick is on a distinguished road

Originally Posted by cncjoy View Post
Is there a simple fix to this problem?

We're using a Fanuc 6M control to run a 3 axis simultaneous (X,Y & Z) surface milling program at a 2000mm/min feedrate.

The program is made up of thousands of small (1mm) X,Y,Z movements.

In practice, the machine never reaches the programmed feed because it is always accelerating and decelerating between each co-ordinate.

We are not working to tight tolerances (+/-0.2)

Is there some way of either configuring the control or modifying the CNC program so that the moves are "smoothed" out in order to achieve a higher feed rate?

I'd be very interested to read any suggestions you have.

Thanks
If high accuracy is not required you can set the axis parameters on the machine to allow a greater imposition value. I assume you since you must have large programs you have also changed the parameters on the RS-232 port to read through the tape channel. If so you need to make sure you have a high-speed serial chip set in your pc. You also need to set a large buffer for the pc i/o. I have successfully achieved over 2540 mm/min (100ipm) with everything set correctly. I assume you are not programming 3-D surfaces by hand so another tip is to program the moves that are closer to tangent with larger increments and decrease the increments as you approach a more radical direction change. Any good CAM system should do this for you.
__________________
imtdick
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-28-2007, 10:09 PM
 
Join Date: Sep 2007
Location: canada
Posts: 1
cncwaldo is on a distinguished road

on one mill i was running a found parameter to change how many lines the controller would read ahead. i changed it from reading 3 lines to 10 lines and it was much smoother
Reply With Quote

  #12   Ban this user!
Old 10-13-2007, 01:03 AM
 
Join Date: Aug 2007
Location: VIETNAM
Posts: 6
TONY252 is on a distinguished road

test run with G64 , some Fanuc 6M use this G code run more faster , and the transmision way ( DNC) must good .I think Fanuc 6M can not use look ahead running ( feed forward process ) , some software can do filter a long lines program become arc move , it easy to run faster .
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
2-axis cut control - Speed/feed calculator RPM too high Neil_J Surfcam 10 09-07-2007 11:40 PM
smooth motion... howling60 CamSoft Products 11 06-08-2006 06:08 AM
High Speed CMS FOAM 5-axis milling machine fairlane77089 Hard and High Speed Machining 4 06-05-2006 10:09 AM
Axis movement is not smooth bgolash Stepper Motors and Drives 6 12-19-2005 03:36 AM
Milling Smooth Bottomed Hole? Otokoyama Benchtop Machines 3 09-12-2005 12:26 AM




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