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

Duet 3 Expansion Board 3HC Motors Not Working Properly

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
4
19
445
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.
  • undefined
    Jered
    last edited by 20 Sept 2022, 21:52

    So, I have been fighting this for a while and just realized, the board is seems to be bad. I made a short vid for you with more explanation. I am hoping that I can get this board warrantied.

    For now, I am going to unplug one of the motors from the Duet 3 Main Board 6HC and plug in my direct drive motor, just get by. I will limit me but at least I will be able to print.

    Direct Drive config bak.g

    Video

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 20 Sept 2022, 22:31

      So the motors will drive when the current is increased? What are the specs of the motors?

      Can you send M122 and M122 B# where # is the canbus address of the expansion boards and copy and paste the results here?

      Also please send M98 P"config.g" and post the response.

      Can you tell me what board address the 3HC is using in your config?

      You should add a G4 S5 command to the start of your config.g which will add a short delay at startup to allow the expansion boards to boot up and sync before the config is executed. Without this sometimes settings won't get applied to expansion boards correctly.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 20 Sept 2022, 22:51 Reply Quote 0
      • undefined
        Jered @Phaedrux
        last edited by 20 Sept 2022, 22:51

        @phaedrux I will try this after it is done printing. I wired my direct drive motor the the other board to get this print going.

        undefined 1 Reply Last reply 20 Sept 2022, 23:43 Reply Quote 0
        • undefined
          dc42 administrators @Jered
          last edited by 20 Sept 2022, 23:43

          @jered one common reason for this symptom is that the firmware versions on the main board and on the 3HC are out of step. The M122 reports requested by @Phaedrux will reveal the firmware version numbers.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • undefined
            Jered
            last edited by 20 Sept 2022, 23:46

            Here are the M122 and M122 B1 Results. The M98 P"config.g" results in a green highlighted bar, but no info. Maybe Its not working.

            M122.txt

            M122 B1.txt

            Screenshot 2022-09-20 174543.jpg

            undefined 1 Reply Last reply 21 Sept 2022, 03:37 Reply Quote 0
            • undefined
              Phaedrux Moderator @Jered
              last edited by 21 Sept 2022, 03:37

              @jered said in Duet 3 Expansion Board 3HC Motors Not Working Properly:

              The M98 P"config.g" results in a green highlighted bar, but no info. Maybe Its not working.

              That's normal when running in SBC mode and there are no syntax errors.

              Did you try adding the delay?

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 21 Sept 2022, 15:37 Reply Quote 0
              • undefined
                Jered @Phaedrux
                last edited by 21 Sept 2022, 15:37

                @phaedrux I have not tried adding a delay as this happens when I do manual moves by either sending a command or using the buttons on the screen to extrude.

                undefined 1 Reply Last reply 21 Sept 2022, 16:28 Reply Quote 0
                • undefined
                  Phaedrux Moderator @Jered
                  last edited by Phaedrux 21 Sept 2022, 16:28

                  @jered The delay goes in config.g to give the boards enough time to startup and sync before the configuration is executed. It has nothing to do with when and how movement commands are sent.

                  Also, now that 3.4.2 is out can you update using:

                  sudo apt update
                  sudo apt dist-upgrade

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 21 Sept 2022, 19:04 Reply Quote 0
                  • undefined
                    Jered @Phaedrux
                    last edited by 21 Sept 2022, 19:04

                    @phaedrux I added the delay to the config and I am quite shocked to see that is seems to be working.

                    Before, if I ran the motor at slower speeds, it would work just fine. However, if I ran it at say 6000 (max speed) it would not spin, just sit and vibrate trying to spin. So that's why it seems so strange that, at least for now, it seems to be working with just adding a delay.

                    About the update, where do I type that command into? The command bar?

                    undefined 1 Reply Last reply 21 Sept 2022, 19:08 Reply Quote 0
                    • undefined
                      Phaedrux Moderator @Jered
                      last edited by 21 Sept 2022, 19:08

                      @jered said in Duet 3 Expansion Board 3HC Motors Not Working Properly:

                      So that's why it seems so strange that, at least for now, it seems to be working with just adding a delay.

                      The delay allows the configuration to be applied to the expansions. So before they would have been using default values if they didn't startup in time. So when you sent commands after the fact to change motor currents, they started working again, because they got some actual values.

                      @jered said in Duet 3 Expansion Board 3HC Motors Not Working Properly:

                      About the update, where do I type that command into? The command bar?

                      Those update commands need to be sent to the Pi command terminal, either over SSH or through the Pi desktop if you use that.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 21 Sept 2022, 19:41 Reply Quote 0
                      • undefined
                        Jered @Phaedrux
                        last edited by 21 Sept 2022, 19:41

                        @phaedrux Can I update using a terminal window on the Pi? I have a keyboard, monitor and mouse.

                        If so, do I enter those commands one at a time or can I cut and paste them both and hit enter?

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Jered
                          last edited by 21 Sept 2022, 20:02

                          I just answered my own question, and yes is the answer.

                          Thanks for your help!
                          Hopefully no more issues!

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Phaedrux Moderator
                            last edited by 21 Sept 2022, 20:07

                            After the update you should use M122 and M122 B# again to check that the firmware was successfully applied to all the boards.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            undefined 1 Reply Last reply 21 Sept 2022, 20:30 Reply Quote 0
                            • undefined
                              Jered @Phaedrux
                              last edited by 21 Sept 2022, 20:30

                              @phaedrux I did do that and it all looks good!

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Phaedrux Moderator
                                last edited by 21 Sept 2022, 20:45

                                Glad it was an easy fix.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • undefined Phaedrux marked this topic as a question 21 Sept 2022, 20:45
                                • undefined Phaedrux has marked this topic as solved 21 Sept 2022, 20:45
                                • undefined
                                  Jered
                                  last edited by 13 Oct 2022, 16:47

                                  Hey guys, so I had this problem happen again. The motor was not turning after I changed the config (accel setting) and rebooted.

                                  So I changed the time on the G4 command to 8 instead of 5. So:
                                  G4 S8

                                  It seems to be working now. But I am now not convinced that this is a permanent fix.

                                  Any thoughts?

                                  Attached is my config. config.g

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Jered
                                    last edited by 13 Oct 2022, 18:51

                                    So, this problem just occurred again. It happens when I make a change to the config. After saving the config, it asks if I want to read the config again or restart the controller. Well, if I tell it to just read the config again, the motors connected to the expansion board will not work at a feed rate of 5000 mm/m or higher.

                                    So, to get the motors to work again I told the controller to restart after the config edit and the motors did work. It appears that just reading the config is not good enough. I am wondering, due to the amount of boards I have connect to the main board may be a problem.

                                    Let me know what you think. My config is attached in the previous reply.

                                    Also, I am adjusting the M201 and M566 setting to try and get better quality, however, these setting seem to have no effect on the machine.

                                    I made huge adjustment to them just to see what happens and I don't see anything. I will probably end up starting a new discussion for this.

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Jered
                                      last edited by 13 Oct 2022, 18:56

                                      I have moved this to a new topic.

                                      undefined 1 Reply Last reply 13 Oct 2022, 21:36 Reply Quote 0
                                      • undefined
                                        Norder @Jered
                                        last edited by 13 Oct 2022, 21:36

                                        Link to new thread...
                                        https://forum.duet3d.com/topic/30135/duet-3-expansion-board-3hc-motors-not-working-properly-again

                                        DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                                        Thingiverse

                                        1 Reply Last reply Reply Quote 1
                                        5 out of 19
                                        • First post
                                          5/19
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA