Disable stepper motors in Duet ethernet board
-
Hi to all,
How to disable stepper motors in duet ethernet board and i am using 1.21 firmware? please help in this.
-
@allankisaiswaroop Either use
M84
orM18
to disable all motors together or useM18 <motor>...
to disable specific motors, e.g.M18 X Z
to disable only X and Z motor(s). -
M18 disables stepper motors - either all or individually. M84 turns off idle hold and this can also be applied to specific motors e.g. M84 E0:1:2
-
@deckingman said in Disable stepper motors in Duet ethernet board:
[...] this can also be applied to specific motors e.g. M84 E0:1:2
Interestingly the Gcode reference page does not list this possibility but you are right, I just tested (with latest 2.0 firmware as I know you are currently stuck with an older version) and can confirm that this works as well.
-
@wilriker said in Disable stepper motors in Duet ethernet board:
Gcode reference page
Which reference page? I will update it.
-
@t3p3tony said in Disable stepper motors in Duet ethernet board:
@wilriker said in Disable stepper motors in Duet ethernet board:
Gcode reference page
Which reference page? I will update it.
Hi Tony,
It's the M84 command in the Wiki https://duet3d.dozuki.com/Wiki/GCode#Section_M84_Stop_idle_hold
It makes no mention of the fact that you can stop idle hold for individual motors e.g. M84 E0:1:2:3:4.
I don't know at which software version that came into being but I've been using it for ages.
Cheers
Edit. I use the above command in a macro to turn off the E motors - I think that macro has been in DWC for a very long time but got removed a couple of versions ago. It's useful to be able to turn off the E motors for manually changing filament, whilst leaving the other motors powered, so that homing is not affected.
-
@t3p3tony said in Disable stepper motors in Duet ethernet board:
Which reference page? I will update it.
If you wouldn't have done that I would have on the weekend or Monday latest (I am regularly extending the Gcode wiki ).
-
@wilriker @deckingman said in Disable stepper motors in Duet ethernet board:
M84 E0:1:2:3:4.
Done, thanks for pointing it out.
-
@wilriker said in Disable stepper motors in Duet ethernet board:
If you wouldn't have done that I would have on the weekend or Monday latest (I am regularly extending the Gcode wiki ).
Cheers - how are you finding working with Dozuki?
-
@t3p3tony It's ok.
I miss some features namely- preview of changes without saving yet
- either a larger editor area (I know I can simply resize the text area in the browser instead) or even better would be section based editing as on Wikipedia. Especially on very long pages as the GCODE reference I usually use the browser text search to find the place to edit.
- Also - but that may be me as a software developer - I would like to have a comment field to give a few words about what or why I changed
But whenever I post a question here that might/should have been answered by the GCODE reference page in the first place I usually amend the wiki page so hopefully people having a similar question in the future find it already there.
-
@wilriker said in Disable stepper motors in Duet ethernet board:
@allankisaiswaroop Either use
M84
orM18
to disable all motors together or useM18 <motor>...
to disable specific motors, e.g.M18 X Z
to disable only X and Z motor(s).If the purpose of disabling stepper motors is because they will be disconnected or switched e.g. using a relay, then put a short delay (G4) after the M18 or M84 command, to allow the current in the motor coils to decay.
-
@wilriker Yeah I share those frustrations. I think Dozuki is really focused around guides rather than wiki pages... but it takes a long time to write a guide and its not appropriate for everything. Reference material is still better as a wiki.