Motors not working as they should
-
I identified the phases by plugging a LED in the connector and slowly moving an axis. Which part of the wiring would you like to see ?
-
Sorry.
Firmware v. 3.1.1
web control 1.22.6 -
post a picture of the wiring on the duet.
to change the direction just change from forward to backward in the configurator
https://configtool.reprapfirmware.org/Motors -
@mbunjes said in Motors not working as they should:
web control 1.22.6
please update to duet web control 3.1.1
-
I already changed S1 to S0 in the config file but nothing changed.
-
your wiring is wrong. you swapped black and blue
-
These are not the wires direct from the motors. I tried switching black and blue on the X motor but it's not responding at all now. Besides switching black and blue would connect one phase to the outer pins and one to the middle pins.
-
btw a genuine duet does not come with heatsinks on the stepper drivers. on a genuine duet the heat is transfered away on the underside of the board.
i would suggest you stick with the colour coding. https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/4k56ZjaaAHrTJI6Z.huge
and you should really recrimp the cables. that does not look stable.are you running the motors at around 75% current?
-
Do you mean the duponts in the jst connectors ? That's only a temporary solution.
I could stick to the color coding on the Duet but my motor cables are coded differently : Red-black, green - blue.
They are running at 800 mA.I updated to DWC 3.1.1
-
@mbunjes said in Motors not working as they should:
They are running at 800 mA.
that doesnt answer the question.
can you link the name and specs of your motor?
-
17HS4401-S
-
in that case 800ma is not enough.
please read
https://duet3d.dozuki.comhttps://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors -
So I should run them at 1.2 A ? I can do that.
-
@mbunjes said in Motors not working as they should:
So I should run them at 1.2 A ? I can do that.
yes
-
Ok, upped the current to 1200 mA. The motors sound ok now but are still homing in the wrong direction. Changed the direction all is working well now.
Thank you very much -
@mbunjes said in Motors not working as they should:
are still homing in the wrong direction. Changed the direction all is working well now.
Be careful with that. The motor direction of rotation and the homing direction are not the same thing. The direction of rotation will determine if +x moves to the left or right, but the homing direction is determined by the moves in the homing files. If you flip the motor direction of rotation when you should have changed the homing files you can get mirrored parts or broken homing.
Perhaps go through this commissioning guide.
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+3:+Commissioning/39
+x to the right, -x to the left, +y to the back, -y to the front
0,0 in the front left corner
Make sure the endstop positions are configured correctly in your M574 in config.g
And then make sure your homing moves have the correct + or - direction to move towards the endstop. -
Thanks, I'll have to study that. I'm new to Duet and new to corexy so it's a bit of a challenge.
I'm aware of the distinctions of homing and motor directions but they never seem to do what I want : x and y endstops at the right and back, 0,0 at the front left. And I have to discover where to make changes and what codes to use. But I'll get there.
The commissioning guide is for the Ender 3, isn't there something a bit more tailored to my situation ? -
The commissioning guide is pretty basic. checking motor directions and homing directions etc. It's pretty general to RRF.
If X endstop is at the right and Y at back then the endstops are at the high end of travel and it would be M574 X2 and M574 Y2. And the homing directions would be positive in direction.
For Corexy motor movement you'll also want to do these tests since XY movement is based on 2 motors moving together.
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Testing_motor_movement
-
Great thanks. My homework assignment for tomorrow.
-
All is not well yet. I have the motor directions correctly set up now, but moving has several issues. When I try to move the X axis, the Y axis moves and vice versa. When I try to home the X axis, the Z starts to move. When I try to home the Y axis , the X axis homes.