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

    One endstop for multiple axes

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    5
    407
    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.
    • RedWagonundefined
      RedWagon
      last edited by

      I have a beta version of the Polar 3D/Polar Cloud printer that I'm trying to setup on a Duet 2 Wifi.

      So far polar support is working well, the only issue I'm having is getting the homing to work properly. In this printer there is a single magnetic sensor that can be triggered by the X carriage or the Z carriage.

      I have X working but I'm having trouble assigning the Z axis to also use the X sensor input. Below is the config I have added for endstops and I've been testing with M119. X updates when I trigger the sensor but Z does not.

      M574 X1 Y0 S0   ; X axis low, no Y axis sensor.  Works as expeted
      M574 Z1 S0 C0   ; Z axis low, use X axis?  Does not work
      

      The docs said the C was new after 2.03 so I also updated to:

      Firmware Name:	RepRapFirmware for Duet 2 WiFi/Ethernet
      Firmware Electronics:	Duet WiFi 1.02 or later
      Firmware Version:	2.03 (2019-06-13b2)
      WiFi Server Version:	1.23
      Web Interface Version:	1.22.6
      

      Any ideas?

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

        wire the endstop to both the x and z terminal at the same time?

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

          The M574 C parameter was added in a 2.03 beta version but withdrawn later. I can see a few options:

          1. Do as @Veti says.
          2. If you are not using a Z probe, you can connect your endstop to the Z probe input, then set up both X and Z to use the Z probe for homing.
          3. If you use the RepRapFirmware 3 beta then the M574 command takes a P parameter, which is the pin name. Currently an endstop pin can't be shared by more than one axis, but in the homing files you can allocate and release the pin as needed.

          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
          • RedWagonundefined
            RedWagon
            last edited by RedWagon

            Thanks for the info, I got it to work by setting the Z probe to an enstop then assigning the X axis homing to the Z probe.

            M558 P4 I1
            M574 X1 S2
            M574 Z1 S2
            
            1 Reply Last reply Reply Quote 0
            • RedWagonundefined
              RedWagon
              last edited by RedWagon

              @redwagon said in One endstop for multiple axes:

              M574 X1 S2

              For future reference you must also map the Z endstop back to the Z probe with m74 Z1 S2

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