Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dadiy on May 14, 2014, 03:48:06 AM

Title: Mach3 and M01
Post by: dadiy on May 14, 2014, 03:48:06 AM
I'm trying to resolve a little annoyance I have with my manual tool changing.  Basically Mach3 stops for a tool change using the code below,  but before I can move the Z axis up (if I have a long tool in the spindle) I have to press either stop or feed hold.  I would have thought after the M01 command runs I would be able to manually jog if needed.  Im wondering if this could be replaced with M2 but not sure if that would cause any side effects.   Whilst it stops for M01 I notice that the elapsed time carries on increasing.

( Manual change Tool )
M05
G00 Z20.000 X0.000 Y0.000
M01
( Insert End Mill {4.76 mm} and set new zero )
( press CYCLE START )
G00 Z20.000
M03 S14000
Title: Re: Mach3 and M01
Post by: Hood on May 14, 2014, 09:00:05 AM
Why not use the option to Stop spindle and wait for Start, its on General Config.
Hood
Title: Re: Mach3 and M01
Post by: dadiy on May 14, 2014, 09:06:37 AM
Thanks for the reply Hood,  but I already have that option set.
Title: Re: Mach3 and M01
Post by: Hood on May 14, 2014, 09:21:43 AM
I presume then that you do not have a M6 T* in your code at the toolchange?


Are you using the parallel port or are you using some other external controller?
Hood
Title: Re: Mach3 and M01
Post by: dadiy on May 14, 2014, 09:44:14 AM
Hood you are right,  my post processor currently stops for a manual tool change with M00 and not M6 T# - I'll try adding that and see if that helps. -thanks

BTW I'm using an HG07 breakout board - http://cnc4you.co.uk/resources/Breakout%20board%20HG07.PDF
Title: Re: Mach3 and M01
Post by: Hood on May 14, 2014, 10:06:19 AM
Ok so that would seem to be the Parallel Port that you are using rather than an external controller.
Using the M6 should allow you to do what you want.

Title: Re: Mach3 and M01
Post by: dadiy on May 15, 2014, 04:52:17 AM
Thanks Hood - M6 did exactly what I needed - thanks for your help.