Aaron Eberhard - CNC Software

Multaixis Comp discussion

Recommended Posts

This is an awesome discussion, thanks to everyone for contributing, especially the code samples of what you're getting.


My notes as of now are, please dissect them:

Interface:

Curve 5x/CNC Swarf = Everything is fine, don't touch it.  Well, it may not be mostly applicable in Swarf depending on your input, but, whatever. Don't touch it!

Flow/Morph/et. al = Add a "use Comp" checkbox somewhere (probably Misc. page for MW toolpaths), remove the "Control/Comp/Wear..." Drop downs from CNC toolpaths.

Output Code (NCI) is where I'd like a bit more guidance as we have two options:

  1. Insert it right below the G1002 (tool change) line, so that we enable it before any moves happen at all.  I'm not sure what the code would be, that's up to the Post team to tell me :)
    
    G20016    ALUMINUM inch - 2024
    G20017    
    G20018    Toolpath Group-1
    G20019    
    G20800    0.
    G1002     0 100 2 7 7 7 0 6800 100. 0 -5.01556361 0.2011463 10.9606967 10. 10. 10. 0 0.
    XXXXX		<Multiaxis comp on here>
    G-11      START DISPLAY TYPE - Rapid
    G11       -5.01571148 0.20087843 10.77319695 -5.01556361 0.2011463 10.9606967 -2. 40 0 0. 0. 0. 0. 0. 0.
    G11       -5.01571148 -0.08216697 7.06129472 -5.01556361 -0.0818991 7.24879447 -2. 40 0 0. 0. 0. 0. 0. 0.
    G-12      END DISPLAY TYPE - Rapid
    G-11      START DISPLAY TYPE - Plunge
    G11       -5.01886605 -0.0878815 3.06130005 -5.01871818 -0.08761363 3.2487998 50. 40 0 -0.99999547 0.00290666 -0.00077659 -4.61816706 -0.0887779 3.24911087
    G-12      END DISPLAY TYPE - Plunge
    G-11      START DISPLAY TYPE - Feed
    G11       -5.0404189 -0.11562662 3.06135669 -5.04027103 -0.11535876 3.24885644 100. 10 1000 -0.99999565 0.00288727 -0.00060266 -4.6182474 -0.11657726 3.24911077
    G11       -5.06427254 -0.15203947 3.06142752 -5.06412467 -0.1517716 3.24892727 100. 20 0 -0.99999147 0.00318632 0.00262704 -4.61836225 -0.15319195 3.24775623
  2. Output a Comp on/Comp Off like 2d does for every feed move, turning it off for Rapids (Here's what a 2d contour looks like):
Gcode     NCI    [Contour (2D) - Wear Comp]
G1016     2 10 1 1 0. 0. 0. 41 -1 1 4 0 0. -1 1 1 2 0. 2 1	<--- The "41" means Turn on Left Wear Comp, 42 would be Right>
G-11      START DISPLAY TYPE - Entry
G1        41 -31.65207146 46.3877151 0. 3.58125 2000		<--- The "41" means Turn on Comp>
...
G1        140 -11.65207146 56.3877151 0. 3.58125 200		<--- The "140" means Turn off Comp>
G-12      END DISPLAY TYPE - Exit

 

 

I'm leaning towards Option #1 (a single line before any moves happen), as I haven't seen a spec for a control requiring the on/off behavior of 2d, but again I'm asking you guys what you want to see.


Thanks again!

 

  • Like 1

Share this post


Link to post
Share on other sites

On/Off for 'each pass', would be my vote.

You can't please everyone, since there are so many cut pattern options.

I would imagine the Uses Cases for turning on 5X Compensation, would be limited to the paths where someone is using one-way cutting only, and has enabled Lead In/out Vector output.

I would recommend adding a Comp Warning message, if Comp is enabled, and a Zigzag cut pattern is used/set. Also, another error check if no Comp is enabled. (Of course, it should also include a 'disable this warning for the active session' option.)

Would it make sense to add a "Compensation Output Type" drop-down? (By pass, By Operation), to let the user choose which output method they would get in the NCI?

  • Like 1

Share this post


Link to post
Share on other sites

I said "warning > if no Comp is enabled", but I meant "if comp is on, and no lead in/out is enabled". Lead in/out is still required to enable 5X comp.

  • Like 1

Share this post


Link to post
Share on other sites
4 hours ago, Aaron Eberhard - CNC Software said:

This is an awesome discussion, thanks to everyone for contributing, especially the code samples of what you're getting.


My notes as of now are, please dissect them:

Interface:

Curve 5x/CNC Swarf/CNC Flow= Everything is fine, don't touch it.  Well, it may not be mostly applicable in Swarf depending on your input, but, whatever. Don't remove the "Control/Comp/Wear..." Drop downs from CNC toolpaths. IOW Don't touch it!

Flow/Morph/et. al = Add a "use Comp" checkbox somewhere (probably Misc. page for MW toolpaths)

Free fiss...

:coffee:

 

Share this post


Link to post
Share on other sites

Sorry onsite this week. Give me some time to think, but leaning to option 2.

Share this post


Link to post
Share on other sites
18 hours ago, cncappsjames said:

Free fiss...

:coffee:

 

What does the Left/Right/Control/Wear/etc. flag do for you with a flow right now, James?   That's what I was trying to figure out before..   If those are useful to you in Flow, why shouldn't we add them to Morph et. al? 

Everything that is surface based seems like it really just needs a "use comp" checkbox. 

Share this post


Link to post
Share on other sites
4 hours ago, Aaron Eberhard - CNC Software said:

What does the Left/Right/Control/Wear/etc. flag do for you with a flow right now, James?   That's what I was trying to figure out before..   If those are useful to you in Flow, why shouldn't we add them to Morph et. al? 

Everything that is surface based seems like it really just needs a "use comp" checkbox. 

Sorry, forgot to add the code sample to the previous one; I get G43.8, L2, IJK data. My bad. Need more :coffee:

Swarf_Flow_Curve-03.txt

IMHO, any tool path that puts surface normal data in the NCI should get a comp checkbox. That way if you want it and your machine/post supports it, you have control over it. If it doesn't support it, leave it off.

My core point; if the data is there, give us access to turning it on/off. Let us decide what our equipment/post supports/doesn't support.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us