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

    Homex - and I am getting fed up

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    8
    31
    1.7k
    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.
    • Reefwarriorundefined
      Reefwarrior
      last edited by

      Hi all,

      OK, so I have a weird issue. When I click on the Homex; it commences the homing, but when it hits the mechanical endstop switch at the minimum position; sometimes it recognises it and everything is fine, but mostly it looks like the motor/head is throwing a tantrum and going 'grrrrrr' asif it does not pick up the end stop and tries to go past it. Using M119, the sensing that I get from the endstops are all sensing correctly.

      I have gone now so far as to copy the homey.g to homex.g and modified it where needed.

      Here is my config file (endstop section):
      ; Endstops
      M574 X1 S1 P"!xstop" ; x-end stop with inverse operation
      M574 Y1 S1 P"!ystop" ; y-end stop with inverse operation
      M574 Z1 S2 ; z-end stop with inverse operation

      And here is my homex.g:
      G91 ; relative mode
      G92 X100 Y100 Z100
      G1 Z4 F200 ; raise head to avoid dragging nozzle over the bed
      G1 X-300 H1 F2000 ; move up to 240mm in the -X direction, stopping if the homing switch is triggered
      G1 X4 F600 ; move slowly 4mm in the +X direction
      G1 X-10 H1 F360 ; move slowly 10mm in the -X direction, stopping at the homing switch
      G1 Z-4 F200 ; lower the head again
      G90 ; back to absolute mode

      At this point I am contemplating taking the duet out and putting in a different board. I don't mind struggling with something, but when it comes to inconsistency, it drives me up the wall!

      PLEASE HELP!

      Tinus

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

        firmware version?

        Your config looks ok.

        You could test a different endstop input. Plug it into e0stop and change to M574 X1 S1 P"!e0stop"

        Most likely it's a wiring problem, maybe interference?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Reefwarriorundefined
          Reefwarrior
          last edited by

          Hi!

          Board: Duet 2 WiFi (2WiFi)
          Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2.2 (2021-02-11)
          Duet WiFi Server Version: 1.25

          Note: You can install updates on the System page.

          I will test with the e0 stop....

          1 Reply Last reply Reply Quote 0
          • alankilianundefined
            alankilian
            last edited by

            What kind of endstop switch are you using?

            Sometimes you need to turn on the pullup resistor to get reliable results.
            Do that by adding a "^" character to your M574 configuration lines:

            • M574 X1 S1 P"!^xstop"

            THIS page has more information about configuring and debugging endstops.

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

            Reefwarriorundefined 1 Reply Last reply Reply Quote 1
            • Reefwarriorundefined
              Reefwarrior @alankilian
              last edited by

              @alankilian it's a mechanical micro switch wired between common and normally open.

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • Reefwarriorundefined
                Reefwarrior
                last edited by

                OK tried, no luck with either of the suggestions....

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

                  Do they have the option of being wired normally closed?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @Reefwarrior
                    last edited by fcwilt

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • Reefwarriorundefined
                      Reefwarrior
                      last edited by

                      yes I can change it to normally closed; however, the Y end stop is EXACTLY the same, and it is not giving any kind of issues. 100% reliable. I have already swapped out the X end stop switch for a different one too, and the issue is still there.

                      Next, I guess will be replacing the wiring?

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

                        @Reefwarrior said in Homex - and I am getting fed up:

                        Next, I guess will be replacing the wiring?

                        Maybe. Or at least separating it from any other wiring it runs along.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                        • Reefwarriorundefined
                          Reefwarrior @Phaedrux
                          last edited by

                          @Phaedrux Oh brother, rookie mistake. Broken wire. Tested continuity and then realized it was broken - I'm such an idiot!

                          A bit of a different Q, but still on this (kinda); what AWG wire do you use for the end stops? (And for the rest of the electronics?)

                          1 Reply Last reply Reply Quote 2
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            Just run of the mill 22AWG stuff off amazon that comes in a selection of colors on little spools.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                            • Reefwarriorundefined
                              Reefwarrior @Phaedrux
                              last edited by

                              @Phaedrux Cool thank you 🙂 Will have a look at it - I suspect the wire I was/am using is too thin - where I crimp it, sometimes it brakes off - and that means looking for trouble. The other wire I have is too thick - wonderful living in Africa!

                              PLEASE mark this also as Solved? 🙂

                              jens55undefined o_lampeundefined 2 Replies Last reply Reply Quote 1
                              • jens55undefined
                                jens55 @Reefwarrior
                                last edited by jens55

                                @Reefwarrior said in Homex - and I am getting fed up:

                                @Phaedrux Cool thank you 🙂 Will have a look at it - I suspect the wire I was/am using is too thin - where I crimp it, sometimes it brakes off - and that means looking for trouble. The other wire I have is too thick - wonderful living in Africa!

                                Your crimping technique or crimping tools are much more likely to cause the issue you are seeing. You should easily be able to crimp down to 30 ga but may have to bend over the exposed wire in order to get good holding. No matter what, the wire should never 'break off'. How are you stripping the insulation? I find that if you use a 'universal' tool or a stripper that electricians use, you are likely to nick strands which then results in a stress point that cause the wire to break. I use a tool that has different but calibrated cutter openings so the chance of nicking a wire is reduced a lot .... but you can still damage it with poor technique.
                                If you are over-crimping by using a universal crimp tool, you can easily kill the wire too.
                                'Engineer' brand hand tools for crimping and stripping are a good investment to reduce frustration!

                                Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                                • alankilianundefined
                                  alankilian
                                  last edited by

                                  @Reefwarrior I'm glad you got it figured out!

                                  It can get VERY frustrating, and when people make a bunch of suggestions that you've already tried, it gets even more frustrating.

                                  But you kept looking and found it!

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

                                  Reefwarriorundefined 1 Reply Last reply Reply Quote 0
                                  • Reefwarriorundefined
                                    Reefwarrior @alankilian
                                    last edited by

                                    @alankilian Yep 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • Reefwarriorundefined
                                      Reefwarrior @jens55
                                      last edited by

                                      @jens55 I suspect it is the quality of cable. The plastic surrounding the threads are not very pliable like silicone wire - it's a kind of hard plastic. I strip the wires using a sharp knife.

                                      jens55undefined fcwiltundefined 2 Replies Last reply Reply Quote 0
                                      • jens55undefined
                                        jens55 @Reefwarrior
                                        last edited by

                                        I strip the wires using a sharp knife.

                                        <shudder> ..... bad ju ju all around !

                                        1 Reply Last reply Reply Quote 0
                                        • fcwiltundefined
                                          fcwilt @Reefwarrior
                                          last edited by

                                          @Reefwarrior said in Homex - and I am getting fed up:

                                          I strip the wires using a sharp knife.

                                          I suddenly am not sympathetic. 😉

                                          Frederick

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

                                            I met Ben Heck in person and he stripped some wire with his fingernails. Never meet your heroes. 😛

                                            Z-Bot CoreXY Build | Thingiverse Profile

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