OctoPrint: M601 Printhead doesn't stay in the back during the pause
 
Notifications
Clear all

OctoPrint: M601 Printhead doesn't stay in the back during the pause  

  RSS
Doagl
(@doagl)
Member
OctoPrint: M601 Printhead doesn't stay in the back during the pause

Hey guys! I really hope you can help me. I print via OctoPrint. The following problem occurs: every time I set a pause in the slicer my printer makes one. But normally the printhead should stay in the upper left corner. It does for a very short time. Then it comes back to the position it  later starts the print again. I don't have a clue and my "Marlin" isn't that good. What I have tried yet:

  • Set up OctoPrint properly (GCODE scripts, etc.)
  • googled for a lifetime 
  • logged a print

Thx a lot for your help and your competence!

Cheers 😉 Matthias


2024-11-19 10:13:31,637 - Send: N477 M117 79% L=4/6*87
2024-11-19 10:13:31,642 - Recv: ok
2024-11-19 10:13:31,648 - Send: N478 G1 X129.357 Y109.357 Z.65*119
2024-11-19 10:13:31,739 - Recv: ok
2024-11-19 10:13:31,741 - Send: N479 M74 W0.0607659*72
2024-11-19 10:13:33,006 - Recv:  T:224.26/225.00 B:59.87/60.00 X:37.05/36.00 A:50.87/0.00 @:74 B@:80 HBR@:154
2024-11-19 10:13:33,498 - Recv: ok
2024-11-19 10:13:33,502 - Send: N480 M117 NFC*67
2024-11-19 10:13:33,505 - Recv: ok
2024-11-19 10:13:33,507 - Send: N481 M601*41
2024-11-19 10:13:33,522 - Recv: ok
2024-11-19 10:13:33,523 - Recv: echo:enqueueing "M118 A1 action:pause"
2024-11-19 10:13:33,524 - Recv: // action:pause
2024-11-19 10:13:33,525 - Pausing on request of the printer...
2024-11-19 10:13:33,525 - Changing monitoring state from "Printing" to "Pausing"
2024-11-19 10:13:34,301 - Send: N482 G1 X129.357 Y109.357*37
2024-11-19 10:13:34,303 - Recv: ok
2024-11-19 10:13:34,304 - Send: N483 M400*40
2024-11-19 10:13:35,007 - Recv:  T:223.92/225.00 B:59.91/60.00 X:37.00/36.00 A:50.94/0.00 @:90 B@:54 HBR@:155
2024-11-19 10:13:36,305 - Recv: echo:busy: processing
2024-11-19 10:13:37,008 - Recv:  T:223.86/225.00 B:59.79/60.00 X:37.05/36.00 A:50.94/0.00 @:91 B@:96 HBR@:156
2024-11-19 10:13:38,306 - Recv: echo:busy: processing
2024-11-19 10:13:39,008 - Recv:  T:223.43/225.00 B:59.84/60.00 X:37.04/36.00 A:51.00/0.00 @:107 B@:62 HBR@:157
2024-11-19 10:13:39,828 - Recv: ok
2024-11-19 10:13:39,836 - Send: N484 M114*47
2024-11-19 10:13:39,840 - Recv: X:129.36 Y:109.36 Z:20.65 E:-1.70 Count X:12936 Y:10935 Z:8549
2024-11-19 10:13:39,846 - Recv: ok
2024-11-19 10:13:39,855 - Send: N485 M601*45
2024-11-19 10:13:39,887 - Recv: ok
2024-11-19 10:13:40,686 - Changing monitoring state from "Pausing" to "Paused"
2024-11-19 10:13:41,008 - Recv:  T:223.16/225.00 B:59.77/60.00 X:37.14/36.00 A:51.05/0.00 @:115 B@:85 HBR@:160
2024-11-19 10:13:43,009 - Recv:  T:223.62/225.00 B:59.83/60.00 X:37.26/36.00 A:51.12/0.00 @:95 B@:60 HBR@:169
2024-11-19 10:13:45,010 - Recv:  T:224.32/225.00 B:59.77/60.00 X:37.25/36.00 A:51.18/0.00 @:69 B@:82 HBR@:168
2024-11-19 10:13:47,010 - Recv:  T:224.36/225.00 B:59.83/60.00 X:37.43/36.00 A:51.26/0.00 @:78 B@:66 HBR@:171
2024-11-19 10:13:48,144 - Recv: echo:enqueueing "M118 A1 action:resume"
2024-11-19 10:13:48,145 - Recv: // action:resume
2024-11-19 10:13:48,146 - Resuming on request of the printer...
2024-11-19 10:13:48,146 - Changing monitoring state from "Paused" to "Resuming"
2024-11-19 10:13:48,194 - Send: N486 M602*45
2024-11-19 10:13:48,217 - Recv: ok
2024-11-19 10:13:48,221 - Changing monitoring state from "Resuming" to "Printing"
2024-11-19 10:13:48,224 - Send: N487 M73 Q58 S0*35
2024-11-19 10:13:48,231 - Recv: ok
2024-11-19 10:13:48,241 - Send: N488 G1 Z.65 F720*40
2024-11-19 10:13:48,251 - Recv: ok
2024-11-19 10:13:48,267 - Send: N489 G1 E.7 F1500*51
2024-11-19 10:13:48,278 - Recv: ok
2024-11-19 10:13:48,290 - Send: N490 G1 F1902*73
2024-11-19 10:13:48,295 - Recv: ok
2024-11-19 10:13:48,297 - Send: N491 M73 P58 R0*36
Posted : 20/11/2024 8:45 am
Walter Layher
(@walter-layher)
Prominent Member
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

