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

    Zendstop wrong polarity?

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    2
    10
    259
    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.
    • alexusundefined
      alexus
      last edited by

      hi my brain goes crazy with making z-axis work
      i have inductive limit switch that send 6V when not activates and 0V when activated. So Active Low?
      When i set I get inverted functionality... when wutch ot activated nothing happens and when its activated and hold then table moves in direction where i need it

      M574 Z1 S1 P"zstop"
      

      When i set S2 table moves a bit and they i get error

      M574 Z1 S1 P"zstop"
      

      LED on board show switch work poprely M119 bit confusing on wording but seams logical. And also cant find any sensor data in web UI

      How can i invert sensor? or am i doing something wrong?

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

        @alexus said in Zendstop wrong polarity?:

        M574 Z1 S1 P"zstop"

        You invert by adding a ! to the pin name.

        M574 Z1 S1 P"!zstop"

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_RepRapFirmware_Num_3

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • alexusundefined
          alexus @alexus
          last edited by

          ok never mind figured out

          M574 Z1 S1 P"!^zstop"   
          

          also added pull up , my guess it will be better? or should i remove pull up?

          now need to figure out why Z home goes down like 5mm and then goes up... i think that can cause crash if im close to end of the box

          Phaedruxundefined 2 Replies Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @alexus
            last edited by

            @alexus said in Zendstop wrong polarity?:

            or should i remove pull up?

            Try it first without.

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @alexus said in Zendstop wrong polarity?:

              now need to figure out why Z home goes down like 5mm and then goes up

              Your homing file likely has a G1 H2 Z move to give some clearance in XY before homing.

              Z-Bot CoreXY Build | Thingiverse Profile

              alexusundefined 1 Reply Last reply Reply Quote 0
              • alexusundefined
                alexus @Phaedrux
                last edited by

                @phaedrux

                u mean so that if we at top so extruded does not scratch table or something?

                also will try config without pull up now

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

                  yes basically to avoid the nozzle dragging on the bed.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  alexusundefined 1 Reply Last reply Reply Quote 0
                  • alexusundefined
                    alexus @Phaedrux
                    last edited by

                    @phaedrux
                    ok got it what about crashing at bottom base? i would logically add extra limit whitch but as i read board only supports one set per axis?

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

                      To be safe you would leave enough spare travel room beyond your M208 max limit to allow for the homing lift. 5mm may be overkill for your needs. Perhaps only 2mm is required for clearance. You also won't often be driving the Z axis to it's very limits during a print anyway.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • alexusundefined
                        alexus
                        last edited by

                        @phaedrux
                        @phaedrux
                        yep i figured that... right now wil leave 50mm to be safe 🙂
                        for now i think im set for z axis... though i had to use ratio to calculate mm/step instead of figuring out mechanical exected values so i might have some deviation... but any way lets get XY axis working lol

                        thank you for your help!

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