Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved DWC 2 Checking end stops

    Using Duet Controllers
    2
    4
    60
    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.
    • Pierre52
      Pierre52 last edited by

      I have just upgraded the firmware and DWC on my Duet 2 Wifi to V3.2.2 from V2. something. This has of course required an updated version of Config G etc .

      My end stops on x and y were standard micro switches wired to the two outer tabs and worked perfectly on the old firmware.

      The upgraded end stop section of Config.g looks like this:
      ; Endstops
      M574 X1 S1 P"!xstop" ; configure active-low endstop for low end on X via pin !xstop
      M574 Y1 S1 P"!ystop" ; configure active-low endstop for low end on Y via pin !ystop
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      If I send M119 it tells me that X and Y are at min stop when in fact they are both mid travel. If I manually activate either stop M119 returns "not stopped". If I change M574 from S1 to S0, M119 reports "No End stop".
      The LEDs beside the respective stepper plugs are red if the endstop is not triggered and off when they are triggered.

      How do I change my Config .g to give the correct end stop state?

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

        Remove the ! from the pin name to invert the signal back to normal.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Pierre52
          Pierre52 last edited by

          Thanks Phaedrux. That was indeed the solution.

          I checked back on the Gcode dictionary and that little gem was hidden down in the notes rather than in the parameters list. There are a lot of subtle changes in this new version of the code that make it difficult for the occasional user.

          Thank you for your help in resolving this. Much appreciated

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

            This might help: https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview

            Z-Bot CoreXY Build | Thingiverse Profile

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