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

M558 - questions in regards to A parameter

Scheduled Pinned Locked Moved
Tuning and tweaking
7
13
2.3k
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
    garyd9
    last edited by 4 Mar 2018, 21:40

    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
    • undefined
      mortn
      last edited by 1 Jul 2018, 07:37

      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.

      undefined 1 Reply Last reply 1 Jul 2018, 08:03 Reply Quote 0
      • undefined
        dc42 administrators @mortn
        last edited by 1 Jul 2018, 08:03

        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

        undefined 1 Reply Last reply 1 Jul 2018, 08:55 Reply Quote 0
        • undefined
          Dougal1957
          last edited by 1 Jul 2018, 08:07

          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?

          undefined 1 Reply Last reply 1 Jul 2018, 08:08 Reply Quote 0
          • undefined
            dc42 administrators @Dougal1957
            last edited by 1 Jul 2018, 08:08

            @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

            undefined 1 Reply Last reply 1 Jul 2018, 18:14 Reply Quote 0
            • undefined
              Nxt-1 @dc42
              last edited by 1 Jul 2018, 08:55

              @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
              • undefined
                Phaedrux Moderator @dc42
                last edited by 1 Jul 2018, 18:14

                @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

                undefined 1 Reply Last reply 1 Jul 2018, 19:08 Reply Quote 0
                • undefined
                  dc42 administrators @Phaedrux
                  last edited by 1 Jul 2018, 19:08

                  @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

                  undefined 1 Reply Last reply 3 Jul 2018, 14:33 Reply Quote 0
                  • undefined
                    T3P3Tony administrators @dc42
                    last edited by 3 Jul 2018, 14:33

                    @dc42 I have added it here too:

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

                    www.duet3d.com

                    undefined 1 Reply Last reply 3 Jul 2018, 15:55 Reply Quote 0
                    • undefined
                      Phaedrux Moderator @T3P3Tony
                      last edited by 3 Jul 2018, 15:55

                      @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

                      undefined 1 Reply Last reply 3 Jul 2018, 16:04 Reply Quote 0
                      • undefined
                        T3P3Tony administrators @Phaedrux
                        last edited by 3 Jul 2018, 16:04

                        @phaedrux yes - which one is it?

                        www.duet3d.com

                        undefined 1 Reply Last reply 3 Jul 2018, 16:07 Reply Quote 0
                        • undefined
                          Phaedrux Moderator @T3P3Tony
                          last edited by 3 Jul 2018, 16:07

                          @t3p3tony I'd say this one

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

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 3 Jul 2018, 16:10 Reply Quote 0
                          • undefined
                            T3P3Tony administrators @Phaedrux
                            last edited by 3 Jul 2018, 16:10

                            @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