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

M556 parameters?

Scheduled Pinned Locked Moved
Tuning and tweaking
4
13
561
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
    Kulitorum
    last edited by 31 Jul 2022, 16:31

    What are the parameters for M556? - I can only find one description and I fail to understand it.

    I have a machine that's skewed. If I move 4900mm on the X-Axis, the Y is off by 23mm.

    So I tried M556 S4900 X23 P1 ( to make it compensate on the Y-axis? - the P parameter is really never explained)

    But it does not go as expected - no real difference.

    Some documentation says that the X parameter is in Tangent, others in mm (maybe)

    Can you help me understand the parameters?

    Thank you.

    undefined undefined 2 Replies Last reply 31 Jul 2022, 16:42 Reply Quote 0
    • undefined
      infiniteloop @Kulitorum
      last edited by infiniteloop 31 Jul 2022, 16:42

      @kulitorum You mean this here: M556: Axis skew compensation. That's the ultimative reference, regardless of what others say.

      the P parameter is really never explained

      Well yes, it is.

      BTW: if your Y is 23 mm off (over 4900 mm - is that true?), you really should adjust your frame.

      EDIT: Did you read this: Orthogonal axis compensation with M556?

      undefined 1 Reply Last reply 31 Jul 2022, 21:41 Reply Quote 1
      • undefined
        Kulitorum @infiniteloop
        last edited by Kulitorum 8 Jan 2022, 09:15 31 Jul 2022, 21:41

        @infiniteloop Thanks for the help - yes, I read it all.

        You think the P parameter is explained? - Pnnn means what? Is P2 an option?

        Yes, it's 23mm over 4900mm I will fix the frame, but right now I have half a house printed and the printer no longer aligns with the print for some unknown reason 🙂

        It gets better with M556 S100 X-1 P1 and even better with X-1.9 but X-2 throws it way off. I don't get it.

        Also the documentation only referes to using the printed test piece, which really does not apply for 12x20m long houses - it does not really explain how it works.

        I hope @DC42 will try to explain tomorrow, and maybe update the documentation for others to read later.

        Thank again.

        undefined 1 Reply Last reply 31 Jul 2022, 22:29 Reply Quote 0
        • undefined
          infiniteloop @Kulitorum
          last edited by 31 Jul 2022, 22:29

          @kulitorum

          the documentation only refers to using the printed test piece, which really does not apply for 12x20m long houses

          So true! Sorry that I could not imagine such dimensions.

          Pnnn means what? Is P2 an option?

          From the documentation:

          Apply XY compensation to Y axis instead of X
          

          To me, this looks like a flag which, if set (to 1), applies the counter-skew to Y instead of the default X.

          It gets better with M556 S100 X-1 P1 and even better with X-1.9 but X2 throws it way off.

          Did you mean X2 or X-2?

          undefined 1 Reply Last reply 31 Jul 2022, 23:42 Reply Quote 0
          • undefined
            Kulitorum @infiniteloop
            last edited by 31 Jul 2022, 23:42

            @infiniteloop X-2 of cause 🙂

            undefined 1 Reply Last reply 2 Aug 2022, 10:14 Reply Quote 0
            • undefined
              infiniteloop @Kulitorum
              last edited by infiniteloop 8 Feb 2022, 10:14 2 Aug 2022, 10:14

              @kulitorum

              X-2

              That’s really weird. In what way does this „throw it off“? Another thing to note is the S value: according to the documentation,

              The S parameter is the length of a triangle along each axis in mm.
              

              Printing a house, 100 mm are way off - try 4900 instead. But I have to admit that my approach is speculative: being unable to apply the calibration tool as described in the above link, I'm left with pure guessing …

              Sorry, but time for an expert to chime in. @Phaedrux, do you know who could help with this?

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators @Kulitorum
                last edited by dc42 8 Feb 2022, 11:14 2 Aug 2022, 11:00

                @kulitorum said in M556 parameters?:

                So I tried M556 S4900 X23 P1 ( to make it compensate on the Y-axis? - the P parameter is really never explained)

                That should work. The X parameter divided by the S parameter is the tangent of the difference between the the actual XY angle and 90 degrees. P0 (the default) causes any skew between X and Y to be compensated by adjusting the X coordinate by Y * tanXY; whereas P1 causes the XY skew to be compensated by adjusting the Y coordinate by X * tanXY.

                If you go to the Object Model Browser in DWC and expand move->compensation->skew you can see the tangents that have been set.

                The S parameter in M556 must be at least 10 but there are no limits on the values of the other parameters.

                [Edit: I have made some corrections to the above since I first posted 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 undefined 2 Replies Last reply 2 Aug 2022, 11:22 Reply Quote 0
                • undefined
                  dc42 administrators @dc42
                  last edited by 2 Aug 2022, 11:22

                  PS - I tried entering your original command:

                  M556 S4900 X23 P1
                  

                  and the object model shows this:

                  12687e97-0836-4382-8e93-a37a8036ed0f-image.png

                  which looks correct to me.

                  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 2 Aug 2022, 11:33 Reply Quote 0
                  • undefined
                    Kulitorum @dc42
                    last edited by 2 Aug 2022, 11:33

                    @dc42 Agreed, it just does not seem to make any difference on site. That being said, the printer is in Saudi Arabia and I'm in Denmark, so I do not have hands on myself. We already have people on site and are sending another guy down there to help debug it.

                    Thank you for the input.

                    undefined 1 Reply Last reply 2 Aug 2022, 12:48 Reply Quote 0
                    • undefined
                      dc42 administrators @Kulitorum
                      last edited by 2 Aug 2022, 12:48

                      @kulitorum which firmware version are you using?

                      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 2 Replies Last reply 2 Aug 2022, 13:13 Reply Quote 0
                      • undefined
                        Kulitorum @dc42
                        last edited by 2 Aug 2022, 13:13

                        @dc42 On most machines we are running Release 3.3 - never machines are 3.4.1

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          droftarts administrators @dc42
                          last edited by 2 Aug 2022, 15:58

                          @dc42 I’ll add what you have written in your post to the appropriate pages, for a clearer description of function.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            Kulitorum @dc42
                            last edited by 2 Aug 2022, 21:13

                            @dc42 Cool, it works now - dont know why it didnt before, but now it does. Thank you for the help.

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