Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: lajoolaj on January 08, 2011, 12:10:43 PM
-
i am useing mach3 mill. when i do M6 T2 program stop and waiting for cycle start. it is ok but when i press cykle start spindle dont start. what is wrong?
sorry my bad english
-
A tool change normally does not restart the spindle. It is normally restarted via Gcode after the machine clears the tool change area .
YOU can alter the M6end macro to auto restart the spindle .
To the M6end add DoSpinCW() to the end of the file. Just remember it willl autostart the spindle EVEN if it is not where you want it to be(;-)
Hope that helps, (;-) TP
-
Yes, be careful with having the toolchange macro start the spindle.
I was doing that with my auto zero macro (as part of M6) UNTIL the spindle started unexpectedly.
At that point, I decided to let the g-code start the spindle.
-
Hi,
Safer to write in your Gcode:-
T2 M06 (Tool change to tool 2)
G43 H2 (apply tool lenght offset if you have programmed the tool table)
M03 S1000 (turn spindle on and set speed)
ATB
Derek