Jump to content

Pause nel Gcode


polifemo

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:

 

;================================================================================
;CODICE PER PAUSA NELLA LAVORAZIONE
;================================================================================
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

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...