Duet3D Logo

    Duet3D

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

    Duex 5 generic I/O question

    Duet Hardware and wiring
    2
    10
    455
    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.
    • Marco Bona
      Marco Bona last edited by

      Hello,
      I want to configure an emergency button on a duex5 input. I have all the limit switches engaged, how could I do? Can I use a generic duex input which when activated calls the M112 command?
      Thank you
      Marco

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

        Are you using the 2 endstop inputs on the CONN_LCD connector? If not then I suggest you use one of those instead.

        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
        • Marco Bona
          Marco Bona last edited by

          Thanks for the answer, the LCD connector is free, the pins are 2 and 3? Is there a reference guide for the configuration?
          Thanks

          1 Reply Last reply Reply Quote 0
          • Marco Bona
            Marco Bona last edited by

            Sorry, pin 10 (ENC_A) and pin 11(ENC_B), to activate the limit switch is correct the command M581 E10 S1 T0 C0?

            dc42 1 Reply Last reply Reply Quote 0
            • dc42
              dc42 administrators @Marco Bona last edited by

              @marco-bona said in Duex 5 generic I/O question:

              Sorry, pin 10 (ENC_A) and pin 11(ENC_B), to activate the limit switch is correct the command M581 E10 S1 T0 C0?

              In the M581 command, endstops 0 to 11 are X Y Z then E0 to E8. So you would use E7 or E8 in M581 depending on which one you connect to.

              In a future 2.03beta (probably the next one) this may change, because we are moving to logical pin numbering and flexible pin allocation.

              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
              • Marco Bona
                Marco Bona last edited by

                I did not understand what I should use to activate the limit switch on CONN_LCD

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

                  Connect the switch between one of the endstop inputs on CONN_LCD and ground. The CONN_LCD pinout is at https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers.

                  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
                  • Marco Bona
                    Marco Bona last edited by

                    Sorry David, I explained myself wrongly, in the firmware which command should I use to activate the pin on CONN_LCD because it does not currently work and I do not know how to enable it as a limit switch

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

                      Unless you are using very old firmware, it should already be configured as an endstop input, and the M581 command with E7 or E8 in it should just work.

                      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
                      • Marco Bona
                        Marco Bona last edited by

                        It works perfectly!!
                        Thanks

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