Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mhdale on November 14, 2007, 12:46:40 PM

Title: Pausing/stopping a program under certain circumstances
Post by: mhdale on November 14, 2007, 12:46:40 PM
Hello all, I am NOT a G-Code Guru so I am a little vague on how to set this one up so I thought I would ask the smart people :) If I have an LED on my Mach control which signifies that I want the Program  to Stop at a certain point so the operator can verify that something very critical has occured. I would like the program to STOP at a certain point only if this SCREEN LED is active... anyone have any suggestions?
 
Title: Re: Pausing/stopping a program under certain circumstances
Post by: Chaoticone on November 14, 2007, 01:57:49 PM
Why not just enable optional stop and put a M1 in the gcode at the point you want it to pause?

Brett
Title: Re: Pausing/stopping a program under certain circumstances
Post by: vmax549 on November 14, 2007, 02:02:47 PM
You might want to try the BLOCK DELETE function. If the button is active then MACH will skip over Blocks of code that are preceeded with a SLASH. If the button is not active it runs the blocks. You could then program in a stop and it would only run if the BD switch is off.

(;-) TP

Title: Re: Pausing/stopping a program under certain circumstances
Post by: mhdale on November 14, 2007, 03:58:01 PM
Thats a good idea! I could use that as there is very little call for it otherwise with this setup. Thanks!