Is the M584 command's writing sequence important?



  • I have one X axis motor, two Y axis motors, one Z axis motor and Extruder motor. The Duet Wifi controller have two Z axis motor contacts. Logically, my two Y axis motors need connect with two Z contacts on the board and via YAT Terminal run the comand "M584".
    Which one would be right:
    A. M584 X0 Y2:3 Z1 E4
    B. M584 X0 Z1 Y2:3 E4
    Is the command's writing sequence important? Priority is X,Y,Z,E or drivers: 0,1,2,3,4...



  • @army61 Well the two Z connectors are electrically connected, either in series or in parallel.

    So if your Y axis motors are always going to move in sync you can use the Z connections.

    In that case the M584 command would simply be X0 Y2 Z1 E3, assuming you only will have one extruder.

    On the other hand if your Y axis motors need to move independently then you will NOT be able to use the Z connectors.

    I have no idea if the order is important. I have always used the order X, Y, Z, E.

    Frederick



  • @fcwilt said in Is the M584 command's writing sequence important?:

    @army61 Well the two Z connectors are electrical connected, either in series or in parallel.

    So if your Y axis motors are always going to move in sync you can use the Z connections.

    In that case the M584 command would simply be X0 Y2 Z1 E3, assuming you only will have one extruder.

    On the other hand if your Y axis motors need to move independently then you will NOT be able to use the Z connectors.

    I have no idea if the order is important. I have always used the order X, Y, Z, E.

    Frederick

    Thank You! Is it right - If both Y motors working in sync, then for the two Y motors will be for the one motor driver "2"?



  • @army61 That is correct.

    So you would need M584 X0 Z1 Y2 En ; E can be 3 or 4

    X motor would be plugged into the 'x' labeled output
    Z motor would be plugged into the 'y' labeled output
    Y motors would both be plugged into the 'z' labeled output

    If you don't get enough power from the single Y output for both motors, you can use the extra extruder driver for the other Y instead, something like so:

    M584 X0 Y1:4 Z2 E3
    In this case the other Y motor would be plugged into 'E1' and the extruder 'E0', the rest of xyz would be standard mappings and match the labels.

    It's fairly important to explicitly map each driver to an axis if not using the stock settings.


  • administrators

    @army61 said in Is the M584 command's writing sequence important?:

    I have one X axis motor, two Y axis motors, one Z axis motor and Extruder motor. The Duet Wifi controller have two Z axis motor contacts. Logically, my two Y axis motors need connect with two Z contacts on the board and via YAT Terminal run the comand "M584".
    Which one would be right:
    A. M584 X0 Y2:3 Z1 E4
    B. M584 X0 Z1 Y2:3 E4
    Is the command's writing sequence important? Priority is X,Y,Z,E or drivers: 0,1,2,3,4...

    The order of parameters in commands, including M584, does not matter.



  • @nhof said in Is the M584 command's writing sequence important?:

    @army61 That is correct.

    So you would need M584 X0 Z1 Y2 En ; E can be 3 or 4

    X motor would be plugged into the 'x' labeled output
    Z motor would be plugged into the 'y' labeled output
    Y motors would both be plugged into the 'z' labeled output

    If you don't get enough power from the single Y output for both motors, you can use the extra extruder driver for the other Y instead, something like so:

    M584 X0 Y1:4 Z2 E3
    In this case the other Y motor would be plugged into 'E1' and the extruder 'E0', the rest of xyz would be standard mappings and match the labels.

    It's fairly important to explicitly map each driver to an axis if not using the stock settings.

    Thank You!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.