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

    All 5 Stepper Motors Grinding/Stalling

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    9
    434
    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.
    • yogibearundefined
      yogibear
      last edited by

      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.

      Duet Wifi Board-Off.jpg Duet Wifi Board-ON.jpg

      ; 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

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @yogibear
        last edited by droftarts

        @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

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        A Former User? 1 Reply Last reply Reply Quote 1
        • deckingmanundefined
          deckingman
          last edited by

          I could think of a dozen reasons off hand but the most likely ones in no particular order are

          1. Power supply issue. After trying to move the motors send M122 and look at the minimum voltage and any under voltage events.

          2. X Y and Z won't move unless they have been homed. Use M564 H0 to alow moves prior to homing.

          3. 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

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          yogibearundefined 1 Reply Last reply Reply Quote 1
          • RandyL00123undefined
            RandyL00123
            last edited by

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

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

              @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

              droftartsundefined engikeneerundefined 2 Replies Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @A Former User
                last edited by

                @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

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                1 Reply Last reply Reply Quote 0
                • engikeneerundefined
                  engikeneer @A Former User
                  last edited by

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

                  E3D TC with D3Mini and Toolboards.
                  Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                  i3 clone with a bunch of mods

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

                    @engikeneer
                    @droftarts

                    Thanks for getting me up to date!

                    1 Reply Last reply Reply Quote 0
                    • yogibearundefined
                      yogibear @deckingman
                      last edited by

                      @deckingman Thanks for the suggestions, the stepper wiring was incorrect, now it's working.

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