Closed Mark4004 closed 2 years ago
Code is simply missing from Marlin/src/gcode/gcode.cpp
Add the following
diff --git a/Marlin/src/gcode/gcode.cpp b/Marlin/src/gcode/gcode.cpp
index 5425fc701f..0e11ad6efb 100644
--- a/Marlin/src/gcode/gcode.cpp
+++ b/Marlin/src/gcode/gcode.cpp
@@ -1050,6 +1050,10 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
case 1000: M1000(); break; // M1000: [INTERNAL] Resume from power-loss
#endif
+ #if ENABLED(X_AXIS_TWIST_COMPENSATION)
+ case 423: M423(); break; // M423: Reset, modify, or report X-Twist Compensation data
+ #endif
+
#if ENABLED(SDSUPPORT)
case 1001: M1001(); break; // M1001: [INTERNAL] Handle SD completion
#endif
Closing since a PR has been created.
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
M423 command isn't recognized when enabled. Sending M423 results in:
The LCD menu item Configuration>Advanced Settings>Probe Offsets>X-Twist Wizard is active and seems to function. Entering M503 displays the values collected after running the X-Twist wizard:
Even though the function operates through the LCD it doesn't actually seem to compensate properly. Without the M423 function I can't reset or manually change the parameters to try to see why it's not working correctly. That will be raised in future bug report if I can properly diagnose issue.
Bug Timeline
I don't know if it was an issue previous to 2.1.x. The function was not available in 2.0.9.1 which was my last version.
Expected behavior
M423 should report and allow editing of the parameters collected by the X-Twist wizard.
Actual behavior
Sending M423 results in:
Steps to Reproduce
Version of Marlin Firmware
FIRMWARE_NAME:Marlin bugfix-2.1.x (Jun 15 2022 22:03:15)
Printer model
Customized I3 mk2 style
Electronics
Arduino mega2650, RAMPS 1.4
Add-ons
BLTouch probe
Bed Leveling
UBL Bilinear mesh
Your Slicer
Prusa Slicer
Host Software
OctoPrint
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Modified pins_RAMPS.h (Included with config files) to allow hardware serial communication to TMC2209 drivers. Enabled dual Z-axis. Enabled Z_STEPPER_AUTO_ALIGN Enabled UBL. Enabled extruder fan control.
config.zip