I need to insert an M code after the first M3 (torch on) but only after the first M3. Is this possible?
Do you need to do this every time? If so, this can be dome with a modification to the post processor. What post are you using?
Here is the post Les.
I need to insert “M1102” after the first M03 in the program. It should not be inserted after any subsequent M03’s.
Thanks
I figured it out Les. I added this to the pen down function…
if (c1102 == 0) then
post.Text (" M1102\n")
c1102 = c1102 + 1
end
I set c1102 == 0 in the init function.
Yes, that will do the trick.