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

    enable extruder endstops error when using G1 H1 E400 F12000

    Scheduled Pinned Locked Moved Unsolved
    Tuning and tweaking
    4
    17
    660
    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.
    • DeadNewbieundefined
      DeadNewbie
      last edited by

      Hi, I must be doing something Stupid, I have defined my Extruder endstop as

      M574 E1.0:1.1 S3
      but I have also tried
      M574 E0:1 S3

      but if I run the following Gcode I get an error about enable extruder endstops

      M915 P1.0 S10 R0 F0

      G1 E-0.3 F300 ; retract a little filament
      M400 ; wait for move to finish before changing current
      M915 P1.00 S3 ; set stall sensitivity
      M913 E30 ; motor current to 30%
      M83 ; relative extrusion
      G1 H1 E800 F6000 ; feed up to 800mm until stall
      M913 E100

      27/06/2023, 16:11:45 M32 "0:/gcodes/test.gcode"
      File 0:/gcodes/test.gcode selected for printing
      Cancelled printing file 0:/gcodes/test.gcode, print time was 0h 0m
      Error: G1: Failed to enable extruder endstops

      Would appreciate any help I can get on this one, I must have missed something really simple.

      regards

      Michael

      jay_s_ukundefined 2 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @DeadNewbie
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @DeadNewbie
          last edited by

          @DeadNewbie what are you trying to do? is it for filament changes?

          DeadNewbieundefined 1 Reply Last reply Reply Quote 0
          • DeadNewbieundefined
            DeadNewbie @jay_s_uk
            last edited by DeadNewbie

            @jay_s_uk Yes Exactly that, I have or am trying to get a 2 filament option to work,

            I have 3 extruders,

            Hot end Extruder 0
            Y Splitter
            Colour Feed A - Extruder 1
            Colour Feed B - Extruder 2,

            I have 2 tools defined
            M563 P0 D0:1 H1 F0 S"Colour - 1" ; define tool 0
            M563 P1 D0:2 H1 F0 S"Colour - 2" ; define tool 1

            All 3 extruders are Bondtech BMG, and I have a selection arm similar to the ERCF selector which disengages the drive cogs on the feeding Extruders when not needed.

            I want to feed quickly to the hot end and detect the stall, at that point I know the filament has hit the hot end and I can deselect the feed extruder with the servo and issue a M567 E1:0 to stop the feed extruder from pushing.

            All seems to work ok, but I cant for the life in me work out what I am doing wrong with configuring the end stop for the extruder for Stall detection.

            so any help I can get is much appreciated.

            I would have gone out and got a ERCF, but I had all these bits in.

            Regards

            Michael.

            1 Reply Last reply Reply Quote 0
            • DeadNewbieundefined
              DeadNewbie
              last edited by

              Really struggling with this, now using 3.4.6 RC1 and still the same.

              a6645450-991f-4bf4-a674-336cdbb4214d-image.png

              Anyone?

              dc42undefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined Phaedrux marked this topic as a question
              • dc42undefined
                dc42 administrators @DeadNewbie
                last edited by

                @DeadNewbie which Duet or other electronics running RRF are you using?

                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

                DeadNewbieundefined 2 Replies Last reply Reply Quote 0
                • DeadNewbieundefined
                  DeadNewbie @dc42
                  last edited by DeadNewbie

                  @dc42 mb6hc with exp3hc I also have a toolboard, but I am just using that at the minute for the acceleration module.

                  Thanks for looking.

                  just in case it helps, all 3 extruders are on the expansion board.

                  1 Reply Last reply Reply Quote 0
                  • DeadNewbieundefined
                    DeadNewbie @dc42
                    last edited by

                    @dc42 the extruder stepper is the MT-1701HSM140AE slimline E3D, I get the odd stall detected when in use, so there is a little fine tuning left.

                    But I cant seem to get the G1 H1 to work.

                    regards

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @DeadNewbie
                      last edited by

                      @DeadNewbie I'd guess it's because you are trying to set two extruder axes' endstop with one M574 command (M574 E1.0:1.1 S3). In RRF, each extruder is treated as a separate axis, so you can't combine them. You just want the hot end extruder (extruder 1.0?) to detect the stall. If the hot end extruder and colour feed extruder are defined as a tool, this should stop both motors. If you need to detect a stall on either one, have separate M574 commands for each motor.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      DeadNewbieundefined 1 Reply Last reply Reply Quote 0
                      • DeadNewbieundefined
                        DeadNewbie @droftarts
                        last edited by

                        @droftarts I will give that a go..

                        not back home until later.

                        Thanks

                        dc42undefined droftartsundefined 2 Replies Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @DeadNewbie
                          last edited by dc42

                          @DeadNewbie is your extruder connected to a tool board or a CAN-connected expansion board? Stall homing of motors connected to tool or expansion boards is not yet supported. See https://docs.duet3d.com/en/User_manual/RepRapFirmware/CAN_limitations#temporary-limitations.

                          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

                          DeadNewbieundefined 1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @DeadNewbie
                            last edited by

                            @DeadNewbie Also, I think you've just run into one of the current limitations of CAN. You can't a homing move (ie H1) on a CAN-connected expansion board:

                            Stalls of expansion board motors cannot be used for homing. We expect to remove this restriction in firmware 3.6.

                            https://docs.duet3d.com/User_manual/RepRapFirmware/CAN_limitations#temporary-limitations

                            If possibly, wire the extruder to the main board.

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                            1 Reply Last reply Reply Quote 0
                            • DeadNewbieundefined
                              DeadNewbie @dc42
                              last edited by

                              @dc42 @droftarts

                              Thank you both, that would do it, I will move it back to the mainboard and retest.

                              Regards

                              DeadNewbieundefined 1 Reply Last reply Reply Quote 0
                              • DeadNewbieundefined
                                DeadNewbie @DeadNewbie
                                last edited by

                                @dc42 @droftarts

                                well, I got further, I ended up moving X and Y to the Expansion board and moved all 3 extruders to the 6HC.

                                i no longer get the error, but it doesn't move anything when I issue the
                                G1 H1 E400 F6000

                                I will upload config.g later along with m122 and m122 b1.

                                what am i looking for in the m122 output to determine if the stepper is already stalled?

                                Thanks again for the help.

                                Michael

                                DeadNewbieundefined dc42undefined 2 Replies Last reply Reply Quote 0
                                • DeadNewbieundefined
                                  DeadNewbie @DeadNewbie
                                  last edited by

                                  @DeadNewbie

                                  just got back to this, been busy moving my kids home after university.

                                  1 Reply Last reply Reply Quote 0
                                  • dc42undefined
                                    dc42 administrators @DeadNewbie
                                    last edited by

                                    @DeadNewbie said in enable extruder endstops error when using G1 H1 E400 F12000:

                                    what am i looking for in the m122 output to determine if the stepper is already stalled?

                                    It would be included in the text that follows "Driver 0:" etc.

                                    To ensure that it is not stalled at the start you can execute a small move (more than one full step) either forwards or in reverse before the main filament feeding move.

                                    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

                                    DeadNewbieundefined 1 Reply Last reply Reply Quote 0
                                    • DeadNewbieundefined
                                      DeadNewbie @dc42
                                      last edited by

                                      @dc42 Thanks, I am still snowed under, but hope to take a look tomorrow, I will update asap.

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