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

    Motor doesn't move

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    33
    930
    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.
    • zfengundefined
      zfeng @SIam
      last edited by

      @siam This is M122 code:
      4/14/2021, 4:35:54 PM M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet Ethernet 1.02 or later
      Board ID: 0JD0M-9P6M2-NW4SS-6JTDG-3S46L-TUY7M
      Used output buffers: 1 of 24 (13 max)
      === RTOS ===
      Static ram: 25712
      Dynamic ram: 92504 of which 120 recycled
      Exception stack ram used: 296
      Never used ram: 12440
      Tasks: NETWORK(ready,628) HEAT(blocked,912) MAIN(running,3824) IDLE(ready,160)
      Owned mutexes:
      === Platform ===
      Last reset 00:05:04 ago, cause: power up
      Last software reset at 2021-04-08 17:40, reason: User, spinning module GCodes, available RAM 12424 bytes (slot 2)
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
      Error status: 0
      Free file entries: 10
      SD card 0 detected, interface speed: 20.0MBytes/sec
      SD card longest block write time: 3.4ms, max retries 0
      MCU temperature: min 23.6, current 23.8, max 24.1
      Supply voltage: min 24.2, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
      Driver 0: standstill, SG min/max not available
      Driver 1: standstill, SG min/max not available
      Driver 2: standstill, SG min/max not available
      Driver 3: standstill, SG min/max not available
      Driver 4: standstill, SG min/max not available
      Date/time: 2021-04-14 16:35:54
      Cache data hit count 659643444
      Slowest loop: 7.55ms; fastest: 0.07ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0

      1 Reply Last reply Reply Quote 0
      • zfengundefined
        zfeng @SIam
        last edited by

        @siam There actually are mode code coming out of the M122, but was marked as spam by the forum so I cannot post them here...

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

          You'll need to generate a config file set for your printer here: https://configurator.reprapfirmware.org/

          At the end save the zip file and then upload it to the web interface system tab.

          You can't move a motor before it's been homed by default.

          If you want to force motor movement to see if it's working you can send G92 X100 Y100 Z100 to trick the firmware into thinking the axis have been homed. You can then use the jog buttons to move the motors but be careful because without the proper axis dimensions and homing sequence it won't know the actual position of the print head and will gladly smash into the frame if you tell it to.

          Z-Bot CoreXY Build | Thingiverse Profile

          zfengundefined 2 Replies Last reply Reply Quote 0
          • zfengundefined
            zfeng @Phaedrux
            last edited by

            @phaedrux How to check if my printer was originally shipped with RepRapFirmware?

            1 Reply Last reply Reply Quote 0
            • zfengundefined
              zfeng @Phaedrux
              last edited by

              @phaedrux I just checked the Filastruder website where I bought the board from, it is shipped with RepRapFirmware. Then which predefined template should I choose? Thank you!

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

                What kind of a printer do you have?

                Z-Bot CoreXY Build | Thingiverse Profile

                zfengundefined 1 Reply Last reply Reply Quote 0
                • zfengundefined
                  zfeng @Phaedrux
                  last edited by

                  @phaedrux I use an extruder to print. I only need to board to control the motion system, extrusion and hot end temperature. The hot bed has it's own controlling system.

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

                    Maybe take a look at some of these guides to get a feel for how the configuration system works.

                    https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter

                    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+1:+Wiring/37

                    Z-Bot CoreXY Build | Thingiverse Profile

                    zfengundefined 1 Reply Last reply Reply Quote 0
                    • zfengundefined
                      zfeng @Phaedrux
                      last edited by

                      @phaedrux The frame for the movement system is a cartesian C-beam machine like this:https://openbuildspartstore.com/openbuilds-c-beam-machine/

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

                        Where are you getting stuck in the config tool?

                        https://configurator.reprapfirmware.org/

                        Z-Bot CoreXY Build | Thingiverse Profile

                        zfengundefined 1 Reply Last reply Reply Quote 0
                        • zfengundefined
                          zfeng @Phaedrux
                          last edited by

                          @phaedrux The hot end and fan use digital signal so I cannot wire them directly to the hot end and fan connecters. I think I should wire them to the expansion board instead. When I generate the config file, on the expansion boards page, it says no expansion board configured.

                          Another question I have is, what is the xyz movement unit in the Duet web control? I need to adjust the step size according to the screw. Thank you!

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

                            @zfeng said in Motor doesn't move:

                            The hot end and fan use digital signal so I cannot wire them directly to the hot end and fan connecters.

                            Can you provide more detail about what you're trying to control?

                            @zfeng said in Motor doesn't move:

                            Another question I have is, what is the xyz movement unit in the Duet web control? I need to adjust the step size according to the screw.

                            The unit is millimeters. To adjust how many steps per mm are used you need to adjust the M92 command in config.g or define it in the config tool for the motor.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            zfengundefined 1 Reply Last reply Reply Quote 0
                            • zfengundefined
                              zfeng @Phaedrux
                              last edited by

                              @phaedrux I want to use the expansion board of my duet 2 ethernet with 2.05 firmware. When I try to generate the config code, the expansion board page shows "No expansion board configured".

                              SIamundefined 1 Reply Last reply Reply Quote 0
                              • SIamundefined
                                SIam @zfeng
                                last edited by SIam

                                @zfeng
                                2021-04-27 21_08_29-RRF Config Tool.png
                                you see on the right top two buttons if you click on it the dueX will be added

                                Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                                Duet WiFi 1.02 or later + DueX5
                                RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                                Duet WiFi Server: 1.26
                                Duet Web Control 3.4.0beta4 (2021-09-27)

                                zfengundefined 1 Reply Last reply Reply Quote 0
                                • zfengundefined
                                  zfeng @SIam
                                  last edited by

                                  @siam For duet 2 ethernet with 2.05 firmware, should I choose Duex2 or 5?

                                  SIamundefined 1 Reply Last reply Reply Quote 0
                                  • SIamundefined
                                    SIam @zfeng
                                    last edited by

                                    @zfeng it depends on which duet expansions board you have

                                    Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                                    Duet WiFi 1.02 or later + DueX5
                                    RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                                    Duet WiFi Server: 1.26
                                    Duet Web Control 3.4.0beta4 (2021-09-27)

                                    zfengundefined 1 Reply Last reply Reply Quote 0
                                    • zfengundefined
                                      zfeng @SIam
                                      last edited by

                                      @siam I want to use this portion of the board.
                                      36a38a4a-3edf-4adc-8f18-a369cc01c746-image.png

                                      SIamundefined 1 Reply Last reply Reply Quote 0
                                      • SIamundefined
                                        SIam @zfeng
                                        last edited by

                                        @zfeng then you need an expansions board

                                        Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                                        Duet WiFi 1.02 or later + DueX5
                                        RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                                        Duet WiFi Server: 1.26
                                        Duet Web Control 3.4.0beta4 (2021-09-27)

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

                                          If you want to add additional hardware via the expansion port your best bet would be to add a Duex2/5 or an expansion breakout board if a Duex is overkill for what you need.

                                          The expansion port only outputs low voltage signaling and can't drive hardware directly.

                                          https://duet3d.dozuki.com/Wiki/Duet_Expansion_Breakout_Board

                                          https://www.duet3d.com/Expansion_Breakout

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          zfengundefined 1 Reply Last reply Reply Quote 0
                                          • zfengundefined
                                            zfeng @Phaedrux
                                            last edited by

                                            @phaedrux How many steps per revolution if using Duet 2? I'm using x16 microstepping, is this correct?

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