LitexCNC: firmware and driver for 5A-75B and 5A-75E
05 May 2024 00:09 #299773
by Ehsan_R
Replied by Ehsan_R on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
According to what I observed in halshow, position-cmd becomes zero immediately, but position-feedback and position-prediction stop after some change.Might be instructive to plot that commanded and feedback joint positions
when index enable goes false
Please Log in or Create an account to join the conversation.
05 May 2024 00:17 #299774
by PCW
Replied by PCW on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
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)
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.
05 May 2024 01:42 #299776
by Ehsan_R
Can you explain more?
Replied by Ehsan_R on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
I did not understand exactly what to doAhh, 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)
Can you explain more?
Please Log in or Create an account to join the conversation.
05 May 2024 01:53 #299777
by PCW
Replied by PCW on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
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
(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.
05 May 2024 13:42 #299805
by Ehsan_R
Is it possible for you to guide me in doing this?
Replied by Ehsan_R on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
The fact is that I do not have much expertise in using Linux CNC.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
Is it possible for you to guide me in doing this?
Please Log in or Create an account to join the conversation.
05 May 2024 13:45 #299806
by Ehsan_R
Replied by Ehsan_R on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Does anyone have a solution for this problem?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?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
05 May 2024 14:05 #299808
by tommylight
Replied by tommylight on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
I did, you ignored it.
Short cables, shielded preferably, properly grounded.
Short cables, shielded preferably, properly grounded.
Please Log in or Create an account to join the conversation.
05 May 2024 14:33 #299811
by PCW
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.
Replied by PCW on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
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.
05 May 2024 15:02 #299814
by Ehsan_R
So how does the watchdog work?
Shouldn't all functions of the board stop quickly after disconnecting the board and the software?
Replied by Ehsan_R on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Do you believe this is due to the effects of noise?I did, you ignored it.
Short cables, shielded preferably, properly grounded.
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.
05 May 2024 15:06 #299816
by Ehsan_R
I will do this solution and tell you the result
Replied by Ehsan_R on topic LitexCNC: firmware and driver for 5A-75B and 5A-75E
Thank you for your reply
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.
I will do this solution and tell you the result
Please Log in or Create an account to join the conversation.
Time to create page: 0.095 seconds