• 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
    V.A.M.P printing snproj @V.A.M.P printing snproj
    last edited by 17 Feb 2022, 17:32

    @v-a-m-p-printing-snproj
    ; config-override.g file generated in response to M500 at 2021-03-31 14:08
    ; This is a system-generated file - do not edit
    ; Heater model parameters
    M307 H0 A72.0 C92.5 D2.7 S1.00 V24.1 B0
    M307 H1 A654.0 C177.9 D11.3 S1.00 V24.0 B0
    M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
    G10 L2 P1 X0.00 Y0.00 Z0.00
    G10 L2 P2 X0.00 Y0.00 Z0.00
    G10 L2 P3 X0.00 Y0.00 Z0.00
    G10 L2 P4 X0.00 Y0.00 Z0.00
    G10 L2 P5 X0.00 Y0.00 Z0.00
    G10 L2 P6 X0.00 Y0.00 Z0.00
    G10 L2 P7 X0.00 Y0.00 Z0.00
    G10 L2 P8 X0.00 Y0.00 Z0.00
    G10 L2 P9 X0.00 Y0.00 Z0.00

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

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

      I changed the direction with the switch on the driver and it printed alright, prints were sloppy. I ordered a new hot end so hopefully that helps with the sloppy prints when i get it moving right again.

      OK, it's good to hear you've got it running.

      Let us know when you have a new hot-end and have some new results.

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

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

        @alankilian Oh it was printing before I put the closed loop drivers on. I got it to home the x and y fine separately, but when I home all itll home x and y and shoot off to the corner and trys to keep moving without homing the z.

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

          @v-a-m-p-printing-snproj
          Is it possible my cordinates got all screwed up? Should i reset all my homing?

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

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

            Can you describe what you are doing to accomplish this?

            Are you clicking the "home all" button on the DWC or are you running the homex.g file by hand?

            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, 01:24 Reply Quote 0
            • undefined
              V.A.M.P printing snproj @alankilian
              last edited by 18 Feb 2022, 01:24

              @alankilian Im clicking home all on the dwc.

              undefined 1 Reply Last reply 18 Feb 2022, 01:33 Reply Quote 0
              • 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
                            44 out of 47
                            • First post
                              44/47
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA