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

    Endstops triggered without anything connected

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    16
    1.1k
    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.
    • Eman74undefined
      Eman74
      last edited by

      @fcwilt said in Endstops triggered without anything connected:

      running firmware 2.05.1

      I am running running firmware 2.05.1 I have no clue why this is working this way I also managed to home X and Y axis, and I can grant you I double checked I'm on 2.05.1:

      Board: Duet WiFi 1.02 or later + DueX5
      Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.05.1 (2020-02-09b1)
      Duet WiFi Server Version: 1.23

      Emanuele

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

        From THIS page:

        Each input has a pullup resistor and red LED between the STP pin and +3.3V.

        The LED will be illuminated when an endstop switch or other device connected to the input holds the voltage close to 0V (ground).

        Whether the LED is illuminated when the endstop switch is triggered or not triggered depends on whether your endstop switch produces and active-high or active-low output:

        An endstop switch with an active-high output holds the input pin at about 0V when the switch is not triggered, and about +3.3V when it is triggered. A typical example is a normally-closed microswitch. The LED on the Duet will be illuminated when the switch is connected but not triggered.

        An endstop switch with an active-low output holds the input pin at about 3.3V when the switch is not triggered, and about 0V when it is triggered. One example is a normally-open microswitch (which is not recommended, because a normally-closed switch is safer). Another example is a Hall sensor with an open-drain output that is connected directly to the Duet endstop input. The LED on the Duet will be illuminated when the switch is connected and triggered.

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

        Eman74undefined 1 Reply Last reply Reply Quote 0
        • Eman74undefined
          Eman74 @alankilian
          last edited by

          @alankilian said in Endstops triggered without anything connected:

          From THIS page:

          Each input has a pullup resistor and red LED between the STP pin and +3.3V.

          The LED will be illuminated when an endstop switch or other device connected to the input holds the voltage close to 0V (ground).

          Whether the LED is illuminated when the endstop switch is triggered or not triggered depends on whether your endstop switch produces and active-high or active-low output:

          An endstop switch with an active-high output holds the input pin at about 0V when the switch is not triggered, and about +3.3V when it is triggered. A typical example is a normally-closed microswitch. The LED on the Duet will be illuminated when the switch is connected but not triggered.

          An endstop switch with an active-low output holds the input pin at about 3.3V when the switch is not triggered, and about 0V when it is triggered. One example is a normally-open microswitch (which is not recommended, because a normally-closed switch is safer). Another example is a Hall sensor with an open-drain output that is connected directly to the Duet endstop input. The LED on the Duet will be illuminated when the switch is connected and triggered.

          Thank you very much, this resolve my doubts, still not sure why I'm able to use new gcodes on 2.05.1 but may be this option was available before the jump too, I may have simply found an EasterEgg of high value for my config (I'll probably upgrade to latest version later on, I just went for the version I was already familiar with....)

          Now it's time to look into triple-z homing with BLTouch... wish me luck!

          Emanuele

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @Eman74
            last edited by

            @Eman74 said in Endstops triggered without anything connected:

            I cannot understand how v3 syntax can work on v2 firmware.

            If you haven't already done so please execute M98 P"config.g" from the DWC console and let us know if there are any warnings or error messages displayed.

            Thanks.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

              @fcwilt said in Endstops triggered without anything connected:

              I cannot understand how v3 syntax can work on v2 firmware.

              Well the first half of the M574 command is the same, so it's just ignoring the second half with the pin name.

              M574 X1 S1 is the same in RRF2 or RRF3. The only difference for RRF3 is that it adds the pin name P"!xstop"

              https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M574_Set_endstop_configuration

              Z-Bot CoreXY Build | Thingiverse Profile

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @Phaedrux
                last edited by fcwilt

                @Phaedrux said in Endstops triggered without anything connected:

                @fcwilt said in Endstops triggered without anything connected:

                I cannot understand how v3 syntax can work on v2 firmware.

                Well the first half of the M574 command is the same, so it's just ignoring the second half with the pin name.

                M574 X1 S1 is the same in RRF2 or RRF3. The only difference for RRF3 is that it adds the pin name P"!xstop"

                https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M574_Set_endstop_configuration

                Thanks.

                I wrongly assumed that the firmware validated the entire line of code (stopping at comments) to insure that all was correct.


                That still doesn't explain why his change worked - his posts suggests he left the "v2" part unchanged.

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                  I'm guessing some combination of wiring and command syntax.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 1
                  • Eman74undefined
                    Eman74
                    last edited by

                    @fcwilt said in Endstops triggered without anything connected:

                    M98 P"config.g"

                    M98 P"config.g"
                    

                    HTTP is enabled on port 80
                    FTP is disabled
                    TELNET is disabled

                    this is what I get, anyway I'll soon update to RRF3, my understanding is it's way more powerful and has more development potential

                    Emanuele

                    fcwiltundefined Phaedruxundefined 2 Replies Last reply Reply Quote 1
                    • fcwiltundefined
                      fcwilt @Eman74
                      last edited by

                      @Eman74 said in Endstops triggered without anything connected:

                      M98 P"config.g"
                      HTTP is enabled on port 80
                      FTP is disabled
                      TELNET is disabled

                      Well there are no warnings or errors so that is good.

                      'll soon update to RRF3, my understanding is it's way more powerful and has more development potential

                      Wise choice. For a little bit of effort you will have a much better system.

                      Frederick

                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                        @Eman74 said in Endstops triggered without anything connected:

                        I'll soon update to RRF3

                        If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
                        https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                        https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                        https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip
                        That will get your firmware and DWC up to date.

                        You can see the change logs here:
                        https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x

                        For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
                        https://configtool.reprapfirmware.org/Start

                        Backup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.

                        These documents will come in handy during the conversion.
                        https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
                        https://duet3d.dozuki.com/Wiki/Gcode

                        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