Hello Guest it is March 28, 2024, 05:02:14 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bmartin

Pages: 1
1
General Mach Discussion / Automagic M03 and M05?
« on: February 26, 2013, 03:33:08 PM »
I have just wired up a relay box to control my router and dust collector, and plan to install it this weekend when the shop is closed, and the CNC is offline. I know the commands are M03 and M05 to start and stop the spindle, and my tests indicated that installation should be easy enough.  What I'd like to know is, Is there any way Mach3 can be configured to assume a M03 at the start of the program, and a M05 at the end? I know my employees well enough to know that if every program has to be edited to include the commands, there will be runs without the M05, so the router will run for an hour after the job before someone notices it's finished, and other times when a tool gets run into the piece without the router spinning because someone hit start on an old program.

I'm fairly new to Mach3, so I'm really looking for a nudge in the right direction.
Is it possible to have another program push the Gcode into Mach3, instead of opening a file through the interface? If so, I could write a loader program to verify the commands are there, and add them as needed

Otherwise, is there a way to have a macro or brain sstart and stop the router based on whether or not the program is running?

Thanks

Pages: 1