Hmm, Ok, it must be connected to the screens then, thanks for testing it all out.
The M01/M00 are my personal addition (there are a few of them) and it enables me to switch on "Stop on M01" on the screen so it pauses between every cut - most of my stuff is arty farty and tip-ups are very common - this gives me a chance to pull the drop out of the way before the torch slams into it, being a home-shop, material is more important than time so wastage is not in my dictionary.
On simple jobs I just set the optional stop off and let her go. The first M00 is a candcnc thing to give a chance to check your settings before the off.
I might look at macros, maybe its the better job for this task.
I presume I need to pull the #var out of the G-code and replace with a macro call?
Couldn't give us an idea of how to switch could you
