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

    BLTouch Reset Error CMD- building it into the web interface

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    4
    7
    1.8k
    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.
    • punamenonundefined
      punamenon
      last edited by

      It is quite popular to use DUET boards for Delta printers. It is also popular to use BLTouch sensors on these same printers. This is a setup that comes stock on the TEVO Little Monster. Delta printers have a tendency to settle to the point where the nozzle rests on the print surface when they are turned off. Although rare, this can also happen with a Cartesian printer. If the printer is powered on with the nozzle touching the bed, the BLTouch runs through it's self test and because it can't fully deploy it pops an error, and the red LED starts blinking. If you then try to run an auto-calibration routine, the sensor won't deploy, and your nozzle will collide with the bed. To avoid this, you must first clear the error with a "M280 P3 S160 I1" command. However, this lengthy bit of G-Code can be difficult to remember for all users. Because that bit of G-code is benign to printers which have no BLTouch sensor, and will affect nothing, I am suggesting that the command be incorporated into the "Home All" button. At the very least, it should preface the auto-calibration routine when the user presses that button. Perhaps the web interface could be made intelligent where it will look for the tell tale signs of a BLTouch in the config.g file and only then alter the behavior of the "Home All" and/or "Auto Delta Calibration" buttons.

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

        Since you have control of the contents of the homeall.g macro, you can add the BLTouch command to the start of it. I do that for all my homing files just in case because there are times when the pin can drop below the edge of the bed and if the head moves it will damage the pin. I even have the command at the end of config.g so that if the pin is out when the printer turns on or the head is too close to the bed for the self test to complete as you describe it will reset automatically.

        You can also create a macro with the command that will show up in the DWC or PanelDue.

        alt text

        Z-Bot CoreXY Build | Thingiverse Profile

        punamenonundefined 1 Reply Last reply Reply Quote 0
        • punamenonundefined
          punamenon @Phaedrux
          last edited by

          @phaedrux EXCELLENT! It didn't occur to me to go see if I had access to the homedelta.g file. Now I feel dumb for suggesting this as an implemented feature for all users. Thank you for your help!

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

            @punamenon no problem at all. The power of the macro system is hard to grasp all at once sometimes.

            Z-Bot CoreXY Build | Thingiverse Profile

            pro3dundefined 1 Reply Last reply Reply Quote 0
            • pro3dundefined
              pro3d @Phaedrux
              last edited by

              @phaedrux
              I hope someday I also will look at the macro world as a resource rather than a time thive trying to fix stuff. Just not a coding nerd

              Valkyrie DIY High Temp 3D Printer

              R&D - Engineering Designer - Viking 3D Printers
              https://vkingprinter.com/

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

                @pro3d said in BLTouch Reset Error CMD- building it into the web interface:

                @phaedrux
                I hope someday I also will look at the macro world as a resource rather than a time thive trying to fix stuff. Just not a coding nerd

                I just look at it as customization. The rest of the printer is customized to my liking, so why not the control software? It does take some getting used to. And it can be frustrating. I basically spent 6 months reading the gcode wiki and documentation pages before even powering up the Duet, and even then it was a couple months of getting things going. But in the end I now have a printer that behaves like a commercial printer with menus and buttons and routines that behave as expected every time.

                Of course I realize not everyone has the time or desire to spend it on all the configuration necessary to get that. But I also had a very workable printer pretty soon after starting. The extra stuff like macros for automating things came after.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators @pro3d
                  last edited by

                  @pro3d said in BLTouch Reset Error CMD- building it into the web interface:

                  @phaedrux
                  I hope someday I also will look at the macro world as a resource rather than a time thive trying to fix stuff. Just not a coding nerd

                  The macro system, at its simplest, just saves you from manually having to type the same set of gcodes to achieve some action. They can get quite length and complicated but alot are very short and simple. For example I might not remember that to reset a temperature fault on the hotend is M562

                  However I can write a macro with 1 line in it:

                  M562 P1

                  And name it "ResetE0TempFault" or whatever I like.

                  Of course we could add loads more buttons to the web interface to do all these sorts of things - but not everyone wants the same things!

                  www.duet3d.com

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