Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: grsabourin on January 28, 2019, 08:50:30 AM

Title: Tool change position
Post by: grsabourin on January 28, 2019, 08:50:30 AM
Hi,

I'm using a small router that is running under Mach3. I have a comportment I never understand when I use M6 command to do a tool change. When I do for example M6 T1 the machine goes rapidly in z position (top of the z axis) until it reaches the end of the axis. I have check to tool change position and it is set at (0, 0, 0 ).  I was expecting the machine will go at 0, 0,0 when I do M6 command. How I can fix this strange behavior?


My other option is just to remove the movement to go automatically to tool change position. That means that when M6 command is called just stop the program and stay were the machine is. Is it possible to do that?

Thank you

Title: Re: Tool change position
Post by: TPS on January 28, 2019, 01:49:24 PM
tool Change depends:

first on you setting's in Config -> General Config -> Tool Change

-ignore tool Change
   is selv explaining

-stop spindle wait for start
  will first call M6Start macro after pressing Start M6Stop macro

-Auto tool changer
 will only call te M6Start macro

and sencond on he code witch is in your M6Start/M6Stop macro's