Weird rotary axis movement
- Methier
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
03 Jul 2025 22:46 #331204
by Methier
Weird rotary axis movement was created by Methier
Hello, we have a machine with a rotary axis, in some corners the cutter does not reach the corner completely and makes a rapid movement on the rotary axis. I tried to reduce the error with G64 but lowering the P value makes it worse.
Machine is running analog servos, old yellow cap fanuc.
The error is consistent int the same place.
Attached a pic.
Thanks
Machine is running analog servos, old yellow cap fanuc.
The error is consistent int the same place.
Attached a pic.
Thanks
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 5020
- Thank you received: 1464
08 Jul 2025 11:44 #331512
by Todd Zuercher
Replied by Todd Zuercher on topic Weird rotary axis movement
Could you post the G-code that is giving the error? Not necessarily the the entire G-code program. Especially if the program is large. Just a snippet that includes at least a few lines before the error, and a few lines after, so we might be able to test and reproduce the error. It's a little hard to see and understand what is going on just from your image.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 776
- Thank you received: 261
10 Jul 2025 08:14 #331612
by Hakan
Replied by Hakan on topic Weird rotary axis movement
If I remember right, linuxcnc doesn't do synchronized motion on rotary axis.
Maybe wrong term but feeds,speeds and acceleration is determined by x,y,z only and the rotary axis will do the best it can. When it can't keep up this in the figure happens.
One usually uses the inverse time feed specification G93, and calculate the time needed for the movement in the CAM post-processor.
There are converters on "the web" that can translate G code to G93.
Maybe wrong term but feeds,speeds and acceleration is determined by x,y,z only and the rotary axis will do the best it can. When it can't keep up this in the figure happens.
One usually uses the inverse time feed specification G93, and calculate the time needed for the movement in the CAM post-processor.
There are converters on "the web" that can translate G code to G93.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 5020
- Thank you received: 1464
11 Jul 2025 13:30 #331702
by Todd Zuercher
Replied by Todd Zuercher on topic Weird rotary axis movement
It isn't that Linuxcnc doesn't do sychronized motion with rotoary axis. Rotary axis are sychronized just fine with linear. The problem is the incompatability of linear feed rate units with rotary feed rate units. The result is often (especially with inches) unexpectedly slow movements when a rotary move is mixed with a linear one. The problem is actually a G-code limitation, rather than a Linuxcnc one. For example you are milling along at F20 inches/min then you throw in a 40 degree move with the rotary. The rotary move is going to take 2 minutes to comple because of the F20, if the same line also includes a 1 inch move, the linear move will be limited to 0.5ipm so that it takes the same 2 minutes to complete. This is where the invers time mode comes to the rescue. it has no unit of measure involved just time. So if you want your 40deg 1inch combined move to move so that the linear component still moves at 20ipm you would specify F code on the line as 1/t or in this case 1/0.05min. or F20.0
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 776
- Thank you received: 261
11 Jul 2025 16:53 #331705
by Hakan
Replied by Hakan on topic Weird rotary axis movement
Yeah I didn't remember that right. Then I wonder if that's the problem here.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23395
- Thank you received: 4971
11 Jul 2025 22:54 #331713
by andypugh
Replied by andypugh on topic Weird rotary axis movement
Is there any possibility that this is configured as a WRAPPED_ROTARY?
linuxcnc.org/docs/html/config/ini-config...:ini:sec:axis-letter
wiki.linuxcnc.org/cgi-bin/wiki.pl?WrappedRotaryAxes
linuxcnc.org/docs/html/config/ini-config...:ini:sec:axis-letter
wiki.linuxcnc.org/cgi-bin/wiki.pl?WrappedRotaryAxes
Please Log in or Create an account to join the conversation.
- scotth
- Away
- Elite Member
-
Less
More
- Posts: 237
- Thank you received: 59
12 Jul 2025 04:33 #331719
by scotth
Replied by scotth on topic Weird rotary axis movement
Look at this, it might help.
The following user(s) said Thank You: Clive S, COFHAL
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds