Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: crj1203ar on June 10, 2011, 09:25:55 AM

Title: Program A axis to rotate as a Spindle
Post by: crj1203ar on June 10, 2011, 09:25:55 AM
just added a 4 axis (" A axis" via a stepper motor to my system).  
I want to turn it on so that it continues to rotate at a constant speed while Mach3 runs my program (g-code) instead of having to
Program each line with the "A *********.*********" code" to have the A axis spindle.  
So how do I program the 4th axis to turn on at the beginning of my g-code file, then turn off at the end?

Any suggestions?  Thanks.
Title: Program A axis to rotate as a Spindle
Post by: BR549 on June 10, 2011, 01:32:51 PM
It is not possible using MACH in the NORMAL manner.

HOWEVER  IF you had a "manual spindle control " ( you turn it on/off by hand) you could set up the A axis to be run AS a spindle with step direction control. Speeds would be limited though.

Just a thought, (;-) TP