M584 P oddities...



  • 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!


  • administrators

    @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.



  • 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...


  • administrators

    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.



  • Thank you!


Log in to reply