joint 0 following error

More
20 Apr 2022 18:20 #240744 by diep
joint 0 following error was created by diep
Hello!

I get each time after it starts program a joint following error.
most of time joint 0. sometimes joint 1 or joint 2.

This thing worked before like dream with linuxcnc.

What causes linuxcnc to display this error?
 
Attachments:

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

More
20 Apr 2022 18:32 - 20 Apr 2022 18:34 #240746 by PCW
Replied by PCW on topic joint 0 following error
Usually this is a result of a joint setup error in the hal or ini files.

 (Often the step generator is being asked to do something it cannot
so the feedback position lags the commanded position, causing
a following error)

Can you post your hal and ini files?
Last edit: 20 Apr 2022 18:34 by PCW.

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

More
20 Apr 2022 18:50 #240748 by diep
Replied by diep on topic joint 0 following error
Of course, should've done directly!

Let me know if you miss any files!
Attachments:

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

More
20 Apr 2022 18:59 - 20 Apr 2022 18:59 #240751 by diep
Replied by diep on topic joint 0 following error
Note those who wonder how looks like underneath the cardboard - had 3d printed some wheels to CNC the machine. Was fun but wouldn't do it again.  
Attachments:
Last edit: 20 Apr 2022 18:59 by diep.

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

More
20 Apr 2022 19:29 #240752 by PCW
Replied by PCW on topic joint 0 following error
What LinuxCNC version is this?

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

More
20 Apr 2022 19:38 #240753 by diep
Replied by diep on topic joint 0 following error
At one of photos attached at first posting it is 2.7.0 i suppose.

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

More
20 Apr 2022 19:41 #240754 by Clive S
Replied by Clive S on topic joint 0 following error

At one of photos attached at first posting it is 2.7.0 i suppose.


RE:-
MAX_ACCELERATION = 0.3
STEPGEN_MAXACCEL = 0.3
I believe the STEPGEN_MAXACCEL = 0.3 needs to be 25% more than the MAX_ACCELERATION. on each axis

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

More
20 Apr 2022 19:55 #240755 by PCW
Replied by PCW on topic joint 0 following error
If you have backlash compensation enabled
you must set the stepgen maxaccel value to double
the axis maxacceleration value

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

More
20 Apr 2022 20:01 #240756 by diep
Replied by diep on topic joint 0 following error
Seems have done the job putting those higher!!

Initial speed/acceleration values of machine were really slow. Had tuned those higher past days and then also modified the stepper motor driver values!

Much thanks - would never have figured that one out!



 

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

Time to create page: 0.078 seconds
Powered by Kunena Forum