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

Endstopstatus

Scheduled Pinned Locked Moved
Duet Web Control
5
23
981
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.
  • undefined
    d0minik96
    last edited by 16 Mar 2021, 18:34

    the trick did not work
    Unfortunately. I tried the M119 command, but it does not show the state either:

    M119
    Endstops - X: at min stop, Y: at min stop, Z: at min stop, Z probe: at min stop

    It looks like my Endstops are working( ENDSTOP LED switches on when in endstopposition) but the Homing does not work.
    I read that it could be possible that the LED turns on but the board dont recognize low state since i use 5 V Endstops from the originall Artillery Genius, but i just read that some artillery users could use the endstops without any issues with 5V Supply on the board. I think i will just install the new DWC Version than and test the plugin.

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 16 Mar 2021, 19:02

      Photo of the endstops?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 16 Mar 2021, 20:54 Reply Quote 0
      • undefined
        d0minik96 @Phaedrux
        last edited by 16 Mar 2021, 20:54

        @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
        • undefined
          Phaedrux Moderator
          last edited by 16 Mar 2021, 21:28

          @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
          • undefined
            d0minik96
            last edited by 16 Mar 2021, 21:33

            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
            • undefined
              d0minik96
              last edited by 20 Mar 2021, 17:43

              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
              • undefined
                d0minik96
                last edited by 20 Mar 2021, 18:00

                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
                • undefined
                  alankilian
                  last edited by 20 Mar 2021, 18:24

                  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
                  • undefined
                    Phaedrux Moderator
                    last edited by 20 Mar 2021, 18:28

                    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

                    undefined 1 Reply Last reply 26 Mar 2021, 14:41 Reply Quote 0
                    • undefined
                      d0minik96
                      last edited by 20 Mar 2021, 18:54

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

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        d0minik96 @Phaedrux
                        last edited by 26 Mar 2021, 14:41

                        @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
                        • undefined
                          alankilian
                          last edited by 26 Mar 2021, 14:45

                          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

                          undefined 1 Reply Last reply 26 Mar 2021, 14:49 Reply Quote 0
                          • undefined
                            d0minik96
                            last edited by 26 Mar 2021, 14:48

                            So active low is not set by S0 ?

                            undefined 1 Reply Last reply 26 Mar 2021, 14:54 Reply Quote 0
                            • undefined
                              d0minik96 @alankilian
                              last edited by 26 Mar 2021, 14:49

                              @alankilian Nice it worked, ty very much!

                              1 Reply Last reply Reply Quote 1
                              • undefined
                                alankilian @d0minik96
                                last edited by alankilian 26 Mar 2021, 14:54

                                @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
                                • undefined
                                  Phaedrux Moderator
                                  last edited by 26 Mar 2021, 16:58

                                  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
                                  17 out of 23
                                  • First post
                                    17/23
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA