Autoleveling Z_PROBE_HEIGHT and distance from bed
I'm using firmware version 0.92.3 downloaded 3-4 days ago.
I have a Cartesian printer where the bed is fixed and X, Y, and Z are on a gantry which moves up and away from the bed as the print progresses. I am using a capacitance sensor which is triggering at ~3mm from the bed and the distance from the bed to the tip of the nozzle is 1.5mm when the sensor triggers. My Z Endstop configuration is:
#define ENDSTOP_PULLUP_Z_MIN false
#define ENDSTOP_PULLUP_Z_MAX true
#define ENDSTOP_Z_MAX_INVERTING true
#define Z_HOME_DIR 1
#define MAX_HARDWARE_ENDSTOP_Z true
And my Probe setup is this:
#define FEATURE_Z_PROBE 1
#define Z_PROBE_BED_DISTANCE 10
#define Z_PROBE_PIN ORIG_Z_MIN_PIN
#define Z_PROBE_PULLUP 1
#define Z_PROBE_ON_HIGH 1
#define Z_PROBE_X_OFFSET 0
#define Z_PROBE_Y_OFFSET 0
#define Z_PROBE_WAIT_BEFORE_TEST 0
#define Z_PROBE_SPEED 2
#define Z_PROBE_XY_SPEED 150
#define Z_PROBE_SWITCHING_DISTANCE 1
#define Z_PROBE_REPETITIONS 10
#define Z_PROBE_HEIGHT -1.5
#define Z_PROBE_START_SCRIPT ""
#define Z_PROBE_FINISHED_SCRIPT ""
#define FEATURE_AUTOLEVEL 1
#define Z_PROBE_X1 0
#define Z_PROBE_Y1 0
#define Z_PROBE_X2 369
#define Z_PROBE_Y2 0
#define Z_PROBE_X3 369
#define Z_PROBE_Y3 328
#define FEATURE_AXISCOMP 0
#define AXISCOMP_TANXY 0
#define AXISCOMP_TANYZ 0
#define AXISCOMP_TANXZ 0
From what I understand, the Z_PROBE_HEIGHT should be set to a value of 1.5, but I am confused as to whether the firmware wants that as a negative value or a positive value for my situation. I've been using a negative value, but I wanted to verify that is correct as I am running into another issue.
When I run the auto level routine (G28, G32 S2) it does it's thing and then when it is done moving Z to 0 puts the nozzle at 3mm above the print bed. I've tried M502, M500, M501 to reset everything in the EEPROM, is there somewhere else I need to check where that 3mm offset might be coming from?
Thanks!
Comments