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

More
2 years 5 months ago #300418 by besriworld
It is normal for the position to change when you close the program.  That's why we have homing or motors with an absolute multi-turn encoder so that linuxcnc can know the new position.  It may be only a few microns, but the position is changing. this is the enabling signal on my drivers. 
If the signal is missing the motor will not move.

 
​​​​
The following user(s) said Thank You: Ehsan_R

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

More
2 years 5 months ago - 2 years 5 months ago #300439 by Ehsan_R

It is normal for the position to change when you close the program.  That's why we have homing or motors with an absolute multi-turn encoder so that linuxcnc can know the new position.  It may be only a few microns, but the position is changing. this is the enabling signal on my drivers. 
If the signal is missing the motor will not move.

 
Thank you very much for your reply
Yes, your answer is logical.
But according to what is in the litexcnc docs
 
I noticed that this problem does not exist in speed mode
So putting the board in speed mode when I press the estop button solved the problem
 
Last edit: 2 years 5 months ago by Ehsan_R.

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

More
2 years 5 months ago - 2 years 5 months ago #300552 by Ehsan_R
Hello
Has anyone been able to do homing in Litex using encoder index pulse?
According to what I observed, when the homing switch signal is received in linuxcnc, the axis value is reset, but the encoder position value is reset when the encoder index pulse is received.
This difference causes an error in homing when the axis and encoder counter are reset.
In litex there is a pin called <board-name>.encoder.<n>.reset (HAL_BIT) which resets the encoder value.
Can anyone tell me how to configure it in Hal so that when the axis is reset the encoder value is also reset?
Last edit: 2 years 5 months ago by Ehsan_R.

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

More
2 years 4 months ago #302970 by olegnomad
Hello
i write bitstream in flash with h:\CNC\LiteX-CNC-main\docs\src\examples\json\zipped\5a-75e_v6.0_i48o56_FULL\build\5a-75e_v6.0_i48o56\gateware\colorlight_5a_75e.bit firmware for 5a-75e_v8.2.
What pinout for step/dir and other?

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

More
2 years 4 months ago #302975 by Cant do this anymore bye all
No step & direction in config.
github.com/Peter-van-Tol/LiteX-CNC/blob/...75e_v6.0_i48o56.json

You might be best off having a look through the github repo to see how things work.

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

More
2 years 4 months ago #303337 by olegnomad
I'm just starting to learn Linuxcnc, litexcnc. Can someone upload json files for 5a-75e v6.0 and ini,hal files for linuxcnc? Or a ready-made firmware file.

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

Moderators: PCW, jmelson
Time to create page: 0.372 seconds
Powered by Kunena Forum