Backlash issues on Y-AXIS
- dgdodo
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
10 Nov 2025 16:32 #338143
by dgdodo
Backlash issues on Y-AXIS was created by dgdodo
Backlash not working anymore in LinuxCNC v2.9.x
Build my own laser CNC machine about 4 years ago, which worked fine with LinuxCNC 2.8.2.
Using an RPi 3B+, laser and 2 x L293D controllers and 28BYJ-48 steppenmotors.
After trying to update Debian to trixie the SD-card would not boot anymore, so build new one (back to Bookworm).
(Although i can get the old data from LinuxCNC of the card.)
Debian Trixie is not that RT compatible as written all over, still need an RT version to run LinuxCNC on RPI 3B+.
Pitty there is no complete RPi 3 (only 4 and 5) version of LinuxCNC available anymore?
After installing LinuxCNC v2.9.6 (on Debian Bookworm) I could not get the machine working as it did with v2.8.2.
I also changed X-axis steppenmotor with a spindle drive to make it more accurate, this works fine (backlash between 0.1 - 0.3),
but after this I still have trouble with the Y-axis (on which i did not changed anything).
Before (v2.8.2) the Y-axis had a backlash of 1.315, but now I can not get it right anymore.
It looks like the backlash is now only working in 1 direction and I do not see the backlash correction back on the motor movement.
Even if I make the backlash much bigger, just to see if is really done by the motor.
It only draws (i.e. circles) bigger, but the error stays (see IMG_4618a.JPG with BL of 1, 2 and 3)
My question is what has been changed in v2.9.x according the backlash, as I only find 'improved'.
In my case it is not improved but getting worse.
Maybe the new changes do not work with my controllers (L293D)?
And how to solve this weird issue.
Reagrds, DG
Build my own laser CNC machine about 4 years ago, which worked fine with LinuxCNC 2.8.2.
Using an RPi 3B+, laser and 2 x L293D controllers and 28BYJ-48 steppenmotors.
After trying to update Debian to trixie the SD-card would not boot anymore, so build new one (back to Bookworm).
(Although i can get the old data from LinuxCNC of the card.)
Debian Trixie is not that RT compatible as written all over, still need an RT version to run LinuxCNC on RPI 3B+.
Pitty there is no complete RPi 3 (only 4 and 5) version of LinuxCNC available anymore?
After installing LinuxCNC v2.9.6 (on Debian Bookworm) I could not get the machine working as it did with v2.8.2.
I also changed X-axis steppenmotor with a spindle drive to make it more accurate, this works fine (backlash between 0.1 - 0.3),
but after this I still have trouble with the Y-axis (on which i did not changed anything).
Before (v2.8.2) the Y-axis had a backlash of 1.315, but now I can not get it right anymore.
It looks like the backlash is now only working in 1 direction and I do not see the backlash correction back on the motor movement.
Even if I make the backlash much bigger, just to see if is really done by the motor.
It only draws (i.e. circles) bigger, but the error stays (see IMG_4618a.JPG with BL of 1, 2 and 3)
My question is what has been changed in v2.9.x according the backlash, as I only find 'improved'.
In my case it is not improved but getting worse.
Maybe the new changes do not work with my controllers (L293D)?
And how to solve this weird issue.
Reagrds, DG
Attachments:
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 720
- Thank you received: 78
10 Nov 2025 22:06 #338164
by langdons
Replied by langdons on topic Backlash issues on Y-AXIS
It's usually best to ask before you attemp to upgrade.
If it worked with 2.8.2, stick with 2.8.2.
Why do you want to upgrade?
Newer ≠ better.
If it worked with 2.8.2, stick with 2.8.2.
Why do you want to upgrade?
Newer ≠ better.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 766
- Thank you received: 254
10 Nov 2025 23:13 #338170
by unknown
Replied by unknown on topic Backlash issues on Y-AXIS
Have you set backlash in you ini file ?
Please Log in or Create an account to join the conversation.
- dgdodo
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
11 Nov 2025 10:01 - 11 Nov 2025 10:04 #338183
by dgdodo
Replied by dgdodo on topic Backlash issues on Y-AXIS
Unknown:
I am very sure the .ini file was added in the first post, but I don't see it anymore?
Here again.
And yes I mentioned BACKLASH in the JOINT_1 section of the Y-AXIS, otherwise there wouldn't be any difference between 1, 2 and 3 in the picture? There the backlash was set to 1, 2 and 3.
Why does the picture get bigger (higher) instead of doing the backlash?
langdons:
After some years I thought it would be good idea to be 'up to date'.
What I always do with all my other Linux machines here, regularly
I am very sure the .ini file was added in the first post, but I don't see it anymore?
Here again.
And yes I mentioned BACKLASH in the JOINT_1 section of the Y-AXIS, otherwise there wouldn't be any difference between 1, 2 and 3 in the picture? There the backlash was set to 1, 2 and 3.
Why does the picture get bigger (higher) instead of doing the backlash?
langdons:
After some years I thought it would be good idea to be 'up to date'.
What I always do with all my other Linux machines here, regularly
Attachments:
Last edit: 11 Nov 2025 10:04 by dgdodo.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 766
- Thank you received: 254
11 Nov 2025 11:03 #338184
by unknown
Has this always been the case, usually the write function is the last one in the list.
Replied by unknown on topic Backlash issues on Y-AXIS
addf hal_pi_gpio.read base-thread
addf hal_pi_gpio.write base-thread
addf stepgen.make-pulses base-thread
addf pwmgen.make-pulses base-threadPlease Log in or Create an account to join the conversation.
- dgdodo
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
11 Nov 2025 21:18 #338216
by dgdodo
Replied by dgdodo on topic Backlash issues on Y-AXIS
I Tried with 'hal_pi_gpio.write base-thread' at the end of the base-thread, but it does not make any difference.
Thanks for the info anyways.
Thanks for the info anyways.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20917
- Thank you received: 7131
11 Nov 2025 21:37 #338218
by tommylight
Replied by tommylight on topic Backlash issues on Y-AXIS
Your ini file is a mess and very hard to follow, but:
Y axis/joint has unreasonably big ferror and min_ferror values, probably should be close to what X axis has
Backlash_speed is set at 6000 inch !!!
-
What is the drive train? Belt? Screw? Ball screw?
Since it is a laser, i would advise belt only on X and Y.
Y axis/joint has unreasonably big ferror and min_ferror values, probably should be close to what X axis has
Backlash_speed is set at 6000 inch !!!
-
What is the drive train? Belt? Screw? Ball screw?
Since it is a laser, i would advise belt only on X and Y.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 766
- Thank you received: 254
11 Nov 2025 21:42 #338219
by unknown
Replied by unknown on topic Backlash issues on Y-AXIS
In all honesty it may be worthwhile going back to you original setup. I generally think of the PC for a cnc setup as a "black box". As along as it doing everything you want leave it that way.
But it is quite curious as to why backlash is not working as expected. Maybe raising an issue on github may get better responses. The guys that do the coding will be answering.
I hate to say this but backlash comp should be a last resort after you have exhausted all mechanical ways to reduce it.
Sorry I haven't been able to solve this issue and I wish you all the best. If you do find a solution it would be great to describe the fix for anyone else in the future. Good luck as always.
But it is quite curious as to why backlash is not working as expected. Maybe raising an issue on github may get better responses. The guys that do the coding will be answering.
I hate to say this but backlash comp should be a last resort after you have exhausted all mechanical ways to reduce it.
Sorry I haven't been able to solve this issue and I wish you all the best. If you do find a solution it would be great to describe the fix for anyone else in the future. Good luck as always.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 766
- Thank you received: 254
11 Nov 2025 21:47 #338221
by unknown
I not even sure if there Backlash_speed is used in the hal file, there doesn't seem to be anything related to backlash_spped or similar mentioned in the docs for motmod.
Replied by unknown on topic Backlash issues on Y-AXIS
Your ini file is a mess and very hard to follow, but:
Y axis/joint has unreasonably big ferror and min_ferror values, probably should be close to what X axis has
Backlash_speed is set at 6000 inch !!!
-
What is the drive train? Belt? Screw? Ball screw?
Since it is a laser, i would advise belt only on X and Y.
I not even sure if there Backlash_speed is used in the hal file, there doesn't seem to be anything related to backlash_spped or similar mentioned in the docs for motmod.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20917
- Thank you received: 7131
11 Nov 2025 22:44 #338222
by tommylight
Replied by tommylight on topic Backlash issues on Y-AXIS
Backlash speed was functional last i used it for sure, some 15 or 20 years ago, no idea what's the status now.
Back then it solved the issue of missing steps i wasted 2 hours chasing, and ended up being the G540 issue where for 9 steps it did nothing.
Back then it solved the issue of missing steps i wasted 2 hours chasing, and ended up being the G540 issue where for 9 steps it did nothing.
Please Log in or Create an account to join the conversation.
Time to create page: 0.382 seconds