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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...