1

Topic: Relative Z for end of job?

Does any one know what gcode i can put in the end code to lower the bed relative to where the job ends in z height? Say I have a job that ends with Z at 42mm; I want the extruder to home in x and y (which I have and works) but I also want the bed to drop an additional 10mm. Right now I have it set to drop to 30mm, but I don't want to accidentally run into my just finished part if it's taking up alot of room on the bed.

This is what I have for end code now:

G92 E0
M107
M104 S0 ; turn off temperature
G28 Y0 X0 ; home X-Y axis
G1 Z30
M84

the G1 Z30 is an absolute 30mm I'm assuming.

2

Re: Relative Z for end of job?

G91 G1 Z-10 F150

3

Re: Relative Z for end of job?

Thanks, I will give that a try. Didn't think it would be as simple as adding a minus sign.
Is the F150 to make sure the Z doesn't try to pushed past the build envelope limits?

4

Re: Relative Z for end of job?

THe G91 is a separate command that tells it to change to relative coordinates. Therefore the G1 move is 10mm from the previous position. F is for feedrate or speed of the movement.

5

Re: Relative Z for end of job?

Thanks for the clarification.