Setting one of the motor outputs as the spindle

From the original Synthetos forum (2011–2025)

Started by saurabhsaurc on in TinyG Support. 2 replies, last activity Dec 25, 2018.

#

Hi,

I want to know if it is possible to set one of the stepper motor outputs as the spindle motor ( run by S commands ).
Since by default, the spindle is assumed to be speed controlled using PWM, but I want to use a normal stepper motor instead.

Staff #

The simple answer would be no.

tinyG provides On/Off and direction control signalling for a spindle as well as a continuous, single phase PWM stream whose duty cycle is related to the S command via a programmable linearization of a range of speeds.
G code commands M3, M4 and M5 as well as S are the controlling parameters.

It might depend on what you are really trying to implement.
If you are manually coding a Gcode stream to implement some sort of robotic movement, you could code complex XYZ motion and manually edit in continuous rotation on a rotary axis (A,B or C), I suppose

#

Ok thanks. I will put the spindle on C axis and program it that way.

This topic is from the original forum (December 2018). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.