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

      • 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
        • 48 replies
    ×
    ×
    • Create New...