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

Connecting stepper motor encoders to closed loop drivers

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
3
47
3.1k
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
    alankilian @V.A.M.P printing snproj
    last edited by 18 Feb 2022, 01:33

    @v-a-m-p-printing-snproj said in Connecting stepper motor encoders to closed loop drivers:

    @alankilian Im clicking home all on the dwc.

    OK, this is your homeall.g file:

    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-420 Y420 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X-420 ; home X axis
    G1 H1 Y420 ; home Y axis
    G1 X-5 Y-5 F6000 ; go back a few mm
    G1 H1 X-420 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y420 ; then move slowly to Y axis endstop
    G90 ; absolute positioning
    G1 X10 Y75 F6000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed

    Type those lines in one-at-a-time in the console while taking a video and we'll be able to see where the error occurs.

    SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

    undefined 1 Reply Last reply 18 Feb 2022, 16:48 Reply Quote 0
    • undefined
      V.A.M.P printing snproj @alankilian
      last edited by 18 Feb 2022, 16:48

      @alankilian I noticed that my Y coordinate was reading 315 where it originally was deploying my Bl touch to home the z so I changed the Y coordinate for the first probe point to Y315 instead of Y 75 and the home all worked fine.

      undefined 1 Reply Last reply 18 Feb 2022, 16:49 Reply Quote 0
      • undefined
        alankilian @V.A.M.P printing snproj
        last edited by 18 Feb 2022, 16:49

        @v-a-m-p-printing-snproj Excellent!

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

        1 Reply Last reply Reply Quote 0
        • undefined
          V.A.M.P printing snproj
          last edited by 18 Feb 2022, 17:01

          @alankilian Will this effect the positioning now when I go and try to print?

          undefined 1 Reply Last reply 18 Feb 2022, 17:10 Reply Quote 0
          • undefined
            alankilian @V.A.M.P printing snproj
            last edited by 18 Feb 2022, 17:10

            @v-a-m-p-printing-snproj

            Now that you've got the closed-loop drivers connected, please start a new thread completely describing the problem you are having and people will take a look and respond.

            Posting all your config and homing files in that new thread will help people help you.

            You should mark this thread solved.

            SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

            undefined 1 Reply Last reply 18 Feb 2022, 17:15 Reply Quote 0
            • undefined
              V.A.M.P printing snproj @alankilian
              last edited by 18 Feb 2022, 17:15

              @alankilian Sounds good thanks for the help! One more question now that everything is moving in the right direction and homing properly can I set my drivers to closed loop?

              undefined 1 Reply Last reply 18 Feb 2022, 17:22 Reply Quote 0
              • undefined
                alankilian @V.A.M.P printing snproj
                last edited by 18 Feb 2022, 17:22

                @v-a-m-p-printing-snproj

                Start a thread about "Closed-Loop tuning on CL57T stepper driver" and we'll talk there.

                It's going to be a long conversation I bet.

                SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                1 Reply Last reply Reply Quote 0
                • undefined V.A.M.P printing snproj marked this topic as a question 18 Feb 2022, 17:52
                • undefined V.A.M.P printing snproj has marked this topic as solved 18 Feb 2022, 17:52
                41 out of 47
                • First post
                  41/47
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA