post help

im going to to use sheet cam as my cam for a laser cutter, i converted a china no name brand to mach 3 control and have to use m10/m11 commands to turn the laser on and off, i need to edit to post to use m11 instead of m3 and m10 for m5 how would i do this. fyi i have to use m10/11 vs m3/m5 because mach 3 has a delay for spindle run up and the laser turns on imetataly so it burns a hole due to the pause, m10/m11 has no delay. this has been the the fix mach users cam up . i just need mod the post

thanks for the help

That should be pretty easy. Edit the post and search for every occurrence of M3 and change it to M10. Repeat for M5. You are probably best off starting with the Mach3 plasma post.

If I use a plasma post will I still be able to generate G. code using the milling operations? One thing I wanted to be able to do was pocket and in the case of the laser would simply engrave a solid versus just outlined. Essentially I need the post to have M11 and M10 commands removing any references and also need any references removed for Z. moves as well since this machine is just a XY table with the trigger. What would happen if I tried to post a mailing operation but the postprocessor had an easy references removed when it just simply ignore writing those?

A milling operation should generate code. The piercing may be different for instance there won’t be any pierce delay. Mind you, if you are laser marking you probably don’t want pierce delay anyway.

To get rid of Z moves, look for lines like this:
post.ModalNumber (" Z", endZ * scale, “0.0000”)
and add two dashes before them:
– post.ModalNumber (" Z", endZ * scale, “0.0000”)
Two dashes mean that the rest of the line should be ignored.