Turn on linuxcnc for the first time and enable the abnormal action of the motor

More
30 May 2022 01:36 #244173 by yi2580

Hello, thank you. I think I have correctly configured the Hal file and drive, because only when I open the software to enable the motor for the first time, will the motor make abnormal noise and move. The subsequent enabling motors are very good. I don't know where I got it wrong.
 
Still sounds like LinuxCNC is not getting the feedback position from the drive, because LinuxCNC should set
its commanded position = feedback position when changing to the enabled state so there should be no
jump in the commanded position.

Thank you for your answer. I seem to understand what you mean, But how should I set commanded position = feedback position hope you can help me

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

More
30 May 2022 02:15 #244174 by yi2580
这是我的 Hal 文件配置。我不知道是对是错。我希望你能帮帮我 
Attachments:

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

More
30 May 2022 02:38 #244175 by PCW
It looks like the commented out line is what s missing (for joint 0 at least)

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

More
30 May 2022 03:20 #244180 by yi2580
Oh ~, thank you very much. I really didn't configure feedback to cause this problem. Now the problem has been solved. You have helped me solve the big problem. Thank you again.

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

Time to create page: 0.191 seconds
Powered by Kunena Forum