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 > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-23-2008, 11:52 PM
 
Join Date: May 2007
Location: usa
Posts: 35
sieg01 is on a distinguished road
Chatter from switching between g1 and g3

If I cut out a big rounded rectangle... I am getting some sharp stopping and starting with no apparent deceleration) when I am getting to the curvey part of the corner. (It is cutting just great elsewhere).

The rapid starting and stopping around the corner leaves some bumps due everything flexing a bit.

It appears to be happening at the same time it gets in to code that is alternating between g1 and g3...

Example code generated from sheetcam:

N34180 G03 X0.1718 Y2.9035 I0.0622 J0.0057
N34190 G01 X0.1866 Y2.7524
N34200 G03 X0.1867 Y2.7520 I0.0622 J0.0061
N34210 G01 X0.2019 Y2.6068
N34220 G03 X0.2020 Y2.6064 I0.0622 J0.0065
N34230 G01 X0.2177 Y2.4674
N34240 G03 X0.2177 Y2.4669 I0.0621 J0.0070
N34250 G01 X0.2339 Y2.3343
N34260 G03 X0.2340 Y2.3337 I0.0620 J0.0076
N34270 G01 X0.2506 Y2.2077
N34280 G03 X0.2506 Y2.2070 I0.0620 J0.0082

It is doing a bunch of little curves.

Is there any additional processing demand or time delay when it is generating the curves? I am on the edge of specs of EMC (700mhz 128ram).

Thanks!
Attached Thumbnails
Click image for larger version

Name:	kiteboard1.png‎
Views:	67
Size:	7.8 KB
ID:	66947  

Last edited by sieg01; 09-24-2008 at 09:46 AM. Reason: bad title
Reply With Quote

  #2   Ban this user!
Old 09-24-2008, 07:32 AM
 
Join Date: Aug 2007
Location: USA
Posts: 339
Boots is on a distinguished road

My question to you is who is doing your drawings and creating all those short segmented lines? this will destroy your machine if you continue this way. These lines are so short that your machine ignors the ramping because it cannot do it. I have the same problems getting some drawings from customes doing work in Rhino and they use Splines. (short segmented lines). I can see by your line numbers (34,280) that is almost laffable. You will have to redraw the part and keep radii full and long so your machine can get up to speed and stop the jerking. (A rounded rectangle? ? ) do you mean an Oval? or are you talkin just radius corners? Just radius corners is very easy to draw and the line count should only be 8 lines to cut the shape. Wow what a difference huh?
Reply With Quote

  #3   Ban this user!
Old 09-24-2008, 08:27 AM
 
Join Date: May 2007
Location: usa
Posts: 35
sieg01 is on a distinguished road

I have been building my machine for the last few months and I just had my first cuts on friday. I have no experience with any kind of cam software. I am trying to learn this on my own... so I don't know what is laffable and what is not. It didn't seem like it was damaging the machine. The only problem is that the finish on side of the board has little bumps from the flex and that it drastically slows down the cutting.

I am doing all the drawing. I am drawing it out in inkscape with just a few points (using some Bezier curves). I import it into sheetcam and that is where I get all the points. It looks like it changes the sharper curves in a a repeating short line and and short curve. It seems to handle it fine everywhere else.


So your saying that between each g0 it should ramp up and then ramp down between each point?? That doesn't make any sense to me... and that is not what I'm seeing even for the points that are far apart where it would have time to ramp up and down.

It isn't just a rounded rectangle or an oval. I am trying to do more complex curves.

Two examples:





Thanks
Reply With Quote

  #4   Ban this user!
Old 09-24-2008, 09:08 AM
 
Join Date: Aug 2007
Location: USA
Posts: 339
Boots is on a distinguished road

In CNC Machining every line has a beginning and an end. If you put these ends too close together your machine will suffer greatly. I can see by your code that these lines are way too short. Because CNC machines move large amounts of weight (Head, Gantry, Tooling etc.) they can not start at 300 IPM feed. They have a ramp-up to speed and a ramp-down so they don't go BANG when they get to the end of a line. They all do this. So if your lines are too short for this to happen you get jerky moves and banging and a very rough surface like you say you are getting. Sorry to say your programming is laffable but it is and I wouldn't run my machine in such a manner. Not only is it damaging to your new machine but you'll get poor quality parts and at a Turttle pace compared to what you could be doing it. Also did I mention that this condition is very bad for your tooling too. It will cause it to over heat and dull quickly.
I didn't know this was a home made machine. I gotta give you guys credit though for trying to do this on your own but it's like performing Brain Surgery on yourself after reading a report on how easy it is. You need some help in getting your programs shortened up so they run faster with fewer and longer lines and arcs.
By the way G0 is rapid, G1 is straight line feed, G03 is feed in counter clockwise direction G02 is feed in clockwise direction. I see no rapid moves (G0) in the code you have here. You will also need more Ram if you are going to run programs with thousands of lines.
Those parts look like surf boards or wake boards. How long is your cycle time?
Reply With Quote

  #5   Ban this user!
Old 09-24-2008, 09:23 AM
 
Join Date: Aug 2007
Location: USA
Posts: 339
Boots is on a distinguished road

Another thing is that you won't see your machine Ramp up to speed because it's too suttle and fast to see. When your machine receives a command in the line of a G1,G02,G03 (there are others too) it will ramp up to the speed you have programmed until just before the end of the line at which time it will ramp down in feed to make a turn. Your problem is that it runs out of line before it gets up to speed and has to stop and change direction then start the ramping again only to run out of line and change direction again. Does this not make any sence to you? Just asking. Because you might not know about some of these things being you are just getting into this.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-24-2008, 09:30 AM
 
Join Date: May 2007
Location: usa
Posts: 35
sieg01 is on a distinguished road

Doh! I mistyped I had meant g1 instead of g0.

I understand the need to ramp up and ramp down... An example to understand better...

If I was cutting a straight line at 100 ipm in my X direction. At a certain point I want to move 45 degrees line (So I suppose that would be about 70 ipm in the X and Y to keep it at 100 ipm). When I come up to the point where the angle starts will it:
a) ramp down the x axis to 0 ipm when it hits the point and ramp up the X and Y to 70 ipm
b) ramp down the x axis to 70 ipm by the time it hits the point and then start to ramp up the Y axis to 70 ipm.




Also. I was messing with flattening the curve to produce much less lines that are straight and not curved in inkscape. I am not sure how to produce nice arcs. I thought the cam software would produce better curves (from the bezier curves) using g02 and g03. But it appears to look very similiar with far less points.

Yes I was working out cutting out kiteboards (similar to wakeboards and surfboards). I have cut 2 and they look pretty good... Just might need to sand the edge when I get all done.

Right now they are just in 2d... I'd like to cut them out in 3d but first I need some more experience in 3d cad.
Reply With Quote

  #7   Ban this user!
Old 09-24-2008, 09:34 AM
 
Join Date: May 2007
Location: usa
Posts: 35
sieg01 is on a distinguished road

I have the acceleration set pretty low so that I can hear the speed coming up. Which, I suppose, would make the problem worse on the small lines.
Reply With Quote

  #8   Ban this user!
Old 09-24-2008, 09:51 AM
 
Join Date: May 2007
Location: usa
Posts: 35
sieg01 is on a distinguished road

It is taking 5-10 minutes to cut a board. I was also doing some pocketing where the foot strap is and that was taking a bit of time.
Reply With Quote

  #9   Ban this user!
Old 09-24-2008, 10:00 AM
 
Join Date: Aug 2007
Location: USA
Posts: 339
Boots is on a distinguished road

If you can adjust your acceleration and decelleration then perhaps this is all you need do and just live with the short lines. But if it were me I'd fined a better programming tool. When I draw a curve I tell it where the start point is, the end point is, and the radius I want it to do between the points and the software just does it. I use AlphaCam by Planit it's very nice but $$$$$ I think it's $5,000.00 for level 1 milling. (2D only) You would have to spend about $15,000.00 to get the full 3D for a 3 Axis Mill. It would solve your programming issues but there is a learning curve and it's a lot of money. Here is a free simulator to check your NC code to see if it's correct.
www.cncsimulator.com
Reply With Quote

  #10   Ban this user!
Old 09-24-2008, 10:01 AM
 
Join Date: Aug 2007
Location: USA
Posts: 339
Boots is on a distinguished road

On my machine that looks like about a 2-3 min. part.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-24-2008, 10:15 AM
Seb Seb is offline
 
Join Date: Jan 2006
Location: USA
Posts: 58
Seb is on a distinguished road

I think EMC2 should be able to handle lots of little moves fine with the new blending code Chris put in (fewer longer moves is still preferable, but lots of short moves should be doable).

Do you know what path control mode you're using? You may be in exact stop mode or exact path mode, which will slow things down a lot. Continuous mode with an appropriate tolerance setting may be better for you. See the EMC2 User Manual for details.

You might try the emc-users mailing list and #emc on freenode, there's lots of very knowledgable people there who are willing to help.
Reply With Quote

  #12   Ban this user!
Old 09-25-2008, 07:59 AM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

try g64px.xxx where x.xxx is how close you want emc to follow your path.

http://wiki.linuxcnc.org/cgi-bin/emc...jectoryControl

sam
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from one computer to another. Wahoo4 BobCad-Cam 3 12-26-2007 08:32 PM
Need a little help switching from a Fanuc 6t to a 18t dmcool G-Code Programing 5 06-08-2007 12:32 PM
Pwm switching miro Gecko Drives 0 01-23-2007 03:22 PM
Switching to Brass SwampRat Composites, Exotic Metals etc 2 06-20-2006 09:25 AM
switching amplifier teilhardo General Electronics Discussion 1 04-21-2004 08:10 PM




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