• Tags
  • Documentation
  • Order
  • Register
  • Login
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
904
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
    Tsolsi @Tsolsi
    last edited by 18 Oct 2020, 01:09

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by 18 Oct 2020, 01:10

      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

      undefined 1 Reply Last reply 18 Oct 2020, 01:15 Reply Quote 1
      • undefined
        Tsolsi @A Former User
        last edited by 18 Oct 2020, 01:15

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

        ? 1 Reply Last reply 18 Oct 2020, 01:17 Reply Quote 0
        • ?
          A Former User @Tsolsi
          last edited by A Former User 18 Oct 2020, 01:17

          @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

          undefined 2 Replies Last reply 18 Oct 2020, 01:23 Reply Quote 1
          • undefined
            Tsolsi @A Former User
            last edited by 18 Oct 2020, 01:23

            @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
            • undefined
              Tsolsi @A Former User
              last edited by 18 Oct 2020, 01:44

              @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
              • undefined
                dc42 administrators
                last edited by 18 Oct 2020, 10:23

                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

                undefined 1 Reply Last reply 18 Oct 2020, 13:53 Reply Quote 0
                • undefined
                  Tsolsi @dc42
                  last edited by 18 Oct 2020, 13:53

                  @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%?

                  undefined 1 Reply Last reply 18 Oct 2020, 14:06 Reply Quote 0
                  • undefined
                    webdes03 @Tsolsi
                    last edited by 18 Oct 2020, 14:06

                    @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
                    • undefined
                      Phaedrux Moderator
                      last edited by 18 Oct 2020, 17:34

                      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
                      19 out of 19
                      • First post
                        19/19
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA