Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ftec on March 11, 2010, 01:36:35 PM

Title: Pause between Machine Operations
Post by: ftec on March 11, 2010, 01:36:35 PM
Instead of G4/dwell for a defined period of dwell time - is there a G-code or Mach scripting that could be used to get the machine pause and then continue after pressing 'enter' or Mach 'Run' button?

Thanks

/risto
Title: Re: Pause between Machine Operations
Post by: Hood on March 11, 2010, 01:53:26 PM
M1 in your code will stop until you press start again. Good thing about it is you can have it in your code for first runs and tests etc then once you have proved the code runs fine you can disable the optional stop and the code will run right through ignoring the M1.

Hood
Title: Re: Pause between Machine Operations
Post by: ftec on March 11, 2010, 01:58:22 PM
M1 in your code will stop until you press start again. Good thing about it is you can have it in your code for first runs and tests etc then once you have proved the code runs fine you can disable the optional stop and the code will run right through ignoring the M1.

Hood

Beautiful!

Thanks Hood!
Title: Re: Pause between Machine Operations
Post by: Hood on March 11, 2010, 02:02:21 PM
Not a problem :) I use it all the time on the lathe when threading. After the threading code I have a M1 and that allows me to check the thread, if its not right I just edit and run again and check once more, once its right then I carry on and then any subsequent runs of the code I disable Optional Stop and the programme runs right through :)

Hood
Title: Re: Pause between Machine Operations
Post by: ftec on March 11, 2010, 02:28:12 PM
Right!  In my case this makes it possible to pick up any loose cut out sheet metal parts. Eventhough I'm now able to have bridges to keep the cut out shapes in place the bridges are thin and I now have better control over things. Very happy that it was that simple. :)

/risto
Title: Re: Pause between Machine Operations
Post by: Hood on March 11, 2010, 02:35:36 PM
You could also use M0, the difference is M0 can not be disabled with a button like the Optional Stop (M1)

Hood
Title: Re: Pause between Machine Operations
Post by: mrpeja on May 22, 2010, 01:42:59 PM
Hi Hood,
Please explain methods to put M1 optional stom into Gcode
mrpeja
Title: Re: Pause between Machine Operations
Post by: Hood on May 22, 2010, 06:11:38 PM
If you have M1 in the code Mach will stop at it if  you have the optional stop enabled. If you disable the optional stop then the M1 will be ignored and Mach will run right past it.
You can either use the screen button to turn it on/off or have a panel button like I do.
Hood
Title: Re: Pause between Machine Operations
Post by: mrpeja on May 23, 2010, 01:15:39 AM
Hi Hood,
This part about ON or OFF is clear, but I asked about methods to PUT M1 INTO G CODE.
Regards
Title: Re: Pause between Machine Operations
Post by: Hood on May 23, 2010, 01:55:28 AM
Hi Hood,
This part about ON or OFF is clear, but I asked about methods to PUT M1 INTO G CODE.
Regards

Either insert manually or alter your Post Processor to do it automatically.
Hood