UltiMaker uses functional, analytical and tracking cookies. Tracking cookies enhance your experience on our website and may also collect your personal data outside of Ultimaker websites. If you agree with the use of tracking cookies, click “I agree, continue browsing”. You can withdraw your consent at any time. If you do not consent with the use of tracking cookies, click “Refuse”. You can find more information about cookies on our Privacy and Cookie Policy page.
Pause the printer at a manually setting height of the build plate
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!
The full stable release of UltiMaker Cura 5.4 is here and it makes it easier than ever to remove brims and supports from your finished prints. UltiMaker S series users can also look forward to print profiles for our newest UltiMaker PET CF composite material!
Recommended Posts
nallath 1,117
Why manually write this? You can just use the g-code postprocessor built into Cura.
Link to post
Share on other sites
GregValiant 1,112
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