Do your settings in OctoPrint for the Gcode scripts look like in the screenshot?

Posted : 20/11/2024 9:01 am
Doagl
(@doagl)
Member
Topic starter answered:
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

Yeah... almost... but yes 😉

Posted : 20/11/2024 9:10 am
Walter Layher
(@walter-layher)
Prominent Member
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

Ah, I see the "M604" in the first line of the first text box is not visible in the screenshot, but it is there.
So the printhead of your MK4 does not stay indefinitely in pause if you have set a pause in PrusaSlicer?
I have used my MK4 with OctoPrint for embedding clear plastic sheets into prints with a pause set in PrusaSlicer for this model here. The printer waited indefinitely until I hit "resume" on the printer display, which one time was at least half an hour. I have attached my PrusaSlicer project for the cover of one of these boxes. Perhaps you could compare the project with your settings in PrusaSlicer if there is a difference?

Posted : 20/11/2024 10:45 am
Doagl
(@doagl)
Member
Topic starter answered:
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

Couldn't find any differences :/ except the starting g-code. But this doesn't have to do anything with the M601....

Posted : 20/11/2024 7:38 pm
Walter Layher
(@walter-layher)
Prominent Member
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

2024-11-19 10:13:48,146 - Resuming on request of the printer...

Imho this looks like the printer issued the command to continue the print by itself. You did not press the button on the printer, right?

Posted : 20/11/2024 11:22 pm
Jeremy Fitzhardinge
(@jeremy-fitzhardinge)
Member
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

I'm having exactly the same problem. The sequence is:

  1. pause happens
  2. printhead moves to the corner
  3. it immediately comes back
  4. printer waits to be resumed (seemingly indefinitely)

So it's not unpausing by itself, just not keeping the head away. This makes it really awkward to, say, drop something into a hole.

Also there don't seem to be any available head movement controls in the pause "Tune" menu, and obviously I don't want to move the head manually. Hm, though can I just twist the knob to change Z like you could on on the mk3?

Posted : 21/11/2024 9:21 am
Walter Layher
(@walter-layher)
Prominent Member
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

Hmm, it has been a while since I printed the box with the acrylic inserts, so I don't remember exactly where the printhead stopped during the pause. Just that I it was not in the way for me to insert the acrylic sheet into the print, which is a bit more involved than just dropping in a nut or a magnet and requires access to the whole plate surface to do it.
Perhaps I'll print another one of those boxes over the weekend and activate the serial log in OctoPrint for it to compare what happens.

Posted : 21/11/2024 11:36 am
Walter Layher
(@walter-layher)
Prominent Member
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

I checked today with a small print, inserted a pause in PrusaSlicer and watched what happened. My MK4 had the same behaviour as described by @doagl and @jfitzinge. During the pause the head moved a bit up, then to the back on the right hand side and then right back to the printed part. When I printed with that setting a few months ago the printhead was at the back end of my printed part and so it was not in the way for me then and I did not register it as a nuisance. 😉 I guess where the printhead will wait is dependent on the position of the layer seam on the part. So it could be very well in the way for other parts and one could take care in PrusaSlicer to position the layer seam somewhere on the back end of the printed part.
After the first check I experimented a bit with adding G-codes to the pause script in OctoPrint and I think I found a solution for our problem that will give us the desired behaviour. The printhead will first behave as before, as that movement (back to the R.H. side of the bed and then back to the print) seems to be the reaction of the printer to the M601 command. But if you add another command to move the printhead to the back end of the bed on the right hand side it will do that, wait there until you resume the print via OctoPrint or via the display on the printer and then return to the correct spot on the printed part and continue. Just add the line "G1 X240 Y190" below the line with M601, see screenshot. I observed that it is not important if the command "M601" is actually present in that text box. The printer behaves the same if it is there or not. I guess the presence of the command in the gcode file that is inserted by PrusaSlicer is enough and it does not matter if it is given twice (once in the gcode file and once through OctoPrint).
If you want the printer to beep, remove the ";" at the beginning of the line starting with ";M300 ...".
I have tested this on several small prints now and it worked every time. I hope this will work for you, too. 🙂

Posted : 21/11/2024 9:47 pm
Jeremy Fitzhardinge
(@jeremy-fitzhardinge)
Member
RE: OctoPrint: M601 Printhead doesn't stay in the back during the pause

Thanks, this works for me.

Posted : 22/11/2024 7:34 am
Share: