Error on joint 0

More
01 Jul 2021 00:44 #213397 by wang
Error on joint 0 was created by wang
After configuring everything, I opened linuxcnc and found that there was a problem with the scale, but I don't know how to adjust, or what parameters to adjust.

At the same time, the following error occurred:(I don't know if there is a connection between the two)
emc/task/taskintf.cc 947: Error on joint 0, command number 122
task: main loop took 0.037478 seconds
task:main loop took 0.088289 seconds joint 0 following error
emc/task/taskintf.cc 947: Error on joint 0, command number 162
task: main loop took 0.037100 seconds
task: main loop took 0.055096 seconds joint 0 following error
emc/task/taskintf.cc 947: Error on joint 0, command number 202
task: main loop took 0.036831 seconds
task: main loop took 0.046237 seconds

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

More
01 Jul 2021 02:09 #213403 by Grotius
Replied by Grotius on topic Error on joint 0
Maybe it can be solved by adjusting the ferror value of the joint.

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

More
01 Jul 2021 02:17 #213404 by wang
Replied by wang on topic Error on joint 0
hi
Is 0.5 correct?

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

More
01 Jul 2021 03:09 #213408 by BeagleBrainz
Replied by BeagleBrainz on topic Error on joint 0
I had a joint following error once that took ages to sort.

The solution was to boot with the real-time kernel instead of the non RT kernel and to uninstall the non RT kernel as well. I can’t tell you how stupid I felt.

I don’t guess that will be much help.

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

More
03 Jul 2021 00:23 #213523 by andypugh
Replied by andypugh on topic Error on joint 0

I don’t guess that will be much help.

Possibly. OP: What does uname -a tell you (command-line command) 

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

More
05 Jul 2021 00:51 #213731 by wang
Replied by wang on topic Error on joint 0
hi

Thank you for your reply, but I think there is no problem with my kernel

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

More
05 Jul 2021 03:34 - 05 Jul 2021 03:35 #213740 by PCW
Replied by PCW on topic Error on joint 0
If you have a following error with a relatively huge
0.5 error limit (mm?) You likely have a hal setup error
or a tuning error (if you have feedback coming back to LinuxCNC)

Scale is adjusted in your ini file.

Can you post your current hal/ini files?
Last edit: 05 Jul 2021 03:35 by PCW.

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

More
05 Jul 2021 04:50 #213741 by wang
Replied by wang on topic Error on joint 0
hi
thank you for your reply
This is my ini file and hal file

ini
Warning: Spoiler!



hal

Warning: Spoiler!


I know the writing is messy, because I am a beginner, I will grow

I think my mistake is on the scale, but I don’t know how to modify it

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

More
05 Jul 2021 15:34 #213769 by PCW
Replied by PCW on topic Error on joint 0
I would expect am immediate position error on the first move because
the commanded position ( joint.0.motor-pos-cmd) is not connected to your drive:

This correct line is commented out

#net Xpos joint.0.motor-pos-cmd => lcec.0.0.TxPositionCommand

You have:

net Xpos => lcec.0.0.TxPositionCommand

But the signal xpos is not connected to anything so the drives commanded position remains at 0

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

More
06 Jul 2021 04:50 #213821 by wang
Replied by wang on topic Error on joint 0
Your answer solved my problem, thank you very much for your reply

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

Time to create page: 0.090 seconds
Powered by Kunena Forum