Jump to content

Unwanted Z move after "Pause at Height"


Go to solution Solved by Dustin,

Recommended Posts

Posted · Unwanted Z move after "Pause at Height"

Can someone see why I get this Z movement after Pause?  I have done this a few times with success but am unable to find what is causing the Z axis to move down to the bed and then the Head collides with the print.

;TYPE:CUSTOM
;added code by post processing
;script: PauseAtHeight.py
;current layer: 107
M83 ; switch to relative E values for any needed retraction
G1 F1500 E-1
G1 F300 Z22.6 ; move up a millimeter to get out of the way
G1 F9000 X222 Y222
M104 S200 ; standby temperature
M117 2
M18 S1800 ; Set the disarm timeout
M0 ; Do the actual pause
G28 Y
M109 S210 ; resume temperature
G1 F1500 E1
G1 F199.998 E1; Extra extrude after the unpause
G1 F1500 E-1
G1 F9000 X145.046 Y144.755
G1 F300 Z21.6 ; move back down to resume height
G1 F1500 E1
G1 F2139.4 ; restore extrusion feedrate
M82 ; switch back to absolute E values
G92 E704.4168
;LAYER:107
;TYPE:WALL-INNER
;MESH:Cage3B.stl
G3 X144.459 Y145.013 I-0.764 J-0.943 E704.43832 F1069
G1 X143.691 Y145.016 E704.46386
 

  • Link to post
    Share on other sites

    • Solution
    Posted · Unwanted Z move after "Pause at Height"

    I'm only seeing 2 z moves.. these appear to be correct distances..
    if there is more than this going on, the issue is firmware side.

  • Link to post
    Share on other sites

    Posted · Unwanted Z move after "Pause at Height"

    Thanx,

    I had the G28 Y code in there because I had not learned to put the delay for stepper motors to turn off.  I was doing the "place item (magnet) in print" and the Y axis slide during the process so rehoming the Y axis fixed that.  Don't know why but when I cut the G28 Y out, the problem went away.  Oddly, I have done several successful prints with rehoming the Y but in the end putting a delay in stepper motor deactivation was the real fix.

    Just starting with the Gcode thing so I appreciate the feedback.

  • Link to post
    Share on other sites

    Posted · Unwanted Z move after "Pause at Height"

    This is just an FYI...

    Depending on the "repeatability" of the end stop switches - it is generally not a good idea to home any axis during a print.  The switches are going to vary at least a little bit every time you ask for homing.  The "0" position this time will likely not be exactly the same as the "0" position last time.

    When the X and/or Y are involved during a print you can get a minor but noticeable layer shift.  When it happens with the Z you can get an over-extruded layer (the new Z0 is a bit too low), or an under-extruded layer (the new Z0 is a bit too high).

    • Like 1
    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.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
        • 56 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 29 replies
    ×
    ×
    • Create New...