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

      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
         
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 9 replies
    ×
    ×
    • Create New...