Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

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

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    3
    661
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • t0biasundefined
      t0bias
      last edited by

      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!

      Thanks

      carlossprundefined 1 Reply Last reply Reply Quote 0
      • carlossprundefined
        carlosspr @t0bias
        last edited by carlosspr

        @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)

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          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.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA