Duet 3 cnc, how to start? Make stepper motor turn?
-
@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.)
-
@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
so if you used drivers 1 and 2 for a dual y, specify
Y1:2
in yourM584
commnand. -
@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.
-
@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
-
This post is deleted! -
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
-
@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..
-
@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
-
@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... -
@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!
-
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?
-
NEMA 23 (High Torque)
Shaft Size: 1/4"
Step Angle: 1.8
Holding Turque: 2.45N.m
Rated voltage: 3.6V
Rated current: 3ASince 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%?
-
@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.
-
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.