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

    X turned down, replacig with E?

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    22
    783
    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.
    • Perttiundefined
      Pertti
      last edited by

      Hi, I changed the X0 stepper motor and couldn´t move it any more. The console argues about no connection. The stepper motor works when connected to Z2. Is there a way to use E1 driver to X0?
      Thanks.

      Pertti
      “A winner is just a loser who tried one more time.”
      George M. Moore, Jr.

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

        yes you can
        you need

        https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Stepper_Driver_Numbering

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping

        example :

        M569 P4 S<direction>
        M584 X4 Y1 Z.....
        

        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)

        Perttiundefined 1 Reply Last reply Reply Quote 0
        • Perttiundefined
          Pertti @SIam
          last edited by

          @siam
          So now I have: M584 X0 Y1 Z2 E3:4 ; set drive mapping
          changed: M584 E0 Y1 Z2 E3
          Is this correct?
          (Duet wifi)

          Pertti
          “A winner is just a loser who tried one more time.”
          George M. Moore, Jr.

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

            @pertti

            You should define the motor

            M569 P4 S1 (use the S value from M569 P0)
            

            and then set the drive mapping:

            M584 X4 Y1 Z2 E3 ; X is now port 4
            

            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)

            Perttiundefined 1 Reply Last reply Reply Quote 1
            • Perttiundefined
              Pertti @SIam
              last edited by

              @siam ; Drives dualextruder
              Previous:
              M569 P0 S0 ; physical drive 0 goes forwards X
              M569 P1 S1 ; physical drive 1 goes backwards Y
              M569 P2 S1 ; physical drive 2 goes forwards Z
              M569 P3 S0 ; physical drive 3 goes forwards E0
              M569 P4 S1 ; physical drive 4 goes backwards E1
              M584 X0 Y1 Z2 E3:4
              New one:
              M569 P0 S0 ; physical drive 0 goes forwards X
              M569 P1 S1 ; physical drive 1 goes backwards Y
              M569 P2 S1 ; physical drive 2 goes forwards Z
              M569 P3 S0 ; physical drive 3 goes forwards E0
              M569 P4 S1 ; physical drive 4 goes backwards E1
              M584 E0 Y1 Z2 E3

              Pertti
              “A winner is just a loser who tried one more time.”
              George M. Moore, Jr.

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

                @pertti

                > New one:
                > M569 P0 S0                                      ; physical drive 0 goes forwards  X
                > M569 P1 S1                                     ; physical drive 1 goes  backwards Y
                > M569 P2 S1                                      ; physical drive 2 goes forwards Z
                > M569 P3 S0                                      ; physical drive 3 goes forwards E0
                > M569 P4 S1                                      ; physical drive 4 goes backwards E1
                > M584 E0 Y1 Z2 E3
                
                

                M569 P0 S0 ; physical drive 0 goes forwards X <- This port is death

                now you want to use E1(port 4) as X

                so your motor config for port 4 is

                M569 P4 S0
                

                And now map Port 4 to X and remove E1 because we need this port for X

                M584 X4 Y1 Z2 E3 ; X is now port 4
                

                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)

                Perttiundefined 1 Reply Last reply Reply Quote 0
                • Perttiundefined
                  Pertti @SIam
                  last edited by

                  @siam
                  Thank´s a lot.

                  Pertti
                  “A winner is just a loser who tried one more time.”
                  George M. Moore, Jr.

                  Perttiundefined 1 Reply Last reply Reply Quote 1
                  • Perttiundefined
                    Pertti @Pertti
                    last edited by

                    @pertti
                    The X-axix moves again! But the machine is now homig Y axis to wrong direction and homing Z button moves again Y axis(!). I think I try again tomorrow...or buy a new board.

                    Pertti
                    “A winner is just a loser who tried one more time.”
                    George M. Moore, Jr.

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

                      @pertti you can change the direction with the

                      M569 PX S0
                      

                      command S0 is forwards S1 Backwards

                      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)

                      Perttiundefined 1 Reply Last reply Reply Quote 0
                      • Perttiundefined
                        Pertti @SIam
                        last edited by

                        @siam Yes I kow and I did, too. But the new problem is, that if I pushed the homeY or homeZ button, the Y stepper started moving in both occasions...

                        Pertti
                        “A winner is just a loser who tried one more time.”
                        George M. Moore, Jr.

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

                          @pertti what kind of printer 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)

                          Perttiundefined 1 Reply Last reply Reply Quote 0
                          • Perttiundefined
                            Pertti @SIam
                            last edited by

                            @siam It´s a rebuilt Leapfrog creatr xl. Bed moving up and down, horizontal X and 2*Y axis.

                            Pertti
                            “A winner is just a loser who tried one more time.”
                            George M. Moore, Jr.

                            Perttiundefined 1 Reply Last reply Reply Quote 0
                            • Perttiundefined
                              Pertti @Pertti
                              last edited by

                              @pertti Leapfrog rebuilt.JPG
                              Some parts are missing, sorry.

                              Pertti
                              “A winner is just a loser who tried one more time.”
                              George M. Moore, Jr.

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

                                Post your full config.g please.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Perttiundefined 1 Reply Last reply Reply Quote 0
                                • Perttiundefined
                                  Pertti @Phaedrux
                                  last edited by Phaedrux

                                  @phaedrux

                                  0:/sys/config.g
                                  ;0:/sys/config.g
                                  ; Leaprog 200804
                                  ; TITAN AERO
                                  ; Configuration file for Duet WiFi (firmware version 2.03)
                                  ; executed by the firmware on start-up
                                  ; Tässä versiossa y=z akselissa
                                  ; generated by RepRapFirmware Configuration Tool v2.1.5 on Sat Jan 11 2020 15:38:33 GMT+0200 (Itä-Euroopan normaaliaika)
                                  ; General preferences ;M303 H2 S240 ;Auto tuning Heater2
                                  
                                  			
                                  G90                                             ; send absolute coordinates... M143 
                                  M83                                             ; ...but relative extruder moves
                                  M550 P"Leapfrog-Duet"                              ; set printer name
                                  
                                  	; Network
                                  M552 S1                                         ; enable network
                                  M586 P0 S1                                      ; enable HTTP
                                  M586 P1 S0                                      ; disable FTP
                                  M586 P2 S0                                      ; disable Telnet
                                  
                                  	; Drives dualextruder
                                  
                                  M569 P0 S0                                      ; physical drive 0 goes forwards  X
                                  M569 P1 S0                                      ; physical drive 1 goes backwards Y muutetto S0  210509
                                  M569 P2 S1                                      ; physical drive 2 goes backwards Z
                                  M569 P3 S1                                      ; physical drive 3 goes backwards E0
                                  M569 P4 S0                                      ; physical drive 4 goes forwards E1
                                  
                                  
                                  
                                  
                                  				;M584 X4 Y1 Z2 E3 		; X is now port 4  drive mapping vaihdettu E-> X
                                  	M584 X0 Y1 Z2 E3:4                              ; set drive mapping
                                        				;M584 X0 Z1 Y2 E3:4                              ; set drive mapping vaihdettu z-y
                                                               
                                  
                                  M350 X16 Y16 Z16 E16:16 I1                      ; configure microstepping with interpolation
                                  						
                                  M92 X400.00 Y66.67 Z654.02 E144.00:144.00 	;dualextruder set steps per mm	M92 X66.67 Y66.67 Z654.02 E137.00:137.00
                                  	;M92 X66.67 Y66.67 Z654.02 E837.00:93.00 ;titan aero; set steps per mm
                                  
                                  M566 X900.00 Y900.00 Z12.00 E120.00:120.00       ; set maximum instantaneous speed changes (mm/min)
                                  
                                  M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
                                  
                                  M201 X500.00 Y500.00 Z20.00 E250.00:250.00      ; set accelerations (mm/s^2)
                                  
                                  ;M906 X800 Y1600 Z1600 E800:800 I30              ; set motor currents (mA) and motor idle factor in per cent
                                  M906 X800 Y800 Z1600 E800:800 I30              ; set motor currents (mA) and motor idle factor in per cent 
                                  
                                  M84 S30                                         ; Set idle timeout
                                  
                                  ; Axis Limits
                                  M208 X0 Y0 Z0 S1  
                                  
                                  
                                  M208 X270 Y300 Z200 S0                          ; set axis maxima
                                  
                                  ; Endstops
                                  M574 Z0 S1                                      ; set active low and disabled endstops M574 Z0 S0
                                  M574 X1 Y1 S1                                   ; set active high endstops
                                  
                                  
                                  ; Z-Probe
                                  M558 P0 H5 F120 T6000                           ; disable Z probe but set dive height, probe speed and travel speed
                                  M557 X15:200 Y15:195 S20                        ; define mesh grid
                                  
                                  ; Heaters
                                  	;M305 P0 T100000 B4138 R4700                     ; set thermistor + ADC parameters for heater 0
                                  	;M143 H0 S120                                    ; set temperature limit for heater 0 to 120C
                                  	;M305 P1 T100 B3950 R4700                        ; set thermistor + ADC parameters for heater 1
                                  	;M143 H1 S280                                    ; set temperature limit for heater 1 to 280C
                                  	;M305 P2 T100 B3950 R4700                   	 ; set thermistor + ADC parameters for heater 2
                                  	;M143 H2 S280  
                                  
                                  
                                  M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
                                  M143 H0 S120 ; set temperature limit for heater 0 to 120C
                                  M305 P1 T100000  B3950 R4700 ; set thermistor + ADC parameters for heater 1 ,T was 100000
                                  ;M305 P1 B4725 C7.060000e-8 ; titan aero
                                  M143 H1 S290 ; set temperature limit for heater 1 to 280C  
                                  M305 P2 T100000  B3950 R4700 ; set thermistor + ADC parameters for heater 2 ,T was 100000
                                  M143 H2 S290 ; set temperature limit for heater 2 to 280C
                                  
                                   
                                  M307 H1 A455.9 C183.2 D17.7 S1.00 V24.1 B0
                                  M307 H2 A499.7 C172.7 D10.4 S1.00 V24.1 B0
                                  
                                  M570 H1 P4 T25 s1
                                  M570 H2 P10 T25
                                  M570 S120
                                  
                                  
                                  ; Fans
                                  ;M106 P0 S0.5 I0 F500 H1 T45 
                                  ;M106 P1 T45 H1
                                  
                                  ;M106 P0 S0 I0 F500 H-1                          ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                  ;M106 P1 S1 I0 F500 H-1                          ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                  ;M106 P2 S1 I0 F500 H-1                          ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                  M106 P1 T45 B0.1 H1 ; enable thermostatic mode for fan 1
                                  M106 P0 T45 B0.1 H1 ; enable thermostatic mode for fan 2
                                  
                                  
                                  
                                  
                                  
                                  ; Tools
                                  M563 P0 D0 H1 F0                                ; define tool 0
                                  G10 P0 X0 Y0 Z0                                 ; set tool 0 axis offsets
                                  G10 P1 R160 S0                                  ; set initial tool 0 active and standby temperatures to 0C
                                  
                                  M563 P1 D1 H2 F0                                ; define tool 1
                                  G10 P1 X24.3 Y1.0 Z0                              ; set tool 1 axis offsets  oli G10 P1 X22.4 Y6.4 Z0   
                                  G10 P2 R160 S0 					; set initial tool 1 active and standby temperatures to 0C
                                                                      
                                  ;M563 P0 D0 H1 ; tool 0 uses extruder 0, heater 1 (and fan 0)
                                  ; Custom settings are not defined
                                  

                                  Pertti
                                  “A winner is just a loser who tried one more time.”
                                  George M. Moore, Jr.

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

                                    Can you send M98 P"config.g" and report any errors?
                                    Also please provide the results of M122.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    Perttiundefined 1 Reply Last reply Reply Quote 0
                                    • Perttiundefined
                                      Pertti @Phaedrux
                                      last edited by

                                      Leapfrog 210509 requests.txt

                                      Here´s the answers, pasting them here resulted spam.

                                      Pertti
                                      “A winner is just a loser who tried one more time.”
                                      George M. Moore, Jr.

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

                                        @pertti check this config.g I hope i have found all issues if not please post the result of M98 P"config.g" again

                                        ;0:/sys/config.g
                                        ; Leaprog 200804
                                        ; TITAN AERO
                                        ; Configuration file for Duet WiFi (firmware version 2.03)
                                        ; executed by the firmware on start-up
                                        ; Tässä versiossa y=z akselissa
                                        ; generated by RepRapFirmware Configuration Tool v2.1.5 on Sat Jan 11 2020 15:38:33 GMT+0200 (Itä-Euroopan normaaliaika)
                                        ; General preferences ;M303 H2 S240 ;Auto tuning Heater2
                                        
                                        G90                                             ; send absolute coordinates... M143 
                                        M83                                             ; ...but relative extruder moves
                                        M550 P"Leapfrog-Duet"                              ; set printer name
                                        ; Network
                                        
                                        M552 S1                                         ; enable network
                                        M586 P0 S1                                      ; enable HTTP
                                        M586 P1 S0                                      ; disable FTP
                                        M586 P2 S0                                      ; disable Telnet
                                        ; Drives dualextruder
                                        
                                        M569 P0 S0                                      ; physical drive 0 goes forwards  X
                                        M569 P1 S0                                      ; physical drive 1 goes backwards Y muutetto S0  210509
                                        M569 P2 S1                                      ; physical drive 2 goes backwards Z
                                        M569 P3 S1                                      ; physical drive 3 goes backwards E0
                                        M569 P4 S0                                      ; physical drive 4 goes forwards E1
                                        
                                        M584 X4 Y1 Z2 E3 		; X is now port 4  drive mapping vaihdettu E-> X
                                        
                                        ;M584 X0 Y1 Z2 E3:4                              ; set drive mapping
                                        
                                        M350 X16 Y16 Z16 E16:16 I1                      ; configure microstepping with interpolation
                                        
                                        M92 X400.00 Y66.67 Z654.02 E144.00 	;dualextruder set steps per mm	M92 X66.67 Y66.67 Z654.02 E137.00:137.00
                                        
                                        ;M92 X66.67 Y66.67 Z654.02 E837.00:93.00 ;titan aero; 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 X800 Y1600 Z1600 E800:800 I30              ; set motor currents (mA) and motor idle factor in per cent
                                        M906 X800 Y800 Z1600 E800:800 I30              ; set motor currents (mA) and motor idle factor in per cent 
                                        M84 S30                                         ; Set idle timeout
                                        ; Axis Limits
                                        M208 X0 Y0 Z0 S1  
                                        M208 X270 Y300 Z200 S0                          ; set axis maxima
                                        ; Endstops
                                        M574 Z0 S1                                      ; set active low and disabled endstops M574 Z0 S0
                                        M574 X1 Y1 S1                                   ; set active high endstops
                                        ; Z-Probe
                                        M558 P0 H5 F120 T6000                           ; disable Z probe but set dive height, probe speed and travel speed
                                        M557 X15:200 Y15:195 S20                        ; define mesh grid
                                        ; Heaters
                                        	;M305 P0 T100000 B4138 R4700                     ; set thermistor + ADC parameters for heater 0
                                        	;M143 H0 S120                                    ; set temperature limit for heater 0 to 120C
                                        	;M305 P1 T100 B3950 R4700                        ; set thermistor + ADC parameters for heater 1
                                        	;M143 H1 S280                                    ; set temperature limit for heater 1 to 280C
                                        	;M305 P2 T100 B3950 R4700                   	 ; set thermistor + ADC parameters for heater 2
                                        	;M143 H2 S280  
                                        M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
                                        M143 H0 S120 ; set temperature limit for heater 0 to 120C
                                        M305 P1 T100000  B3950 R4700 ; set thermistor + ADC parameters for heater 1 ,T was 100000
                                        ;M305 P1 B4725 C7.060000e-8 ; titan aero
                                        M143 H1 S290 ; set temperature limit for heater 1 to 280C  
                                        M305 P2 T100000  B3950 R4700 ; set thermistor + ADC parameters for heater 2 ,T was 100000
                                        M143 H2 S290 ; set temperature limit for heater 2 to 280C
                                        
                                        M307 H1 A455.9 C183.2 D17.7 S1.00 V24.1 B0
                                        M307 H2 A499.7 C172.7 D10.4 S1.00 V24.1 B0
                                        M570 H1 P4 T25 s1
                                        M570 H2 P10 T25
                                        M570 S120
                                        
                                        ; Fans
                                        ;M106 P0 S0.5 I0 F500 H1 T45 
                                        ;M106 P1 T45 H1
                                        ;M106 P0 S0 I0 F500 H-1                          ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                        ;M106 P1 S1 I0 F500 H-1                          ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                        ;M106 P2 S1 I0 F500 H-1                          ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                        M106 P1 T45 B0.1 H1 ; enable thermostatic mode for fan 1
                                        M106 P0 T45 B0.1 H1 ; enable thermostatic mode for fan 2
                                        
                                        ; Tools
                                        
                                        M563 P0 D0 H1 F0                                ; define tool 0
                                        G10 P0 X0 Y0 Z0                                 ; set tool 0 axis offsets
                                        G10 P1 R160 S0                                  ; set initial tool 0 active and standby temperatures to 0C
                                        
                                         
                                        
                                        ;M563 P1 D1 H2 F0                                ; define tool 1
                                        
                                        ;G10 P1 X24.3 Y1.0 Z0                              ; set tool 1 axis offsets  oli G10 P1 X22.4 Y6.4 Z0   
                                        
                                        ;G10 P2 R160 S0 					; set initial tool 1 active and standby temperatures to 0C
                                        
                                        T0                                   
                                        
                                        ;M563 P0 D0 H1 ; tool 0 uses extruder 0, heater 1 (and fan 0)
                                        
                                        ; Custom settings are not defined
                                        

                                        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)

                                        Perttiundefined 1 Reply Last reply Reply Quote 0
                                        • Perttiundefined
                                          Pertti @SIam
                                          last edited by

                                          @siam said in X turned down, replacig with E?:

                                          M98 P"config.g"

                                          9.5.2021 klo 22.44.31 M98 P"config.g"
                                          HTTP is enabled on port 80
                                          FTP is disabled
                                          TELNET is disabled
                                          Error: GCodes: Attempt to read a GCode unsigned array that is too long: M350 X16 Y16 Z16 E16:16 I1
                                          Error: GCodes: Attempt to read a GCode float array that is too long: M906 X800 Y800 Z1600 E800:800 I30
                                          Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 480C.
                                          Warning: Heater 2 appears to be over-powered. If left on at full power, its temperature is predicted to reach 524C.
                                          Error: G10: Attempt to set/report offsets and temperatures for non-existent tool: 1

                                          Pertti
                                          “A winner is just a loser who tried one more time.”
                                          George M. Moore, Jr.

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

                                            @pertti

                                            in Line 31 M350 X16 Y16 Z16 E16:16 I1 Remove :16
                                            in line 44 M906 X800 Y800 Z1600 E800:800 I30 Remove :800
                                            in line 89 G10 P1 R160 S0 i think P1 should be P0

                                            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)

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