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

More
2 years 5 months ago #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
2 years 5 months ago #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
2 years 5 months ago #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
2 years 5 months ago #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
2 years 5 months ago #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
2 years 5 months ago #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: PCW, jmelson
Time to create page: 0.467 seconds
Powered by Kunena Forum