Well, I've tried it and yes, consistency CAN be achieved if you wait for the ArcOk signal (if only someone had said that earlier
)
Using the code above inside the M03 macro means that even without a G04 P0.?? dwell, you can mark predictable points on the sheet without piercing through.
But as suspected, this now means you can't run a job if the torch is turned off - I do this a lot with a new job file to test the layout etc, just a dummy run through.
Also when using the CandCNC MP3000 stuff you can have a tool defined as no THC, this also upsets the action of this code.
Here's what i would do if only i knew how..
Add an LED and screen button titled "Dry Run" or something similar, the button would flip the LED on or off.
Inside the M03 macro the status of this LED would be tested and if off then none of the M03 code would run - no torch fire etc.
If on then the M03 would act as it is at present - fire the torch then wait etc.
Adding the button and LED is OK but how to toggle the LED state is unknown by me at present.
Anyone care to chip in with some code?
Of course, if anyone has a better version then I'd love to see it but as it is i think the code above fixes 99% of the issue.