Multi Axis Slow Feedrate

  • Paul01
  • Paul01's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
30 Aug 2025 01:22 #334142 by Paul01
Multi Axis Slow Feedrate was created by Paul01
Hi everyone. I know this topic has been covered before, but I would like a bit of advice specific to my machine as I'm not that well versed in LinuxCNC.

I've built a 5 axis rotating nutating (head-head) type CNC and it's been running well for the past 1.5-2 years. However, I'm getting quite slow feedrates on certain multi axis operations and it's becoming increasingly frustrating.

As an example, this image shows a test file where the X and Y axes barely move, the Z and A axes don't move, and it basically just rotates the C axis. At a specified feedrate of 4000mm/min, it's only cutting at about 600mm/min. My max velocity for linear axes is 25,000mm/min, and angular is 4500deg/min. Acceleration is relatively high, and 4000mm/min should be achievable.

 

I'm using Fusion for the CAM, and the above test file is using swarf machining. This can only be output as a bunch of small lines, so I've gone as coarse as possible with the tolerance and that's set at 0.1mm, and I'm using P0.1 Q0.1 for smoothing. And I'm using TCP.

Correct me if I'm wrong, but is the slowdown in the feedrate due to the 1 line lookahead in multi axis?

I have a separate LinuxCNC config setup to run my machine as a simulation, and it uses a different ini file to my machines so I can test files prior to running them. With this ini file I've bumped up the max velocity a bit, and really bumped up the acceleration, and I've been able to get the required 4000mm/min. However, these velocity and acceleration speeds are very unrealistic for my physical machine.

So my question is, is this just how LinuxCNC is? Or am I doing something wrong? Or is there a workaround for this issue? I've also tried using inverse time, but it gives me the same outcome as programmed feedrate. Let me know if there are any files I should post (ini, etc). Thanks.

Here's a couple of photos of my machine.

 

 
Attachments:
The following user(s) said Thank You: besriworld

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
30 Aug 2025 23:32 #334163 by tommylight
Replied by tommylight on topic Multi Axis Slow Feedrate
See if this helps, although pretty old.

Please Log in or Create an account to join the conversation.

  • Paul01
  • Paul01's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
31 Aug 2025 01:19 - 31 Aug 2025 01:23 #334166 by Paul01
Replied by Paul01 on topic Multi Axis Slow Feedrate
Thanks Tommy. I had tried G93 Inverse Time, but didn't see any difference to G94 Programmed Feed.

I went back and did a bit more testing (with G93 and G94). The only thing I've found to work (for both G93 and G94) is to up the velocity and acceleration speeds to unachievable levels, or lengthen the small line segments that make up the toolpath. However, this will result in a more inaccurate part. And I still can't get close to the required feedrate while keeping the short lines to a decent length.
Last edit: 31 Aug 2025 01:23 by Paul01.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
31 Aug 2025 15:19 - 31 Aug 2025 15:43 #334184 by dbtayl
Replied by dbtayl on topic Multi Axis Slow Feedrate
Might be a limitation in advanced planning of non-XYZ moves? My understanding is that for non-XYZ coordinated moves, there's no lookahead, so presumably it has to come to a complete stop after each segment.

forum.linuxcnc.org/32-documents/53351-pl...nding-vectors#306151

I'm sure I saw this in the official docs somewhere, but I can't find it at the moment.

ETA: Missed that you already saw that... Assuming it works as expected with single-axis moves, it sure seems like the above is what you're running into.
Last edit: 31 Aug 2025 15:43 by dbtayl.

Please Log in or Create an account to join the conversation.

More
31 Aug 2025 17:20 #334196 by andypugh
Replied by andypugh on topic Multi Axis Slow Feedrate
Yes, i think you are running into the single-line lookahead problem with rotary axes,

Tormach has 9-axis blending, but might not handle advanced kinematics as well (no joint/axis concept separation).

It would be nice to merge the Tormach 9-axis blend TP into Linuxcnc, but it doesn't look to be a trival task.

Please Log in or Create an account to join the conversation.

  • Paul01
  • Paul01's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
31 Aug 2025 23:31 - 31 Aug 2025 23:32 #334206 by Paul01
Replied by Paul01 on topic Multi Axis Slow Feedrate
Thanks Andy. The single-line lookahead is the conclusion I've come to also.

Any advice on where to go from here?

Is there an alternative trajectory planner that could be better suited for multi axis? Is PathPilot an option, and can it be modified for more that 4 axes? What would it take to merge the Tormach TP into LinuxCNC? Or is there something other than LinuxCNC that would be better for simultaneous multi axis machining?
Last edit: 31 Aug 2025 23:32 by Paul01.

Please Log in or Create an account to join the conversation.

More
02 Sep 2025 12:24 #334263 by andypugh
Replied by andypugh on topic Multi Axis Slow Feedrate

What would it take to merge the Tormach TP into LinuxCNC? 

That's a good question, and it's something I want to look at. 

I did get as far as making a hack-job combination of LinuxCNC and Pathpilot:

github.com/LinuxCNC/linuxcnc/compare/master...Tormach_9_axis

If you are an experienced C-coder with time on your hands.....
 

Please Log in or Create an account to join the conversation.

  • Paul01
  • Paul01's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
02 Sep 2025 19:45 #334296 by Paul01
Replied by Paul01 on topic Multi Axis Slow Feedrate
I did have a look through this a couple of days ago.

To me it seems like a very worthwhile use of time to get this up and running. I think it would be very valuable to anyone wanting to do multi axis work.

I'm unfortunately not that experienced with coding. However, this would be a huge benefit for me to get working, so I'm going to spend some more time going through it.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
03 Sep 2025 12:20 #334340 by andypugh
Replied by andypugh on topic Multi Axis Slow Feedrate
The point of the branch is to have an easy(?) way to look at all the changes.
(As shown in the view linked above)

In some ways it doesn't look too bad, a lot of the change is contained in new files, which should make the merge easier.

On the plus side, it merges without conflicts.

On the minus side, it doesn't seem to build (but I have not actually tried building it locally, and it is possible that the build failure in the CI on Github is caused by something unrelated)

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds
Powered by Kunena Forum