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

    Problems with Z axis in 1.21

    Scheduled Pinned Locked Moved
    General Discussion
    3
    13
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlexLinundefined
      AlexLin
      last edited by

      It seems that somebody else in this forum had the same problem…Dc42 knows about that.I suppose he's looking into it...I downgraded and will wait for a fix....

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        I am not aware of anything in this area that needs fixing. Please post your config.g file.

        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
        • AlexLinundefined
          AlexLin
          last edited by

          https://www.duet3d.com/forum/thread.php?id=4922

          1 Reply Last reply Reply Quote 0
          • AlexLinundefined
            AlexLin
            last edited by

            [[language]]
            ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool on Sat Feb 24 2018 12:46:55 GMT+0100 (Central Europe Standard Time)
            
            ; General preferences
            G90                               ; Send absolute coordinates...
            M83                               ; ...but relative extruder moves
            M555 P1                           ; Set firmware compatibility to look like RepRapFirmare
            
            M667 S1                           ; Select CoreXY mode
            M669 S1
            ; Network
            M550 PHEVO                        ; Set machine name
            M551 Phevo                        ; Set password
            M552 S1                           ; Enable network
            M587 S"thuis_net" P"Alphubel4206" ; Configure access point. You can delete this line once connected
            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 forwards
            M569 P3 S0                        ; Drive 3 goes forwards
            M569 P4 S0			   ; Drive 4 goes forwards
            M584 X0 Y1 Z2:4		          ;driver 0=x;1=y,2+4=z
            M350 X64 Y64 Z64 E16 I1           ; Configure microstepping with interpolation
            M92 X640 Y640 Z3200 E837            ; Set steps per mm
            M566 X900 Y900 Z12 E120           ; Set maximum instantaneous speed changes (mm/min)
            M203 X12000 Y12000 Z180 E1200       ; Set maximum speeds (mm/min)
            M201 X800 Y800 Z250 E250           ; Set accelerations (mm/s^2)
            M906 X1200 Y1200 Z1200 E1400 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 Z248.7 S0            ; Set axis maxima
            
            ; Endstops
            M574 X1 Y1 S1                     ; Set active high endstops
            M574 Z2 S1                        ; Max z endstop
            
            ; Z-Probe
            M558 P1 H5 F120 T6000             ; Set Z probe type to unmodulated and the dive height + speeds
            G31 P500 X30 Y2 Z1.6             ; Set Z probe trigger value, offset and trigger height
            M557 X15:285 Y15:285 S50          ; Define mesh grid
            M671 X-40:345 Y155:155 S2.0
            
            ; Heaters
            M305 P0 T100000 B4075 C0 R4700    ; Set thermistor + ADC parameters for heater 0
            M143 H0 S120                      ; Set temperature limit for heater 0 to 120C
            M305 P1 T100000 B4725 C7.06e-8 R4700    ; Set thermistor + ADC parameters for heater 1
            M143 H1 S280                      ; Set temperature limit for heater 1 to 280C
            
            ; Fans
            M106 P0 S0.3 I0 F500 H-1          ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
            M106 P1 S1 I0 F500 H1 T45         ; 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                     ; Define tool 0
            G10 P0 X0 Y0 Z0                   ; Set tool 0 axis offsets
            G10 P0 R0 S0                      ; Set initial tool 0 active and standby temperatures to 0C
            
            M307 H2 A-1 C-1 D-1               ;disable heater 2 to be used to control LED strip
            ; Automatic saving after power loss is not enabled
            M911 S22.5 R23.5 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"
            ; Custom settings are not configured
            
            ; Miscellaneous
            M501                              ; Load saved parameters from non-volatile memory
            
            

            and config-override

            [[language]]
            ; This is a system-generated file - do not edit
            ; Heater model parameters
            M307 H0 A134.3 C627.3 D0.8 S1.00 V23.6 B0
            M307 H1 A735.8 C244.5 D6.7 S1.00 V23.8 B0
            M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
            M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
            M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
            M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
            M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
            ; Probed axis limits
            M208 S0 Z246.93
            
            
            1 Reply Last reply Reply Quote 0
            • AlexLinundefined
              AlexLin
              last edited by

              HI
              Is this a bug or do I need to reconfigure something to get 1.21 to work with 2 independent (z and E1) motors/drivers

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                I can't see any problem with your config.g file. My guess is that only one of the Z motors has switched from x16 to x64 microstepping. Does it help if you re-send the M350 command again later in config.g?

                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
                • AlexLinundefined
                  AlexLin
                  last edited by

                  OK, I'll try that later this weekend

                  1 Reply Last reply Reply Quote 0
                  • AlexLinundefined
                    AlexLin
                    last edited by

                    TRied to put a M350 at the end of the config.g, but it doesn't help…......

                    [[language]]
                    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
                    ; executed by the firmware on start-up
                    ;
                    ; generated by RepRapFirmware Configuration Tool on Sat Feb 24 2018 12:46:55 GMT+0100 (Central Europe Standard Time)
                    
                    ; General preferences
                    G90                               ; Send absolute coordinates...
                    M83                               ; ...but relative extruder moves
                    M555 P1                           ; Set firmware compatibility to look like RepRapFirmare
                    
                    M667 S1                           ; Select CoreXY mode
                    M669 S1
                    ; Network
                    M550 PHEVO                        ; Set machine name
                    M551 Phevo                        ; Set password
                    M552 S1                           ; Enable network
                    M587 Sxxxxxxxxxxxxxxxxx ; Configure access point. You can delete this line once connected
                    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 forwards
                    M569 P3 S0                        ; Drive 3 goes forwards
                    M569 P4 S0			   ; Drive 4 goes forwards
                    M584 X0 Y1 Z2:4		          ;driver 0=x;1=y,2+4=z
                    M350 X64 Y64 Z64 E16 I1           ; Configure microstepping with interpolation
                    M92 X640 Y640 Z3200 E837            ; Set steps per mm
                    M566 X900 Y900 Z12 E120           ; Set maximum instantaneous speed changes (mm/min)
                    M203 X12000 Y12000 Z180 E1200       ; Set maximum speeds (mm/min)
                    M201 X800 Y800 Z250 E250           ; Set accelerations (mm/s^2)
                    M906 X1200 Y1200 Z1200 E1400 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 Z248.7 S0            ; Set axis maxima
                    
                    ; Endstops
                    M574 X1 Y1 S1                     ; Set active high endstops
                    M574 Z2 S1                        ; Max z endstop
                    
                    ; Z-Probe
                    M558 P1 H5 F120 T6000             ; Set Z probe type to unmodulated and the dive height + speeds
                    G31 P500 X30 Y2 Z1.6             ; Set Z probe trigger value, offset and trigger height
                    M557 X15:285 Y15:285 S50          ; Define mesh grid
                    M671 X-40:345 Y155:155 S2.0
                    
                    ; Heaters
                    M305 P0 T100000 B4075 C0 R4700    ; Set thermistor + ADC parameters for heater 0
                    M143 H0 S120                      ; Set temperature limit for heater 0 to 120C
                    M305 P1 T100000 B4725 C7.06e-8 R4700    ; Set thermistor + ADC parameters for heater 1
                    M143 H1 S280                      ; Set temperature limit for heater 1 to 280C
                    
                    ; Fans
                    M106 P0 S0.0 I0 F500 H-1          ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                    M106 P1 S1 I0 F500 H1 T45         ; 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                     ; Define tool 0
                    G10 P0 X0 Y0 Z0                   ; Set tool 0 axis offsets
                    G10 P0 R0 S0                      ; Set initial tool 0 active and standby temperatures to 0C
                    
                    M307 H2 A-1 C-1 D-1               ;disable heater 2 to be used to control LED strip
                    ; Automatic saving after power loss is not enabled
                    M911 S22.5 R23.5 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"
                    ; Custom settings are not configured
                    M350 X64 Y64 Z64 E16 I1           ; Configure microstepping with interpolation
                    ; Miscellaneous
                    M501                              ; Load saved parameters from non-volatile memory
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • AlexLinundefined
                      AlexLin
                      last edited by

                      It works fine in 1.20…should i define the other motor as U axis etc...?

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        In your M584 command you must define the new extruder drive assignments too. See the description of M584 on the GCodes wiki page.

                        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
                        • AlexLinundefined
                          AlexLin
                          last edited by

                          Sorry.. I responded in the other thread… Thank you

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