Does firmware 1.19 handle extruder rate limiting any differently?
-
; Configuration file for Mini Kossel kit from Think3DPrint3D for testing Duet WiFi ; Communication and general M111 S0 ; Debug off M550 PKossel Mini ; Machine name and Netbios name (can be anything you like) M551 Preprap ; Machine password (used for FTP) ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address ;*** Wifi Networking M552 S1 ; Enable WiFi M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Axis and motor configuration M569 P0 S1 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M574 X2 Y2 Z2 P1 ; set endstop configuration (all endstops at high end, active high) ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration M665 R104.077 L211.69 B85 H235.4 ; set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them M350 X16 Y16 Z16 E16 I1 ; Set 16x microstepping with interpolation M92 X80 Y80 Z80 ; Set axis steps/mm M906 X1000 Y1000 Z1000 E1000 ; Set motor currents (mA) M201 X3000 Y3000 Z3000 E3000 ; Accelerations (mm/s^2) M203 X20000 Y20000 Z20000 E1800 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute ; Thermistors M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction ;M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds ; Fans M106 P1 T45 H1 ; thermostatically control hotend fan ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a single-nozzle build, comment the next 2 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures M92 E643 ; Set extruder steps per mm ; Z probe and compensation definition ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command ;M558 P1 X0 Y0 Z0 ; Z probe is an IR probe and is not used for homing any axes M558 P0 ;G31 X0 Y0 Z4.80 P500 ; Set the zprobe height and threshold (put your own values here) ;*** If you are using axis compensation, put the figures in the following command M556 S78 X0 Y0 Z0 ; Axis compensation here M208 S1 Z-0.2 ; set minimum Z ; T0 ; select first hot end
-
You are using x16 microstepping, same as I was the first time I did the print. I tried again with x128 to make sure the G1 move didn't get discarded, but again it printed without a problem.
I have pressure advance enabled, so I'll try reverting to x16 and turning off pressure advance.
-
OK, thanks for trying. You only need print up to the 13th layer, it should misbehave by then.
-
I tried it without pressure advance - still no problem.
Can you isolate a short section of gcode that exhibits the issue when run by itself?
-
I think I may have something…
Here's some gcode from the region where the stepper is noisier that normal:
G0 F18000 X2.749 Y8.39 G1 F2250 X2.747 Y8.39 E0.00008 G1 F1800 E-5
And here's the debug output:
DDA: start=[6.274000 9.103000 2.650000] end=[2.749000 8.390000 2.650000] d=3.596386 vec=[-0.980151 -0.198254 0.000000 0.000000 0.000000] a=1000.000000 reqv=300.000031 topv=61.352169 startv=8.162012 endv=16.394712 daccel=1.848735 ddecel=1.747651 cks=92013 DMX: dir=F steps=168 next=1 rev=169 interval=2111 sstcda=7651 acmadtcdts=21615 tstcdapdsc=107382 2dtstc2diva=6557935337 hmz0sK=7302429 minusAaPlusBbTimesKs=4366961 dSquaredMinusAsquaredMinusBsquared=53317988253696 2c2mmsdak=42915 asdsk=75724 dsdsk=75724 mmstcdts=195592 DMY: dir=B steps=112 next=1 rev=113 interval=3139 sstcda=7651 acmadtcdts=21615 tstcdapdsc=107382 2dtstc2diva=6557935337 hmz0sK=7556800 minusAaPlusBbTimesKs=-2870198 dSquaredMinusAsquaredMinusBsquared=57112973541376 2c2mmsdak=42915 asdsk=75724 dsdsk=75724 mmstcdts=195592 DMZ: dir=B steps=22 next=1 rev=23 interval=11934 sstcda=7651 acmadtcdts=21615 tstcdapdsc=107382 2dtstc2diva=6557935337 hmz0sK=7744420 minusAaPlusBbTimesKs=-519354 dSquaredMinusAsquaredMinusBsquared=59983966240768 2c2mmsdak=42915 asdsk=75724 dsdsk=75724 mmstcdts=195592 Transformed 3.05 3.05 2.65 to 14766 15005 15092 DDA: start=[2.749000 8.390000 2.650000] end=[2.747000 8.390000 2.650000] d=0.002000 vec=[-1.000000 0.000000 0.000000 -2499.883057 0.000000] a=1.200056 reqv=0.500000 topv=0.049408 startv=0.006400 endv=0.006400 daccel=0.001000 ddecel=0.001000 cks=67196 DM0: dir=B steps=3215 next=1 rev=3216 interval=90 sstcda=5000 acmadtcdts=14623 tstcdapdsc=72196 2dtstc2diva=2954649380 accelStopStep=1608 decelStartStep=1608 2CsqtMmPerStepDivA=911254 mmPerStepTimesCdivtopSpeed=12087 fmsdmtstdca2=0
If i'm interpreting this correctly (a big assumption!) it looks like the small extrude and the following retract have somehow become combined because the DDA line shows a distance of 0.002 (rather than 5.000 which it shows for other retract/primes) and low velocities but then the DM0 line shows 5mm worth of steps. Is that right?
-
Looks like the first G1 command has been thrown away because it results in zero steps on all motors. Then the G1 E-5 line has been processed, but because there is some XY movement left over, the feed rate in that command has been applied to the XY movement instead of the E movement. This will cause the E speed to be the maximum you allow in the M203 command. If that is higher than the extruder drive is capable of, that could explain the behaviour you are seeing.
I will investigate this and implement a firmware fix if my diagnosis is correct, but there isn't time to do this before the 1.19.1 release. Your workaround is to set the E speed to an achievable value in M203, for example 1800.
Edit: according to your config.g it already is, so there must be something else going on.
-
OK, thanks. My workaround is currently not allowing the slicer to emit any extrudes less than 5um long. That appears to stop the problem occurring.
-
I'm going to try to put a fix in 1.18.1, if you will be able to run another test today. Which Duet do you have?
-
Sorry, I've only just seen the above question, I have a Wifi Duet. Please post the link to the test. Thanks.
-