Author Topic: MOVE, PAUSE, WAIT for my input  (Read 16071 times)

Offline jimmer

  • Storm Trooper
  • ***
  • Posts: 146
    • View Profile
MOVE, PAUSE, WAIT for my input
« on: April 17, 2023, 16:03:16 pm »

I want the machine to move away from the last operation, then pause whilst I check the work, then start up again when I click something.

Also I prefer not to have to call code in an external file (insert gcode).  And I want it all done by a single mop (MOVEPAUSE). I'd be quite happy if I could just write some GCODE directly into a mop.

At the moment I'm about do it by inserting a dummy drill mop at the out of the way location with a different tool. So I'm expecting to have to press GO before it moves away and then before it resumes operation. This seems pretty good because I don't need to know the GCODES the only downside is that I have to ensure the drill operation doesn't cut anything (not too difficult!).

Any other ideas?

I've not used my machine for a while, and feeling a bit anxious about trying new things LOL.
Cambam. Mach3. USB motion controller. 1800x950 ballscrew router, vacuum bed, 3kW spindle.

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: MOVE, PAUSE, WAIT for my input
« Reply #1 on: April 17, 2023, 16:12:39 pm »
Hello

maybe you can insert GCode in the "Custom Mop Footer" property

Some G0 to move the tool away and a M0 to do a "pause"

++
David

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 9075
    • View Profile
Re: MOVE, PAUSE, WAIT for my input
« Reply #2 on: April 17, 2023, 20:47:23 pm »
Issue an extra G4 toolchange to the same tool you're using.  It will wait for you to 'change the tool', and proceed after hitting Enter.

Lloyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 4563
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: MOVE, PAUSE, WAIT for my input
« Reply #3 on: April 17, 2023, 21:15:12 pm »
I think a more specific process in the MOP footer like below would be more suitable. 

M5 M9
G53 Z(clearance) 0R G0 Z(clearance)
G0 X(x)Y(y)
M0
M3

Some controls may require you to set M0 in configuration and others may use G53 in very specific ways.  In others you may be able to use G28 or G30, but I would not.  Their exact implementation varies. 
« Last Edit: April 17, 2023, 21:18:12 pm by Bob La Londe »
Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com

Offline airnocker

  • CNC Jedi
  • *****
  • Posts: 655
    • View Profile
Re: MOVE, PAUSE, WAIT for my input
« Reply #4 on: April 17, 2023, 23:19:06 pm »
I like jimmer's question as it seems like a useful thing to know and be able to do.

But, I don't see any "Custom MOP Footer"  property in any MOP properties in CB1.0.
I see a "Custom File Footer" in the Machining Object but don't see how that apply to a specified MOP.

What am I missing?
airnocker

Everything depends on everything else

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: MOVE, PAUSE, WAIT for my input
« Reply #5 on: April 17, 2023, 23:46:19 pm »
Hello

Quote
What am I missing?

glasses ?  ;D ;D

++
David

Offline Bob La Londe

  • CNC Jedi
  • *****
  • Posts: 4563
  • ^ 8.5 pounds on my own hand poured bait.
    • View Profile
    • CNC Molds N Stuff
Re: MOVE, PAUSE, WAIT for my input
« Reply #6 on: April 17, 2023, 23:56:40 pm »
Hello

Quote
What am I missing?

glasses ?  ;D ;D

++
David

It doesn't show if viewing BASIC MOP properties.  It does show in advanced.
Getting started on CNC?  In or passing through my area?
If I have the time I'll be glad to show you a little in my shop. 

Some Stuff I Make with CamBam
http://www.CNCMOLDS.com

Offline airnocker

  • CNC Jedi
  • *****
  • Posts: 655
    • View Profile
Re: MOVE, PAUSE, WAIT for my input
« Reply #7 on: April 18, 2023, 01:03:22 am »
Drum roll, please.  Ta-da!

Thanks.  I see it now.

airnocker

Everything depends on everything else