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

    STEPPER AND HOMING PROBLEMS

    Scheduled Pinned Locked Moved
    General Discussion
    4
    59
    2.5k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Well the behaviour of the motor and the error message would seem to indicate there is a mismatched phase in the motor wiring.

      Do you have the make and model of the motor to get the phase information?

      You can also use this technique to find the phase pairs.
      https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

      Z-Bot CoreXY Build | Thingiverse Profile

      swrightlastundefined 1 Reply Last reply Reply Quote 0
      • swrightlastundefined
        swrightlast @Phaedrux
        last edited by

        @Phaedrux , standard folgertech nema 17, 1.8 degree. 5kg/cm, 1.5a. checking phase now......stay tuned.

        swrightlastundefined 1 Reply Last reply Reply Quote 0
        • swrightlastundefined
          swrightlast @swrightlast
          last edited by swrightlast

          @swrightlast I could not get any resistance readings at all! Probably didn't do it right.

          1 Reply Last reply Reply Quote 0
          • swrightlastundefined
            swrightlast
            last edited by

            @swrightlast said in STEPPER AND HOMING PROBLEMS:

            Error: M569: Driver 0 does not support mode 'stealthChop'
            Error: M569: Driver 1 does not support mode 'stealthChop'
            Error: M569: Driver 2 does not support mode 'stealthChop'

            Does this give any clue to the problem?

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

              Can you post your config.g?

              Z-Bot CoreXY Build | Thingiverse Profile

              swrightlastundefined 1 Reply Last reply Reply Quote 0
              • swrightlastundefined
                swrightlast @Phaedrux
                last edited by

                @Phaedrux
                ; General preferences
                G21 ;Set units in mm from this point
                G90 ; Send absolute coordinates...
                M83 ; Network
                M550 PCoreXY ; Set machine name

                                                         ; ...but relative extruder moves
                

                M667 S1 M552 S1 ; Enable network and acquire dynamic address via DHCP

                M586 P0 S1 ; Enable HTTP
                M586 P1 S0 ; Disable FTP
                M586 P2 S0 ; Disable Telnet
                ; Select CoreXY mode

                ; Drives
                M569 P0 S0 D3 ; Drive 0 goes forwards
                M569 P1 S0 D3 ; Drive 1 goes forwards
                M569 P2 S0 D3 ; Drive 2 goes backwards
                M569 P3 S1 D3 ; Drive 3 goes backwards
                M350 X16 Y16 Z16 E16:16:16:16:16 I1 ; Set miscrostepping x16 with x256 interpolation
                M92 X80 Y80 Z400 E412 ; Set steps per mm
                M566 X400 Y400 Z300 E3000 ; Set maximum instantaneous speed changes (mmmin)
                M201 X500 Y500 Z500 E1500 ; Set accelerations (mms^2)
                M203 X12000 Y12000 Z1500 E6000 ; Set maximum speeds (mmmin)
                M906 X1200 Y1200 Z1100 E1000 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 X300 Y300 Z380 S0 ; Set axis maxima

                ; Endstops
                M574 X1 Y1 S0 ; Set active low endstops

                ; Pressure advance ; Set pressure advance
                M572 D0 S0.15

                ; Z-Probe
                M574 Z1 S0
                M558 P9 H3 F500 T2000 B1 ; Disable Z probe but set dive height, probe speed and travel speed
                M557 X40:290 Y40:290 S50 B1 ; Define mesh grid
                G31 X-10 Y60 Z0.9 P200

                ; Heaters

                M305 P0 T100000 B4171 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                M143 H0 S120 ; Set temperature limit for heater 0 to 120C

                M305 P1 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 1
                M143 H1 S280 ; Set temperature limit for heater 1 to 280C

                ; Fans
                M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                ; Tools
                M563 P0 D0 H1 F0:1 ; Define tool 0
                G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets

                ; Custom settings are not configured
                M501

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

                  @swrightlast said in STEPPER AND HOMING PROBLEMS:

                  ; Drives
                  M569 P0 S0 D3 ; Drive 0 goes forwards
                  M569 P1 S0 D3 ; Drive 1 goes forwards
                  M569 P2 S0 D3 ; Drive 2 goes backwards
                  M569 P3 S1 D3 ; Drive 3 goes backwards

                  The D3 is telling it to use stealthchop mode. Which is only supported by the TMC 2224 drives on the Duet Maestro, and not the TMC 2660 drives on the duet wifi. So that explains the stealthchop error messages. So just remove the D parameter entirely.

                  @swrightlast said in STEPPER AND HOMING PROBLEMS:

                  M550 PCoreXY ; Set machine name
                  ; ...but relative extruder moves

                  M667 S1 M552 S1 ; Enable network and acquire dynamic address via DHCP

                  It looks like there is either a rogue character in your config.g or a semi colon out of place. Can you upload the actual file rather than copy and paste?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  swrightlastundefined 1 Reply Last reply Reply Quote 0
                  • swrightlastundefined
                    swrightlast @Phaedrux
                    last edited by

                    @Phaedrux [co; General preferences
                    G21 ;Set units in mm from this point
                    G90 ; Send absolute coordinates...
                    M83 ; Network
                    M550 PCoreXY ; Set machine name

                                                             ; ...but relative extruder moves
                    

                    M667 S1 M552 S1 ; Enable network and acquire dynamic address via DHCP

                    M586 P0 S1 ; Enable HTTP
                    M586 P1 S0 ; Disable FTP
                    M586 P2 S0 ; Disable Telnet
                    ; Select CoreXY mode

                    ; Drives
                    M569 P0 S0 D3 ; Drive 0 goes forwards
                    M569 P1 S0 D3 ; Drive 1 goes forwards
                    M569 P2 S0 D3 ; Drive 2 goes backwards
                    M569 P3 S1 D3 ; Drive 3 goes backwards
                    M350 X16 Y16 Z16 E16:16:16:16:16 I1 ; Set miscrostepping x16 with x256 interpolation
                    M92 X80 Y80 Z400 E412 ; Set steps per mm
                    M566 X400 Y400 Z300 E3000 ; Set maximum instantaneous speed changes (mmmin)
                    M201 X500 Y500 Z500 E1500 ; Set accelerations (mms^2)
                    M203 X12000 Y12000 Z1500 E6000 ; Set maximum speeds (mmmin)
                    M906 X1200 Y1200 Z1100 E1000 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 X300 Y300 Z380 S0 ; Set axis maxima

                    ; Endstops
                    M574 X1 Y1 S0 ; Set active low endstops

                    ; Pressure advance ; Set pressure advance
                    M572 D0 S0.15

                    ; Z-Probe
                    M574 Z1 S0
                    M558 P9 H3 F500 T2000 B1 ; Disable Z probe but set dive height, probe speed and travel speed
                    M557 X40:290 Y40:290 S50 B1 ; Define mesh grid
                    G31 X-10 Y60 Z0.9 P200

                    ; Heaters

                    M305 P0 T100000 B4171 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                    M143 H0 S120 ; Set temperature limit for heater 0 to 120C

                    M305 P1 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 1
                    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

                    ; Fans
                    M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                    M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                    M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                    ; Tools
                    M563 P0 D0 H1 F0:1 ; Define tool 0
                    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets

                    ; Custom settings are not configured
                    M501
                    nfig.g](/assets/uploads/files/1573005646030-config.g) config.g

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

                      1573005937174-config.g

                      I made some corrections. Try that one.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      swrightlastundefined 1 Reply Last reply Reply Quote 0
                      • swrightlastundefined
                        swrightlast @swrightlast
                        last edited by

                        @swrightlast , I must be getting tired. How do I upload my config.g to this discussion?

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

                          nope you got it uploaded. I cleaned up some formatting and structure. There were two commands on the same line and I removed the D values from drive setup that was trying to use stealthchop.

                          You can either download the file I uploaded and rename it to config.g and upload it to the duet, or you can copy and paste from below.

                          ; General preferences
                          G21						   ;Set units in mm from this point
                          G90             ; Send absolute coordinates...
                          M83 ; ...but relative extruder moves
                          M550 PCoreXY                                       ; Set machine name
                          M667 S1 ; Select CoreXY mode
                          M552  S1    ; Enable network and acquire dynamic address via DHCP
                          M586 P0 S1                                         ; Enable HTTP
                          M586 P1 S0                                         ; Disable FTP
                          M586 P2 S0                                         ; Disable Telnet
                          
                          ; Drives
                          M569 P0 S0	                                   ; Drive 0 goes forwards
                          M569 P1 S0            	                   ; Drive 1 goes forwards
                          M569 P2 S0                                     ; Drive 2 goes backwards
                          M569 P3 S1                                     ; Drive 3 goes backwards
                          M350 X16 Y16 Z16 E16:16:16:16:16 I1	   	   ; Set miscrostepping x16 with x256 interpolation
                          M92 X80 Y80 Z400 E412                              ; Set steps per mm
                          M566 X400 Y400 Z300 E3000                        ; Set maximum instantaneous speed changes (mmmin)
                          M201 X500 Y500 Z500 E1500			   ; Set accelerations (mms^2)
                          M203 X12000 Y12000 Z1500 E6000                     ; Set maximum speeds (mmmin)
                          M906 X1200 Y1200 Z1100 E1000 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 X300 Y300 Z380 S0                             ; Set axis maxima
                          
                          ; Endstops
                          M574 X1 Y1 S0                                      ; Set active low endstops
                          
                          ; Pressure advance				   ; Set pressure advance
                          M572 D0 S0.15
                          
                          ; Z-Probe
                          M574 Z1 S0
                          M558 P9 H3 F500 T2000 B1                      	   ; Disable Z probe but set dive height, probe speed and travel speed
                          M557 X40:290 Y40:290 S50 B1			   ; Define mesh grid
                          G31 X-10 Y60 Z0.9 P200
                          
                          ; Heaters
                          
                          M305 P0 T100000 B4171 C0 R4700                    ; Set thermistor + ADC parameters for heater 0
                          M143 H0 S120                                       ; Set temperature limit for heater 0 to 120C
                          
                          M305 P1 B4725 C7.060000e-8                ; Set thermistor + ADC parameters for heater 1
                          M143 H1 S280                                       ; Set temperature limit for heater 1 to 280C
                          
                          ; Fans
                          M106 P0 S0 I0 F500 H-1                             ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                          M106 P1 S0 I0 F500 H-1                             ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                          M106 P2 S1 I0 F500 H1 T45                          ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
                          
                          ; Tools
                          M563 P0 D0 H1 F0:1                                 ; Define tool 0
                          G10 P0 X0 Y0 Z0                                    ; Set tool 0 axis offsets
                          
                          ; Custom settings are not configured
                          M501
                          

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • swrightlastundefined
                            swrightlast @Phaedrux
                            last edited by

                            @Phaedrux I tried it.....no change.

                            swrightlastundefined 1 Reply Last reply Reply Quote 0
                            • swrightlastundefined
                              swrightlast @swrightlast
                              last edited by

                              @swrightlast it keeps showing the motor phase error for both x,y.

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

                                Well motor phase error and stealth chop error are seperate problems.

                                The stealthchop thing was from the configuration.

                                The motor phase error is saying that the motor phases as wired are incorrect. You'll have to identify the correct pairs of wires and swap the wire positions in the plug.

                                There are two methods of identifying the motor phase pairs in that link. Did you try both of them?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                swrightlastundefined 1 Reply Last reply Reply Quote 0
                                • swrightlastundefined
                                  swrightlast @Phaedrux
                                  last edited by swrightlast

                                  @Phaedrux funny thing is, i only put new board connectors on x,y. z axis homes just fine....z was not involved in what i was doing. the board connector wiring is the same on x,y as it is on z. this just gets curiouser and curiouser. I'm going to call it quits for tonight. Try again tomorrow.

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

                                    can you post picture of the cable connection on the stepper and the duet.
                                    also please post the model number of your stepper drivers.

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

                                      @swrightlast

                                      Can i make a general suggestion. Can you please keep a log of the changes you are doing.
                                      This will allow you to better retrace your step on changes you have made.
                                      So if your printer was working a week ago, you made some changes, and then realised its not working anymore that you can revert those changes.

                                      1 Reply Last reply Reply Quote 0
                                      • swrightlastundefined
                                        swrightlast @Veti
                                        last edited by

                                        @Veti standard folgertech nema 17, 1.8 degree. 5kg/cm, 1.5a![alt text](image url)20191106_095244.jpg

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

                                          @swrightlast
                                          the image did not upload

                                          swrightlastundefined 1 Reply Last reply Reply Quote 0
                                          • swrightlastundefined
                                            swrightlast @Veti
                                            last edited by

                                            @Veti i couldn't get one of the images to load...still working on it. I'll reload the one that did load.20191106_095522.jpg

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