Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to Bed levelling using multiple independent Z motors

Ian A-S

* If you have just 2 Z motors, one at each end of the X axis, then set the Y coordinates of the leadscrews in the M671 command to be equal (the value doesn't matter, so you can use zero). Use at least two probe points, one at each end of the X axis. All your probe points should have the same Y coordinate, which should be at or near the middle of the printable range.
+== Example for 2 motors ==
+
+File config.g:
+
+[code]
+...
+M584 X0 Y1 Z2:4 E3; two Z motors connected to driver outputs Z and E1
+M671 X-20:220 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
+M208 X-5:205 Y0:200 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200
+...
+[/code]
+
+File bed.g:
+
+[code]
+G28 ; home
+M401 ; deploy Z probe (omit if using bltouch)
+G30 P0 X20 Y100 Z-99999 ; probe near a leadscrew, half way along Y axis
+G30 P1 X180 Y100 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
+M402 ; retract probe (omit if using bltouch)
+[/code]
+
== Example for 3 motors ==
[/code]
-== Example for 2 motors ==
-
-File config.g:
-
-[code]
-...
-M584 X0 Y1 Z2:4 E5; two Z motors connected to driver outputs Z and E1
-M671 X-20:220 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
-M208 X-5:205 Y0:200 ; X carriage moves from -5 to 205, Y bed goes from 0 to 200
-...
-[/code]
-
-File bed.g:
-
-[code]
-G28 ; home
-M401 ; deploy Z probe (omit if using bltouch)
-G30 P0 X20 Y100 Z-99999 ; probe near a leadscrew, half way along Y axis
-G30 P1 X180 Y100 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
-M402 ; retract probe (omit if using bltouch)
-[/code]
-
== Note on M584 from examples above ==

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes