Jump to content

Pause at height not working correctly if more than one pause needed U4.9


iPa

Recommended Posts

Posted · Pause at height not working correctly if more than one pause needed U4.9

Hi,

I tried to insert two "pause at height", at 4mm then at 13mm.

But the script has inserted this two sequences consecutively at 4mm (at the same place) in the gcode file.
13mm script was executed the first at 4mm, immediately  after the 4mm script was executed!

 

G1 F300 Z4
;MESH:NONMESH
G0 F9000 X130.029 Y152.562 Z4
;TIME_ELAPSED:835.435373
;TYPE:CUSTOM
;added code by post processing
;script: PauseAtHeight.py
;current z: 15
;current height: 14.8
M83 ; switch to relative E values for any needed retraction
G1 F2100.0 E-0.8
G1 F300 Z16 ; move up a millimeter to get out of the way
G1 F9000 X10.0 Y10.0
M104 S0 ; standby temperature
M117 Insert coin
M0 ; Do the actual pause
M109 S220 ; resume temperature
G1 F2100.0 E0.8
G1 F2100.0 E-0.8
G1 F9000 X130.029 Y152.562
G1 F300 Z15 ; move back down to resume height
G1 F2100.0 E0.8
G1 F2100.0 ; restore extrusion feedrate
M82 ; switch back to absolute E values
G92 E630.15955
;TYPE:CUSTOM
;added code by post processing
;script: PauseAtHeight.py
;current z: 4.2
;current height: 4.0
M83 ; switch to relative E values for any needed retraction
G1 F2100.0 E-0.8
G1 F300 Z5.2 ; move up a millimeter to get out of the way
G1 F9000 X10.0 Y10.0
G1 F300 Z15 ; too close to bed--move to at least 15mm
M104 S0 ; standby temperature
M117 Insert magnet
M0 ; Do the actual pause
M109 S220 ; resume temperature
G1 F2100.0 E0.8
G1 F2100.0 E-0.8
G1 F300 Z5.2
G1 F9000 X130.029 Y152.562
G1 F300 Z4.2 ; move back down to resume height

 

 

ASX1_cointraps_10baht.gcode

  • Link to post
    Share on other sites

    Posted · Pause at height not working correctly if more than one pause needed U4.9

    It certainly is a mess.

    I knew that Pause at Height using "At Height" is sketchy if there are Z-Hops in the file (a well documented bug).  What happened to you seems to be have been caused by Z-Hops and another peculiar thing.

    I think what happened is that the first pause was inserted OK but the second saw the already inserted Z values of the first pause and so it added the second pause right there.  The two sets of pause code look jumbled/intertwined/just plain weird.  I think the search during the second pause routine saw the line "G1 F300 Z15" within the first pause code and so the second pause routine was inserted there as it was greater than the search number 13.

    Pause at Height works fine if you use "By Layer" because the search criteria is very specific.  My suggestion would be to pause at Layer:19 and again at Layer:64.

  • 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

      • Introducing Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
        • 10 replies
      • 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.
        • 0 replies
    ×
    ×
    • Create New...