quick marlin question, Is there a M code to change the " Z_PROBE_OFFSET_FROM_EXTRUDER -7.0"

quick marlin question, Is there a M code to change the
" #define Z_PROBE_OFFSET_FROM_EXTRUDER -7.0"
from say octoprint terminal? Its a headace to re uppload the firmware every time…

I use M503 to view the current settings which lists M212 as the Bed probe offset. Then use M500 to save the settings. I do also see a M565 that says it is Set Z probe offset as well http://reprap.org/wiki/G-code#M565:_Set_Z_probe_offset.

Thx fore the quick replay! I will test this today!

How can I not have found that M565… My bad…

Marlin does not document either of those. Do M212 and M565 actually work?

I haven’t used the M565, but I have used M212, and it does work on my printrbot. It comes up when I send a M503, so when I needed to tweak settings I started there.

@Rhiannon_Martinez afaik, PrintrBot were (are) using a modified version of Marlin that includes the M212 command.

Ahh, that explains why I couldn’t find references to it :slight_smile:

@Thomas_Sanladerer Where does one find a complete Marlin doc with error codes as well ?

@William_Frick i always use Marlin’s github as a reference for gcode: https://github.com/ErikZalm/Marlin/blob/Marlin_v1/Marlin/Marlin_main.cpp
The main github readme contains a big glob of information as well, even if it’s not a complete documentation per se.
And i’m not sure what you mean with error codes - there are error messages, but those are always pretty verbal anyways.

In standard Marlin with Auto bed leveling enabled it’s M851.