You can tune the settings in the firmware, but you can also do it live through a USB connection with Host software like Pronterface. This way you don't have to flash the firmware every time and it works just as well.
The command to edit offsets is: M851
So when you type in M851 the machine returns the current offsets. If you want to set ONLY the Z-offset, you can send M851 Z[offset]
So if the probe triggers 1.1mm above the bed you set M851 Z-1.1
Always test this before starting a print, you don't want the nozzle digging into the bed surface. It's still a 'dumb' machine.
See this page for all info about the M851 command in Marlin: [
marlinfw.org]
After setting the correct offset save it with M500 and load the config with M501 before you turn the machine off.
After making these changes you can go to your firmware and set this value so you don't overwrite it when you upload new firmware after changes:
Around line 964
#define NOZZLE_TO_PROBE_OFFSET { -40, 0, -0.55 }
These are my values, being X, Y and Z. So you want the -0.55 to match your personal offset.
Edited 1 time(s). Last edit at 08/18/2020 05:02PM by Ohmarinus.
http://www.marinusdebeer.nl/