Hello Guest it is June 18, 2019, 01:50:45 AM

Author Topic: Pause between Machine Operations  (Read 3906 times)

0 Members and 1 Guest are viewing this topic.

Offline ftec

*
  •  80 80
    • View Profile
Pause between Machine Operations
« 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

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Pause between Machine Operations
« Reply #1 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

Offline ftec

*
  •  80 80
    • View Profile
Re: Pause between Machine Operations
« Reply #2 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!

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Pause between Machine Operations
« Reply #3 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

Offline ftec

*
  •  80 80
    • View Profile
Re: Pause between Machine Operations
« Reply #4 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

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Pause between Machine Operations
« Reply #5 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

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Re: Pause between Machine Operations
« Reply #6 on: May 22, 2010, 01:42:59 PM »
Hi Hood,
Please explain methods to put M1 optional stom into Gcode
mrpeja

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Pause between Machine Operations
« Reply #7 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

Offline mrpeja

*
  •  114 114
    • View Profile
    • Embroidery Machines
Re: Pause between Machine Operations
« Reply #8 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

Offline Hood

*
  •  25,844 25,844
  • Carnoustie, Scotland
    • View Profile
Re: Pause between Machine Operations
« Reply #9 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