Post processor adding M01 after each part

SheetCam related questions and tips can be posted here
Post Reply
J0nesy
1 Star Member
1 Star Member
Posts: 11
Joined: Thu Nov 05, 2020 11:05 am

Post processor adding M01 after each part

Post by J0nesy »

I'm finally getting to the point where I have enough work to layout an entire sheet to cut. However I've had some issues with parts popping up and my torch running into them. I'd like to have the post processor add the M01 optional stop code after each part in a sheet. I've manually added it to the code the past couple time I've cut and it seems to do exactly what I want. Just need to figure out how to automate it.

I've tried the code snippet thing, and maybe that would be better way to go, but I can't get it to work correctly either. I add the plasma cut step, then code snippet. Then move to the next part and do the same. But once the post processor is ran it puts all the M01 snippets at the very end of the code.

I'm open to suggestions on other ways to accomplish this.
User avatar
djreiswig
4.5 Star Elite Contributing Member
4.5 Star Elite Contributing Member
Posts: 1931
Joined: Thu Nov 19, 2015 10:02 pm
Location: SE Nebraska

Re: Post processor adding M01 after each part

Post by djreiswig »

I think it should work of you put it in the OnNewPart function.
2014 Bulltear (StarLab) 4x8
C&CNC EtherCut
Mach3, SheetCam, Draftsight
Hypertherm PM65
Oxy/Acetylene Flame Torch
Pneumatic Plate Marker, Ohmic, 10 inch Rotary Chuck (in progress)
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7778
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: Post processor adding M01 after each part

Post by acourtjester »

Not sure if the "OnNewPart" function would work if you had a file with more than one part in it. Another suggestion is to use the Cutting rules as you can add a pause at the end of a cut see attached. But (always the but) again that may not work for the same reason. I would ask Les at SheetCam he reply quickly to question.
cut rules.jpg
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7778
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: Post processor adding M01 after each part

Post by acourtjester »

Ok change of plans I did create a new cut rule and it did place it at the end of each part, I had a file with 4 parts and they show the pause at the end of each cut. Only one cut operation was planned for the 4 parts. The rule for the stop was M05 M01, this stops the torch and then pauses after that. when you make it call it what you want when saving.
test cut 2.JPG
test cut 6.jpg
test cut 6.jpg (12.88 KiB) Viewed 364 times
test cut 4.jpg
test cut.JPG
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
J0nesy
1 Star Member
1 Star Member
Posts: 11
Joined: Thu Nov 05, 2020 11:05 am

Re: Post processor adding M01 after each part

Post by J0nesy »

Thanks for the tips. I'll give them a try this weekend.
Post Reply

Return to “SheetCam”