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

    E3D Tool Changer Stall Detection

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    5
    187
    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.
    • fcwiltundefined
      fcwilt
      last edited by

      Hi,

      I was looking at some sample code for the tool changer system from @dc42.

      The tool coupler stepper was configured to use stall detection.

      On my 6HC I setup the same settings as used in the sample code but with logging enabled there was no message appearing in the log showing the stall detection worked.

      These are the relevant bits from the config.g file:

      M906 C500 I30        ; set coupler stepper current
      
      M913 C50             ; reduce coupler stepper current
      
      M574 C1 S3           ; endstop using stall detection for coupler at low end of its range
      
      M915 C S6 F0 H200 R0 ; stall detection settings for coupler
      

      These are the relevant bits from homec.g file:

      M913 C60	    ; update coupler stepper current
      G1 H2 C-1000 F10000 ; move towards low end to the end of travel
      

      I enabled logging with M929 and changed the R0 in the M915 to R1.

      The log file was created but only contained the header:

      2022-05-09 18:56:30 [info] Event logging started at level debug
      2022-05-09 18:56:30 [info] Running: Duet 3 MB6HC v0.6 or 1.0: 3.3 (2021-06-15 21:45:46)
      

      Any ideas what might be wrong? Or does stall detection even work with such a small stepper?

      Thanks.

      Frederick

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

      engikeneerundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • engikeneerundefined
        engikeneer @fcwilt
        last edited by

        @fcwilt I believe that the coupler motor gives quite inconsistent results, especially if it gets warm.
        Mine just drops the current a bit and drives against the endstop so it keeps stalling then uses a G92 to set the position. No stall detection involved
        Machine is 2nd hand and came like that so not sure if that's the default

        E3D TC with D3Mini and Toolboards.
        Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
        i3 clone with a bunch of mods

        fcwiltundefined 1 Reply Last reply Reply Quote 1
        • dc42undefined
          dc42 administrators @fcwilt
          last edited by

          @fcwilt it's as @engikeneer says. The high resistance of the small stepper makes it impossible to get consistent stall detection in my experience.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

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

            @dc42 said in E3D Tool Changer Stall Detection:

            @fcwilt it's as engikeneer says. The high resistance of the small stepper makes it impossible to get consistent stall detection in my experience.

            Thanks for the feedback.

            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
            • fcwiltundefined
              fcwilt @engikeneer
              last edited by

              @engikeneer said in E3D Tool Changer Stall Detection:

              @fcwilt I believe that the coupler motor gives quite inconsistent results, especially if it gets warm.
              Mine just drops the current a bit and drives against the endstop so it keeps stalling then uses a G92 to set the position. No stall detection involved
              Machine is 2nd hand and came like that so not sure if that's the default

              That's what I was doing but then someone gave me a link to some dc42 sample files which had code for using stall detection. I guess the sample code is just out of date.

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