Erratic Z-Drive behavior after long print??



  • Hello, I recently finished a 48 hour print. All went well. I didn't think much of it and shut down the printer. Hours later, I turned on and started to look at some features that might be handy in the firmware. I didn't change much. I was going to start controlling my 2 Z-motors with independent drivers, but after thinking about it, I removed that line and went back to using 1 driver for both Z-motors. I never moved any motors, etc. while making this change. I then performed a mesh leveling routine and my Z-motors started acting strangely. They were almost stuttering and going in the wrong direction. Sometimes, they would start to move and sometimes they just stuttered badly moving in opposite directions. I've gone through my config.g file, but I can't find anything that would be affecting the Z motors.

    I'm running a custom Cartesian printer with the duet wifi board and 1.20 firmware.

    Thanks for any help. I'll try to post my config as well.

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P2 ; Set firmware compatibility to look like RepRapFirmare
    ; Automatic saving after power loss is not enabled
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X325 Y315 Z340 S0 ; Set axis maxima

    ; Autotune PID Parameters
    M307 H1 A413.4 C171.2 D5.9 B0

    ; Endstops
    M574 X1 Y1 S0 ; Set active Low endstops
    M574 Z1 S2 ; Set endstops controlled by probe
    ; M558 P1 H6 FNaN T6000 ; Set Z probe type to unmodulated and the dive height + speeds
    ; G31 P500 XNaN YNaN Z2.2 ; Set Z probe trigger value, offset and trigger height
    ; M557 X25:325 Y58:310 S40 ; Bed probe from X25 to 260 and Y20 to 185 in 40mm increments

    ; BL-Touch
    M307 H3 A-1 C-1 D-1 ; Reserve Pin for Heater 3 to be used with BLTouch Instead
    M558 P5 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type (P5 but P9 designed for BLTouch) and the dive height, Times to probe + probing speed and travel speed to probe location
    G31 X5.8 Y58 Z2.1 P25 ; Set Z Probe Trigger value and probe offsets from nozzle and trigger height z2.235

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards (X)
    M569 P1 S0 ; Drive 1 goes backwards (Y)
    M569 P2 S1 ; Drive 2 goes forwards (Z)
    M569 P3 S1 ; Drive 3 goes forwards (E)
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X199 Y199 Z399.6 E368 ; Set steps per mm (Good E was 199 199 399.4 368)
    M566 X400 Y350 Z12 E200 ; Set maximum instantaneous speed changes (mm/min)
    M203 X9000 Y7000 Z2000 E2000 ; Set maximum speeds (mm/min) Close Original (M203 X12000 Y12000 Z2000 E1500)
    M201 X1000 Y700 Z350 E2000 ; Set accelerations (mm/s^2) 1000,1000,250,2000
    M906 X600 Y1150 Z900 E650 I30 ; Set motor currents (mA) and motor idle factor in percent (X600 Y1150 Z900 E650 I30)
    M84 S30 ; Set idle timeout

    ; Retraction Settings
    M207 S1.0 F2400 T1200 ; set retraction length / speed (S1.5 F4500 Best So Far with 2mm wipe)
    ; Snnn positive length to retract, in mm
    ; Rnnn positive or negative additional length to un-retract, in mm (RepRapFirmware only)
    ; Fnnn retraction feedrate, in mm/min
    ; Tnnn feedrate for un-retraction if different from retraction, mm/min (RepRapFirmware 1.16 and later only)
    ; Znnn additional zlift/hop
    ; M208 S0.0 F500 ; set retraction recover length / speed
    M572 D0 S0.05 ; Pressure Advance (retraction/coasting)

    ; Heaters
    M140 H-1 ; Disable heated bed
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S290 ; Set temperature limit for heater 1 to 290C

    ; Tools
    M563 P0 D0 H1 F0 ; 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
    ; P - tool number
    ; X - X offset
    ; Y - Y offset
    ; S - active temperature
    ; R - standby temperature

    ; Network
    M550 PAMAX_Duet_Wifi ; Set machine name
    ; M551 P123456 ; Set password
    M552 S1 ; Enable network
    M587 S"" P"*" ; 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

    ; Fans
    M106 P0 S0 I0 F10 B0.1 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off (Part Fan)
    M106 P1 S1.0 I0 F10 H1 T35 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on 35deg (Heatsink Fan)
    M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Custom settings are not configured

    ; Miscellaneous
    T0 ; Select first tool



  • Well, after starting to troubleshoot by moving connections on the board, everything seems to have fixed itself. Probably a bad connection somewhere.


 

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