Hello Guest it is April 14, 2021, 05:16:07 AM

Author Topic: Program pause command?  (Read 256 times)

0 Members and 1 Guest are viewing this topic.

Offline PeteG

*
  •  33 33
    • View Profile
Program pause command?
« on: January 19, 2020, 03:16:59 AM »
Hi

Is there a G command that will pause a running program. I don't have option for an automatic tool change and want to use different tools on one piece, so I will have to manually change the tools. The G4 dwell code could give me a period of delay of however long I needed, but that is far too dangerous as it would start again once the time was up.

I could hit the 'Pause' button in Mach3, but a line of code would be far more elegant.

I have looked through the G and M code lists, but can't see a pause option.

Offline TPS

*
  •  2,105 2,105
    • View Profile
Re: Program pause command?
« Reply #1 on: January 19, 2020, 04:02:16 AM »
why are you not using M6T?? and set toolchange to "Stop spindle wait for Cycle Start" ?
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline PeteG

*
  •  33 33
    • View Profile
Re: Program pause command?
« Reply #2 on: January 19, 2020, 05:00:05 AM »
Hi

Thanks for the reply.

Why am I not using it? because I'm new to this. However, I think I've just answered my own question. I think it will go along the lines of:

(Time for tool change)

Z75 (Raise tool 75mm)
M00 (Stop program)
(Stop spindle the using the good ol' "switch it off" method)

(manually change tool, ensuring Z height is correct)

(Turn on spindle, hit cycle start to continue running the code)

Does that sound like it would work?

Cheers

Peter

Offline PeteG

*
  •  33 33
    • View Profile
Re: Program pause command?
« Reply #3 on: January 19, 2020, 08:24:33 AM »
Well, it worked.