Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: cncmagic on December 01, 2024, 09:19:16 AM
-
is there a method to leave the spindle running after the program (Gcode) completes? I don't see anything in the settings :o
-
I guess you'd have to make sure the gcode for the end of the program didn't issue an M5 or M30. Maybe an M1 to just stop, not shutting off the spindle or coolant??
-
yes, that works.. also an M99.. but that causes all sorts of issues with my application.. too long a story for now but I need to use an M30.. its not a deal breaker... we normally only run at one speed so I can setup the spindle servo to simply use a start command and go at a preset speed. I'm already thinking I'll need to use the plc we have on the machine to control the spindle speed as needed. For an application that only drills two holes this turned out to be a real bastard of a project, a near vertical learning curve, and hundreds of hours of testing and troubleshooting. Sheesh.. :o