-
-
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] M914 incorrect handling of "I" parameter resulting in incorrect TMC driver Bump Sensitity settings #24012
Comments
Can somebody please confirm this issue? |
See #11248 and #11249 which standardized the meaning of these parameters across a few G-codes. The documentation may still be out of date, and the
The logic of case X_AXIS:
if (index < 2) stepperX.homing_threshold(value);
TERN_(X2_SENSORLESS, if (!(index & 1)) stepperX2.homing_threshold(value));
break;
|
I've patched |
The changes work for my setup, thanks! |
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.0.x
code?Yes, and the problem still exists.
Bug Description
Marlin handles the "I" parameter incorrectly for the M914 command (Set TMC Bump sensitivity).
For example:
M914 I1 X10 should set the X2 sensitivity, but it actually sets the X sensitivity.
M914 I2 X10 should not do anything, but it sets the X2 sensitivity.
The bug is located in M911-M914.cpp
Below a possible solution (similar to how M913 handles the "I" parameter. It sets the I-value to -1 if not supplied, which adjust the sensitivity for both X and X2 if present, and correctly associates I0 with X and I1 with X2.
The same issues applies to Y, and Z!
Bug Timeline
Don't know
Expected behavior
Settings according to documentation.
I0 relates to X, Y, Z etc.
I1 relates to X2, Y2, Z2 etc.
Actual behavior
I1 relates to X, Y, Z
I2 relates to X2, Y2, Z2
Steps to Reproduce
Check feedback of "M914 I1 X33"
Version of Marlin Firmware
Marlin 2.0.9.3 latest bugfix
Printer model
Custom
Electronics
MKS Monster8 V1.0
Add-ons
BTT TFT35 V3.0
Bed Leveling
ABL Bilinear mesh
Your Slicer
Cura
Host Software
Other (explain below)
Additional information & file uploads
Using BTT TFT35 V3.0 as host software.
The text was updated successfully, but these errors were encountered: