Move Z-axis down after a successful

Hi, with my K8400, I would like to move the bed down to Z=150 or 160mm as it will be easier to remove my object. Do you know where I should have a look ?

I found nothing in Repetier. I think I should study the firmware code but no idea in which file…

Under Slicer -> Configuration -> G-Code Tab -> End GCode

You can add an additional line to run on completion, something like:

G1 X0 Y0 Z150

That will move the bed down 150mm after job completion.

I have thought about doing this.
However what would happen if the print is say 170?
Would it move the bed back to 150?

Thanks birket, it works perfectly.
I discovered I can also use something like this : G1 F150 Z150 to control the speed of the Z-axis.

Last thing I’m trying to do : extruding some filament after while going down after a successful print. I have to check in the G-code where the extruder is stopped :wink:

[quote=“Wrong Way”]I have thought about doing this.
However what would happen if the print is say 170?
Would it move the bed back to 150?[/quote]

Yes, it would move the bed back up. This would only be a problem for very large footprint objects, as the head will move out of the way to X0, Y0.
ZMax is 190 - which is guaranteed to always move the bed down.

Thought about this also…
Is there a G-Code command that will say: “move to Zmax” ? - like for the Vertex printer - Move to Z190 @ as absolute ?

To do this, set the following code in the End G-code :

G90 ; Absolute positioning G1 X0 Y0 Z190
The head will move to the front left corner and the bed to 190.