My Grizzly G0704 mill post that launches GWizardE editor with posting
Attached in the zip file is my Grizzly G0704 mill with Mach3 controller (inches) post and a sample g-code file. This post uses script to launch the GWizardE g-code editor and backplotter rather than the Preditor editor. Actually, this script will launch whatever your default application for .nc files happens to be. So if it is Preditor, it will launch that, if notepad or something else, that will get launched.
This post also does a little more "pretty" structured formatting. The example .nc is for a simple ring cut in 1/8" sheet, it is 3" diameter with a 2" hole. I used this as an example to demonstrate a feature I learned from BC support and to ask a question. When I cut parts like this on a fixture that holds 12 parts, I mill the holes out first. Then I want the machine to pause/stop while I install hold downs that clamp the parts so the perimeters can be milled without using tabs. The trick is to use two (or more) milling operations. The machine will stop at the end of the operation and allow the clamps to be installed. My question is this - with my current CAM I created a post that allows me to insert a comment "Install hold downs" at this point in the program. Mach3 will display these comments so it makes a nice visual reminder to install them. I couldn't find a way to create a comment for each mill operation - that would have allowed me to script putting the comment in the right place. I suppose I could use the set of comment lines and maybe write some script that creates a g-code comment block, say the first mill operation gets comment_1, the second operation gets comment_2, etc. I really only need a couple of these but if I did it for, say 5, I'd have some comments left over to do other things. Does anyone have any other ways of doing this? You can actually see a quick and dirty test of this in the post and .nc file I posted. Look at block 16 in the post, I used comment_1 for it and in the .nc file you'll see that it shows the "Install hold downs" comment.
cheers,
Michael
Reelsmith, Angling Historian, and Author of "The Reelsmith's Primer"
www.EclecticAngler.com | www.ReelLinesPress.com