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

    Solved: M581 syntax question

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    5
    522
    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.
    • gavatron3000undefined
      gavatron3000
      last edited by gavatron3000

      Hello again,
      Just a quick one, my 5th driver or "E1" driver is mapped as a "B" axis.
      When setting up a trigger for the "B" endstop which is correct? Getting some odd behaviour here and there.

      M581 B T2 S0 C1
      Or
      M581 E1 T2 S0 C1

      Cheers

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        did you unmap your e1 drive in M584. There is a big warning that you get odd behaviour if you dont.
        https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping

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

          This one is correct:

          M581 E1 T2 S0 C1

          although if the second axis you create using M584 is the B axis, then the E1 endstop is also the B axis endstop, so the other command should work too.

          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

          gavatron3000undefined 1 Reply Last reply Reply Quote 0
          • gavatron3000undefined
            gavatron3000 @dc42
            last edited by

            @dc42 said in M581 syntax question:

            This one is correct:

            M581 E1 T2 S0 C1

            although if the second axis you create using M584 is the B axis, then the E1 endstop is also the B axis endstop, so the other command should work too.

            Thank you

            @veti said in M581 syntax question:

            did you unmap your e1 drive in M584. There is a big warning that you get odd behaviour if you dont.
            https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping

            heres my M584

            M584 X0 Z1 Y2 E3 B4 A5 C6

            1 Reply Last reply Reply Quote 0
            • gavatron3000undefined
              gavatron3000
              last edited by gavatron3000

              i found something else too unique to me, due to me having a "C" axis the trigger also reported that endstop as well as "B" even though i was configuring it for use while print from SD card

              i might rename my additional axes to avoid issues

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