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


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!