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

    How to configure both Low end and High end enstop for axis

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    2
    5
    238
    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.
    • SanderLPFRGundefined
      SanderLPFRG
      last edited by SanderLPFRG

      Hi,

      I am engineering a machine with 2 tools which each have an independent little Z-axis for auto-calibration.
      The little Z axis on the left hotend (V) has a high-end microswitch endstop and on the low end a nozzle-triggered Z probe.
      The little Z axis on the right hotend (W) also has a high-end microswitch endstop. But uses the nozzle 'probe' as a low-end microswitch endstop.

      My goal is to auto-align the Z of both tools with this system
      I plan to do this by first homing V and W to their max (high-end). Then I move V down by 5mm to clear any difference between the tools, probe the bed with the left hotend and set Z=0. Then I move the 2nd tool to the same location as probed, and move the right hotend (W) down until the nozzle touches the bed (W low-end endstop switch).

      However, I cannot find if I connect 2 end-stops for the same axis (W) Any help?

      I have tried this;

      M574 W2 S1 P"1.io4.in"      ; configure switch-type endstop for high end on W via pin 1.io4.in
      M574 W1 S1 P"2.io1.in"      ; configure switch-type endstop for low end on W via pin 2.io1.in
      
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @SanderLPFRG
        last edited by

        @SanderLPFRG you can't configure 2 endstops for an axis at the same time.
        you can however remap them on the fly, so just add the appropriate M574 line before using the endstop.

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        SanderLPFRGundefined 1 Reply Last reply Reply Quote 0
        • SanderLPFRGundefined
          SanderLPFRG @jay_s_uk
          last edited by

          @jay_s_uk can you give an example?

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @SanderLPFRG
            last edited by

            @SanderLPFRG well lets say you want to home to to the top

            M574 W2 S1 P"1.io4.in" 
            G1 H1 W100
            

            and when you want to home to the bottom

            M574 W1 S1 P"2.io1.in" 
            G1 H1 W-100
            

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            SanderLPFRGundefined 1 Reply Last reply Reply Quote 2
            • SanderLPFRGundefined
              SanderLPFRG @jay_s_uk
              last edited by

              @jay_s_uk It is working, thanks!

              1 Reply Last reply Reply Quote 1
              • droftartsundefined droftarts marked this topic as a question
              • droftartsundefined droftarts has marked this topic as solved
              • SanderLPFRGundefined SanderLPFRG referenced this topic
              • T3P3Tonyundefined T3P3Tony referenced this topic
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA