Welcome! Log In Create A New Profile


Adjust Z-Height with G-code?

Posted by Bearded Flyer 
Adjust Z-Height with G-code?
October 29, 2019 12:58PM
I need to give my Mendel90 a service as prints are not as good as they could be and the first layer is not sticking properly. When I have re-leveled the bed, I need to replace the kapton tape on the Ikea mirror tile, and found what the new Z-Height and E-Steps are is there a way to change these using g-code instead of altering the config.h file in the arduino gui and uploading it?

Since I last did this I have installed a raspberry Pi 3 running Octoprint. If it is not possible to alter the Z-height and E-steps with g-code then I will disconnect the Meltzi to Pi usb cable and upload the arduino sketch using a PC to Meltzi usb cable like I have done in the past but it would be more convenient to do it via Octoprint and g-code.

Re: Adjust Z-Height with G-code?
November 06, 2019 04:05AM
"Permament" (Saved) offset
- move nozzles away from bed, + moves closer to bed
M206 Z0.1; Or whatever your offset is
M500; Save to EEPROM
M503; Show EEPROM Settings

G92 Z-0.1
Re: Adjust Z-Height with G-code?
November 06, 2019 03:43PM
Thanks Diemex. Just what I was looking for.
Sorry, only registered users may post in this forum.

Click here to login