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

    End Stops suddenly don't work (Solved, Faulty 6hc Board)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    20
    581
    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.
    • A Former User?
      A Former User
      last edited by A Former User

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you confirm that both the mainboard and toolboard are both running firmware 3.3? Your first copy and paste shows 3.3RC1 on the toolboard and the second shows 3.3. But you also mention swapping the toolboard.

        G1 H4 X-12 F400 ; Fine adjustement of the X endstop

        Are you sure you want to be using H4?

        Can you send M98 P"config.g" and post the results?

        There were some limitations regarding endstops being on expansion boards and the motors they control being on a different board, but I think that's resolved now. However if possible, keeping the endstop and motor on the same board seems preferable when possible.

        https://duet3d.dozuki.com/Wiki/Duet_3_firmware_configuration_limitations

        @arnold_r_clark said in End Stops suddenly don't work:

        I sent M119 to the board while the Y axis end-stop was physically activated that resulted in a very odd report:
        Endstops - X: at min stop, Y: not stopped, Z: not stopped, Z probe: not stopped
        This is reporting X (connected to io1.in) as being triggered (even though it physically was NOT) and showed Y as NOT being triggered even though it physically was (confirmed by testing continuity across the IO2.in and GND

        This could also be describing having the endstops configured as normally closed, when they are actually normally open, or vice versa. How do you have the endstop switches wired?

        Z-Bot CoreXY Build | Thingiverse Profile

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

          This post is deleted!
          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @A Former User
            last edited by

            @arnold_r_clark said in End Stops suddenly don't work:

            And strange that almost as soon as i rectify the end stop issue by wiring the endstops up to the main board i start to get connection drop out issues between the board an DWC.

            Can you post a photo of the endstop wiring? Resets like that sometimes happen when the endtops aren't wired correctly so triggering the endstop shorts the board.

            Z-Bot CoreXY Build | Thingiverse Profile

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

              This post is deleted!
              alankilianundefined 1 Reply Last reply Reply Quote 0
              • alankilianundefined
                alankilian @A Former User
                last edited by

                @arnold_r_clark If you are using normally-open switches that "short to ground" you should have a pull-up resistor configured. I don't know if your board has pull-ups on those inputs or not.

                Instead of:

                M574 X1 S1 P"io1.in"
                M574 Y1 S1 P"io4.in" 
                

                Try:

                M574 X1 S1 P"^io1.in"
                M574 Y1 S1 P"^io4.in" 
                

                SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

                  This post is deleted!
                  alankilianundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                  • alankilianundefined
                    alankilian @A Former User
                    last edited by

                    @arnold_r_clark If your switches are normally open and you don't have a pullup, what voltage do you expect the input to be?

                    Where would that voltage come from?

                    SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                    A Former User? 2 Replies Last reply Reply Quote 0
                    • A Former User?
                      A Former User @alankilian
                      last edited by A Former User

                      This post is deleted!
                      1 Reply Last reply Reply Quote -1
                      • Phaedruxundefined
                        Phaedrux Moderator @A Former User
                        last edited by

                        @arnold_r_clark said in End Stops suddenly don't work:

                        I swapped the 6hc board with the spare mini-5+ i have here and everything is operational again, with endstops X & Y both working from the tool board as before, so the 6hc is faulty in some way, I will have to see when i purchased it (it came from e3d)

                        What firmware is the mini5 running? Same 3.3?

                        It's quite unusual. As you say, if they are wired normally closed then there shouldn't be any interference issues and no pullup required. The simplest explanation for having X and Y reporting crossed would be physically having them connected to the opposite io port, but that should be obvious if that were the case.

                        The fact the issue happened suddenly on the toolboard after working for some time, and then started working again for a while when moved to the mainboard, but then stopped working there as well without any other change makes me think there might be something to do either with the switch or the wiring, since that's the common denominator and the most likely place for an intermittent issue to show up.

                        Now that you have it connected to a mini5 and it's working again, I wonder if it will start getting confused again in a short time.

                        I don't know what your cabling is like, but I would think at this point replacing the switches and wiring might be the easiest troubleshooting step just to remove them as variables. Or at least testing the switches and wiring outside of the loom to eliminate any interference.

                        Could also try different io ports on the 6HC to see if that makes a difference.

                        I'll ask DC 42 to take a look in case he spots something we've missed entirely.

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          This post is deleted!
                          Phaedruxundefined 1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator @A Former User
                            last edited by Phaedrux

                            @arnold_r_clark said in End Stops suddenly don't work:

                            The problem with the end stop issue went away as soon as i moved the end stops to the main board (6HC) but not long after that (about 10 minutes) the main board started dropping connection to the DWC and re-connecting but then refused to connect to DWC unless USB was connected and if the USB connection was/is removed DWC connection stopped again. The tool board is powered from a direct fused PSU connection and not from an "out" connection on the main board

                            Ah ok, when you said this

                            @arnold_r_clark said in End Stops suddenly don't work:

                            I then took the tool board out of the loop and connected the end stops to the mainboard io1 & io4 this restored normal operation for a short time.

                            I took "for a short time" to mean that the endstops only worked correctly for a short time, but I see now you meant that the DWC problem started shortly after that.

                            @arnold_r_clark said in End Stops suddenly don't work:

                            but as soon as i disconnect the USB connection fails.

                            When you disconnect USB do the ethernet LEDs go off? Does the 5v or 3.3v LEDs on the board itself go off?

                            @arnold_r_clark said in End Stops suddenly don't work:

                            The tool board is powered from a direct fused PSU connection and not from an "out" connection on the main board

                            If you disconnect the toolboard entirely from the mainboard does the behaviour with DWC change?

                            Z-Bot CoreXY Build | Thingiverse Profile

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

                              This post is deleted!
                              dc42undefined 1 Reply Last reply Reply Quote 0
                              • dc42undefined
                                dc42 administrators @A Former User
                                last edited by

                                @arnold_r_clark this is on my list to look at tomorrow.

                                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

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

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User @alankilian
                                    last edited by A Former User

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator
                                      last edited by Phaedrux

                                      Do you have anything else connected to the board at the moment?

                                      Can you try disconnecting everything except VIN and ethernet to see if you can connect reliably again?

                                      Another thing to check is whether any of the components in the 5V regulator area is getting hot, e.g. the AOZ1284 regulator chip, or any of the inductors close to the AOZ1284

                                      How are you powering the 6HC? VIN only, or are also with separate 5v?

                                      Z-Bot CoreXY Build | Thingiverse Profile

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

                                        This post is deleted!
                                        dc42undefined 1 Reply Last reply Reply Quote 0
                                        • dc42undefined
                                          dc42 administrators @A Former User
                                          last edited by

                                          @arnold_r_clark please start a new thread about your 6HC board no longer working without external power, as this is different from the title of this thread.

                                          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

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

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