https://docs.duet3d.com/
Help

Revision to Test axes or motors individually

Ian A-S

-To test a motor individually, first position the carriage(s) well away for the endstops. Then send G91 to select relative coordinates. Then use G1 S2 moves to test motors. Here is an example:
+To test a motor individually, first position the carriage(s) well away for the endstops. Then send G91 to select relative coordinates. Then use G1 H2 moves to test motors (use G1 S2 moves for firmware RRF_2.01 and earlier). Here is an example:
{table
|
|--
-| G1 S2 X10 F100
+| G1 H2 X10 F100
| Print head moves 10mm in the +X direction
| Print head moves 5mm in the +X direction and 5mm in the -Y direction
| Proximal arm moves anticlockwise 10 degrees
|--
-| G1 S2 X-10
+| G1 H2 X-10
| Print head moves 10mm in the -X direction
| Print head moves 5mm in the -X direction and 5mm in the +Y direction
| Proximal arm moves clockwise 10 degrees
|--
-| G1 S2 Y10
+| G1 H2 Y10
| Print head moves 10mm in the +Y direction
| Print head moves 5mm in the -X direction and 5mm in the +Y direction
| Distal arm moves anticlockwise 10 degrees
|--
-| G1 S2 X-10
+| G1 H2 X-10
| Print head moves 10mm in the -Y direction
| Print head moves 5mm in the +X direction and 5mm in the -Y direction
| Distal arm moves clockwise 10 degrees
|--
-| G1 S2 Z10
+| G1 H2 Z10
| Print head moves 10mm in the +Z direction
| Print head moves 10mm in the +Z direction
| Print head moves 10mm in the +Z direction
|--
-| G1 S2 Z-10
+| G1 H2 Z-10
| Print head moves 10mm in the -Z direction
| Print head moves 10mm in the -Z direction
}
-In this example I specified a feed rate of 100mm/min in the G1 S2 X10 command, so the 10mm moves should each complete in 6 seconds.
+In this example I specified a feed rate of 100mm/min in the G1 H2 X10 command, so the 10mm moves should each complete in 6 seconds.
If any of the motors moves the wrong way, you can change the direction by editing the appropriate M569 command in config,g. Using standard drive assignment, P0 refers to the X motor, P1 to the Y motor, and P2 to the Z motor(s). Flip the direction by changing S1 to S0 or vice versa. For example, if the Y axis moves the wrong way and there is a M569 P1 S1 command in config.g, change S1 to S0 in that command.
+
+=== Testing extruder motor movement ===
+
+If you wish to test your extruder motor movement, without connecting or heating up a heater, and/or with no filament loaded, define a tool that uses just the extruder motor. e.g. send:
+
+[code]M563 P0 D0[/code]
+
+This creates tool T0 using the first extruder motor defined by your M584 command in config.g. For example, if you have "M584 X0 Y1 Z2 E3:4" in config.g, D0 is the E0 motor connection (driver 3) on Duet 2 WiFi, D1 is E1 (driver 4).
+
+To enable the extruder motor and move it, send:
+
+[code]
+T0
+G1 E10 F60
+[/code]
+
+The motor should extrude 10mm of filament at 1mm/s. Reset your Duet to revert your tools to the config.g settings before testing heaters!

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

Revert Changes