Z probe and Z max
Can somebody explain me how I should configure z max end stop (Prusa P3, latest Dev. Rep.) and if I'm using it correct together with Z probe ?
When homing and Z max end stop is triggered it starts to go down till reach 0, Z max length is 125mm (max physical Z max is 128-129mm from end stop to bed), than going up almost till the Z max end stop and stops and do not touche it, M114 = Z125 just below Z max. Home X and Y, after this I'm doing G32 S2, all test done - max length updated to 132.880mm (M 205), after printer reset and making Z home it crash on bed.
Config from EEPROM:
READ: EPR:0 1028 9 Language
READ: EPR:2 75 250000 Baudrate
READ: EPR:3 129 0.000 Filament printed [m]
READ: EPR:2 125 0 Printer active [s]
READ: EPR:2 79 0 Max. inactive time [ms,0=off]
READ: EPR:2 83 360000 Stop stepper after inactivity [ms,0=off]
READ: EPR:3 3 200.0000 X-axis steps per mm
READ: EPR:3 7 200.0000 Y-axis steps per mm
READ: EPR:3 11 8000.0000 Z-axis steps per mm
READ: EPR:3 15 200.000 X-axis max. feedrate [mm/s]
READ: EPR:3 19 200.000 Y-axis max. feedrate [mm/s]
READ: EPR:3 23 2.000 Z-axis max. feedrate [mm/s]
READ: EPR:3 27 40.000 X-axis homing feedrate [mm/s]
READ: EPR:3 31 40.000 Y-axis homing feedrate [mm/s]
READ: EPR:3 35 2.000 Z-axis homing feedrate [mm/s]
READ: EPR:3 39 20.000 Max. jerk [mm/s]
READ: EPR:3 47 0.300 Max. Z-jerk [mm/s]
READ: EPR:3 133 0.000 X min pos [mm]
READ: EPR:3 137 0.000 Y min pos [mm]
READ: EPR:3 141 0.000 Z min pos [mm]
READ: EPR:3 145 180.000 X max length [mm]
READ: EPR:3 149 280.000 Y max length [mm]
READ: EPR:3 153 132.880 Z max length [mm]
READ: EPR:3 51 1000.000 X-axis acceleration [mm/s^2]
READ: EPR:3 55 1000.000 Y-axis acceleration [mm/s^2]
READ: EPR:3 59 100.000 Z-axis acceleration [mm/s^2]
READ: EPR:3 63 1000.000 X-axis travel acceleration [mm/s^2]
READ: EPR:3 67 1000.000 Y-axis travel acceleration [mm/s^2]
READ: EPR:3 71 100.000 Z-axis travel acceleration [mm/s^2]
READ: EPR:3 1024 0.000 Coating thickness [mm]
READ: EPR:3 808 2.600 Z-probe height [mm]
READ: EPR:3 929 5.000 Max. z-probe - bed dist. [mm]
READ: EPR:3 812 2.000 Z-probe speed [mm/s]
READ: EPR:3 840 150.000 Z-probe x-y-speed [mm/s]
READ: EPR:3 800 -12.000 Z-probe offset x [mm]
READ: EPR:3 804 -45.000 Z-probe offset y [mm]
READ: EPR:3 816 0.000 Z-probe X1 [mm]
READ: EPR:3 820 35.000 Z-probe Y1 [mm]
READ: EPR:3 824 158.000 Z-probe X2 [mm]
READ: EPR:3 828 35.000 Z-probe Y2 [mm]
READ: EPR:3 832 0.000 Z-probe X3 [mm]
READ: EPR:3 836 215.000 Z-probe Y3 [mm]
READ: EPR:3 1036 0.000 Z-probe bending correction A [mm]
READ: EPR:3 1040 0.000 Z-probe bending correction B [mm]
READ: EPR:3 1044 0.000 Z-probe bending correction C [mm]
READ: EPR:0 880 1 Autolevel active (1/0)
READ: EPR:1 1048 55 Bed Preheat temp. [°C]
READ: EPR:0 106 0 Bed Heat Manager [0-3]
READ: EPR:0 107 255 Bed PID drive max
READ: EPR:0 124 80 Bed PID drive min
READ: EPR:3 108 196.000 Bed PID P-gain
READ: EPR:3 112 33.000 Bed PID I-gain
READ: EPR:3 116 290.000 Bed PID D-gain
READ: EPR:0 120 255 Bed PID max value [0-255]
READ: EPR:0 1020 0 Enable retraction conversion [0/1]
READ: EPR:3 992 3.000 Retraction length [mm]
READ: EPR:3 1000 40.000 Retraction speed [mm/s]
READ: EPR:3 1004 0.000 Retraction z-lift [mm]
READ: EPR:3 1008 0.000 Extra extrusion on undo retract [mm]
READ: EPR:3 1016 20.000 Retraction undo speed
READ: EPR:3 200 195.000 Extr.1 steps per mm
READ: EPR:3 204 50.000 Extr.1 max. feedrate [mm/s]
READ: EPR:3 208 20.000 Extr.1 start feedrate [mm/s]
READ: EPR:3 212 5000.000 Extr.1 acceleration [mm/s^2]
READ: EPR:1 294 190 Extr.1 Preheat temp. [°C]
READ: EPR:0 216 3 Extr.1 heat manager [0-3]
READ: EPR:0 217 230 Extr.1 PID drive max
READ: EPR:0 245 40 Extr.1 PID drive min
READ: EPR:3 218 7.0000 Extr.1 PID P-gain/dead-time
READ: EPR:3 222 2.0000 Extr.1 PID I-gain
READ: EPR:3 226 40.0000 Extr.1 PID D-gain
READ: EPR:0 230 255 Extr.1 PID max value [0-255]
READ: EPR:2 231 0 Extr.1 X-offset [steps]
READ: EPR:2 235 0 Extr.1 Y-offset [steps]
READ: EPR:2 290 0 Extr.1 Z-offset [steps]
READ: EPR:1 239 1 Extr.1 temp. stabilize time [s]
READ: EPR:1 250 150 Extr.1 temp. for retraction when heating [C]
READ: EPR:1 252 0 Extr.1 distance to retract when heating [mm]
READ: EPR:0 254 255 Extr.1 extruder cooler speed [0-255]
Config from firmware:
#define MULTI_ZENDSTOP_HOMING 0
#define ENDSTOP_PULLUP_X_MIN false
#define ENDSTOP_X_MIN_INVERTING true
#define MIN_HARDWARE_ENDSTOP_X true
#define ENDSTOP_PULLUP_Y_MIN false
#define ENDSTOP_Y_MIN_INVERTING true
#define MIN_HARDWARE_ENDSTOP_Y true
#define ENDSTOP_PULLUP_Z_MIN true
#define ENDSTOP_Z_MIN_INVERTING false
#define MIN_HARDWARE_ENDSTOP_Z false
#define ENDSTOP_PULLUP_Z2_MINMAX true
#define ENDSTOP_Z2_MINMAX_INVERTING false
#define MINMAX_HARDWARE_ENDSTOP_Z2 false
#define ENDSTOP_PULLUP_X_MAX true
#define ENDSTOP_X_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_X false
#define ENDSTOP_PULLUP_Y_MAX true
#define ENDSTOP_Y_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_Y false
#define ENDSTOP_PULLUP_Z_MAX false
#define ENDSTOP_Z_MAX_INVERTING true
#define MAX_HARDWARE_ENDSTOP_Z true
#define max_software_endstop_r true
#define min_software_endstop_x false
#define min_software_endstop_y false
#define min_software_endstop_z false
#define max_software_endstop_x true
#define max_software_endstop_y true
#define max_software_endstop_z false
#define DOOR_PIN -1
#define DOOR_PULLUP 1
#define DOOR_INVERTING 0
#define ENDSTOP_X_BACK_MOVE 5
#define ENDSTOP_Y_BACK_MOVE 5
#define ENDSTOP_Z_BACK_MOVE 5
#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_X_BACK_ON_HOME 1
#define ENDSTOP_Y_BACK_ON_HOME 1
#define ENDSTOP_Z_BACK_ON_HOME 1
#define ALWAYS_CHECK_ENDSTOPS 1
#define MOVE_X_WHEN_HOMED 0
#define MOVE_Y_WHEN_HOMED 0
#define MOVE_Z_WHEN_HOMED 0
// ################# XYZ movements ###################
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define DISABLE_X 0
#define DISABLE_Y 0
#define DISABLE_Z 0
#define DISABLE_E 0
#define INVERT_X_DIR 1
#define INVERT_Y_DIR 0 // zmiana
#define INVERT_Z_DIR 1
#define X_HOME_DIR -1 // zmiana
#define Y_HOME_DIR -1 // zmiana
#define Z_HOME_DIR 1
#define X_MAX_LENGTH 180
#define Y_MAX_LENGTH 280
#define Z_MAX_LENGTH 125
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS -10
#define Z2_MINMAX_PIN -1
Regards
Dawid
Comments
#define Z_MIN_POS -10
can you post or link your complete config.h pls
Z_MIN_POS -10 was used for Z_PROBE_HEIGHT setting/calibration after first G32 S2 (that's why I did not stated exact measured Z max length), I will change it back to 0 as you suggested and will check result this afternoon, in meantime please find config.h below (attachment do not work correctly):
My prediction is that it starts to count mm going down after homing wrongly, to be more exact: When home Z max starts, it hits Z Max end stop and tiger it by hitting it physically, from this point it count 125mm going down, after this it is going up and stops there 3-5mm from Max end stop without touching it, so when going down from this point (Z max home pos) it is adding these millimeters and that's why I have this problem. How to correct it ? Force it to trigger max end stop again when extruder is finishing it's Z Max home ?
and if I´m correct here is the 1mm going into bed :
#define UI_BED_COATING 1
so printer sees bed (z0) 1mm beyond the coating.... works as it should.
so if you want to heat up near z max for example :
if you want to have Z0 on Top of coating
#define UI_BED_COATING 0
READ: EPR:3 153 123.271 Z max length [mm]
READ: EPR:3 808 2.190 Z-probe height [mm]
0.1mm below nozzle :>
Have a nice evening