Jump to content
MarkHoe

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}T0

{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
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?

Share this post


Link to post
Share on other sites
Posted · Endcode for moving the Z-axis.

Considering the Z0 is the bottom, you should just make a G28 (or G28 XYZ, that's the same).

Did you try it ?

Share this post


Link to post
Share on other sites
Posted · Endcode for moving the Z-axis.

I think @markhoe has an UMO+ and z0 is not the bottom but the top, or the bed at its highest position. (I have not tested to, going on memory)

Share this post


Link to post
Share on other sites
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?

Share this post


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

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

×
×
  • Create New...

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!