M584 format question please...



  • The Duet GCode section for Drive Mapping has this note, which I don't clearly understand:
    VERY IMPORTANT! Assigning a drive using M584 does not remove its old assignment. Therefore, if you assign a drive that defaults to being an extruder drive, you should also assign the extruder drives explicitly as in the above example. Failure to do so may result in unexpected behaviour.

    I have the following Gcode for assignment of separate drives for my two Y axis steppers.
    Seems to work perfectly, but is this code correct per the note above?

    M584 X0 Y1:4 Z2 E3 ; sync left and right Y steppers on drives 1 and 4.
    M569 P0 S1 ; X Drive 0 forward
    M569 P1 S0 ; Left Y Drive 1 backward
    M569 P4 S1 ; Right Y Drive 4 (E1) forward
    M569 P2 S0 ; Z Drive 2 backward Bed moves down for Z+, up for Z-
    M569 P3 S1 ; E0 Drive 3 forward

    Duet WiFi, cartesian, vertical motion bed for Z, single extruder

    Thanks



  • @danl Yes that's fine.
    Longer answer. By default drive 4 would be an extruder but you have explicitly defined it as a Y axis drive which is perfectly correct.



  • Thank you.


  • administrators

    @deckingman said in M584 format question please...:

    @danl Yes that's fine.
    Longer answer. By default drive 4 would be an extruder but you have explicitly defined it as a Y axis drive which is perfectly correct.

    ...and the E3 parameter in your command means that driver 4 is no longer an extruder.


 

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