Hello Guest it is March 29, 2024, 02:09:28 AM

Author Topic: Mach3 and M01  (Read 3465 times)

0 Members and 1 Guest are viewing this topic.

Mach3 and M01
« 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach3 and M01
« Reply #1 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
Re: Mach3 and M01
« Reply #2 on: May 14, 2014, 09:06:37 AM »
Thanks for the reply Hood,  but I already have that option set.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach3 and M01
« Reply #3 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
Re: Mach3 and M01
« Reply #4 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach3 and M01
« Reply #5 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.

Re: Mach3 and M01
« Reply #6 on: May 15, 2014, 04:52:17 AM »
Thanks Hood - M6 did exactly what I needed - thanks for your help.