Following error - Rotary Axis
10 May 2022 11:42 #242480
by Slaybaw
Replied by Slaybaw on topic Following error - Rotary Axis
Ah I see, thanks.
Does this warrant any further investigation? Or should I just leave it with the higher STEPGEN_MAXACCEL value of 1500 and move on with life?
Does this warrant any further investigation? Or should I just leave it with the higher STEPGEN_MAXACCEL value of 1500 and move on with life?
Please Log in or Create an account to join the conversation.
10 May 2022 13:49 - 10 May 2022 13:53 #242490
by PCW
Replied by PCW on topic Following error - Rotary Axis
If the joint and axis MAX_ACCELERATION in the ini file are still 1000
it seem like a trajectory planner bug unless there's something funny about
angular axis I don't understand.
What version of LinuxCNC is this?
If your motors don't stall, you can just increase the stepgen maxaccel value
and move on, but what the actual acceleration bound is remains a mystery...
it seem like a trajectory planner bug unless there's something funny about
angular axis I don't understand.
What version of LinuxCNC is this?
If your motors don't stall, you can just increase the stepgen maxaccel value
and move on, but what the actual acceleration bound is remains a mystery...
Last edit: 10 May 2022 13:53 by PCW.
Please Log in or Create an account to join the conversation.
10 May 2022 13:56 - 10 May 2022 17:23 #242491
by Slaybaw
Replied by Slaybaw on topic Following error - Rotary Axis
Yes the joint and axis accelerations are 1000.
LinuxCNC 2.8.2.
LinuxCNC 2.8.2.
Last edit: 10 May 2022 17:23 by Slaybaw.
Please Log in or Create an account to join the conversation.
10 May 2022 23:55 #242541
by andypugh
You are moving the Z axis 1mm, from Z10 to Z9 at 203mm/sec. So this program line will execute in 0.0049 seconds.
At the same time you are asking to move the A axis from -419 to -360, a difference of 59 degrees, in the same 0,0049 seconds. ie an angular feed rate of 11977 deg/sec...
linuxcnc.org/docs/html/gcode/machining-c...r.html#sub:feed-rate
The answer is to use inverse time feed mode. But it's not a very neat answer.
If you google for "linuxcnc rapid rotary" you should find an input filter that converts G-code to G93 mode for you.
Replied by andypugh on topic Following error - Rotary Axis
I think that the line provoking the error might actually be this one.
G1 Z9.00 A-360.00 F203.4
You are moving the Z axis 1mm, from Z10 to Z9 at 203mm/sec. So this program line will execute in 0.0049 seconds.
At the same time you are asking to move the A axis from -419 to -360, a difference of 59 degrees, in the same 0,0049 seconds. ie an angular feed rate of 11977 deg/sec...
linuxcnc.org/docs/html/gcode/machining-c...r.html#sub:feed-rate
The answer is to use inverse time feed mode. But it's not a very neat answer.
If you google for "linuxcnc rapid rotary" you should find an input filter that converts G-code to G93 mode for you.
Please Log in or Create an account to join the conversation.
11 May 2022 00:43 - 11 May 2022 01:17 #242546
by Slaybaw
Replied by Slaybaw on topic Following error - Rotary Axis
Take another look at the G-code I pasted: The first line is G93. i.e. all the lines I had posted are in inverse time mode. Final line is G94 switching things back to Unit/Minute mode.
I think it's commanding the axis to go from -419 to -360 in 60/203.4 = .29 seconds...~= 200 deg/sec.
The subsequent line takes it from -360 to A-720 F33.6...or -360 deg in 60/33.6 = 1.785 sec...~=201 deg/sec.
I'm using DeskProto Multi-Axis edition to create the G-code. It has an inverse time option that I'm utilizing.
I think it's commanding the axis to go from -419 to -360 in 60/203.4 = .29 seconds...~= 200 deg/sec.
The subsequent line takes it from -360 to A-720 F33.6...or -360 deg in 60/33.6 = 1.785 sec...~=201 deg/sec.
I'm using DeskProto Multi-Axis edition to create the G-code. It has an inverse time option that I'm utilizing.
Last edit: 11 May 2022 01:17 by Slaybaw.
Please Log in or Create an account to join the conversation.
11 May 2022 12:07 #242624
by andypugh
Replied by andypugh on topic Following error - Rotary Axis
Sorry, this is a question I answer almost in auto-pilot.
I will try to remember to try the code out in a simulator and see if the same exceeding-of-limits is seen.
I will try to remember to try the code out in a simulator and see if the same exceeding-of-limits is seen.
Please Log in or Create an account to join the conversation.
11 May 2022 16:00 #242653
by Slaybaw
Replied by Slaybaw on topic Following error - Rotary Axis
No worries!
Curious to see if you see anything interesting in a simulator. Appreciate your time!
Curious to see if you see anything interesting in a simulator. Appreciate your time!
Please Log in or Create an account to join the conversation.
11 May 2022 18:41 #242661
by andypugh
Replied by andypugh on topic Following error - Rotary Axis
It can be reproduced in a simulator, I have raised an issue in the tracker.
github.com/LinuxCNC/linuxcnc/issues/1738
github.com/LinuxCNC/linuxcnc/issues/1738
Please Log in or Create an account to join the conversation.
11 May 2022 21:00 #242676
by Slaybaw
Replied by Slaybaw on topic Following error - Rotary Axis
Oh cool, I found a bug!
Thanks for confirming, Andy.
Thanks for confirming, Andy.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 5000
- Thank you received: 1409
12 May 2022 19:19 #242810
by Todd Zuercher
Replied by Todd Zuercher on topic Following error - Rotary Axis
Quick, step on it, before it scurries away! (sorry couldn't resist.)
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.115 seconds