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

    1HCL 1.0 closed loop controller

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    7
    54
    2.6k
    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.
    • supertb1undefined
      supertb1 @dc42
      last edited by supertb1

      @dc42 I added that line to the first line of code in my home”x” and I’m still getting the same error “ driver 50.0 error: failed to maintain position. It is homing in open loop and is working that way but the error persists… I’m going to put it back in close loop and see what it does. I put it back into closed loop and of course the error persists. I switch the cards around and manually operated the switches by hand, the problem follows the motor. I disconnected the motor leads from the board, ran M122 B50 looking for the raw count being zero, then moved the motor armature and ran M122 B50 again and no change in the raw count so I think I have a bad encoder on my motor. I guess I am back to the drawing board on my end... aside from this issue I have all my other areas of concern addressed. Thank you all for your help @dc42, @Phaedrux

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

        @supertb1 what exactly is the sequence that gives rise to that error message? Does it occur during homing; or when homing is complete; or when you attempt an axis movement after homing? Has the driver been switched back to closed loop mode when it occurs?

        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

        supertb1undefined 1 Reply Last reply Reply Quote 0
        • supertb1undefined
          supertb1 @dc42
          last edited by

          @dc42 it happens immediately upon initiation of homing sequence, on command movement and at board reset in both open and closed loop, it will home in both open and close loop but in close loop it will not maintain position. I am going to take the motor apart to try and understand what is happening better… more to follow

          supertb1undefined 1 Reply Last reply Reply Quote 0
          • supertb1undefined
            supertb1 @supertb1
            last edited by

            @supertb1 I popped the side cover off the motor and found the A+ wire had a bad solder joint, put it all back together and now when I home the axis it still returns 4/22/2022, 8:43:39 PM Error: Driver 50.0 error: failed to maintain position
            And then it displays drive 50.0 tuned successfully measured hysteresis 0.17 step… go figure… it is holding position and everything. So last question, how do I get the error to go away?

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

              @supertb1 so is the only problem now that in open loop mode when you are homing and have not tuned, you are getting the "filed to maintain position" message?

              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

              supertb1undefined 1 Reply Last reply Reply Quote 0
              • supertb1undefined
                supertb1 @dc42
                last edited by

                @dc42 no it is giving the alarm on a tuned closed loop homing cycle… it is doing it on my other system that I recently updated… the alarm has something to do with one of the updates I think

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

                  @supertb1 the homing move or moves should aways be done in open loop mode, and should be followed by the basic tuning move before switching to closed loop.

                  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

                  supertb1undefined Dutchprintingundefined 2 Replies Last reply Reply Quote 0
                  • supertb1undefined
                    supertb1 @dc42
                    last edited by

                    @dc42 I am using the recommended homing sequence as prescribed

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

                      @supertb1 please can you test if this issue is resolved in 3.5b3

                      www.duet3d.com

                      supertb1undefined 1 Reply Last reply Reply Quote 0
                      • supertb1undefined
                        supertb1 @T3P3Tony
                        last edited by

                        @T3P3Tony Hi. I am almost scared to update... I am currently working through issues with my new coreXY (https://forum.duet3d.com/topic/32222/corexy-1hcl-issues/2?_=1682288729468). Apparently the close loop tuning maneuver has changed from the previous coding and it may be part of what is going on with this new machine. I will update and see if any errors develope

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

                          @supertb1 any news?

                          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

                          1 Reply Last reply Reply Quote 0
                          • Dutchprintingundefined
                            Dutchprinting @dc42
                            last edited by

                            @dc42 said in 1HCL 1.0 closed loop controller:

                            @supertb1 the homing move or moves should aways be done in open loop mode, and should be followed by the basic tuning move before switching to closed loop.

                            You mean after homing, switch to closed loop and THEN do the tuning maneuvre? The documentation states it that way...?
                            Still having trouble with my Nema34's closed loop so i'm looking at everything right now.

                            Proudly running 1x 6CH mainboard, 5x 1HCL, 5x 1XD at 3.5b4 on my very large format 3D pinter.

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