Official Luthiers Forum!

Owned and operated by Lance Kragenbrink
It is currently Thu Mar 28, 2024 10:13 am


All times are UTC - 5 hours





Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: I,J.K vs. R
PostPosted: Wed Sep 12, 2012 10:47 am 
Offline
Brazilian Rosewood
Brazilian Rosewood
User avatar

Joined: Fri Jan 15, 2010 3:34 pm
Posts: 2047
First name: Stuart
Last Name: Gort
Country: USA
Focus: Build
Status: Semi-pro
I've noticed on my Haas machines I get a segmented curve out at the machine rather than a nice, smooth edge....only on complex curves. This happens regardless of whether I tell MasterCam to generate arcs or line segments on contoured splines. This leaves an unsightly edge on a body which must be hand sanded and and can take a great deal of time to get smooth.

When discussing this with the fellows at Mastercam they said sometimes the controllers of certain machines respond better to I,J,K arcs in the g-code rather than R commands. I edited my post processor to do this but haven't tried it yet. I hope that works but I'm dubious. The machine can't properly process R commands? That hardly seems likely.

I'm curious if anyone else has found their machines prefer I,J,K over R commands. ??

_________________
I read Emerson on the can. A foolish consistency is the hobgoblin of little minds...true...but a consistent reading of Emerson has its uses nevertheless.

StuMusic


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Wed Sep 12, 2012 11:48 am 
Offline
Contributing Member
Contributing Member
User avatar

Joined: Thu Jun 12, 2008 6:59 am
Posts: 1963
Location: Rochester Michigan
I can't answer your question directly as I've never tried R mode but by default, Mach 3 uses I,J,K and my arcs definitely come out nicely.

Sounds like you have this covered already but, VisualMill by default came set to output arcs as line segments - lot's of people using VM had issues with that so I actually fixed that right off the bat.

_________________
http://www.birkonium.com CNC Products for Luthiers
http://banduramaker.blogspot.com


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Wed Sep 12, 2012 1:48 pm 
Offline
Contributing Member
Contributing Member
User avatar

Joined: Thu May 12, 2005 5:46 am
Posts: 2931
Location: United States
I'm not a mastercam user, but it there should be a parameter somewhere in there that's sets the cordal tolerance. Back in my APT days its was "intol/outtol". Maybe that would help.

_________________
Jim Watts
http://jameswattsguitars.com


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Wed Sep 12, 2012 2:41 pm 
Offline
Cocobolo
Cocobolo

Joined: Tue Mar 04, 2008 10:55 pm
Posts: 404
Location: Dallas, Texas
My friends Hurco does not work well in Radius mode but works fine in IJK mode.

MK

_________________
I'm outside looking in, just farther from the window than most.


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Wed Sep 12, 2012 3:17 pm 
Offline
Brazilian Rosewood
Brazilian Rosewood
User avatar

Joined: Fri Jan 15, 2010 3:34 pm
Posts: 2047
First name: Stuart
Last Name: Gort
Country: USA
Focus: Build
Status: Semi-pro
Jim Watts wrote:
I'm not a mastercam user, but it there should be a parameter somewhere in there that's sets the cordal tolerance. Back in my APT days its was "intol/outtol". Maybe that would help.


Mastercam X5 not only has the ability to generate arc segments along a spline but you can also set a chordal tolerance for where they meet. I've set them to the finest possible settings and still get the same result. That's not it. Looking at the graphic display AND looking over the g-code you can see that G02's and G03's ARE being generated along the spline geometry on a contour operation...which indicates that this "segmenting" phenomenon MUST be happening out at the controller. It doesn't make much sense to me that a world class, brand name controller doesn't interpolate arcs smoothly via the R command.

Kinda baffles me really.

_________________
I read Emerson on the can. A foolish consistency is the hobgoblin of little minds...true...but a consistent reading of Emerson has its uses nevertheless.

StuMusic


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Wed Sep 12, 2012 4:31 pm 
Offline
Brazilian Rosewood
Brazilian Rosewood
User avatar

Joined: Tue May 02, 2006 9:02 am
Posts: 2351
Location: Canada
First name: Bob
Last Name: Garrish
City: Toronto
State: Ontario
Country: Canada
Status: Professional
Run a really low feed test to see if it's possibly the control interpolation or mechanical. If they go away then it's the loop.
Run the same test with a rotation on the part of 30-45 degrees and see if the marks line up, if they're the same then it's not mechanical.

If the marks stay consistent on the angle test and at low feed, then it's the interpolation on the control or the CAM output
If the marks go away at lower feeds and stay the same at an angle then it's the loop (low level motor control)
If the marks are different at an angle then it's mechanical

If it's the interpolation then maybe changing arc standards will work, but that sounds dubious to me, too. If you divvy your code into 0.003" line segments then run it at low feed it'd be a good comparison.

_________________
Bob Garrish
Former Canonized Purveyor of Fine CNC Luthier Services


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Fri Sep 14, 2012 9:17 am 
Offline
Koa
Koa
User avatar

Joined: Tue Nov 28, 2006 1:44 pm
Posts: 1105
Location: Crownsville, MD
First name: Trevor
Last Name: Lewis
City: Crownsville
State: MD
Zip/Postal Code: 21032
Country: USA
Focus: Build
Status: Semi-pro
As always, I agree with Bob :)

I've seen this pop up as a control issue. If this is what it is, and you run the program slowly, these artifacts should disappear.

This was one of the reasons why we decided to stay with FADAL's at PRS - the mid priced CNC routers all seemed to do this. The FADAL was the best buy in terms of $/feed rate while maintaining carve accuracy.

Trev

_________________
http://www.PeakeGuitars.com


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Fri Sep 14, 2012 5:19 pm 
Offline
Cocobolo
Cocobolo

Joined: Tue Mar 04, 2008 10:55 pm
Posts: 404
Location: Dallas, Texas
Andy Birko wrote:
Mach 3 uses I,J,K and my arcs definitely come out nicely.

OFF TOPIC SOME: Andy, FYI ,Mach3 also has a plasma setting in the general config. I have used with this function many many times to smooth out the arcs even better than Incremental IJK and or absolute IJK, constant velocity mode . Just for fun sometime try a test in air in cutting arcs with plasma on and with plasma off added to your normal settings. Mach 3 has an algorithm that smooths the interpolated segments further to keep a plasma cutter from stopping and blowing out and causing a jagged cut. It's an interesting test to say the least. I use it on most carves now. :)

MK

_________________
I'm outside looking in, just farther from the window than most.


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Fri Sep 14, 2012 10:34 pm 
Offline
Brazilian Rosewood
Brazilian Rosewood
User avatar

Joined: Tue May 02, 2006 9:02 am
Posts: 2351
Location: Canada
First name: Bob
Last Name: Garrish
City: Toronto
State: Ontario
Country: Canada
Status: Professional
Parser wrote:
As always, I agree with Bob :)

I've seen this pop up as a control issue. If this is what it is, and you run the program slowly, these artifacts should disappear.

This was one of the reasons why we decided to stay with FADAL's at PRS - the mid priced CNC routers all seemed to do this. The FADAL was the best buy in terms of $/feed rate while maintaining carve accuracy.

Trev


Probably even better $ / IPM now...I sold mine for 9K with ten tool holders. You need to have a tech, though, now that the company's gone.

_________________
Bob Garrish
Former Canonized Purveyor of Fine CNC Luthier Services


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Mon Oct 08, 2012 4:44 pm 
Offline
Cocobolo
Cocobolo

Joined: Tue Jun 30, 2009 3:20 pm
Posts: 456
Focus: Build
check setting 85 "contour tolerance" in your control. default is .05 which is too much for those who want good finishes. decrease by half and try again. don't go down to 0 or you will choke the machine servos.

use r values for arc generation. your x5 post should default to 180 degrees and this is fine. i, j, k, are unnecessary in the haas control unless you are doing helical interpolation and are using sub routines which i generally mdi anyway.


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Sat Dec 22, 2012 6:48 pm 
Offline
Contributing Member
Contributing Member
User avatar

