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

    M584 format question please...

    Scheduled Pinned Locked Moved
    General Discussion
    3
    4
    364
    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.
    • DanLundefined
      DanL
      last edited by

      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

      deckingmanundefined 1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman @DanL
        last edited by

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

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        dc42undefined 1 Reply Last reply Reply Quote 0
        • DanLundefined
          DanL
          last edited by

          Thank you.

          DanL

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

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

            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
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA