Seperate Z-Endstop and Z-Probe (Mesh Compensation) Sensors

  • Hi everybody,

    I've extended my printer with a inductive Z-Probe sensor.
    The heatbed itself is fitted with a Z-Endstop (Microswitch) for quick homing of the axis. How do I need to adjust the configuration in order to have the heatbed homed using the Microswitch (which is wired to the Z-Endstop inputs) and the Mesh compensation done using the slower but more accurate Z-Probe sensor?
    I guess I need to use the "Mode 6" Z-Probing mode (Mode 4 cannot be used as the E0 Endstop is in use by the Filament-Sensor) and wire the Z-Probe to the E1 Endstop, however that does not yet solve my problem of the differenciation between Homing/Mesh compensation.
    Any help is greatly appreciated!


  • @t0bias I have a similar configuration. For the Capacitive Z probe NPN used for mesh leveling:

     M558 P4 X0 Y0 Z0 H3 I1 F300 T5000	    

    The XYZ parameters in the M558 command define which axes are used to home (0 = probe not used to home this axis, 1 = probe used)
    H3 = The probe will raise the height 3mm to un-trigger before the next probe.
    I1 = invert the probe for reading (check on the web interface the Sensors _> Zprobe and change the value if it triggers when it should not).
    F300 = probe speed 300mm/min,
    T5000 = travel speed 5000mm/min

    Then you use M574 to define homing switches:

     ; Endstops
     M574 X1 Y2 Z2 S3         	    ; set endstop at X-min, Y-max and Z-max; S3 = Use motor stall for homing

    The parameters to configure the stall are defined on homex.g, homey.g and homez.g. With microswitches you migh want to change the S3 to whatever is your configuration (S0 = active low endstop input, S1 = active high endstop input)

  • administrators

    How the printer is Z-homed depends entirely on the contents of homez.g and the Z homing part of homeall.g. So you can set that up to use the endstop switch.

Log in to reply