Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    SOLVED End stop switch using the extension pin does not work.

    Duet Hardware and wiring
    2
    4
    25
    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.
    • MegaGorilla
      MegaGorilla last edited by

      Thank you for opening my question.

      My printer has 4 end stop switches on the Z axis.
      The Z axis end stop switches are X STOP, YSTOP, ZSTOP and also E2_STOP (exp.e2stop) on the EXPANSION pin. (X axis Y axis uses E0, E1 Stop pin)

      X STOP, YSTOP and ZSTOP are working properly, but E2_STOP pin is not stable. (It turns ON or OFF even when the switch is not pressed.)

      If anyone knows the solution, please let me know.


      Info
      The board I'm using is Duet2wifi and I'm using firmware 3.1.1.

      I have added the following Gcode
      M584 X5 Y6 Z8:9:10:11 E7
      M574 Z1 S1 P"!ystop+!zstop+!xstop+!exp.e2stop"

      The end-stop switch utilises a simple normally-open contact switch.
      (Changing to a normally-closed switch and modifying parts of the Gcode did not solve the problem. (!exp.e2stop -> exp.e2stop))

      There is a tiny voltage (1.4v) coming from exp.e2stop, which we think is the cause of the malfunction. However, I do not know any means to cut off the minute voltage.

      1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator last edited by

        Can you try enabling the pull resistor by adding ^ to the pin name?

        !^exp.e2stop

        @MegaGorilla said in End stop switch using the extension pin does not work.:

        (It turns ON or OFF even when the switch is not pressed.)

        do you mean it's triggering off and on randomly? Perhaps picking up interference?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • MegaGorilla
          MegaGorilla last edited by

          Thank you!
          Your answer is correct. I just enabled the pull-up resistor and it works correctly!

          In addition to the pull-up, I also changed the connection of all end stop switches from normally open to normally closed, modified M574, and added M671.

          After correction: [M574 Z1 S1 P "ystop+zstop+xstop+^exp.e2stop"]
          (did not work correctly in normally open state, only exp.e2stop pin)

          Thanks to you, my printer works perfectly!

          1 Reply Last reply Reply Quote 0
          • Phaedrux
            Phaedrux Moderator last edited by

            Hazzah! 👍

            Z-Bot CoreXY Build | Thingiverse Profile

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