Skip to content

Commit

Permalink
✨ M423 X-Axis Twist Compensation
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 11, 2022
1 parent 5b9f029 commit 8e6a130
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _gcode/M422.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ parameters:
videos:
- 6UgT9YqY3UA

example:
examples:
-
pre: Set a probe position for aligning the first Z stepper
code:
Expand Down
66 changes: 66 additions & 0 deletions _gcode/M423.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
tag: m0423
title: X Twist Compensation
brief: Modify, reset, and report X-Axis Twist Compensation data
author: thinkyhead

requires: X_AXIS_TWIST_COMPENSATION
since: 2.0.9.4
group: calibration

codes: [ M423 ]
related: [ G29 ]

notes:

parameters:
-
tag: R
optional: true
description: Reset the Twist Compensation array to the configured default values.
values:
-
type: flag
-
tag: A
optional: true
description: Set the X-Axis Twist Compensation starting X position.
values:
-
tag: linear
type: float
-
tag: I
optional: true
description: Set the X-Axis Twist Compensation X-spacing.
values:
-
tag: linear
type: float
-
tag: X
optional: true
description: Zero-based index into the Twist Compensation array. Requires a `Z` value.
values:
-
tag: index
type: int
-
tag: Z
optional: true
description: A Z-offset value to set in the Twist Compensation array. Requires an `X` index.
values:
-
tag: index
type: int

examples:
-
pre: Set the 5th value in the Twist Compensation array to -0.03.
code:
- M423 X4 Z-0.03
---

Use `M423` to modify your X-Twist Compensation data.

X-Twist Compensation is applied to the mesh on [`G29`](docs/gcode/G029)) to correct for a twisted X gantry. Meaningful X-Twist Compensation data is generated using a guided procedure in the LCD menu that compares measurements taken by the bed probe to readings taken manually at the nozzle. Since manual measurements are prone to inaccuracy, a metal feeler gauge is recommended over a paper test. If the first layer is still imperfect, `M423` can then be used to correct for small errors.

0 comments on commit 8e6a130

Please sign in to comment.