Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Reducing amount of NC code with adaptive technology?

LibertyMachine
Mentor

Reducing amount of NC code with adaptive technology?

LibertyMachine
Mentor
Mentor

So I'm working through one of the sample parts provided with Fusion. I'm please with how things are going, for the most part. The concern I have is when I post out my code. There is no way this is going to fit in machine. I've tried a few different settings in the adaptive dialog, but it's not made a HUGE difference. I'm open to suggestions....2300 lines is a rather large program for what is being done. Granted, with new controls, size isn't so much of an issue, but even then...Looking at the code and the amount of very small feed movements being done, I'm concerned even some of our slightly old machines would have an issue with the look-ahead. I've tried smoothing options and smallest radius permitted, and it's made a difference, but not enough.


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes
Reply
Accepted solutions (1)
1,386 Views
12 Replies
Replies (12)

HughesTooling
Consultant
Consultant

Tried to reply to this a couple of times and the reply is just disappearing! so testing with something simple

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

HughesTooling
Consultant
Consultant

When I post your file I get 1650 lines. I've made a change to my post so it uses a different tolerance for out of plane lead in arcs you can download a HAAS post I've modified here.

 

Sorry can't add a link to the Autodesk cam forum or the reply dissapears.

 http://

camforum.

autodesk.

com/

index.php

?topic

=6224.15

 

Another thing I noticed is you get a lot more helical moves than I get with my Heidenhain post. It looks like your post is breaking helical move into 180 degrees arcs, can your control do helical moves of more than 180 degrees?

 

Also noticed you're getting some sharp corners with smoothing set to .01, is that going to be a problem.

 

Clipboard01.png

With smoothing set to 0.001

Clipboard02.png

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

LibertyMachine
Mentor
Mentor

I'm using a relatively stock Fanuc post. The several things that I have modified are mostly the beginning and ending of tool cycles (not movement cycles, only order of M and G words) I've attached the post so you can look if curious.

If I set smoothing to .001 in all adaptive operations, my code size jumps to 2609 lines. This simply won't work. As I read in your other forum post, the issue I think is in the lead in/lead out. The older equipment simply won't handle the hammering. I've also got a suspicion that a couple "seasoned" forum members have never actually run a machine, based on the responses that they often offer up....

I'm curious if the changes that were made to the Haas post will carry over to a Fanuc post. Now, this post has been modified for my 1982 Matsuura MC-500 with a Yasnac MX-1 control. It takes standard G-code, really. Yes, it is capable of a 360 degree arc using a simple I,J,K callout. I've tried going back to a R call, simply to make things easier on the control. It has a very short look-ahead and often comes to a stop on a few lines before progressing

 

 

edit: for some reason, I can't attach .cps files. I changed the post to a .txt file


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes

HughesTooling
Consultant
Consultant
Accepted solution

Here's a modified post. I've added in a mod for spiral move and out of plane lead in arcs. There are 2 setting you can change in the post for these.

Clipboard01.png

 

Mark.

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

LibertyMachine
Mentor
Mentor

Well, that is much better. I went from 2609 lines to 1885 lines. It still appears to be breaking my ramp helical moves into 180 deg increments. Going to poke around a bit and see what controls that


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes

HughesTooling
Consultant
Consultant

Does your control have an angular input for arc moves, the heidenhain has G12\G13 that allows input of an angle upto 1000°.

 

Mark.

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

LibertyMachine
Mentor
Mentor

The control does utilize G12/13, but for a canned circle milling program (G13 I.50 D51 L2 F10. will cut a .500 radius circle using cutter comp 51, take 2 finish cuts at a feed of 10 ipm) However, the control does support a full 360 degree circle as evidenced by the following code, unless I am misunderstanding what you are asking......:

G0 X0 Y0

G1 Z-.500 F100.

G1 G41 D51 X.500 F10.

G3 I-.500

I-.500

G1 G40 X0. Y0.

G0 Z.25

 

The above code will rapid to center of circle, feed down, move  out a half inch picking up comp. Then it will mill a full circle in a CCW fashion, twice. Then it moves back to zero canceling comp


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes

HughesTooling
Consultant
Consultant

If you look at the begining of the post there's a line 

maximumCircularSweep = toRad(180);

 try changing it to 360. If the code doesn't work then it might need some more changes in the function onCircular.

 

Mark.

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

LibertyMachine
Mentor
Mentor

Well, that worked. Reduced my code down to 1860, so that is good.


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes

kb9ydn
Advisor
Advisor

@Anonymous wrote:

If I set smoothing to .001 in all adaptive operations, my code size jumps to 2609 lines. This simply won't work. As I read in your other forum post, the issue I think is in the lead in/lead out. The older equipment simply won't handle the hammering.

 

 

 

 

Not sure if you know this already, but the smoothing command works in tandem with the tolerance value.  Generally it works best when the smoothing value is 2x-5x the tolerance value.  With greater than 5X you may get smaller code but the tool path starts to suffer.  It will take some experimenting to see what works the best in your situation.

 

One thing that also helps with code size is to try and use the largest stepover possible.  This comes at the expense of slowing the feed rate, but that may be better than splitting the program into parts or letting it data starve and hammer itself to death.

 

 

C|

0 Likes

jeff.walters
Advisor
Advisor

Keep in mind that while 2D Adaptive IS a great way to rough your part quickly, it’s also understood that it just will not work for all machines. That’s why we still have the traditional 2D pocket operation as well. I’m intrigued by all the things you’re doing to bed the rules to get it to run on your machine, just wanted to bring up that you can be tweaking things to the point that a traditional 2D pocket would not only fit but be faster as well.

Jeff Walters
Senior Support Engineer, CAM
0 Likes

LibertyMachine
Mentor
Mentor

Jeff,

 

Thanks for chiming in. I fully understand that there are other options available to me that will produce the same end result; that of the part being produced. I'm just going through each machining operation and putting it through it's paces. I want to learn whatever I can get my hands on and obtain an overall knowledge of the software. I really don't think I can contribute a lot to the CAM community without knowing more about the flow. I've got several years experience with other CAM packages, so I tend to be of the opinion "Well, this is how such and such sotware did it and this is what the code looked like, how can I get something similar". Not simply for the sake of comfort and satisfying the resistance to change, but from a point of: "That worked and was much cleaner, how can I get F360 to move in that direction"


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes