Jump to content
Ultimaker Community of 3D Printing Experts

Pause the printer at a manually setting height of the build plate


Recommended Posts

Posted · Pause the printer at a manually setting height of the build plate

Hi all, 

 

I want to pause the printer at a manually setting height of the build plate. 

When I use M0/M1, it indeed pauses but it goes down to the lowest height. Here is my code.

M18 S5
M0
G1 Z100
G0 Z0.6
;LAYER:2

 

Is there anyway to pause the printer at a manual setting height of the build plate?

Thank you!

  • Link to post
    Share on other sites

    Posted · Pause the printer at a manually setting height of the build plate

    Why manually write this? You can just use the g-code postprocessor built into Cura.

    • Like 1
    Link to post
    Share on other sites

    Posted · Pause the printer at a manually setting height of the build plate

    If you do a quick test with Pause At Height at Layer:2 you will see that the code generates "relative" moves as well as absolute moves and inserts the proper resume height as well as the resume X and Y locations.

     

    Note that if the file is created with Z-Hops or Adaptive Layers then you must use "By Layer" because the variable Z location of Z-Hops confuses the plugin when it's set to "By Height".

     

    In your code snippet:

    M18 S5 ;This will cause the steppers to disable in 5 seconds.

    M0 ;pause.  You have 5 seconds to do what you are going to do.

    G1 Z100 ;drop the build plate to an absolute Z=100

    G0 Z0.6 ;Move the build plate to absolute Z=0.6

     

    If you take longer than 5 seconds before re-starting the print then the steppers disable and lose their position.  That makes the Z100 and Z0.6 really iffy as to where the print head is actually going to end up.  The X and Y position are lost also and the remaining print would be catastrophically off.

  • 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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    ×
    ×
    • Create New...