LitexCNC: firmware and driver for 5A-75B and 5A-75E

More
05 May 2024 00:09 #299773 by Ehsan_R

Might be instructive to plot that commanded and feedback joint positions
when index enable goes false

 

According to what I observed in halshow, position-cmd becomes zero immediately, but position-feedback and position-prediction stop after some change.
Attachments:

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

More
05 May 2024 00:17 #299774 by PCW
Ahh, I missed something, you would need to use encoder feedback for homing to index
unless your firmware supports stepgen homing to index (because the stepgen position
feedback is not zeroed on index)

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

More
05 May 2024 01:42 #299776 by Ehsan_R

Ahh, I missed something, you would need to use encoder feedback for homing to index
unless your firmware supports stepgen homing to index (because the stepgen position
feedback is not zeroed on index)

I did not understand exactly what to do
Can you explain more?

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

More
05 May 2024 01:53 #299777 by PCW
For this to work, you would have to have actual feedback from the encoder
(connected in hal) or firmware that supports a stepgen index input

It might be possible to do this in software (hal) but it would be fairly complex

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

More
05 May 2024 13:42 #299805 by Ehsan_R

For this to work, you would have to have actual feedback from the encoder
(connected in hal) or firmware that supports a stepgen index input

It might be possible to do this in software (hal) but it would be fairly complex

The fact is that I do not have much expertise in using Linux CNC.
Is it possible for you to guide me in doing this?

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

More
05 May 2024 13:45 #299806 by Ehsan_R

I encountered a strange problem while using Litex for some time.
This problem is that when I close the linuxcnc software or disable the machine power key, the motors automatically start moving at a very low speed.
Does anyone know how to fix this?

Does anyone have a solution for this problem?

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

More
05 May 2024 14:05 #299808 by tommylight
I did, you ignored it.
Short cables, shielded preferably, properly grounded.

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

More
05 May 2024 14:33 #299811 by PCW

For this to work, you would have to have actual feedback from the encoder
(connected in hal) or firmware that supports a stepgen index input

It might be possible to do this in software (hal) but it would be fairly complex
The fact is that I do not have much expertise in using Linux CNC.
Is it possible for you to guide me in doing this?
 


If the firmware does not support index homing on stepgen systems, it's a bit complex because
you now must setup a PID loop using encoder feedback and use the stepgen in velocity mode.

You could use a pncconf created configuration as a sample of this kind of hal setup.

You might ask if LitexCNC firmware can support index input on stepgen systems, because
this would be a much simpler path if that can be done.

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

More
05 May 2024 15:02 #299814 by Ehsan_R

I did, you ignored it.
Short cables, shielded preferably, properly grounded.

Do you believe this is due to the effects of noise?
So how does the watchdog work?
Shouldn't all functions of the board stop quickly after disconnecting the board and the software?

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

More
05 May 2024 15:06 #299816 by Ehsan_R

For this to work, you would have to have actual feedback from the encoder
(connected in hal) or firmware that supports a stepgen index input

It might be possible to do this in software (hal) but it would be fairly complex
The fact is that I do not have much expertise in using Linux CNC.
Is it possible for you to guide me in doing this?
 


If the firmware does not support index homing on stepgen systems, it's a bit complex because
you now must setup a PID loop using encoder feedback and use the stepgen in velocity mode.

You could use a pncconf created configuration as a sample of this kind of hal setup.

You might ask if LitexCNC firmware can support index input on stepgen systems, because
this would be a much simpler path if that can be done.

Thank you for your reply
I will do this solution and tell you the result

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

Moderators: PCWjmelson
Time to create page: 0.235 seconds
Powered by Kunena Forum