Welcome! Log In Create A New Profile

Advanced

[SOLVED] M0 Pause (far!) too short

Posted by manup 
[SOLVED] M0 Pause (far!) too short
September 08, 2021 02:32PM
Hi,

I have to print things on an old ordbot hadron running marlin 2.0 and need to pause at some layer (say 120 for example) to insert a nut.
Cura 4.8.0 on Ubuntu 20.04 are my slicer/OS.

Here attached the "Pause at height" cura setup.


Here's the g-code cura's been generating accordingly.
;added code by post processing
;script: PauseAtHeight.py
;current layer: 120
M83 ; switch to relative E values for any needed retraction
G1 F300 Z14.4 ; move up a millimeter to get out of the way
G1 F9000 X190 Y190
G1 F300 Z15 ; too close to bed--move to at least 15mm
M104 S0 ; standby temperature
M117 Paused
M300 S440 P200
M0 ; Do the actual pause
M109 S240 ; resume temperature
G1 F300 Z14.4
G1 F9000 X103.797 Y100.097
G1 F300 Z13.4 ; move back down to resume height
G1 F1500 ; restore extrusion feedrate
M82 ; switch back to absolute E values
G92 E205.97136
;LAYER:120

When the moment comes to pause, the head moves to 190x190 as expected, beeps are heard and... immediately the print is resumed before I can insert the nut, that is: no pause happens at all.

I know I can split the gcode file, etc, etc. That's not what I'd like to experience, but have a few seconds, i.e the time needed to place the nut and then press the resume button to get the print back at work.

I did try to specify 1800 as "disarm timeout" for no more luck.

What can I / do I have to do to sort it out?
Thanks

Edited 1 time(s). Last edit at 09/10/2021 07:57AM by manup.


manu
VDX
Re: M0 Pause (far!) too short
September 08, 2021 03:24PM
... hmmm ... a time set of "0s" isn't this long - or is it? smoking smiley


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: M0 Pause (far!) too short
September 09, 2021 07:36AM
Quote
manup
M0 ; Do the actual pause

Have you tried setting the S Parameter to M0?

[marlinfw.org]
Re: M0 Pause (far!) too short
September 09, 2021 08:35AM
Hi, thanks for contributing.

@VDX, as I mentioned 1800 set as "disarm timeout" changes nothing.

@cqexbesd nope!
This code is generated by cura and directly sent to the printer via USB. I'm not using a SD card. I'll give it a try and tell you back.
Re: M0 Pause (far!) too short
September 09, 2021 04:34PM
BTW I’m using M125 P1 do achieve something similar.

[marlinfw.org]
Re: M0 Pause (far!) too short
September 09, 2021 05:26PM
OK, as you can see in my 1st post, cura's post processing plugin has an option for the "Pause at height" method.

You can find here:
* Marlin (M0)
* Griffin (M0, firmw...
* BQ (M25)
* RepRap (M226)
* Repetier (@pause)

As Marlin is the firmware loaded in this printer, I reckoned Marlin (M0) would be the appropriate choice.

No M125 P1 method shown here.
Re: M0 Pause (far!) too short
September 10, 2021 07:56AM
Quote
cqexbesd
Have you tried setting the S Parameter to M0?

[marlinfw.org]

It works. I edited the gcode file produced by cura, replacing the line
M0 ; Do the actual pause
by
M0 S120 blabla; Do the actual pause
and submitted it to the printer.

I guess I could try to use the "Search and Replace" cura extension to do the job... I'll give a try some time.

Thanks you all for the help.

Edited 1 time(s). Last edit at 09/10/2021 07:57AM by manup.
Sorry, only registered users may post in this forum.

Click here to login