Jump to content
UltiMaker Community of 3D Printing Experts

Pause nel Gcode


Recommended Posts

Posted · Pause nel Gcode

Buongiorno a tutti,

Uso (da poco) una stampante ender 6 + Cura 4.8.0
Dovrei inserire delle pause nel gcode per collocare dei dadi o per cambiare colore del filamento.
Il software cura permette sia di inserire una pausa ed anche una funzione per inserire il cambio filamento.
Purtroppo poi, all' atto pratico, entrambi i codici inseriti vengono ignorati dalla macchina.
La pausa che vorrei avere non è l' arresto per un tot di secondi ma un arresto con riavvio quando io premo un tasto..

Girovagando in rete ho trovato questo:


G91                       ; imposta le coordinate in relative
G1 Z10                    ; alza l'ugello di 10 mm
G90                       ; imposta le coordinate in assolute
G1 X0 Y0 F1000            ; sposta il carrello alle coordinate x0 e y0
M400                      ; attesa per finire movimenti
M300 S300 P1000           ; avviso acustico
M117 premi per ripartire  ; messaggio su diplay
M0                        ; manda in pausa
G91                       ; imposta le coordinate in relative
G1 Z-10                   ; abbassa l'ugello di 10 mm
G90                       ; imposta le coordinate in assolute


che, nel punto che decido, sposta l' estrusore ma poi ritorna subito sul pezzo senza eseguire pause.
Devo essere veloce a premere "pause" sul display della macchina per eseguire una pausa manuale quando vedo che l'estrusore si stacca dal pezzo.
Ringrazio per l'aiuto.

  • Link to post
    Share on other sites

    Posted (edited) · Pause nel Gcode

    Sorry for the response in English.  It's been a long time since Italian was spoken in my house.

    This is a known glitch in Creality firmware (4.2.x mainboards and TFT screens).  A firmware upgrade is supposed to fix it.  Unfortunately I don't know which version of the firmware is the right one.


    The Glitch---When the printer gets a command that sends a message to the printer TFT screen, the command is ignored because the message cannot be displayed due to the glitch.  M0 is the normal Marlin pause command and sends "Click to resume..." to the printer display.  M1 is ignored for the same reason.  M117 is ignored because it always sends a message to the screen.


    In Cura you can use the post processor "PauseAtHeight".  Unfortunately it uses M0 to pause.  In the "After Pause Gcode" box enter G4 S180 ("S" is time in seconds).  That will give you 3 minutes before the printer resumes on it's own.


    Also in the Pause At Height settings, if there are Z-hops in the Gcode file then "By Height" doesn't work and you must use "By Layer".  I don't bother with the Retraction settings.  After hand feeding the new filament to change the color I pull back about 3mm of filament.  Use some long-nose tweezers to grab the string hanging from the nozzle and when the print resumes yank it off.  You will get a clean restart.

    Edited by GregValiant
  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Our picks

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    • Create New...