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

    Unable to tune motor in closed loop mode

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    2
    7
    225
    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.
    • ketirangeundefined
      ketirange
      last edited by ketirange

      Duet 3 MB6XD in SBC mode
      Duet3 EXP1HCL
      RRF 3.6.0-beta.2
      Nema 23 1,2Nm, 4.0A, 1000PPR

      Hi, im struggling to enable closed loop mode on my setup. I get warning "Driver 30.0 warning: tuning/calibration failed" followed by error "M569.6: Driver 30.0 basic tuning failed, the measured motion was inconsistent". I increased motor current to 5A as suggested in other thread. I also disconnected motor from gantry, so it can move freely. I can see motor rotating and returning to position during calibration, but it always fails. This is my configuration:

      M569.1 P30.0 T2 C1000
      M569 P30.0 S0 D4
      M569.6 P30.0 V1

      Thank you for your help.

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

        @ketirange does the motor have a brake solenoid, if so are you disengaging it?

        Are you enabling the driver with M17 or alternatively moving it in open loop mode before the calibration move?

        Check the connections between the encoder and the 1HCL.

        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

        ketirangeundefined 1 Reply Last reply Reply Quote 0
        • ketirangeundefined
          ketirange @dc42
          last edited by

          @dc42 Motor does not have brake, and is doing 10mm move before switching to closed loop. Im checking wiring now, but cl worked for me on RRF 3.4.6

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

            @ketirange does it work for you in RRF 3.5.4 ? Note, the M569.1 parameters changed between 3.4.x and 3.5.x.

            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

            ketirangeundefined 1 Reply Last reply Reply Quote 0
            • ketirangeundefined
              ketirange @dc42
              last edited by ketirange

              @dc42 Yes, i was able to calibrate drives on 3.5.4 too. I will try tuning on my Y axis. If the same problem occurs, i will get back to you.

              ketirangeundefined 1 Reply Last reply Reply Quote 0
              • ketirangeundefined
                ketirange @ketirange
                last edited by

                @ketirange So im able to succesfully execute closed loop tunning move on both Y axis motors. X axis motor still gives same error while executing M569.6. Is there some debug mode for closed loop i can use to check what is going on? I already checked wiring and it looks the same as Y. I also checked continuity from encoder to 1HCL and measure voltage on B and A pins and it looks ok.

                ketirangeundefined 1 Reply Last reply Reply Quote 0
                • ketirangeundefined
                  ketirange @ketirange
                  last edited by

                  @ketirange Turns out a motor connector and cable was faulty, and after replacing it im able to perform a calibration move.

                  1 Reply Last reply Reply Quote 2
                  • 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