• Tags
  • Documentation
  • Order
  • Register
  • Login
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
224
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.
  • undefined
    ketirange
    last edited by ketirange 29 Nov 2024, 08:09

    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.

    undefined 1 Reply Last reply 9 Dec 2024, 07:58 Reply Quote 0
    • undefined
      dc42 administrators @ketirange
      last edited by dc42 12 Sept 2024, 07:58 9 Dec 2024, 07:58

      @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

      undefined 1 Reply Last reply 9 Dec 2024, 10:58 Reply Quote 0
      • undefined
        ketirange @dc42
        last edited by 9 Dec 2024, 10:58

        @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

        undefined 1 Reply Last reply 10 Dec 2024, 06:49 Reply Quote 0
        • undefined
          dc42 administrators @ketirange
          last edited by dc42 12 Oct 2024, 06:52 10 Dec 2024, 06:49

          @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

          undefined 1 Reply Last reply 10 Dec 2024, 06:53 Reply Quote 0
          • undefined
            ketirange @dc42
            last edited by ketirange 12 Oct 2024, 08:04 10 Dec 2024, 06:53

            @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.

            undefined 1 Reply Last reply 11 Dec 2024, 11:50 Reply Quote 0
            • undefined
              ketirange @ketirange
              last edited by 11 Dec 2024, 11:50

              @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.

              undefined 1 Reply Last reply 16 Dec 2024, 10:04 Reply Quote 0
              • undefined
                ketirange @ketirange
                last edited by 16 Dec 2024, 10:04

                @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
                • undefined Phaedrux marked this topic as a question 16 Dec 2024, 21:01
                • undefined Phaedrux has marked this topic as solved 16 Dec 2024, 21:01
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA