Duet3D Logo

    Duet3D

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

    M558 - questions in regards to A parameter

    Tuning and tweaking
    7
    13
    1891
    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.
    • garyd9
      garyd9 last edited by

      The M558 gcode command is documented (for the duet board) here:

      https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_Set_Z_probe_type

      The "A" parameter offers a multi-probe functionality, with it defaulting to "1" (single tap.) If A is >1, it's the "maximum number of times to probe…" Being a maximum, it implies that less than A probes might occur. However, nothing explains that. Does it always probe the max times? Under what circumstances would it probe less than the max times?

      The "S" parameter is documented as "tolerance when probing multiple times." However, there's no default value shown. What is the default tolerance? (It appears it's 0.03 based on the source. I've submitted an edit to the wiki to show that.)

      How do the A and S parameters influence each other?

      From the latest RC builts, I think that a probe will occur UP TO "A" times unless 'x' probes are within a specific tolerance of each other. I'm not sure what 'x' is. (2? 2 consecutive?) In builds prior to RC2, if 'x' probes weren't within the specific tolerance, the probe would be reported as a failure, but in RC2, it was changed so that the probe would just return an average? If this "average" fallback is used, is anything reported to the console log?

      Thanks
      Gary

      "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

      1 Reply Last reply Reply Quote 1
      • mortn
        mortn last edited by

        Thank YOU! I have just been wondering about the same thing for an hour! It would be great if someone can tell a bit more about the exact behaviour of M558 in conjunction with parameters A and S.

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

          I have expanded the description of M558 on the GCodes wiki page. Let me know if it isn't clear.

          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

          Nxt-1 1 Reply Last reply Reply Quote 0
          • Dougal1957
            Dougal1957 last edited by

            David

            The A Param is still not clear when it says maximum number of probes at what point does the Firmware stop probing early I assume it is once a certain number of probes are within the tolerance range but a bit more clarity may be in order here?

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

              @dougal1957, see the new paragraph that I added at the end.

              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

              Phaedrux 1 Reply Last reply Reply Quote 0
              • Nxt-1
                Nxt-1 @dc42 last edited by

                @dc42 said in M558 - questions in regards to A parameter:

                I have expanded the description of M558 on the GCodes wiki page. Let me know if it isn't clear.

                This explanation helped me as well, thanks 🙂

                Duet3D and delta printer enthousiast. Buildlog
                Looking for Duet3D configuration support, check out Nxt-3D

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

                  @dc42 Will P10 probe type for stall detection be added to the documentation? Or is it a little too experimental for broad distribution?

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    @phaedrux said in M558 - questions in regards to A parameter:

                    @dc42 Will P10 probe type for stall detection be added to the documentation? Or is it a little too experimental for broad distribution?

                    Good point, I will add it.

                    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

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

                      @dc42 I have added it here too:

                      https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Mode_Num_10

                      www.duet3d.com

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

                        @t3p3tony would it be a good idea to link to the forum thread discussing implementation of z stall probing?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        T3P3Tony 1 Reply Last reply Reply Quote 0
                        • T3P3Tony
                          T3P3Tony administrators @Phaedrux last edited by

                          @phaedrux yes - which one is it?

                          www.duet3d.com

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

                            @t3p3tony I'd say this one

                            https://forum.duet3d.com/topic/4772/motor-stall-detection-as-z-probe

                            Z-Bot CoreXY Build | Thingiverse Profile

                            T3P3Tony 1 Reply Last reply Reply Quote 0
                            • T3P3Tony
                              T3P3Tony administrators @Phaedrux last edited by

                              @phaedrux thanks, done.

                              www.duet3d.com

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