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

    M584 P oddities...

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    314
    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.
    • Catalin_ROundefined
      Catalin_RO
      last edited by Catalin_RO

      After over one year later I finally really needed to properly install the 4th axis on my heavily modified WorkBee. Older firmware had some problems that I could not really understand back then (https://forum.duet3d.com/topic/5501/dwc-1-21-1-dual-y-axis-and-4th-rotary-axis?_=1576315648937). So now I have started again testing and tweaking the configuration for what I really wanted.

      So I started from what I knew to be in working condition - M584 X0 Y1:4 Z2 U3 W9 E5:6 P4 - and tried to change the rotary axis from U to B - M584 X0 Y1:4 Z2 B3 W9 E5:6 P4 - with all related changes in the other configuration files (remaining of the config.g and all the homing files).

      Still it doesn't work, though the M584 documentation clearly states that the axis can be defined in any order!

      So I have decided to go one step further and also replace W with C - M584 X0 Y1:4 Z2 B3 C9 E5:6 P4. Suddenly everything works as expected.

      The conclusion is that the P parameter has nothing to do with the number of visible axis in the order they are defined, but it is the number of visible axis in the XYZUVWABC order. In my case, no matter if I want to define X, Y, Z, B and W axis and hide W, the firmware will never allow that! P4 will always hide the B axis and show the W axis. At least that is my conclusion!

      P.S. This is with the latest 2.05 firmware!

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

        @Catalin_RO said in M584 P oddities...:

        The conclusion is that the P parameter has nothing to do with the number of visible axis in the order they are defined, but it is the number of visible axis in the XYZUVWABC order.

        That is correct, if you define the additional axes in a single M584 command. The reason is that the M584 command looks for axis letters in the order XYZUVWABCD. You can get a different order by defining the additional axes in separate M584 commands.

        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 0
        • Catalin_ROundefined
          Catalin_RO
          last edited by

          When has the D axis been added?

          Also, it would be great if the M584 documentation would be upgraded to mention the axis order for the P parameter...

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

            The availability of D as an axis letter has been added to the forthcoming RRF 3.0RC1, along with support of up to 10 axes (instead of 9) on Duet 3.

            I've updated the M584 description in the wiki.

            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 0
            • Catalin_ROundefined
              Catalin_RO
              last edited by

              Thank you!

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