Jump to content
Ultimaker Community of 3D Printing Experts

Endcode for moving the Z-axis.

Recommended Posts

Hey Forum,

I have asked this question before, and backthen got an answer that i found not to be working.

I might have done it wrong, (im almost sure, because i dont yet fully understand the gcodes) so therefore i seek additionel advice.

Last time i asked for an endcode that moved the Z-axis to the bottom max position, i got that i should write "G162 Z" in my endcode.

My endcode looks lige this :

; Default end code

G28 X Y ; Home x and y axis

G162 Z ; Send printbed to bottom max

M107 ; Turn off fan

; Disable all extruder

G91 ; Relative positioning


{IF_EXT0}G1 E-1 ; Reduce filament pressure

M104 T0 S0

G90 ; Absolute positioning

G92 E0 ; Reset extruder position

M140 S0 ; Disable heated bed

M84 ; Turn steppers off

I cant figure out if some of the following codes mabye disable the command.

Can anyone help me with writing an endcode that sends the printbed to bottom max when done printing.

Thanks guys.

Share this post

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

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 0 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!