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

    Endstopstatus

    Scheduled Pinned Locked Moved
    Duet Web Control
    5
    23
    980
    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.
    • d0minik96undefined
      d0minik96 @Phaedrux
      last edited by

      @Phaedrux
      My config for it:

      ; Endstops
      M574 X1 S1 P"xstop"                            ; configure active-high endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop"                            ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S1 P"zstop"                            ; configure active-high endstop for low end on Z via pin zstop
      

      I connected them just with the outer pins connected and the vcc goes to the 5V from the extensionadapter.

      After installing the Plugin it says triggered yes and highend no. and does not change when endstop position is reached.

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

        @d0minik96 said in Endstopstatus:

        Artillery Genius

        Is it possible to replace the endstops with something like a simple switch?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • d0minik96undefined
          d0minik96
          last edited by

          sadly i have nothing there. And atm i cant even check the sensors theirself to characterise their low and high voltage. But i will test it friday in my working labor.:)

          1 Reply Last reply Reply Quote 0
          • d0minik96undefined
            d0minik96
            last edited by

            Today i tested my endstops and it's kinda wierd.

            So the Sensor is a Sunx GL-8H. Datasheet should be this one:
            [https://ramcoi.s3.us-east-2.amazonaws.com/Panasonic/GL/Panasonic_GL-8-8U_proxs.pdf](link url)
            I tested the endstop seperate. When i supply the sensor with 5V. The output voltage between load and ground is 1.8V. If the endstop is hit it's 0V. So it should be a normally closed endstop right? But the OutputVoltage is kinda low. Even if i raise the Supplyvoltage to 10V the ouputvoltage stays the same. Not sure why this is so. I can imagine, that this low outputvoltage does not trigger an High in the board and this can be the reason, why my endstops are not working currently. Did i wire them wrong ?

            Analog to the wiring diagramm in the datasheet i use:
            Brown V+
            BLue Ground
            Black X-stop

            1 Reply Last reply Reply Quote 0
            • d0minik96undefined
              d0minik96
              last edited by

              looking at the circuit i think i need to connect my black wire to v+ aswell . if the transistor is triggered the whole v+ will drop over the transistor and i can measure this with the x stop pin

              So connecting brown wire to v+ and xstop seems to be the way to go for me ??

              1 Reply Last reply Reply Quote 0
              • alankilianundefined
                alankilian
                last edited by

                Connect black to brown with a pull-up resistor.

                The value is not critical, but it should be largish.
                Anything larger than about 2,000 Ohms should work.

                Then you should see the output go from +5 when the endstop is not triggered and zero when it is triggered.

                If you don't want to do that, you can connect the endstop output to the Duet and turn on the pull-up which is inside the microprocessor. That will work just as well.

                SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

                  Can you try enabling the pullup resistor on the pin by adding ^ to the pin name. ex: M574 X1 S1 P"^xstop"

                  Z-Bot CoreXY Build | Thingiverse Profile

                  d0minik96undefined 1 Reply Last reply Reply Quote 0
                  • d0minik96undefined
                    d0minik96
                    last edited by

                    I will try it tomorrow, for today i'm done xD

                    1 Reply Last reply Reply Quote 0
                    • d0minik96undefined
                      d0minik96 @Phaedrux
                      last edited by

                      @Phaedrux Ok so i just wired up my y endstop again.
                      I changed the Setting to:
                      M574 Y1 S1 P"^ystop"
                      Than the plugin shows me: triggered yes, when i am not in endstop position and when im in endstop position it shows me Triggered no. So seems like it is a step in the right direction. But the interpretation of the signal is wrong.

                      So i just changed it to active low:

                      M574 Y1 S0 P"^ystop"

                      Than my endstop shows me always triggered no, even if i am in the endstop position. You have any idea what is wrong ?

                      1 Reply Last reply Reply Quote 0
                      • alankilianundefined
                        alankilian
                        last edited by

                        Leave the pullup enabled and set it active-low by adding "!^" to your pin configuration.

                        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                        d0minik96undefined 1 Reply Last reply Reply Quote 0
                        • d0minik96undefined
                          d0minik96
                          last edited by

                          So active low is not set by S0 ?

                          alankilianundefined 1 Reply Last reply Reply Quote 0
                          • d0minik96undefined
                            d0minik96 @alankilian
                            last edited by

                            @alankilian Nice it worked, ty very much!

                            1 Reply Last reply Reply Quote 1
                            • alankilianundefined
                              alankilian @d0minik96
                              last edited by alankilian

                              @d0minik96 said in Endstopstatus:

                              So active low is not set by S0 ?

                              According to the gcode bible, Sx now sets the switch type in RRF3.

                              So I would leave it as S1.

                              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

                                S0 is no longer used in RRF3. You use S1 and must invert the signal with !

                                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