Joined: Fri Dec 21, 2012 11:52 am
Posts: 1388
First name: Zeke
Last Name: McKee
City: Goodlettsville
State: TN
Zip/Postal Code: 37070
Country: United States
Focus: Build
Status: Amateur
I find that IJK is usually the best. When Writing G code by hand the R makes the process a little simpler especially when figuring geometry with a calculator.

That said I tend to use IJK when possible. If using software I see absolutely no reason for using an R. You have an expensive computer and program there that is designed for doing this sort of geometry why would you let it "cut corners"?

Also like mentioned above if it's a control issue slowing it down will help it move more fluently in and out of the arcs preventing the machine from having to slow to figure its next move.

Hope that is helpful.

By the way is it an old haas? I know on my '95 and '97 model vf0 machines they can have some issues with that running through a lot of code really fast. The control gets overworked. Though on my '04 '07 '10 '12 models I have no issues with control lag at all. So if it's an old machine you may want to use IJK and simplify the code as much as possible. Go in and take out any repetitive codes that are uneccesary. CAM programs have a tendency to be quite redundant and activate codes that are already active and not needed which can bog down controls on old machines.


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Sun Dec 23, 2012 10:37 pm 
Offline
Koa
Koa
User avatar

Joined: Sat Jan 08, 2005 4:19 am
Posts: 1534
Location: United States
First name: Nelson
Last Name: Palen
I've had some issues with Mach3 getting lost when running I, J K code.


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Mon Dec 24, 2012 9:40 am 
Offline
Cocobolo
Cocobolo

Joined: Mon Mar 03, 2008 6:51 pm
Posts: 488
My 95 Fadal wont work with any form of arc. Everything has to be line segments. I e gone through all of the machine settings and they are correct so I'm thinking it could be a setting in the DNC software but haven't had time to chase it down. Thanks for sharing the information. Sorry to derail.


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Thu Dec 27, 2012 2:37 am 
Offline
Brazilian Rosewood
Brazilian Rosewood
User avatar

Joined: Tue May 02, 2006 9:02 am
Posts: 2351
Location: Canada
First name: Bob
Last Name: Garrish
City: Toronto
State: Ontario
Country: Canada
Status: Professional
Sheldon Dingwall wrote:
My 95 Fadal wont work with any form of arc. Everything has to be line segments. I e gone through all of the machine settings and they are correct so I'm thinking it could be a setting in the DNC software but haven't had time to chase it down. Thanks for sharing the information. Sorry to derail.


Which control is on it? It could be your post if it's newer than an 88HS -4, that's what was in my '94 and it handled arcs fine.

_________________
Bob Garrish
Former Canonized Purveyor of Fine CNC Luthier Services


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Thu Dec 27, 2012 7:10 pm 
Offline
Brazilian Rosewood
Brazilian Rosewood
User avatar

Joined: Fri Jan 15, 2010 3:34 pm
Posts: 2047
First name: Stuart
Last Name: Gort
Country: USA
Focus: Build
Status: Semi-pro
Anyway...it hasn't been until today that I actually got a chance to revisit this issue.

I first checked out parameter 85 and found that the default was .025" so I left that alone. The machine is a 2008 Haas TM-3.

Running with I.J.K code completely resolved the issue. Nice, smooth arcs now.

I'll just run around the edge and finish with a 3/4" four flute emdmill and I think I'll be able to start finish sanding at 400.

Thanks for your help guys!!

_________________
I read Emerson on the can. A foolish consistency is the hobgoblin of little minds...true...but a consistent reading of Emerson has its uses nevertheless.

StuMusic


Top
 Profile  
 
 Post subject: Re: I,J.K vs. R
PostPosted: Thu Dec 27, 2012 8:18 pm 
Offline
Contributing Member
Contributing Member
User avatar

Joined: Fri Dec 21, 2012 11:52 am
Posts: 1388
First name: Zeke
Last Name: McKee
City: Goodlettsville
State: TN
Zip/Postal Code: 37070
Country: United States
Focus: Build
Status: Amateur
Hmmmmmmmmm Ive never seen an issue like that on a model that new! Kinda makes me worry. You may want to contact your local HFO and see if they have any ideas about it. But then again if IJK work you may just want to not worry about it. Glad you got her figured out. Make some chips!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
phpBB customization services by 2by2host.com