Mach3, which I use to run my CNC router, is a great program. Even better now that I’ve figured out how to pause a program and come back to it later. This came in especially handy when making a model based on a topo map of Ross Island off of Antartica (post on this soon). It was almost 200,000 lines of Gcode, so I had to pause and come back a couple of times. Here’s how I did it:
Prepare to Shutdown
- Press the spacebar to pause your machining. Preferably in an area where you’re not cutting anything at the moment. Do not jog anything
- Record your X, Y, and Z coordinates as well as the Gcode line that you’re currently on
- Shut down Mach3, go away, and do whatever you have to do
Restore Your Machining Operation
- Load your g-code again
- Hit “reset” then enter the X, Y, and Z coordinates from “prepare” step 2. Left mouse click on each axis then just enter the numbers. If you don’t jog anything, this should be the position you’re currently in
- Enter the line number that you need to start running from the previous step 2 and hit enter
- Click on “Set next line”
- Click on “Run from here”
- Hit the start button on Mach3 and let your code run. Repeat as necessary.
There may be a better way to do this (let me know in the comments!), but this is what I did. You can, of course, just hit the spacebar and walk away, but that makes me nervous if you have to leave with Mach3 running. The computer won’t go into sleep mode in this case.
When you are starting your cycle again, if you do somehow get your coordinates off before you can correlate the new axes, try to find a known point and program in the coordinates from there. An edge can work by bumping the cutter against it then programming the coordinates based on adding or subtracting half the tool diameter. Not as good as putting in the recorded values, but it may be acceptable depending on the situation.