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

    motor not moving

    Scheduled Pinned Locked Moved
    MultiAxis Printing
    4
    93
    3.3k
    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.
    • zecretonundefined
      zecreton @droftarts
      last edited by

      @droftarts said in motor not moving:

      @zecreton Please post your config.g, send M122 in the console and post the response, and post a picture of how you have wired the external driver.

      Ian

      20240609_125428.jpg

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

        @zecreton As far as I can tell your wiring looks correct, and so does the config.g. How are you powering the 6XD? By USB? The power wires have no connection.

        What commands are you sending? The stepper driver is connected to Driver 0 on the Duet, which you have mapped to the X axis. The X axis has a range of 0 to 1200mm. For the motor to move, it must be homed, or the position set by G92, and any move must be within the axis limits. Alternatively, send M564 S0 H0 to allow movement of axes that have not been homed, and allow movement outside boundaries. Then try moving the X axis. Are there any messages in the console?

        How are SW5, SW6, SW7 and SW8 set on the driver?

        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

        zecretonundefined 2 Replies Last reply Reply Quote 0
        • zecretonundefined
          zecreton @droftarts
          last edited by

          @droftarts switch 5,6,7 and 8 are off

          zecretonundefined 1 Reply Last reply Reply Quote 0
          • zecretonundefined
            zecreton @zecreton
            last edited by

            @zecreton i disconnected the power wires for the picture

            1 Reply Last reply Reply Quote 0
            • zecretonundefined
              zecreton @droftarts
              last edited by

              @droftarts i am sending this : g92 [X400]

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

                @zecreton said in motor not moving:

                @droftarts i am sending this : g92 [X400]

                That sets the axis position, but doesn't move the axis. Are you sending anything after that? eg G1 X500 F1000. Or move the X axis using the buttons in DWC.

                @droftarts switch 5,6,7 and 8 are off

                I think that's correct.

                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

                zecretonundefined 3 Replies Last reply Reply Quote 0
                • zecretonundefined
                  zecreton @droftarts
                  last edited by

                  @droftarts the brake seem to be always on, is that normal?

                  1 Reply Last reply Reply Quote 0
                  • zecretonundefined
                    zecreton @droftarts
                    last edited by

                    @droftarts still nothing works

                    1 Reply Last reply Reply Quote 0
                    • zecretonundefined
                      zecreton @droftarts
                      last edited by

                      @droftarts hello?

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

                        @zecreton Does your motor have a brake? Post a picture of the motor and model number. If the motor does have a brake, you'll need to wire the brake wires to the BRK/PEND outputs of the driver, and change SW8 to off. If there's no brake, the setting of this switch doesn't matter. If you mean that you can't turn it once it's switched on, that probably means it is enabled.

                        Try switching SW6 to 'on', to enable open loop mode. If there's a wiring problem for the encoder that is stopping the motor turning, this should ignore it.

                        How are the switches SW1 to SW4 set? Perhaps post a photo of the switches. They should be set for 3200 steps per revolution to match the config.g, ie SW1 to SW4 should be off, off, on, on.

                        Please list the exact commands you are sending before and while trying to move the axis.

                        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

                        zecretonundefined 2 Replies Last reply Reply Quote 0
                        • zecretonundefined
                          zecreton @droftarts
                          last edited by

                          @droftarts 20240615_213234.jpg

                          1 Reply Last reply Reply Quote 0
                          • zecretonundefined
                            zecreton @droftarts
                            last edited by

                            @droftarts i am sending G1 X200

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

                              @zecreton that motor does not look like it has brake.

                              Have you changed SW1 to SW4 and SW6 as I suggested? What voltage is the power supply you have connected to the driver?

                              After power on, send the following:
                              G92 X100
                              This sets the axis position. In DWC, check that the axis position for X is 100.
                              G1 X600 F2000
                              This should move the motor 500mm to X600, and will take 15 seconds (500mm / 2000mm/m = 1/4 minute = 15 seconds). Check in DWC that it reports the axis position at the end of the move as X600.
                              If this doesn’t work, check for any error messages in the console.

                              Please report what of the above works or doesn’t work, and the reported axis position after each step.

                              Does the red LED on the driver flash? If so, this signifies an error. See the driver manual to interpret the error code.

                              3.5 LED Status Lights
                              There are two LED lights. The GREEN one is the power indicator which should be always on in normal circumstance. The RED one is a alarm status indication light, which will be OFF while working normally but ON and flash some times in a 3-second period in the case of enabled alarm protections.

                              Driver and motor product page and manual: https://www.omc-stepperonline.com/ts-series-12-0-nm-1699-68oz-in-1-axis-closed-loop-stepper-cnc-kit-nema-34-motor-driver-1-cl86t-s120-v41

                              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

                              zecretonundefined 3 Replies Last reply Reply Quote 0
                              • zecretonundefined
                                zecreton @droftarts
                                last edited by

                                @droftarts yes i did change the switches, the power supply has a voltage of 24v

                                1 Reply Last reply Reply Quote 0
                                • zecretonundefined
                                  zecreton @droftarts
                                  last edited by

                                  @droftarts the reported axis position is correct, there is no error anywhere

                                  1 Reply Last reply Reply Quote 0
                                  • zecretonundefined
                                    zecreton @droftarts
                                    last edited by

                                    @droftarts but the motor doesn't move at all

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

                                      @zecreton that means that the 6XD is most likely sending the correct signal.

                                      Please answer my other questions.

                                      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

                                      zecretonundefined 1 Reply Last reply Reply Quote 0
                                      • zecretonundefined
                                        zecreton @droftarts
                                        last edited by

                                        @droftarts the reported axis position after the first step is 100, and after the second, 600, the reported speed is 33.33mm/s and it takes about 15 seconds

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

                                          @zecreton These questions:

                                          Have you changed SW1 to SW4 and SW6 as I suggested?
                                          What voltage is the power supply you have connected to the driver?
                                          Does the red LED on the driver flash? If so, this signifies an error. See the driver manual to interpret the error code.

                                          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

                                          zecretonundefined 3 Replies Last reply Reply Quote 0
                                          • zecretonundefined
                                            zecreton @droftarts
                                            last edited by

                                            @droftarts yes i did change the switches, the power supply is a 24v and no the red led doesn't flash

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