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

Z homing fails often after update from 3.1.1 to 3.2

Scheduled Pinned Locked Moved
General Discussion
4
29
1.0k
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.
  • undefined
    fcwilt
    last edited by fcwilt 2 Jun 2021, 22:14 5 Feb 2021, 21:52

    @Phaedrux

    I don't want to be a pest but do you have any idea if dc42 has had to chance to investigate this issue?

    I have continued to run homing tests - 3.1.1 simply does not fail whereas 3.2.0 fails "without fail". 😉

    Thanks.

    Frederick

    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 5 Feb 2021, 22:39

      I believe he is aware, but I'm not sure beyond that.

      Would you be able to test the 3.2.1 beta release to see if the issue is resolved?

      https://www.dropbox.com/sh/1lwimb98k6hzz3z/AAApVr_P6roUjnya4riDbGAba?dl=0

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 2 Replies Last reply 5 Feb 2021, 22:51 Reply Quote 0
      • undefined
        fcwilt @Phaedrux
        last edited by 5 Feb 2021, 22:51

        @Phaedrux said in Z homing fails often after update from 3.1.1 to 3.2:

        Would you be able to test the 3.2.1 beta release to see if the issue is resolved?

        Will do.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • undefined
          fcwilt @Phaedrux
          last edited by 5 Feb 2021, 23:18

          @Phaedrux said in Z homing fails often after update from 3.1.1 to 3.2:

          I believe he is aware, but I'm not sure beyond that.

          Would you be able to test the 3.2.1 beta release to see if the issue is resolved?

          https://www.dropbox.com/sh/1lwimb98k6hzz3z/AAApVr_P6roUjnya4riDbGAba?dl=0

          Before installing 3.2.1 I ran 50 more homing tests under 3.1.1 - they all worked.

          Sadly after installing 3.2.1 the second test failed in the same way as 3.2.0.

          G1 H1 Z-300 F300 <== slow speeds so I can hit the emergency stop button before a crash
          G1 H2 Z+25 F300
          G1 H1 Z-30 F300 <== to date it has always failed on this move never on the first one

          Back to 3.1.1 for now so I can use my printer.

          I miss the Object Model Viewer from 3.2.0 but I cannot stand by the printer every time it homes Z.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          1 Reply Last reply Reply Quote 0
          • undefined
            fcwilt
            last edited by 6 Feb 2021, 22:06

            @dc42

            Sorry to bother you but I was wondering if this problem of mine was in the queue?

            As suggested I tried the 3.2.1 binaries and I was successful in getting it installed.

            Under 3.1.1 I had run 50 homing tests and they all worked.

            Under 3.2.1 I tried to run the same 50 homing tests. The 1st worked - the 2nd failed.

            For now I am stuck on 3.1.1.

            Thanks.

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by 6 Feb 2021, 22:08

              Thanks for the detail. I have added this to my investigations list. It's likely connected to the way in which endstops connected to a DueX are read.

              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

              undefined 1 Reply Last reply 6 Feb 2021, 22:13 Reply Quote 1
              • undefined
                fcwilt @dc42
                last edited by 6 Feb 2021, 22:13

                @dc42 said in Z homing fails often after update from 3.1.1 to 3.2:

                Thanks for the detail. I have added this to my investigations list. It's likely connected to the way in which endstops connected to a DueX are read.

                I will repeat this just in case you missed it.

                • The behavior was for one of the steppers to keep moving even though the LED on the end stop sensor activated.
                • It was not always the same stepper.
                • It was never more than one stepper.
                • It always failed on the second G1 Z-25 F300 H1 - see below.
                G91 ; relative moves
                G1 Z-399 F300 H1 ; move up until endstop switch is activated
                G1 Z20 F600 ; move down a bit
                G1 Z-25 F300 H1 ; move up until endstop switch is activated

                Thanks much.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                undefined 1 Reply Last reply 8 Feb 2021, 14:45 Reply Quote 0
                • undefined
                  dc42 administrators @fcwilt
                  last edited by 8 Feb 2021, 14:45

                  Thanks. I suspect the issue may be that when two endstop switches connected to a DueX trigger almost simultaneously, only the first one is detected. I will try to replicate this.

                  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

                  undefined 1 Reply Last reply 8 Feb 2021, 15:18 Reply Quote 0
                  • undefined
                    fcwilt @dc42
                    last edited by fcwilt 2 Sept 2021, 10:23 8 Feb 2021, 15:18

                    @dc42 said in Z homing fails often after update from 3.1.1 to 3.2:

                    Thanks. I suspect the issue may be that when two endstop switches connected to a DueX trigger almost simultaneously, only the first one is detected. I will try to replicate this.

                    Well given the 3.1.1 has never failed for me and 3.2.0 fails frequently doesn't that suggest that there was a code change related to the handling of the end stops?

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    undefined 1 Reply Last reply 9 Feb 2021, 10:22 Reply Quote 0
                    • undefined
                      Phaedrux Moderator
                      last edited by 8 Feb 2021, 21:57

                      Possibly related?

                      https://forum.duet3d.com/topic/21451/error-bad-command-xxx-w-rrf-3-2-and-leveling-issue/16?_=1612820446457

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 8 Feb 2021, 22:40 Reply Quote 1
                      • undefined
                        fcwilt @Phaedrux
                        last edited by 8 Feb 2021, 22:40

                        @Phaedrux said in Z homing fails often after update from 3.1.1 to 3.2:

                        Possibly related?

                        https://forum.duet3d.com/topic/21451/error-bad-command-xxx-w-rrf-3-2-and-leveling-issue/16?_=1612820446457

                        Yes - I saw that and thought the same thing.

                        Frederick

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          dc42 administrators @fcwilt
                          last edited by 9 Feb 2021, 10:22

                          @fcwilt said in Z homing fails often after update from 3.1.1 to 3.2:

                          @dc42 said in Z homing fails often after update from 3.1.1 to 3.2:

                          Thanks. I suspect the issue may be that when two endstop switches connected to a DueX trigger almost simultaneously, only the first one is detected. I will try to replicate this.

                          Well given the 3.1.1 has never failed for me and 3.2.0 fails frequently doesn't that suggest that there was a code change related to handling the of the end stops?

                          Frederick

                          Yes there was a code change in the handling of endstops attached to a DueX. The newer code relies on the interrupt generated by the I/O expander chip when any of the inputs changes, because I am moving RRF towards interrupt-driven endstop inputs. It seems that the interrupt is not always generated. I am seeking clarification from the manufacturer of that chip, and trying to reproduce the issue you experienced.

                          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

                          undefined 1 Reply Last reply 9 Feb 2021, 10:28 Reply Quote 1
                          • undefined
                            fcwilt @dc42
                            last edited by 9 Feb 2021, 10:28

                            @dc42 said in Z homing fails often after update from 3.1.1 to 3.2:

                            Yes there was a code change in the handling of endstops attached to a DueX.

                            Well that is good to know - it would seem narrow your focus for finding the problem.

                            Thanks.

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dc42 administrators
                              last edited by 9 Feb 2021, 11:41

                              It's as I expected. If two endstops are triggered with a delay of about 2.2ms between them, only the first one is registered until another input changes. When the delay is shortened to 1ms or lengthened to 5ms, the problem does not occur.

                              Now I can test fixes.

                              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 2
                              25 out of 29
                              • First post
                                25/29
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA