Notifications
Clear all

Z offset: G or M code?  

  RSS
TheCase
(@thecase)
Active Member
Z offset: G or M code?

Is there way to set/read the Z offset via G or M codes?

I think it would also be nice if the current setting could be viewed or adjusted via the LCD when not in print mode.

Posted : 07/06/2016 12:19 am
PJR
 PJR
(@pjr)
Moderator
Re: Z offset: G or M code?

Hi

I have the "Live Adjust" available when the printer is idle. Just go there and it displays the setting. This is firmware 3.0.1.

Having said that, I can't really see why I would want to know the value. When I calibrated the printer, I was not interested in or looking at the value; I just wanted to get the nozzle to the correct position.

Actually, the value is simply the difference between where the probe is positioned and where it should be positioned.

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Posted : 07/06/2016 7:03 am
TheCase
(@thecase)
Active Member
Topic starter answered:
Re: Z offset: G or M code?

I would like to set it as part of my printer profile.

That's only because I'm assuming the value gets wiped with a new firmware flash.

If it gets stored somewhere outside the firmware... that's a different story

Posted : 08/06/2016 2:44 am
PJR
 PJR
(@pjr)
Moderator
Re: Z offset: G or M code?

Yeah, it gets stored in EEPROM, so not needed in GCode.

It should not change with a firmware upgrade.

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Posted : 08/06/2016 10:55 am
David T.
(@david-t)
Noble Member
Re: Z offset: G or M code?

That's only because I'm assuming the value gets wiped with a new firmware flash.
All settings untouched after upgrade 3.0.0->3.0.2.

Posted : 08/06/2016 10:57 am
TheCase
(@thecase)
Active Member
Topic starter answered:
Re: Z offset: G or M code?

Perfect. Thanks for the info

Posted : 09/06/2016 12:08 am
Share: