disabling stepper motors

181 views
Skip to first unread message

Christopher

unread,
Oct 14, 2016, 6:30:53 PM10/14/16
to Smoothieware Support
I would like to disable the x& y motors while tramming allowing the carriage to be moved by hand. 
Is there a g-code command to disable specific stepper motors ? I can only find a way to turn them all of. 

Cheers 

wolfmanjm

unread,
Oct 14, 2016, 7:35:53 PM10/14/16
to Smoothieware Support
No, you can only enable or disable all of them.

Arthur Wolf

unread,
Oct 15, 2016, 4:12:41 AM10/15/16
to Smoothieware Support
If you really need independent control, you could configure the enable pins as nc in the normal motor config, and then use switch modules to setup custom gcodes to control those pins separately.

--
You received this message because you are subscribed to the Google Groups "Smoothieware Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothieware-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Courage et bonne humeur.

Christopher

unread,
Oct 15, 2016, 4:27:38 PM10/15/16
to Smoothieware Support
It's really convenient for cartesian type printers. 
Sailfish, Marlin and Reprap firmware allow it so why not smoothie ? 

How would you configure the switch module ? I'm using the standard pins and ports.

Arthur Wolf

unread,
Oct 15, 2016, 4:30:49 PM10/15/16
to Smoothieware Support
You just configure one switch module for each driver ( http://smoothieware.org/switch ) with any Gcode you like as the input, and the enable pin as the output

--
You received this message because you are subscribed to the Google Groups "Smoothieware Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothieware-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christopher

unread,
Oct 15, 2016, 4:49:29 PM10/15/16
to Smoothieware Support
Thanks Arthur. I'm always a bit uncertain, which options/configurations smoothie actually needs. That's why I'm asking! Listing all the (switch)options is good, but not always helpful.

What's the reason to not include for example:" M18 X E0 " out of the box ? Seems kinda standard. 

Arthur Wolf

unread,
Oct 15, 2016, 4:50:33 PM10/15/16
to Smoothieware Support
That's planned, we just don't have it yet

On Sat, Oct 15, 2016 at 10:49 PM, 'Christopher' via Smoothieware Support <smoothiewa...@googlegroups.com> wrote:
Thanks Arthur. I'm always a bit uncertain, which options/configurations smoothie actually needs. That's why I'm asking! Listing all the (switch)options is good, but not always helpful.

What's the reason to not include for example:" M18 X E0 " out of the box ? Seems kinda standard. 

--
You received this message because you are subscribed to the Google Groups "Smoothieware Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothieware-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

wolfmanjm

unread,
Oct 15, 2016, 7:25:35 PM10/15/16
to Smoothieware Support
It is on the TODO list, but it is by no means standard at all! 

The reason it was not done is it was really hard to do in smoothie which is much more highly structured than the arduino based firmwares

Last time I looked Marlin only supported disabling E separately.

NOTE that by using a switch to disable the motors they will not be enabled automatically when you start a move you will always need to manually enable or disable them before you print/

wolfmanjm

unread,
Oct 16, 2016, 1:30:45 AM10/16/16
to Smoothieware Support
Ok it has been added to edge. you will need to wait for the nightly builds.

Christopher

unread,
Oct 17, 2016, 5:57:27 PM10/17/16
to Smoothieware Support
Reading the reprap g-code documentation and knowing about this option for two plus years I assumed it was standard by now. 
Thanks for adding it wolfmanjm! Looking forward to it :) 

wolfmanjm

unread,
Oct 17, 2016, 6:01:45 PM10/17/16
to Smoothieware Support
the reprap gcode docs specifically says that parameters are not supported by all firmwares, in fact only one firmware supported it. (now two).

Christopher

unread,
Oct 17, 2016, 6:19:31 PM10/17/16
to Smoothieware Support
This sounded to me like like a pretty wide implementation : "Some firmware implementations do not support parameters to be passed, but at least Marlin and RepRapFirmware do"
Let's not argue about it! 

I think it's awesome how fast you picket this request up !!!!
Reply all
Reply to author
Forward
0 new messages