Problems with Z axis in 1.21



  • Hi
    Just upgraded to 1.21….....I changed my homex.g to this
    ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Feb 24 2018 12:46:55 GMT+0100 (Central Europe Standard Time)
    G91 ; relative positioning
    G1 Z5 S2 F6000 ; lift Z relative to current position
    G1 S1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X5 F6000 ; go back a few mm
    G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
    G1 Z-5 S2 F6000 ; lower Z again
    G90 ; absolute positioning
    so I added the S2 to the Z movement. I have to independend z motors , 1 on Z and 1 on extruder2. This worked fine until the upgrade. But now the move out of sync and erratic
    http://aletronix.com/anycubic/20180328_191143.mp4 sorry it seems the video tag don't work, please copy and paste
    how can I fix this? what changes in the firmware am I not aware of?

    And is there a way to downgrade? I hve tried the old DuetWiFiFirmware.bin but I get an error messahe that it expects the combined bin



  • Does it behave like that when you try and move the Z axis all the time, or only when you try and home x?

    Can you post your motor config from config.g?



  • 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....


  • administrators

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





  • [[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
    
    


  • 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


  • administrators

    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?



  • OK, I'll try that later this weekend



  • 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
    
    


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


  • administrators

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



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


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.