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

    only z motor tries to work

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    25
    838
    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.
    • Inno 3Dundefined
      Inno 3D
      last edited by

      Hi,

      I have a realy weird porblem with my duet 2 wifi.

      I have connected every motor for all axis.

      My problem is, that when i would like to home the axes, everytime the same z motor would like to rotate but the motor only make sound and only vibrates and i get
      the error:

      G28 X
      Warning: motor phase A may be disconnected reported by driver(s) 2 5 6
      Warning: motor phase B may be disconnected reported by driver(s) 2 5 6
      

      When I would like to home the axis allone it's the same problem.

      For example when I would like to home x, the z motor tries to home.

      I don't know what is wrong!

      Many thanks for your help.

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        sounds like you may have wired the other motors incorrectly, ref https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases to check the motor wiring.

        (turn off the power before making any changes to the motor wiring!)

        1 Reply Last reply Reply Quote 0
        • peter247undefined
          peter247
          last edited by peter247

          Check the phases and wiring .

          If you try to home any of the axis you will get a fault if the Z axis is wrong because it lifts the bed ( Z ) before it moves X or Y axis.

          Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

          1 Reply Last reply Reply Quote 0
          • Inno 3Dundefined
            Inno 3D
            last edited by

            Many thanks for your reply!

            I've checked the wiring and all are connected right!

            It's specially weird, that only one z motor from 4 make this sounds and vibrates.

            I hope you have another idea!

            A Former User? 1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User @Inno 3D
              last edited by

              @Inno-3D said in only z motor tries to work:

              I hope you have another idea!

              the other idea is that the drivers might be damaged, so I was hoping the one idea was enough.

              Run M122 before and after asking the motors to move and post the results and one of the big shots will probably be able to say something about whats up

              1 Reply Last reply Reply Quote 0
              • Inno 3Dundefined
                Inno 3D
                last edited by

                Ok I've did it!

                bevore:

                M122
                === Diagnostics ===
                RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later + DueX5
                Board ID: 08DLM-996RU-N8PS0-7JTDG-3SJ6N-TBB7R
                Used output buffers: 3 of 24 (16 max)
                === RTOS ===
                Static ram: 25680
                Dynamic ram: 94040 of which 0 recycled
                Exception stack ram used: 312
                Never used ram: 11040
                Tasks: NETWORK(ready,660) HEAT(blocked,1236) DUEX(suspended,156) MAIN(running,3792) IDLE(ready,160)
                Owned mutexes:
                === Platform ===
                Last reset 00:01:08 ago, cause: power up
                Last software reset time unknown, reason: User, spinning module GCodes, available RAM 10964 bytes (slot 3)
                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: 0.0ms, max retries 0
                MCU temperature: min 32.6, current 32.6, max 32.8
                Supply voltage: min 18.8, current 22.4, max 23.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
                Driver 5: standstill, SG min/max not available
                Driver 6: standstill, SG min/max not available
                Driver 7: standstill, SG min/max not available
                Driver 8: standstill, SG min/max not available
                Driver 9: standstill, SG min/max not available
                Date/time: 2020-07-29 17:41:32
                Cache data hit count 263902734
                Slowest loop: 1.11ms; fastest: 0.08ms
                I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                === Move ===
                Hiccups: 0, FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
                Bed compensation in use: none, comp offset 0.000
                === DDARing ===
                Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                === Heat ===
                Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                === GCodes ===
                Segments left: 0
                Stack records: 1 allocated, 0 in use
                Movement lock held by null
                http is idle in state(s) 0
                telnet is idle in state(s) 0
                file is idle in state(s) 0
                serial is idle in state(s) 0
                aux is idle in state(s) 0
                daemon is idle in state(s) 0
                queue is idle in state(s) 0
                autopause is idle in state(s) 0
                Code queue is empty.
                === Network ===
                Slowest loop: 200.54ms; fastest: 0.08ms
                Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                HTTP sessions: 1 of 8
                - WiFi -
                Network state is running
                WiFi module is connected to access point 
                Failed messages: pending 0, notready 0, noresp 1
                WiFi firmware version 1.23
                WiFi MAC address ec:fa:bc:5b:45:8f
                WiFi Vcc 3.37, reset reason Turned on by main processor
                WiFi flash size 4194304, free heap 25672
                WiFi IP address 192.168.188.41
                WiFi signal strength -59dBm, reconnections 1, sleep mode modem
                Socket states: 0 0 0 0 0 0 0 0
                

                after:

                M122
                === Diagnostics ===
                RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later + DueX5
                Board ID: 08DLM-996RU-N8PS0-7JTDG-3SJ6N-TBB7R
                Used output buffers: 3 of 24 (16 max)
                === RTOS ===
                Static ram: 25680
                Dynamic ram: 94084 of which 0 recycled
                Exception stack ram used: 348
                Never used ram: 10960
                Tasks: NETWORK(ready,652) HEAT(blocked,1236) DUEX(suspended,156) MAIN(running,3792) IDLE(ready,160)
                Owned mutexes:
                === Platform ===
                Last reset 00:01:50 ago, cause: power up
                Last software reset time unknown, reason: User, spinning module GCodes, available RAM 10964 bytes (slot 3)
                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: 16.0ms, max retries 0
                MCU temperature: min 32.5, current 33.1, max 33.3
                Supply voltage: min 18.8, current 23.1, max 24.8, under voltage events: 0, over voltage events: 0, power good: yes
                Driver 0: standstill, SG min/max 0/428
                Driver 1: standstill, SG min/max 0/454
                Driver 2: standstill, SG min/max 0/1023
                Driver 3: standstill, SG min/max not available
                Driver 4: standstill, SG min/max 0/526
                Driver 5: standstill, SG min/max 0/6
                Driver 6: standstill, SG min/max 0/6
                Driver 7: standstill, SG min/max not available
                Driver 8: standstill, SG min/max not available
                Driver 9: standstill, SG min/max not available
                Date/time: 2020-07-29 17:42:13
                Cache data hit count 426704446
                Slowest loop: 4.40ms; fastest: 0.08ms
                I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                === Move ===
                Hiccups: 2788, FreeDm: 169, MinFreeDm: 167, MaxWait: 92085ms
                Bed compensation in use: none, comp offset 0.000
                === DDARing ===
                Scheduled moves: 5, completed moves: 5, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                === Heat ===
                Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                === GCodes ===
                Segments left: 0
                Stack records: 1 allocated, 0 in use
                Movement lock held by null
                http is idle in state(s) 0
                telnet is idle in state(s) 0
                file is idle in state(s) 0
                serial is idle in state(s) 0
                aux is idle in state(s) 0
                daemon is idle in state(s) 0
                queue is idle in state(s) 0
                autopause is idle in state(s) 0
                Code queue is empty.
                === Network ===
                Slowest loop: 203.13ms; fastest: 0.08ms
                Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                HTTP sessions: 1 of 8
                - WiFi -
                Network state is running
                WiFi module is connected to access point 
                Failed messages: pending 0, notready 0, noresp 2
                WiFi firmware version 1.23
                WiFi MAC address ec:fa:bc:5b:45:8f
                WiFi Vcc 3.37, reset reason Turned on by main processor
                WiFi flash size 4194304, free heap 25784
                WiFi IP address 192.168.188.41
                WiFi signal strength -59dBm, reconnections 1, sleep mode modem
                Socket states: 0 0 0 0 0 0 0 0
                
                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @Inno 3D
                  last edited by

                  @Inno-3D Please post your config.g file, and perhaps post a picture of how your Duet and Duex are wired. The result shows that driver 2 has stalled (the SG min/max 0/1023), and that (I think) nothing is connected to driver 5 and 6. I'd guess the Z motor on 2 is wired incorrectly. Or, if you have only one motor plugged in on Z, do you have the jumpers on the second Z output pins? See below:

                  57dfdd45-3b96-4dca-ad5d-26a2140becb5-image.png

                  For example when I would like to home x, the z motor tries to home.

                  That's quite normal; in the homing files, the Z usually lifts the nozzle (or drops the bed, depending on your machine) 5mm to avoid it hitting the bed, before homing X or Y.

                  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
                  • Inno 3Dundefined
                    Inno 3D
                    last edited by

                    Thanks for your reply!

                    That's my config.g file:

                    ; Configuration file for Duet WiFi (firmware version 3)
                    ; executed by the firmware on start-up
                    ;
                    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 12 2020 17:24:58 GMT+0200 (Mitteleuropäische Sommerzeit)
                    
                    ; General preferences
                    G90                                                             ; send absolute coordinates...
                    M83                                                             ; ...but relative extruder moves
                    M550 P"Inno 3D"                                                 ; set printer name
                    
                    ; Network
                    M551 P"Inno3D"                                                  ; set password
                    M552 S1                                                         ; enable network
                    M586 P0 S1                                                      ; enable HTTP
                    M586 P1 S0                                                      ; disable FTP
                    M586 P2 S0                                                      ; disable Telnet
                    
                    ; Drives
                    M569 P0 S1                                                      ; physical drive 0 goes forwards
                    M569 P1 S1                                                      ; physical drive 1 goes forwards
                    M569 P2 S1                                                      ; physical drive 2 goes forwards
                    M569 P3 S1                                                      ; physical drive 3 goes forwards
                    M569 P4 S1                                                      ; physical drive 4 goes forwards
                    M569 P5 S1                                                      ; physical drive 5 goes forwards
                    M569 P6 S1                                                      ; physical drive 6 goes forwards
                    M584 X0 Y1:4 Z2:5:6 E3                                              ; set drive mapping
                    M350 X16 Y16:16 Z16:16:16 E16 I1                                ; configure microstepping with interpolation
                    M92 X6400.00 Y5120.00:5120.00 Z5120.00:5120.00:5120.00 E420.00  ; set steps per mm
                    M566 X900.00 Y900.00:900.00 Z12.00:12.00:12.00 E120.00          ; set maximum instantaneous speed changes (mm/min)
                    M203 X6000.00 Y6000.00:6000.00 Z180.00:180.00:180.00 E1200.00   ; set maximum speeds (mm/min)
                    M201 X500.00 Y500.00:500.00 Z20.00:20.00:20.00 E250.00          ; set accelerations (mm/s^2)
                    M906 X2000 Y2000:2000 Z2000:2000:2000 E800 I30                  ; set motor currents (mA) and motor idle factor in per cent
                    M84 S30                                                         ; Set idle timeout
                    
                    ; Axis Limits
                    M208 X0 Y0 Z0 S1                                                ; set axis minima
                    M208 X1500 Y2500 Z1500 S0                                       ; set axis maxima
                    
                    ; Endstops
                    M574 X2 S1 P"xstop"                                             ; configure active-high endstop for high end on X via pin xstop
                    M574 Y2 S1 P"ystop"                                             ; configure active-high endstop for high end on Y via pin ystop
                    
                    ; Z-Probe
                    M950 S0 C"duex.pwm2"                                            ; create servo pin 0 for BLTouch
                    M558 P9 C"^zprobe.in" H5 F120 T6000                             ; set Z probe type to bltouch and the dive height + speeds
                    G31 P500 X0 Y0 Z2.5                                             ; set Z probe trigger value, offset and trigger height
                    M557 X15:1485 Y15:2485 S20                                      ; define mesh grid
                    
                    ; Heaters
                    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138                  ; configure sensor 0 as thermistor on pin bedtemp
                    M950 H0 C"bedheat" T0                                           ; create bed heater output on bedheat and map it to sensor 0
                    M307 H0 B1 S1.00                                                ; enable bang-bang mode for the bed heater and set PWM limit
                    M140 H0                                                         ; map heated bed to heater 0
                    M143 H0 S120                                                    ; set temperature limit for heater 0 to 120C
                    M308 S1 P"e0temp" Y"thermistor" T100000 B4138                   ; configure sensor 1 as thermistor on pin e0temp
                    M950 H1 C"e0heat" T1                                            ; create nozzle heater output on e0heat and map it to sensor 1
                    M307 H1 B0 S1.00                                                ; disable bang-bang mode for heater  and set PWM limit
                    
                    ; Fans
                    M950 F0 C"fan0" Q500                                            ; create fan 0 on pin fan0 and set its frequency
                    M106 P0 S0 H-1                                                  ; set fan 0 value. Thermostatic control is turned off
                    
                    ; Tools
                    M563 P1 S"FAN" D0 H1 F0                                         ; define tool 1
                    G10 P1 X0 Y0 Z0                                                 ; set tool 1 axis offsets
                    G10 P1 R0 S0                                                    ; set initial tool 1 active and standby temperatures to 0C
                    
                    ; Custom settings are not defined
                    
                    ; Miscellaneous
                    M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"              ; set voltage thresholds and actions to run on power loss
                    

                    board wiring

                    motor wiring

                    I hope, that you can work with this information!

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

                      Driver 2 has 2 ports, but they are wired in series, so you cannot use it for 4 separate motors as it sounds like you are trying to do.

                      Your photo shows you have some spare drivers left, so move the second motor on driver 2 to its own driver and replace it with the jumpers as indicated by @droftarts and then remap the Z axis to use 4 drivers in M584

                      Z-Bot CoreXY Build | Thingiverse Profile

                      Inno 3Dundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @Inno 3D
                        last edited by

                        @Inno-3D You have Z defined as drivers 2, 5 and 6. But, as I expected, you don't have anything connected to drivers 5 and 6 on the Duet. There are two motors connected to driver 8 and 9. And you have two motors on the Z driver. What is the specification of these motors?

                        Your config.g shows why you're having problems with Z, and probably with your other motors as well. With 5120 steps per mm, and maximum speed of 180mm/m (3mm/s), your Z motors can't move fast enough. Even the accelerations and instantaneous speed changes settings are probably too high to allow the motor to move. Your steps per mm are peculiarly high; are you sure they are correct? What are the motors driving?

                        Also, in your config.g you have many places where you have defined motor settings for each motor on the axis, eg
                        M350 X16 Y16:16 Z16:16:16 E16 I1
                        You can only define each motor on the E axis. For the other axes, only the first setting is used. The rest are ignored, and/or may even cause problems. Use these:

                        M350 X16 Y16 Z16 E16 I1                                ; configure microstepping with interpolation
                        M92 X6400.00 Y5120.00 Z5120.00 E420.00  ; set steps per mm
                        M566 X900.00 Y900.00 Z12.00 E120.00          ; set maximum instantaneous speed changes (mm/min)
                        M203 X6000.00 Y6000.00 Z180.00 E1200.00   ; set maximum speeds (mm/min)
                        M201 X500.00 Y500.00 Z20.00 E250.00          ; set accelerations (mm/s^2)
                        M906 X2000 Y2000 Z2000 E800 I30                  ; set motor currents (mA) and motor idle factor in per cent
                        

                        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
                        • Inno 3Dundefined
                          Inno 3D @Phaedrux
                          last edited by

                          Many thanks for your response!

                          @Phaedrux I will test it later when I'am at home.

                          @droftarts Oh that's my fault, the two motors connected to driver 8 and 9 should be connected to driver 5 and 6. I will change it!

                          Motor Specifications 1

                          Motor Specifications 2

                          This are brake motors but I defently know, that the brake is open, because i can rotate thim myself.

                          I know that the motor rated current is 3 amps and the duet 2 wifi only provide 2,4 amps. Is it a problem, when the motor don't get 3 amps?

                          Oh yes you are right the steps per mm are to high. I actually changed it.

                          The z motors are driving a leadscrew with a picht from 5 mm and they have a gear ratio from 1:1,38. So I have 883,2 steps per mm.

                          steps per mm calculator

                          You can only define each motor on the E axis. For the other axes, only the first setting is used. The rest are ignored, and/or may even cause problems. Use these:

                          Ok! I will use these part and change it at my config file.

                          droftartsundefined 1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @Inno 3D
                            last edited by droftarts

                            @Inno-3D the motor specification says these motors have an inductance of 11mH, which is very high. This will limit the speed. See https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Inductance

                            Use the EMF calculator here to work out the maximum speed you can drive these motors: https://www.reprapfirmware.org/
                            I expect it won’t be very high. In the end, these motors may not be a good choice for this application.

                            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
                            • Inno 3Dundefined
                              Inno 3D
                              last edited by

                              @droftarts I have hope I have used the right values. I have this calculated:

                              EMF calculator.png

                              Does it mean that the maximum speed is 17.1 mm/s?

                              droftartsundefined 1 Reply Last reply Reply Quote 0
                              • droftartsundefined
                                droftarts administrators @Inno 3D
                                last edited by

                                @Inno-3D can you show the motor settings? Because I’d expect the results to be much lower.

                                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
                                • Inno 3Dundefined
                                  Inno 3D
                                  last edited by

                                  @droftarts here is a photo of the settings
                                  which are hopefully right.

                                  EMF calculator1.png

                                  droftartsundefined 1 Reply Last reply Reply Quote 0
                                  • droftartsundefined
                                    droftarts administrators @Inno 3D
                                    last edited by

                                    @Inno-3D the steps per mm is different from earlier? Which is correct? In reality, what the EMF calculator suggests is usually the absolute maximum. It’s best to set max speed a sensible amount below this.

                                    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
                                    • Inno 3Dundefined
                                      Inno 3D
                                      last edited by

                                      @droftarts i think that the steps per mm above are correct, because I have used another steps per mm calculator an it said the same one like abobe.

                                      Ok I will test it tomorrow and give feedback

                                      1 Reply Last reply Reply Quote 0
                                      • Inno 3Dundefined
                                        Inno 3D
                                        last edited by Inno 3D

                                        @droftarts I changed the steps per mm and I have connected the motors to the right driver. Now It's working better but not corretly.

                                        I tested to home all axis, the the z axis drove a little bit up and than the y axis shortly rotate.

                                        But what is with the x axis? And why does y only shortly rotate? And why doesn't the z axis drive down? Do you know why?

                                        I tested the connection cabel from the x motor and it works

                                        I don't understand it!

                                        Many thanks for your help!!!

                                        A Former User? 1 Reply Last reply Reply Quote 0
                                        • A Former User?
                                          A Former User @Inno 3D
                                          last edited by

                                          @Inno-3D said in only z motor tries to work:

                                          And why does y only shortly rotate?

                                          you'd probably need to post your homing files to be able to answer that.

                                          and you have confirmed the endstops are working correctly?

                                          Inno 3Dundefined 1 Reply Last reply Reply Quote 0
                                          • Inno 3Dundefined
                                            Inno 3D @A Former User
                                            last edited by

                                            @bearer I've tested the endstops. When I put them, I get a signal. So I think, that they are working.

                                            Here are my homin files:

                                            homez.g homey.g homex.g homeall.g

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