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

    Odd behavior of Stepper motors on Duet 3.

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    5
    17
    663
    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.
    • Dad003undefined
      Dad003
      last edited by

      i had some weird behavior on my Z axis not too long ago , i fixed my problem by swapping the stepper motor cable , cable was fine but for some weird reason wasn't working as intended , if you havent tried a different calbe try it it might fix your problem

      R3Dundefined 1 Reply Last reply Reply Quote 0
      • R3Dundefined
        R3D @Dad003
        last edited by

        @Dad003 we tried that. When i said i tested additional motors i meant we did some with flying leads and some with new short wires. The 4 on the printer are not an easy swap as they are coupled to the screws and under our 1500lb printer, so we just made new connectors and basically have a test bench with the new motors sitting on the ground next to the Duet 3 so we can test them.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          The clicking sound is usually an indication that the motor phases are wired incorrectly.

          Verify that the phases are wired correctly

          https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @R3D
            last edited by

            @R3D said in Odd behavior of Stepper motors on Duet 3.:

            M584 X10.0 Y11.0 Z0.0:0.5 C0.1 E20.0:21.0:22.0:0.4:0.2:0.3 ; Set Drive Mapping

            Which drivers are you actually using for Z? In the M584 command it appears you are using drivers 0 and 5, but in the comments of M569 it says 0.4 and 0.5 are for Z and 0.0 is for C.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • R3Dundefined
              R3D
              last edited by

              I was using 0.4 and 0.5, but i have been switching them up to make sure it wasn't a bad driver. once the issue is fixed I will switch them all back to the original positions.

              1 Reply Last reply Reply Quote 0
              • R3Dundefined
                R3D
                last edited by

                I have swapped the wires around to all 8 possible ways without the driver shorting to ground i.e. A+,A-,B+,B- and A-,A+,B+,B- and A-,A+,B-,B+ and A+,A-,B-,B+ and B+,B-,A+,A- and B+,B-,A-,A+ and B-,B+,A-,A+, and B-,B+,A+,A-. all combinations should work but none of them provided any rotation at all.....running out of things to test......starting to pull my hair out trying to figure this out.

                Hytekundefined 1 Reply Last reply Reply Quote 0
                • Hytekundefined
                  Hytek @R3D
                  last edited by

                  @R3D I can't see anything to suggest you have done this so...
                  Can you operate a stepper off the suspect drive on the bench? For clarity, that would be a different stepper motor/s with new wiring loom and no load.

                  Also, bare in mind I haven't seen your build so I don't know how feasible this suggestion is. But if you send a move command to the problem stepper/s and manipulate the wiring harness, particularly near corners, is there any change?

                  R3Dundefined 1 Reply Last reply Reply Quote 0
                  • R3Dundefined
                    R3D @Hytek
                    last edited by

                    @Hytek I have been, see picture. I have disconnected all other drives and I am testing one drive with more than one motor in every configuration I listed before, all without rotation. 20200726_210958 (1).jpg

                    Hytekundefined 1 Reply Last reply Reply Quote 0
                    • Hytekundefined
                      Hytek @R3D
                      last edited by

                      @R3D Have you tested any of the failed stepper motors back in a known good source, i.e. the other printer you mentioned. This is just a precautionary measure before the next suggestion in case the stepper has taken damage.

                      If you plug your Z stepper/s into X or Y driver do they become active?

                      Sorry I can't help on the firmware side, I'm new to Duet myself

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        I would try using a very stripped down config.g that only has the commands for the main X Y Z E drivers. Get a fresh test config from the web config tool just to test. With so many drives etc it can quickly get jumbled.

                        https://configtool.reprapfirmware.org/Start

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • R3Dundefined
                          R3D
                          last edited by

                          So I created a bare bones config and I can now move the stepper motors...does that mean i have too much going on in my config that the Duet 3 cant handle it all?

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            Not necessarily, but it does mean there is something in your drives block that isn't right. Add one drive at a time and configure all it's parameters for all of the commands and test it works. Eat an elephant one bite at a time.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • R3Dundefined
                              R3D
                              last edited by

                              hmmmm, alright. looks like another long night for me.

                              1 Reply Last reply Reply Quote 0
                              • JoergS5undefined
                                JoergS5 @R3D
                                last edited by JoergS5

                                @R3D said in Odd behavior of Stepper motors on Duet 3.:

                                M584 X10.0 Y11.0 Z0.0:0.5 C0.1 E20.0:21.0:22.0:0.4:0.2:0.3 ; Set Drive Mapping
                                M350 Z8 C8 I0 ; Configure Microstepping w/o Interpolation
                                M350 E16:16:16:16:16:16 I1 ; Configure Microstepping w/ Interpolation
                                M92 X80.00 Y80.00 Z1600.00:1600.00 C100.00 E208.70:208.70:208.70:111.69:111.69:111.69 ; Set Steps per mm
                                M566 X600.00 Y600.00 Z12.00:12.00 C120.00 E120.00:120.00:120.00:120.00:120.00:120.00 ; Set maximum instantaneous speed changes (jerk) (mm/min)
                                M203 X6000.00 Y6000.00 Z300.00:300.00 C3000.00 E2500.00:2500.00:2500.00:2500.00:2500.00:2500.00 ; Set Maximum Speeds (mm/min)
                                M201 X500.00 Y500.00 Z20.00:20.00 C400.00 E2500.00:2500.00:2500.00:2500.00:2500.00:2500.00 ; Set Maximum Accelerations (mm/s^2)
                                M906 Z1800 C400 E1100:1100:1100:1250:1250:1250 I100 ; Set Motor Currents (mA) and Motor Idle Factor (%)

                                The XYZ axes M584 is correct, but M92, M566, M203, M201 it is not possible to define multiple Z values. XYZ values are defined for those M G-Codes per axis, only one value each. Only for the extruders multiple values are allowed, because the are interpreted as if they are separate axes. deckingman explained it nicely, but I cannot find the link in the forum.
                                Found it: https://forum.duet3d.com/topic/17153/duet3-expansion-board-3hc-no-can-connection/31?_=1592929742064

                                Wiring stepper (stepper disconnected from the driver!): there is a simple method to find the pairs: keep all 4 wires separated, turn the shaft to find out the torque force. Then short two wires and if you cannot turn the motor any more, they belong together. You cannot find out the rotation direction with this method, however.

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