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

    Can't configure End stops

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    5
    15
    603
    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.
    • jay_s_ukundefined
      jay_s_uk @Andy Cohen
      last edited by

      @andy-cohen you have M574 Z0. That means no endstop

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      1 Reply Last reply Reply Quote 0
      • Norderundefined
        Norder @Andy Cohen
        last edited by Norder

        @andy-cohen said in Can't configure End stops:

        M574 C0 Z0 ; Kein CZ-Endanschlag

        If the Z-axis has its endstop at the low-end (Z-min) and it's the same type of endstop as the X-axis, and the endstop is connected to the Z-Endstop connector on the board, then it should the command line look like this:
        M574 Z1 S1 P"!zstop" ;configure active high endstop switch for low end on Z

        GCode Dictionary Command M574

        Google Translate
        --- Original Text ---

        Wenn die Z-Achse am unteren Ende (Low-End / Z-min) ihren Endstop hat und es der gleiche Typ Endstop wie bei der X-Achse ist, und der Endstop am Z-Endstop Stecker auf dem Board angeschlossen ist, dann sollte die Befehlszeile wie folgt aussehen:
        M574 Z1 S1 P"!zstop" ;konfiguriere aktiven High-Endstop-Schalter für Low-End auf Z

        GCode Dictionary Command M574

        DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
        Thingiverse

        Andy Cohenundefined 1 Reply Last reply Reply Quote 0
        • Andy Cohenundefined
          Andy Cohen @Norder
          last edited by

          @norder yes… if this were a typical machine which has a z end stop switch activated when the bed is drawn up to 0.
          This is the E3d Toolchanger. The end stop gcode is from E3d. The end stop switch also acts as the z probe and it is mounted on the coupler carriage.

          Norderundefined 1 Reply Last reply Reply Quote 0
          • Norderundefined
            Norder @Andy Cohen
            last edited by

            @andy-cohen
            Sorry I don't have a crystal ball. 🤗
            You should have written about it right away.
            The more information... the easier and faster we can help you.

            Google Translate
            --- Original Text ---

            Sorry das ich keine Glaskugel habe. 🤗
            Du hättest es gleich dazu schreiben sollen.
            Um so mehr Infos... desto einfacher und schneller kann Dir geholfen werden.

            DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
            Thingiverse

            Andy Cohenundefined 1 Reply Last reply Reply Quote 0
            • Andy Cohenundefined
              Andy Cohen @Norder
              last edited by

              @norder My first sentence is its a Toolchanger.
              I tried ...
              M574 Z1 S1
              M574 C1 S3

              C is the tool coupler and it uses amps from motor stall as well as Y axis for end stop on my machine.
              It did not work either.
              I also switched out the zhome script with another written by E3D... no difference. It keeps saying the same error. Weird.
              I need help from the RRF gods!

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

                Do you have a Z endstop and a Z probe?
                Post your homing files.
                When exactly are you getting that error?

                Can you send M98 P"config.g" and copy paste the output?

                Z-Bot CoreXY Build | Thingiverse Profile

                Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                • Rushmere3Dundefined
                  Rushmere3D
                  last edited by

                  My TC config has the same settings but I wonder if the order in which you have it is causing a issue? I.e you have the motor setting etc after the endstop settings?

                  Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

                  Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                  • Andy Cohenundefined
                    Andy Cohen @Rushmere3D
                    last edited by

                    @rushmere3d Yeah... the end stop def was before. I switched it and it still returned the same error.

                    So next I swapped out the homing scripts from mine to those from the E3D sample files. My older files had M574 commands in them which could easily have fired off the error. Now I get something quite different:
                    "Error: Probe already triggered at start of probing move"
                    Which to me indicates it's expecting a closed switch not an open one.

                    Rushmere3Dundefined 1 Reply Last reply Reply Quote 0
                    • Andy Cohenundefined
                      Andy Cohen @Phaedrux
                      last edited by

                      @phaedrux On this machine the Z switch is on the tool coupling carriage which rides on the X axis rail. When no tool is on it it acts as the Z end stop and the mesh compensation probe.

                      I was getting the error right after the first homing move which tells me it was in the homez script. I changed that to the sample E3D script on their website and now I get the message:
                      "Error: Probe already triggered at start of probing move"

                      here's the output per your request:
                      8/28/2022, 11:36:16 AM HTTP is enabled on port 80
                      FTP is disabled
                      TELNET is disabled
                      Warning: Heater 1 predicted maximum temperature at full power is 496°C
                      Warning: Heater 2 predicted maximum temperature at full power is 512°C
                      Warning: Heater 3 predicted maximum temperature at full power is 547°C
                      Error: Heater 5 not found
                      Error: Heater 6 not found
                      Error: Heater 7 not found
                      8/28/2022, 11:36:15 AM M98 P"config.g"
                      HTTP is enabled on port 80
                      FTP is disabled
                      TELNET is disabled

                      Note I have yet to run PID control routines on my heaters.

                      Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                      • Andy Cohenundefined
                        Andy Cohen @Andy Cohen
                        last edited by

                        @andy-cohen DOH!!! The "!" in the zstop label! AH!

                        Thank you to all here who replied to my post I appreciate the help.

                        Chances are though I'm not ready to print just yet and may have more things like this.

                        Rushmere3Dundefined 1 Reply Last reply Reply Quote 0
                        • Rushmere3Dundefined
                          Rushmere3D @Andy Cohen
                          last edited by

                          @andy-cohen I'm confused you didn't have the ! in the config when you posted, then you added it and you said it made no difference.

                          So is your original issue fixed?

                          Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

                          1 Reply Last reply Reply Quote 0
                          • Rushmere3Dundefined
                            Rushmere3D @Andy Cohen
                            last edited by

                            @andy-cohen So it was the homing files and then the ! In the endstop config?

                            I should have said I have a duet 3 on my TC.

                            Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

                            Andy Cohenundefined 1 Reply Last reply Reply Quote 0
                            • Andy Cohenundefined
                              Andy Cohen @Rushmere3D
                              last edited by

                              @rushmere3d The heart of my problem was that I simply edited the S labels to H in all my Homing scripts. Bad idea. I should have simply swapped out the old files for e3d’s new homing files. My old files used the M574 command which reset the end stops incorrectly for the update. I have no idea why the m574 command was in the original homing scripts…

                              The second problem was because I had not read the ALL of the docs on the pin out labels. As such I had assumed the exclamation mark was on all pinout names. I went back and ready the whole thing and found the ! Sets the polarity of the connections.

                              Heaters all tuned. Almost ready to print. Again thanks to all for the help.
                              And… yeah I’ll talk about the update in the 3d Printing Today podcast.

                              1 Reply Last reply Reply Quote 1
                              • Phaedruxundefined Phaedrux marked this topic as a question
                              • Phaedruxundefined Phaedrux has marked this topic as solved
                              • First post
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA