Pausing print at specific layer
I want to insert a pause into my GCode ( I want to place a metal rod)
"M601
M300
M1
M602
"
but it don't see any info on which layer the code relates to. Im opening the file in TextEdit on a Mac- the code looks fine but can't see what indicates the layer.
thanks
John
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
I set Z lift to say 0.61 in Slic3r
so that zlift plus zheight don't give confusing values
say you wanted to install your item at 8mm height, and you were printing at 0.2mm layer height.
when you get to 7.4mm model height, every Z lift will register as 8.0mm...
where as with Z lift set at 0.61, the zlift instances will now show as 8.01mm, only the true z model height will show as Z8.00
so after creating your gcode, you could view the file in say Notepad++ use the find function, and search for your preferred layer height to two decimal points... e.g Z8.00
then insert your gcode commands
don't forget to save your changes
regards Joan
I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK
Re: Pausing print at specific layer
I set Z lift to say 0.61 in Slic3r
so that zlift plus zheight don't give confusing values
say you wanted to install your item at 8mm height, and you were printing at 0.2mm layer height.
when you get to 7.4mm model height, every Z lift will register as 8.0mm...
where as with Z lift set at 0.61, the zlift instances will now show as 8.01mm, only the true z model height will show as Z8.00
so after creating your gcode, you could view the file in say Notepad++ use the find function, and search for your preferred layer height to two decimal points... e.g Z8.00
then insert your gcode commands
don't forget to save your changes
regards Joan
Thanks - for some reason I was expecting layer numbers otherwise z value -of course!!
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
;8.3
; PURGING FINISHED
G1 X115.643 Y108.743
G1 Z8.300
G1 E0.80000 F2100.00000
M204 S800
G1 F900
G1 X134.357 Y108.743 E0.48762
G1 X134.357 Y109.357 E0.01601
G1 X115.643 Y109.357 E0.48762
G1 X115.643 Y108.803 E0.01444
M204 S1000
G1 X115.225 Y108.325 F10800.000
M204 S800
G1 F900
G1 X134.775 Y108.325 E0.50939
G1 X134.775 Y109.775 E0.03778
G1 X115.225 Y109.775 E0.50939
G1 X115.225 Y108.385 E0.03622
M204 S1000
G1 X115.625 Y108.335 F10800.000
G1 X115.852 Y109.050
G1 F900
G1 X134.148 Y109.050 E0.22430
G1 F8640
G1 X130.857 Y109.050 E-0.76000
G1 E-0.04000 F2100.00000
G1 Z8.900 F10800.000
G1 X134.357 Y101.257
G1 Z8.300
G1 E0.80000 F2100.00000
M204 S800
G1 F900
G1 X115.643 Y101.257 E0.48762
G1 X115.643 Y100.643 E0.01601
G1 X134.357 Y100.643 E0.48762
G1 X134.357 Y101.197 E0.01444
M204 S1000
G1 X134.775 Y101.675 F10800.000
M204 S800
G1 F900
G1 X115.225 Y101.675 E0.50939
G1 X115.225 Y100.225 E0.03778
G1 X134.775 Y100.225 E0.50939
G1 X134.775 Y101.615 E0.03622
M204 S1000
G1 X134.375 Y101.665 F10800.000
G1 X134.148 Y100.950
G1 F900
G1 X115.852 Y100.950 E0.22430
;BEFORE_LAYER_CHANGE
G92 E0.0
;8.45
G1 F8640
G1 X119.143 Y100.950 E-0.76000
G1 E-0.04000 F2100.00000
G1 Z8.900 F10800.000
;AFTER_LAYER_CHANGE
;8.45
; PURGING FINISHED
G1 X115.643 Y100.643
M601
M300
M1
M602
G1 Z8.450
G1 E0.80000 F2100.00000
M204 S800
G1 F1019
G1 X134.357 Y100.643 E0.48762
G1 X134.357 Y109.357 E0.22706
G1 X115.643 Y109.357 E0.48762
G1 X115.643 Y100.703 E0.22550
M204 S1000
You can see my code addition (in red) at the end of the code above. It doesn't act as expected.
In fact it acts oddly.
Running it two times in a row gives a different result.
1. Most times it pauses, without an alert noise and moves to the default position but the M1 command doesn't seem to activate (clicking the knob to resume) - Just a resume option on LCD where it tries and pauses each time after resume.
2. At other times, the normal initial extrusion at the start doesn't occur but at M601, the alert noise occurs, it moves to the default positioning and clicking the knob resumes the heating of the nozzle, and attempts more printing but it then stops.
Any ideas?
Thanks
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
Hi John,
your pause commands don't seem to work for me either
try adding this line, in place of your code
M600 X10 Y200
it will force a filament change with the build plate forward rather than backward, making the print more accessible
be aware that using X0 caused a layer shift for me, which is probably down to the fact that the Mk3 uses collision detection for x & y endstops....
hope this helps,
Joan
I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK
Re: Pausing print at specific layer
You should be able to simply insert an M600 between the commented layer changes in the Slic3r G-Code; I just did this yesterday to make this.
If you're running an old Slic3r, update, the current version is 1.41.2+.
If you're running an older firmware, update, there have been some improvements to M600 handling as I understand it.
Re: Pausing print at specific layer
A bit of nuisance to remove and reinsert the fialament buts thanks as it does work. But it does give a repeating alarm which is good.
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
A bit of nuisance to remove and reinsert the fialament buts thanks as it does work. But it does give a repeating alarm which is good.
Glad that helped, but you're right it's a bit of a hassle to be forced into a filament change.
Since you started by trying this and it didn't work...I'll have to try it myself.
Re: Pausing print at specific layer
Hi Leo. I also tried the Gcode pause option and it got into a loop...
The M1 command seems to be the culprit.
I didn't look for a pause for x Seconds option as filament change doesn't bother me that much.
I tried pause and resume from LCD. But that seemed to leave a weak spot in the print...
Mind you I was using a case mode print which will show weaknesses up.
Regards Joan
I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK
Re: Pausing print at specific layer
According to https://github.com/prusa3d/Prusa-Firmware/wiki/Supported-G-codes
M1 AND M0 are listed together with the same description. Maybe I will try the M0 but I’m not able to for a few days.
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
I am looking exactly for the same.
I have a lot of parts to print and need to insert a metal part on a certain layer.
Now I make this with the color change option but I doen´t want to remove and insert the filament every time.
I am very new with edidting G code so I can´t find a solution on my own.
Can please anyone tell how a G code have to look for this:
Printer stop and extruder heater is switched off.
Y axis moves in order to insert the part easier.
Printer is shouting and waiting for a confirmation (click on the encoder).
After confirming, X and Y axes will be zeroed. ( in case a accidently move one axis)
Extruder is heating up and printer continues to print.
Is it even possible to write a code and how exactly should I insert it?
Thank you very much. 🙂
Re: Pausing print at specific layer
Today i also try this:
M601
M300
M1
M602
And i also get in an loop. Maybe a firmware bug?
Re: Pausing print at specific layer
Today i also try this:
M601
M300
M1
M602
And i also get in an loop. Maybe a firmware bug?
Interesting. What’s the best way to report a bug?
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
Raise a request on prusa github
Joan
I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK
Re: Pausing print at specific layer
This bug exist for about 20 days. I hope that this will be fixed in the next release.
https://github.com/prusa3d/Prusa-Firmware/issues/1378
Re: Pausing print at specific layer
This bug exist for about 20 days. I hope that this will be fixed in the next release.
https://github.com/prusa3d/Prusa-Firmware/issues/1378
Good to hear as I couldn’t find where to add a bug report. (And much better than i would have done)
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
Guys,
try this
G1 X10.000 Y10.000 E0; parking position GET THE PRUSA TO STICK IT'S TONGUE OUT!
M1; user stop
M105; return to current temp
Insert the code above, at the layer height you want to insert the item at,
the extruder should go to the back left, leaving the build plate almost fully accessible for part insertion...
if the extruder is in the way, change Y10.000 to Y200.000
the print should progress normally to the desired height, then park the head out of the way,
insert your component / components, and them press the button...
and hopefully tour print should continue, without having to change filament
regards Joan
I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK
Re: Pausing print at specific layer
Thanks - next time I will try.
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
Just a thought - Does M1 cool the bed as well, which is probably not ideal if it effects the adhesion.
i3 Mk3 [aug 2018] upgrade>>> i3MK3/S+[Dec 2023]
Re: Pausing print at specific layer
According to the wiki ( https://github.com/prusa3d/Prusa-Firmware/wiki/Supported-G-codes ),
M105 is "Returns current temperatures.", which I read differently as "Return to current temperature".
So I am not unsure what the purpose of M105 is for this exercise. Also I do not know if the M1 command causes any temperature changes, ie switch off any heaters.
Texy