Duet xy moves inconistent after printing (Solved)
-
Edit: The z could not keep up with the moves of the x and y axis which caused the stutters. Increasing the accel and jerk on the z axis fixed this.
Hello,
My printer is having a strange behavior. When first booted, the printer moves smoothly. A few minutes after a print starts, it will start and stop when told to do long moves.
Here is my config file
; Configuration file for Duet 3 Mini 5+ (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Sun Dec 11 2022 23:18:54 GMT-0600 (Central Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Redacted" ; set printer name ; Network M551 P"NotActuallyMyPasscode" ; set password M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.2 S1 ; physical drive 0.1 goes forwards M569 P0.3 S0 ; physical drive 0.2 goes forwards M569 P0.4 S0 ; physical drive 0.3 goes forwards M584 X0.2 Y0.3 Z0.4 E0.0 ; set drive mapping M350 Z256 I0 ; configure microstepping without interpolation M350 X64 Y64 E128 I1 ; configure microstepping with interpolation M92 X320.00 Y320.00 Z40960.00 E792.29 ; set steps per mm M566 X900.00 Y900.00 Z60.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 X1200 Y1200 Z1200 E1200 I60 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X-20 Y0 Z0 S1 ; set axis minima M208 X195 Y210 Z200 S0 ; set axis maxima ; Endstops M574 X1 S3 ; configure sensorless endstop for low end on X M574 Y1 S3 ; configure sensorless endstop for high end on Y M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M558 P5 C"^io2.in" H10 F120 T6000 ; set Z probe type to switch and the dive height + speeds ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X-15.8 Y0 Z2.4 ; set Z probe trigger value, offset and trigger height M557 X15:175 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T422079 B7063 C3.160417e-7 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 R0.190 C751.1 D12.04 S1.00 V13.0 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp1" Y"pt1000" ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S500 ; set temperature limit for heater 1 to 500C ; Fans M950 F0 C"out5" Q500 ; create fan 0 on pin out5 and set its frequency M106 P0 S1 H1 T60 ; set fan 0 value. Thermostatic control is turned on M950 F1 C"out6" Q75 ; create fan 1 on pin out6 and set its frequency M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off ; Tools M563 P0 S"Main" D0 H1 F0:1 ; 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 ; Accelerometer M955 P0 C"io3.out+io3.in" ; define the accelerometer pins ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S11.5 R12.5 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss ; Custom settings M564 S0 H0 ;Allow jogging when not homed M302 S60 R60 ;Cold Extrusion Set to 60 c M929 S1 ;Start Logging M569 D3 P0.2 V10 ;StealthChop X M569 D3 P0.3 V10 ;StealthChop Y M569 D3 P0.4 V10 ;StealthChop Z M569 D3 P0.0 V10 ;StealthChop E
Any help is appreciated.
Thank you. -
I notice you're using some very high microstepping values. This may be causing hiccups.
After you experience these stutters, can you please send M122 in the gcode console and copy and paste the results here?
Do you use mesh compensation? (G29)
-
I have a print that will finish in a few minutes so I will run the command after that.
I am running bed mesh leveling.
-
This is pretty long.
My wifi is a bit lousy at the moment but I'll fix that later.M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.4.5 (2022-11-30 19:41:16) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: F308N-B196U-D65J0-40KM8-LH03Z-ZZP2K Used output buffers: 3 of 40 (22 max) === RTOS === Static ram: 103652 Dynamic ram: 113092 of which 0 recycled Never used RAM 21272, free system stack 118 words Tasks: NETWORK(notifyWait,3901.0%,199) ACCEL(notifyWait,0.0%,346) HEAT(notifyWait,28.6%,324) Move(notifyWait,541.2%,265) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,336) CanClock(delaying,13.5%,341) TMC(notifyWait,634.3%,106) MAIN(running,3180.7%,417) IDLE(ready,42.1%,30) AIN(delaying,802.9%,263), total 9144.1% Owned mutexes: === Platform === Last reset 15:55:29 ago, cause: software Last software reset at 2022-12-13 22:39, reason: User, GCodes spinning, available RAM 20732, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 MCU revision 3, ADC conversions started 57329657, completed 57329657, timed out 0, errs 0 Step timer max interval 1490 MCU temperature: min 31.4, current 43.9, max 46.9 Supply voltage: min 12.8, current 13.0, max 13.4, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/716/716, gc cycles 1 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, read errors 0, write errors 1, ifcnt 145, reads 2222, writes 29, timeouts 0, DMA errors 0, CC errors 0 Driver 1: standstill, SG min 0, read errors 0, write errors 1, ifcnt 39, reads 2242, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 84, reads 2206, writes 45, timeouts 0, DMA errors 0, CC errors 0 Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 74, reads 2206, writes 44, timeouts 0, DMA errors 0, CC errors 0 Driver 4: standstill, SG min 0, read errors 0, write errors 1, ifcnt 176, reads 2220, writes 31, timeouts 0, DMA errors 0, CC errors 0 Driver 5: not present Driver 6: not present Date/time: 2022-12-14 14:35:29 Cache data hit count 4294967295 Slowest loop: 212.10ms; fastest: 0.08ms === Storage === Free file entries: 8 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 7.8ms, write time 4.5ms, max retries 0 === Move === DMs created 83, segments created 35, maxWait 39325768ms, bed compensation in use: mesh, comp offset 0.000 === MainDDARing === Scheduled moves 174944, completed 174944, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 3], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 Heater 0 is on, I-accum = 0.4 Heater 1 is on, I-accum = 0.4 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === CAN === Messages queued 515965, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 286648/0/0 Tx timeouts 0,0,286647,0,0,229316 last cancelled message type 4514 dest 127 === Network === Slowest loop: 204.72ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 1 of 8 = WiFi = Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.27 WiFi MAC address f0:08:d1:02:e7:ad WiFi Vcc 3.33, reset reason Power up WiFi flash size 2097152, free heap 25112 WiFi IP address 192.168.1.17 WiFi signal strength -80dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0
-
@Phaedrux
It appears to be cause by the bed mesh leveling.Is the z axis not able to keep up with the x and y moves?
Edit: This was indeed the problem. Thanks for the help.
-
Yes you figured out the stutter with the Z jerk.
I would seriously consider sticking with x16 microstepping with interpolation enabled.
-
-