Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to Bed levelling using multiple independent Z motors

Jason Znack

[code]
...
-M584 X0 Y1 Z2:5:6 ; three Z motors connected to driver outputs 2, 5 and 6
+M584 X0 Y1 Z2:5:6 E4; three Z motors connected to driver outputs 2, 5 and 6
M671 X-15:100:215 Y190:-10:190 S0.5 ; leadscrews at rear left, front middle and rear right
...
[code]
...
-M584 X0 Y1 Z2:4 ; two Z motors connected to driver outputs Z and E1
+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
M402 ; retract probe (omit if using bltouch)
[/code]
+
+== Note on M584 from examples above ==
+
+VERY IMPORTANT! Assigning a drive using M584 does not remove its old assignment. Therefore, if you assign a drive that defaults to being an extruder drive, you should also assign the extruder drives explicitly as in the above example. Failure to do so may result in unexpected behaviour.
+
+[[Gcode#Section_M584_Set_drive_mapping|See Gcode wiki]]

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

Revert Changes