Jump to content
Ultimaker Community of 3D Printing Experts

Endcode for moving the Z-axis.

Recommended Posts

Posted · Endcode for moving the Z-axis.

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.

  • Link to post
    Share on other sites

    • 3 weeks later...
    Posted · Endcode for moving the Z-axis.

    Okay, thanks.

    But what do i write and where, to send the z-axis to the bottom?

    I know that the bottom max is about 200, but how do i put it into the endcode so it Works?

  • Link to post
    Share on other sites

    • 4 weeks later...
    Posted · Endcode for moving the Z-axis.

    Sorry, ive been out for a while.

    Yes, i have an UMO+.

    I have not tried it, but im going to when i have some more time on my hands.

    but as i read, i should write "G28 Z" instead of "G162 Z" right?

  • Link to post
    Share on other sites

    Posted (edited) · Endcode for moving the Z-axis.

    G1 Z200

    will work.  That tells the z axis to "go" to position 200mm.  G0 and G1 do the same thing.

    Edited by Guest
  • 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

      • New here? Get ahead with a free onboarding course
        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
        • 13 replies
    • Create New...