How do you script multiple pause at zpos?
I have seen the code somewhere, but have looked and looked but cant find it.
I dont want to enter M0 into the code, as there is a simple way of putting it into the script tab, but I cant find it.
One thing to note on this, is that if you have over 1000 layers, that it will also run the replace command on layers 1000, 1001, 1002, etc.JoeJ wrote:You could put something like this in your post processing script
{REPLACE "; layer 100" "M0\n; layer 100"}
That will add a pause right at the start of layer 100. If you need more exact positioning for the pause location, then just open up the gcode file in a text editor and add the "M0" command wherever you want it.
How long is the pause? Does it wait for some input from the user?{REPLACE "; layer 100" "M0\n; layer 100"}
In case this wasn't mentioned above, this method only works when printing over USB. If you are printing from the SD card, then you are limited by the machine's firmware and if it supports pause commands (some firmwares do, and some don't).
Assuming you are printing over USB, the "M0" command will act the same as if you clicked the Pause button in the machine control panel. You will need to click Resume for the print to begin again.