-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Movement direction issues (Z2 and X) #25785
Comments
@thinkyhead |
Please download edit: The above commit was force-pushed out of existence, but it'd still be useful to test the latest bugfix since there's been some code changes. |
Sorry about that bug. I pushed the changes from the wrong branch, which still had a union bug in the |
I tested the code after the AxisBits update was undone. X movement now works, but my Z2 is still reversed. Not sure what happened, but if now an undefined INVERT_2Z_DIR defaults to false (I think it should default to INVERT_Z_DIR), then this will cause lots of bend lead screws. Also homing for (IDEX system) doesn't work correctly, E1 tries to home to the left (should home to the right, to X-max). Again I can correct that by adding INVERT_X2_DIR. Then the direction is correct, but the X2 endstop is not processed correctly and the carriage just slams into the side. I triggered the X1 endstop while homing E1, which also didn't work. UPDATE: X-axis homing issue is solved with update #25780 !!! BE CAREFUL, TEST ALL AXIS WITH 0.1MM STEPS FIRST!!! |
Behavior was a bit different for me when I flashed the latest Ender-3 with an SKR V3Independent, dual-Z drivers & motors After the initial flash, X & Y moved in the correct direction, but all Z movements were reversed (at the same time, so one motor wasn't reversed compared to the other like rondlh). Biqu B1 SE Plus with an SKR V2Independent, dual-Z drivers & motors After the initial flash, X & Y moved in the correct direction, but all Z movements were reversed (at the same time, so one motor wasn't reversed compared to the other like rondlh). Prusa MK3S+ Bear with a BTT002Dual-Z motors connected to a single driver After the initial flash, X & Y moved in the correct direction, but all Z movements were reversed (at the same time, so one motor wasn't reversed compared to the other like rondlh).
After some more reboots, only the initial Z movement is reversed. If you tell Z to go up, it goes down. Then if you tell Z to go down, it goes down and all future Z moves are correct. Homing not required. |
I've been chatting with thinkyhead and he just pushed 🐛 Apply direction bits at startup / d93aa0c which solves my particular Z movement issues, so maybe they'll help? |
SKR3 Dual Z motors on separate drivers. After initial power on, the Z-axis steppers go in opposite direction. After initial move, they then move in sync. I'll pull the pushes to my git and see what happens. Finger crossed. |
I found two issues that could affect the DIR state and patched them both. If everything is solved, you can go ahead and close this issue. Mea culpa! Going forward I'll be doing more testing of the upcoming motion and endstop patches and will be sure to refrain from pushing "simple cosmetic updates" when I'm lacking sleep. 💤 |
No worries, Marlin has become a very powerful, flexible and complex firmware, issues are bound to happen, that's why there is a bugfix branch. Your efforts are very appreciated! |
@rondlh: Can this issue be closed? |
Tested on my machine and it works as it should. No more issues with Z right after the machine is first powered on. X and Y function as they should. I second closing it. |
Yes! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
After the updates of 2023-05-05 I see different movement direction for Z2 and my X axis doesn't reverse direction anymore.
There might be more issues, but I gave up when I saw this.
It's an IDEX system with i3 design.
Bug Timeline
2023-05-05, 2023-05-03 worked as expected
Expected behavior
Behave like before, correct/unchanged axis movement direction
Actual behavior
Z2 is reversed, X can only move in 1 direction
Steps to Reproduce
Move the axis with G-code, G0 X10, G0 Z1
Version of Marlin Firmware
Lateset bugfix 2023-05-05
Printer model
Custom
Electronics
MKS Monster8 V1.0
Add-ons
BL Touch V3.1, BTT TFT35 V3.0
Bed Leveling
ABL Bilinear mesh
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Configuration_adv.zip
The text was updated successfully, but these errors were encountered: