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

    Endstop switches doesnt work

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    7
    23
    1.6k
    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.
    • goodchrhereundefined
      goodchrhere
      last edited by

      I have wired the right, because when i measure on the plug, its right.

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        @goodchrhere said in Endstop switches doesnt work:

        M574 Z1 S2 ; set endstops controlled by probe
        M558 P0 H0 F300 T3000 ; disable Z probe but set dive height, probe speed and travel speed

        if you plugged it into the z endstop that would not work because you have disabled it.

        M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
        M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1

        B4138 is the default and most likely wrong for your thermistors.

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          @goodchrhere said in Endstop switches doesnt work:

          Does this type of endstop doesnt work?

          Yes, its a common SPDT switch, that can be used as both normally closed and normally open switch.

          @goodchrhere said in Endstop switches doesnt work:

          I have wired the right, because when i measure on the plug, its right.

          elaborate? and ref Veti's comment, which axis are you having trouble with?

          Which board do you have, the Duet2 Ethernet and Duet2 Wifi has LEDs to indicate the state of the endstops, makes for easy diagnostic. The Duet2 Maestro does not have these LEDs.

          But M119 will print the status of the endstops, please run M119 before activating the enstop, and again while the endstop is active.

          1 Reply Last reply Reply Quote 0
          • goodchrhereundefined
            goodchrhere
            last edited by

            Thermistor are right, the thermistor from bed and the thermistor from extruder 1 are in function.

            i have a normal endstop switch like the first post for all 3 axes. for x and for y and for z.
            it doesn't work on all axes.
            I know about normaly open and normaly closed.
            i tested both, with changes the wires in the plug, and change the firmware from active high to active low.

            I have a Duet 2 Ethernet with firmware version 2.02

            I can test the M119 in yat in the evening, when i'm back at home.

            Vetiundefined 1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              faster to look at the endstop leds than to use m119, but you can also use m119 in the web interface and g-code console instead of the serial terminal.

              but as veti points out, there are multiple lines configuring the z endstop, ending up with it disabled. so only x and y will work as the config is now.

              A Former User? 1 Reply Last reply Reply Quote 0
              • goodchrhereundefined
                goodchrhere
                last edited by

                okay, i will look to the endstops leds.
                okay, i will change the configuring for the z endstop.

                Thanks for your help.

                1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators
                  last edited by

                  Check your wiring. See https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Microswitch

                  Connect the switch between GND and STP (the outer 2 pins of the 3-pin connector). Note: this is not the same as on RAMPS.
                  We recommend you use the normally-closed contacts of the microswitches, which are generally the outside two connections on the microswitch, and set the signal polarity to active high (S1) in the M574 command.`

                  See wiring diagram: https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge

                  As others have pointed out, only X and Y endstops will work with your current config.g

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  goodchrhereundefined 1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @A Former User
                    last edited by

                    @bearer said in Endstop switches doesnt work:

                    faster to look at the endstop leds than to use m119,

                    That only works if you can see the board when you press the switch, some put the boards in boxes and cant see the led's

                    1 Reply Last reply Reply Quote 0
                    • Vetiundefined
                      Veti @goodchrhere
                      last edited by

                      @goodchrhere said in Endstop switches doesnt work:

                      Thermistor are right, the thermistor from bed and the thermistor from extruder 1 are in function.

                      they may be displaying a temperature, but when the temperature is hotter than room temperature it will display incorrect results.

                      1 Reply Last reply Reply Quote 0
                      • goodchrhereundefined
                        goodchrhere @droftarts
                        last edited by

                        @droftarts i checked my wiring 3 times. i measured with a multimeter on the plug, and ih have signal or no signal, but the duet doesn't recognize the signal. i know that only work in x and y because my config.
                        But x and y doesn't work.

                        1 Reply Last reply Reply Quote 0
                        • Vetiundefined
                          Veti
                          last edited by

                          @goodchrhere said in Endstop switches doesnt work:
                          M574 X1 Y1 S1

                          can you manually put this command in the console and try again?
                          post the actual output of M119 before and after the closing the endstop

                          goodchrhereundefined 1 Reply Last reply Reply Quote 0
                          • goodchrhereundefined
                            goodchrhere @Veti
                            last edited by

                            @veti i will do that today or tomorrow evening.

                            1 Reply Last reply Reply Quote 0
                            • themelleundefined
                              themelle
                              last edited by

                              Looking at https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge
                              ... where exactly did you plug in the two wires coming from the endstop switches?

                              goodchrhereundefined A Former User? 2 Replies Last reply Reply Quote 2
                              • goodchrhereundefined
                                goodchrhere @themelle
                                last edited by

                                @themelle i did that, i checked the wiring 3 times.

                                1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User @themelle
                                  last edited by

                                  @themelle said in Endstop switches doesnt work:

                                  Looking at https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge
                                  ... where exactly did you plug in the two wires coming from the endstop switches?

                                  This.. we need pictures of where the switches are plugged in to the switches and the duet. And dont take it that we are saying you are wrong we are only trying to help you, so for us to do that we need to see if there is anything wrong you might have missed.

                                  goodchrhereundefined 1 Reply Last reply Reply Quote 1
                                  • goodchrhereundefined
                                    goodchrhere @A Former User
                                    last edited by

                                    @calvinx okay i will make photos today or tomorrow evening.
                                    thanks for your help

                                    1 Reply Last reply Reply Quote 0
                                    • goodchrhereundefined
                                      goodchrhere
                                      last edited by

                                      okay, i dont know, i had new wired and x and y works. i'm an idiot xD
                                      What i have to chance in my config, to active z with the same switch?

                                      themelleundefined 1 Reply Last reply Reply Quote 0
                                      • themelleundefined
                                        themelle @goodchrhere
                                        last edited by themelle

                                        @goodchrhere I'm glad you got it working!
                                        To have Z axis behaving as X and Y you should just remove the lines

                                        M574 Z1 S3 ; set endstops controlled by motor stall detection
                                        
                                        ; Z-Probe
                                        M574 Z1 S2 ; set endstops controlled by probe
                                        

                                        from config.g

                                        1 Reply Last reply Reply Quote 1
                                        • goodchrhereundefined
                                          goodchrhere
                                          last edited by

                                          I‘t works fine, thanks for your helps!

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