Welcome! Log In Create A New Profile

Advanced

GCode to lift z axis at the start of the print

Posted by merchant1307 
GCode to lift z axis at the start of the print
March 19, 2018 11:45AM
What gcode should I use in the start code to lift z axis after bed levelling? I've tried both of these and neither seemed to work.

G91 ; use relative positioning for the XYZ axes
G1 Z1 F3600 ; move 1mm above the current location
G90 ; use absolute positioning for the XYZ axes

M851 Z0.4 ; lift z axis

My nozzle is about .6mm too low after it autolevels. I've edited firmware and none of it alters positioning of z post autolevel.

Ok I just did two tests with both of them lifting 50mm and the first one is working. The lift was unnoticeable and using two was confusing.

It's lowering after raising as I was starting to suspect I did 50mm again and it was lowering after raising, is there anyway to stop this I may have to just do it before first layer maybe just lower bed.

Edited 6 time(s). Last edit at 03/19/2018 01:43PM by merchant1307.
Re: GCode to lift z axis at the start of the print
March 20, 2018 03:19AM
G91 ; use relative positioning for the XYZ axes
G1 Z1 F3600 ; move 1mm above the current location
G92 Z0.4 ; 1mm-0.4mm=0.6mm that's how you can correct wrong probe height
G90 ; use absolute positioning for the XYZ axes
Sorry, only registered users may post in this forum.

Click here to login