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

    Two 1XD each with an endstop each. But does not work.

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    2
    3
    130
    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.
    • Schickfusundefined
      Schickfus
      last edited by

      Hi

      Sorry if I am in the wrong category. I have tried to find a solution on the forum but didn't find any.

      I have a Duet 3-6HC and two 1XD.
      I am doing some tests but the basic concept is as follows.

      ; Drives
      M569 P41.0 S1 R0 T2.5:2.5:6:0 ; physical drive 41 Y1 goes forwards
      M569 P42.0 S0 R0 T2.5:2.5:6:0 ; physical drive 42 Y1 goes backwards

      M584 Y41.0:42.0 ; set drive mapping

      ;To use two Z motors using independent homing switches, declare two Z ;motors in M584, then declare two pins for Z endstops in a single M574 ;command. Example

      ;M584 X0 Y1 Z2:3 E4
      ;M574 Z1 S1 P"io2.in+io3.in" ; Z axis with two motors, individual min ;endstops, active high

      I want to do this

      M574 Y1 S1 P"!41.io2.in+!42.io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y1 via pin

      That is any of the end stop stops both motors. Or each end stop, stops its respective motor.

      Or do I not understand?
      I can just get one end stop to work at the time

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you send M122 and M122 B# where # is the canbus address of your expansion boards?

        Also send M98 P"config.g" and report the results.

        Also share your full config.g please.

        Z-Bot CoreXY Build | Thingiverse Profile

        Schickfusundefined 1 Reply Last reply Reply Quote 0
        • Schickfusundefined
          Schickfus @Phaedrux
          last edited by

          @phaedrux

          Thanks for answering!

          I got it to work. I had a wrongly configured tool M563. This somehow made things not working.

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined Phaedrux marked this topic as a question
          • Phaedruxundefined Phaedrux has marked this topic as solved
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA