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

    Duet 3 cnc, how to start? Make stepper motor turn?

    Scheduled Pinned Locked Moved
    CNC
    5
    19
    903
    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.
    • A Former User?
      A Former User
      last edited by

      this guide is specific for an ender printer and maestro board, but the differences to cnc and duet3 are small.

      https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+1:+Wiring/37

      If its already wired, skip to part 2, but reading part 1 might still be handy background info.

      (the biggest one might be the configuration changes between RRF2 and RRF3, but the concept of homing files etc will be the same)

      Tsolsiundefined 1 Reply Last reply Reply Quote 1
      • Tsolsiundefined
        Tsolsi @A Former User
        last edited by

        @bearer Thanks :), that's a lot to go through. Why did I go for the Duet again... for convenience and oh yeah to have a challenge. I think I found it 😆
        Was this a bad choice?

        (Keeping fingers crossed that whilst I struggle someone whom has done it for a cnc with a duet 3 will just pop in with some great pictures and config files ready for me to make my own.)

        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @Tsolsi
          last edited by

          @Tsolsi said in Duet 3 cnc, how to start? Make stepper motor turn?:

          and I miss my double axis for ...

          don't think config tool support that, its meant for a starting point.

          the basic config is the same regardless of z or x/y axis

          https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors#Section_Example_for_2_motors

          so if you used drivers 1 and 2 for a dual y, specify Y1:2 in your M584 commnand.

          Tsolsiundefined 1 Reply Last reply Reply Quote 1
          • A Former User?
            A Former User @Tsolsi
            last edited by

            @Tsolsi said in Duet 3 cnc, how to start? Make stepper motor turn?:

            Why did I go for the Duet again..

            at least you can edit a simple g-code file in a web interface rather than recompiling the firwmare for every little change. but there is a learning curve to everything.

            1 Reply Last reply Reply Quote 1
            • Tsolsiundefined
              Tsolsi @A Former User
              last edited by Tsolsi

              @bearer Thank you, I'll hopefully get to that somewhere this week 🙂 I'd be delighted if I could get my single stepper motor that is sitting on my desk hooked up to my duet 3 to move... it is my goal for today I reckon, only 10 hours left... 😆

              Is that even possible? Say I have my duet 3 with rasberry pi 3b+ , stepper motor nema 23 hooked up to driver port 1... Can I get that to move without hooking anything else up

              Tsolsiundefined 1 Reply Last reply Reply Quote 0
              • Tsolsiundefined
                Tsolsi @Tsolsi
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by

                  think you're approaching the problem in the wrong order of milestones.

                  set up networking, verify your endstops, set up your homing and work area then move the motors, by default the firmware prevent you from moving outside the work area, which requires the machine to be homed.

                  you can override with M564 S0 H0

                  https://duet3d.dozuki.com/Wiki/Gcode#Section_M564_Limit_axes

                  Tsolsiundefined 1 Reply Last reply Reply Quote 1
                  • Tsolsiundefined
                    Tsolsi @A Former User
                    last edited by

                    @bearer said in Duet 3 cnc, how to start? Make stepper motor turn?:

                    M564 S0 H0

                    I DID IT!!! oh well at least a little bit :D, that override made me able to click the Y+50 and it made the stepper motor feel a little vibrating.. it didn't rotate anything but there was a vibration! So something is working.. and something isn't probably as well. It shouldn't just vibrate but actually rotate hmm.. 🤔

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @Tsolsi
                      last edited by A Former User

                      @Tsolsi said in Duet 3 cnc, how to start? Make stepper motor turn?:

                      it didn't rotate anything but there was a vibration!

                      low motor current or wrong wiring; again, if you read through the guide it'll take you through the "correct" order of operations

                      https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

                      Tsolsiundefined 2 Replies Last reply Reply Quote 1
                      • Tsolsiundefined
                        Tsolsi @A Former User
                        last edited by

                        @bearer Thank you, I will now read all of it. I thought I already did once but I guess it just didn't hit home at the time. I'm going to give it another go. Your replies are very much appreciated.
                        I've looked over the wiring quite long before hooking it up and I was sure I had it all right. I found the pairs and matched the colors with others on the internet but apparently it doesn't do the trick just yet. Now let's see... 😊

                        1 Reply Last reply Reply Quote 0
                        • Tsolsiundefined
                          Tsolsi @A Former User
                          last edited by

                          @bearer OHYEAH!!! Not enough current! That was the one, this is all the confidence I needed to continue on this journey, thank you! 😄 M906 X2400 Y2400 Z2400 I100 did the trick 🙂 BOOYA 😄 , this makes a man so happy, mission accomplished!

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

                            I'm glad you got it working. However, I suggest you reduce the idle current below 100% if possible, so that the motors run cooler when the machine is idle.

                            What is the specification of your Nema 23 stepper motors?

                            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

                            Tsolsiundefined 1 Reply Last reply Reply Quote 0
                            • Tsolsiundefined
                              Tsolsi @dc42
                              last edited by

                              @dc42

                              NEMA 23 (High Torque)
                              Shaft Size: 1/4"
                              Step Angle: 1.8
                              Holding Turque: 2.45N.m
                              Rated voltage: 3.6V
                              Rated current: 3A

                              Since I'm a very much noob at the moment, what would be the advantage of having an idle current at all? The 100% I took from an Ooznest Workbee cnc example, standard is 30%?

                              webdes03undefined 1 Reply Last reply Reply Quote 0
                              • webdes03undefined
                                webdes03 @Tsolsi
                                last edited by

                                @Tsolsi A gross oversimplification, but idle current is needed to prevent the motor from moving due to outside forces when not commanded to move. If you tell your machine to move to 100,100, it should move and hold 100,100 and you shouldn't be able to move it by hand once it's there.

                                1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  That's why it's referred to as Idle Hold. The motors aren't doing hard work, so they don't need a lot of current, but they still need enough to hold position. Reducing the current lets them cool down.

                                  M906 I sets the percentage of full current, and M84 S sets the amount of time to wait before considering the motors idle. Usually 30 seconds or so of inactivity.

                                  A lot can be learned by looking up each gcode in the wiki to see what it does and how it works.

                                  https://duet3d.dozuki.com/Wiki/Gcode#main

                                  Z-Bot CoreXY Build | Thingiverse Profile

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