Hello Guest it is April 19, 2024, 07:21:01 PM

Author Topic: Pausing/stopping a program under certain circumstances  (Read 3037 times)

0 Members and 1 Guest are viewing this topic.

Offline mhdale

*
  •  130 130
  • Knowledge is the Treasure.
    • View Profile
    • Black Dragon Technologies
Pausing/stopping a program under certain circumstances
« 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?
 

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Pausing/stopping a program under certain circumstances
« Reply #1 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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

vmax549

*
Re: Pausing/stopping a program under certain circumstances
« Reply #2 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

« Last Edit: November 14, 2007, 02:04:46 PM by vmax549 »

Offline mhdale

*
  •  130 130
  • Knowledge is the Treasure.
    • View Profile
    • Black Dragon Technologies
Re: Pausing/stopping a program under certain circumstances
« Reply #3 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!