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

    M584 Syntax Question

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    6
    290
    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.
    • 0xde4dbeefundefined
      0xde4dbeef
      last edited by 0xde4dbeef

      I am new to the duet world and in the process of setting up my new machine. It has a dual X-Motor and I am reading up on the documentation for M584. However the syntax described in the docs is not the same syntax in the config file from the generator.
      The generator came up with this:

      M584 X0.0 Y0.1 Z0.2            ; set drive mapping
      

      The docs describe a syntax like this:

      M584 X0 Y1 Z2:3 E4:5:6 
      

      specifically, the generated gcode uses a dot (.) as a separator, and the docs use a colon (:) as a separator, and I am not at all certain that the separators do the same in those examples ... 😕

      Since this is a potentially machine-breaking config section I found it's best to ask in hear to clear up the situation, before I just go in and try hoping for the best ...

      More specifically, how do I correctly set up the x-motor on driver 0 and 1? M584 X0.1 Y0.2 Z0.3 or M584 X0:1:2 Y0.1:2 Z:0.2:3 or M584 X0:1 Y2 Z3?

      thank you!

      1 Reply Last reply Reply Quote 0
      • BoAundefined
        BoA
        last edited by

        0 and 0.0 is a drive number (depends on firmware version).
        : is used todefine an array

        X0:1 or X0.0:0.1 maps drive 0 and 1 to X

        1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt
          last edited by

          Hi,

          From the documentation:

          In RRF_3, M584 works the same way as in RRF_2, with exception that on Duet 3 the driver on expansion boards are assigned with <board address>.<driver number>. Example:

          M584 X0 Y1 Z2 E3:4:1.0:1.1

          The "0" index for the main board is implicit, this is equivalent to the previous example:

          M584 X0.0 Y0.1 Z0.2 E0.3:0.4:1.0:1.1

          Frederick

          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

          1 Reply Last reply Reply Quote 0
          • 0xde4dbeefundefined
            0xde4dbeef
            last edited by

            You guys are extremely fast! Thank you very mch!

            fcwiltundefined 1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @0xde4dbeef
              last edited by

              @0xde4dbeef said in M584 Syntax Question:

              You guys are extremely fast! Thank you very mch!

              Yep, we are fast and sometimes we even get the answer right. 😉

              Frederick

              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

              0xde4dbeefundefined 1 Reply Last reply Reply Quote 1
              • 0xde4dbeefundefined
                0xde4dbeef @fcwilt
                last edited by

                @fcwilt 🚀

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