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

    Driver 0: short-to-ground

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    19
    976
    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.
    • dc42undefined
      dc42 administrators
      last edited by dc42

      To be clear: are you saying that with nothing connected to the X motor connector of the Duet, you get the Driver 0 short to ground error message?

      Is that driver chip (the middle one) getting hot?

      Could the underside of the Duet be shorting against anything?

      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
      • droftartsundefined
        droftarts administrators
        last edited by

        No, that's not normal.

        M564 on it's own only reports whether movement is allowed. Send M564 H0 to allow moves of axes that have not been homed, or set a position with G92 Xnn Ynn Znn.

        Did you turn off the printer before moving the stepper motor wiring? While the Trinamic drivers cope with disconnection better than the Allegro drivers on old boards, it's still possible to damage a driver by disconnecting a motor and reconnecting it with the driver powered up.

        You say you have checked your wiring. Did you do a continuity test at the motor connector, checking for continuity on each pair of contacts? Or tried another motor on this connection? If it's a particular motor and everything else seems okay, the pins in the housing use a spring contact to connect to the pins on the Duet, which can get folded back and lose it's connection.

        Is it just the X axis or do other axes not work? If it's all the axes, check the fuses on the Duet are okay.

        M587 S"kostas" P"11111111" ; Configure access point. You can delete this line once connected

        Remove or comment out M587 from your config.g. This is stored in the WiFi module's flash memory. Getting it to store this information each time the printer is turned on will eventually degrade the flash memory unnecessarily. It's also a security risk. See the last 'Important' note on this page: https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks

        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
        • kostasbmwundefined
          kostasbmw
          last edited by

          ok
          no temp rising...around 28-29c
          no short under the board i used plywood,no wires go under
          yes nothing connected i get the same message if i click to move the x or y axis
          no with everything connected when i move Z no error messages appear
          when i move x or y they move like sideways....but they move...i have to retrieve config.g file(s0 s1)
          i have checked the motor wiring pairs...i have done this a lot of times
          i have the duet wifi for 9 months with no issues running on the same power supply 24v,the only change was 0,9 motors for x and y and 1.8 for z.
          should i go back to factory settings or downgrade to test???

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

            Hmm. You could try downgrading the firmware, but I doubt it will make a difference. It does sound like the driver may have died, but it can be hard to know for certain. I don't quite understand what you are saying with:

            @kostasbmw said in Driver 0: short-to-ground:

            when i move x or y they move like sideways....but they move...i have to retrieve config.g file(s0 s1)

            Do the motors not move correctly?

            You could remap the drives to avoid using X for now. I notice you have no M584 command in your config.g, but this shouldn't matter as you currently have everything mapped as standard. If you add:

            M584 X4 Y1 Z2 E3 
            M569 P4 S0 ; X on E1
            

            to the beginning of your "Drives" section, and plug X motor into E1, that should get you up and running.

            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 1
            • kostasbmwundefined
              kostasbmw
              last edited by

              @droftarts said in Driver 0: short-to-ground:

              M584 X4 Y1 Z2 E3
              M569 P4 S0 ; X on E1

              you right i wrote backwards
              short to ground reported by driver 0

              1 Reply Last reply Reply Quote 0
              • kostasbmwundefined
                kostasbmw
                last edited by

                ok i m getting somewhere for now with no errors...
                the only thing i get wrong is that when i go Ymax (to the back of printer) with a +10 it goes forward....the X is ok + to the right and - to the left

                thanks Ian anyway it was a big help for now because my budget is very low at the moment...

                1 Reply Last reply Reply Quote 0
                • Vetiundefined
                  Veti
                  last edited by

                  @kostasbmw said in Driver 0: short-to-ground:

                  the only thing i get wrong is that when i go Ymax (to the back of printer) with a +10 it goes forward....the X is ok + to the right and - to the left

                  see
                  https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter
                  for movement config

                  kostasbmwundefined 1 Reply Last reply Reply Quote 1
                  • kostasbmwundefined
                    kostasbmw @Veti
                    last edited by

                    @Veti thanks all ok

                    now the endstops

                    Ian saved the day

                    1 Reply Last reply Reply Quote 0
                    • kostasbmwundefined
                      kostasbmw
                      last edited by

                      ok after all this endstops (mechanical 2 wire) they light up but dont work.......the config has changed a little due to bltouch,movement is
                      perfect but no endstops...they respond in system properties....
                      @droftarts
                      after yesterdays change to E1 from X is there something else ?? do i have to move the X endstop to E1 endstop??
                      Drives
                      M584 X4 Y1 Z2 E3
                      M569 P4 S1 ; X on E1
                      M569 P0 S1 ; Drive 0 goes backwards blv: its was S1
                      M569 P2 S1 ; Drive 2 goes forwards
                      M569 P3 S1 ; Drive 3 goes backwards WAS 0
                      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                      M92 X200 Y200 Z400 E405.18 ; Set steps per mm for Bondtech.
                      M566 X600 Y600 Z24 E300 ; Set maximum instantaneous speed changes (Jerk) (mm/min)
                      M203 X20000 Y20000 Z600 E2000 ; Set maximum speeds (mm/min)
                      M201 X3000 Y3000 Z100 E5000 ; Set accelerations (mm/s^2)
                      M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
                      M84 S30 ; Set idle timeout

                      ; Pressure advance
                      ; M572 D0 S0.05 ; disabled Pressure advance

                      ; Axis Limits
                      M208 X-23 Y0 Z0 S1 ; Set axis minima
                      M208 X320 Y321 Z350 S0 ; Set axis maxima

                      ; Endstops
                      M574 X1 Y2 S1 ; X home to min. Y home to max. Normally Closed limit switches.
                      M574 Z1 S2 ; Define Z to use Probe. Home to Min

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

                        @kostasbmw said in Driver 0: short-to-ground:

                        do i have to move the X endstop to E1 endstop??

                        Yes! Sorry, forgot to say. It's just X that isn't working? The other should be unchanged.

                        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
                        • kostasbmwundefined
                          kostasbmw
                          last edited by

                          the endstops connected but not stopping movement of the x or y axis

                          1 Reply Last reply Reply Quote 0
                          • Vetiundefined
                            Veti
                            last edited by

                            it only stops the movement during homing. not normal moves.

                            to manually check use M119
                            https://duet3d.dozuki.com/Wiki/Gcode#Section_M119_Get_Endstop_Status

                            1 Reply Last reply Reply Quote 0
                            • kostasbmwundefined
                              kostasbmw
                              last edited by

                              it does not in any way
                              8:43:01 AM
                              M119
                              Endstops - X: at min stop, Y: at max stop, Z: not stopped, Z probe: not stopped

                              1 Reply Last reply Reply Quote 0
                              • Vetiundefined
                                Veti
                                last edited by

                                check the wiring of the endstops.
                                see if they are connected correctly.
                                until you can see them trigger with m119 it wont work.

                                post a picture of the endstop and the connection on the duet.

                                1 Reply Last reply Reply Quote 0
                                • kostasbmwundefined
                                  kostasbmw
                                  last edited by

                                  IMG_5653.JPG IMG_5662.JPG )

                                  pictures of board and endstop

                                  1 Reply Last reply Reply Quote 0
                                  • Vetiundefined
                                    Veti
                                    last edited by

                                    @kostasbmw said in Driver 0: short-to-ground:

                                    Endstops - X: at min stop, Y: at max stop, Z: not stopped, Z probe: not stopped

                                    post M119 with endstop triggered and without triggered.

                                    also host your homex.g

                                    1 Reply Last reply Reply Quote 0
                                    • kostasbmwundefined
                                      kostasbmw
                                      last edited by kostasbmw

                                      home x and y solved ......i changed the wiring and now the endstops work

                                      crazy.....i m going through the cable to see for a broken part

                                      also i moved back to original position the x endstop because the drive for x is on E1....and i had the endstop above E1

                                      so far so good...untill next problem
                                      thanks for your time @Veti

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