All 5 Stepper Motors Grinding/Stalling
-
Hey Guys,
I have setup my printer with new Duet Wifi board. After setting it up, the first thing I did was clicked on the default macro "Test Motor" that came with the board pre-installed. When I test, the motor starts stalling without any moment. I updated the config.h file & tried to home the axis and still had the same stalling issue.
Please help me in this regard. I have attached the pictures & my config.h file details below. I still need to update heater section in config.h file once this issue is resolved.
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.0 on Sat Jan 02 2021 10:29:10 GMT-0500 (Eastern Standard Time); General preferences
M111 S0 ; Debug off
M555 P2 ; Set output to look like marlin
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
G21 ; mm
M550 P"BD Printer" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 Z16 E16 I0 ; configure microstepping without interpolation
M350 X16 Y16 I1 ; configure microstepping with interpolation
M92 X80.00 Y400.00 Z400.00 E404.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X30000.00 Y30000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X2000.00 Y2000.00 Z20.00 E1000.00 ; set accelerations (mm/s^2)
M906 X900 Y2000 Z800 E1000 I50 ; set motor currents (mA) and motor idle factor in per cent
M84 S50 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X250 Y250 Z250 S0 ; set axis maxima; Endstops
M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
G31 P500 X55 Y5 Z2 ; set Z probe trigger value, offset and trigger height
M557 X55:200 Y55:200 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S110 ; set temperature limit for heater 0 to 110C
M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 S1 H1 T180 ; set fan 2 value. Thermostatic control is turned on; Tools
M563 P1 D0 H1 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C; Custom settings are not defined
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
T1 ; select first tool -
@yogibear DON'T use the test macros; they're for factory testing, and change the motor settings. Reset your Duet and follow the documentation for testing.
Edit: longer explanation: Did you run '04-Test_motors' macro from the SD card? The macros on the SD card are for testing the Duet at the factory, not for testing your machine. It sets the motor to 2A, as well as trying to move the axes at high speed, and for 2 metres! In the test rig at the factory, it is just a motor, not connected. So please DO NOT USE the macros on the SD card for testing your machine. Follow the commissioning advice here: https://duet3d.dozuki.com/Wiki/Step_by_step_guide#Section_Commissioning_tests
If you have these macros on the SD card, this also means you have an older board, as we changed the SD card contents to remove these macros quite a while ago.
Ian
-
I could think of a dozen reasons off hand but the most likely ones in no particular order are
-
Power supply issue. After trying to move the motors send M122 and look at the minimum voltage and any under voltage events.
-
X Y and Z won't move unless they have been homed. Use M564 H0 to alow moves prior to homing.
-
The stepper motor wiring is incorrect. Have you identified the motor phases and connected the wire accordingly? Scroll down this link to find out how https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors
-
-
@droftarts said in All 5 Stepper Motors Grinding/Stalling:
ger explanatio
I would check your stepper motor wiring. Did you do the connections yourself? They are tricky and either don't go all the way down, don't lock into place or the wire can have a faulty connection...ie did you clamp onto the insulation properly and not the bare wire? Also, I notice you have your wire colouring codes backards as to the duet wifi wiring diagram. It may be nothing but make sure that your 1A and 1B go to one coil on the stepper motor and 2A+2B go to the other.
-
@droftarts said in All 5 Stepper Motors Grinding/Stalling:
@yogibear DON'T use the test macros; they're for factory testing, and change the motor settings. Reset your Duet and follow the documentation for testing.
Edit: longer explanation: Did you run '04-Test_motors' macro from the SD card? The macros on the SD card are for testing the Duet at the factory, not for testing your machine. It sets the motor to 2A, as well as trying to move the axes at high speed, and for 2 metres! In the test rig at the factory, it is just a motor, not connected. So please DO NOT USE the macros on the SD card for testing your machine. Follow the commissioning advice here: https://duet3d.dozuki.com/Wiki/Step_by_step_guide#Section_Commissioning_tests
If you have these macros on the SD card, this also means you have an older board, as we changed the SD card contents to remove these macros quite a while ago.
Ian
Could they be either removed before shipping (lot´s of extra work I guess nobody want´s to pay for) OR - maybe better - have the stuff updated:
- the folder they sit in renamed to something like ("stand-alone factory test without any sensor, effector, motor etc. connected connected")
- or
- a default
M291 R"FACTORY TEST!" P"ONLY USE IF NOTHING IS CONNECTED" S3
or similar included in the files?
Because I´ve seen quite a few of these posts in the forum, and it seems it is not yet clear to everybody...
Cheers & best regards
Lucas -
@LB the factory tests were removed from the shipping SD cards about a year ago. Not sure why some people are still receiving them; maybe still some old stock in channel with some resellers.
Ian
-
@LB as Ian said, they've already done that!
@droftarts said in All 5 Stepper Motors Grinding/Stalling:
If you have these macros on the SD card, this also means you have an older board, as we changed the SD card contents to remove these macros quite a while ago.
-
Thanks for getting me up to date!
-
@deckingman Thanks for the suggestions, the stepper wiring was incorrect, now it's working.