"Lost" retract.
-
After a break in printing, I found that the retract stopped working in the files generated by the slicers (during the retract, the short sound of a stalling motor). But if I generate the g-code from the site teachingtechyt.github.io, everything works fine.
My CONFIG.G:
; Configuration file for Duet WiFi (firmware version 1.21) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Mon Aug 06 2018 00:13:45 GMT+0100 (IST) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration. M665 R105.6 L288 B105 H250 ; 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 ; Network M550 PMy printer ; Set machine name M552 S1 ; Enable network ;*** Access point is configured manually via M587 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 M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X80 Y80 Z80 E2727 ; Set steps per mm M566 X370 Y370 Z1200 E40 ; Set maximum instantaneous speed changes (mm/min)(Jerk) M203 X12000 Y12000 Z12000 E1200 ; Set maximum speeds (mm/min) M201 X3000 Y3000 Z1000 E120 ; Set accelerations (mm/s^2) M204 P4000 T2000 ; Set accelerations for print and travel moves (mm/s^2) M906 X1000 Y1000 Z1000 E500 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 Z0 S1 ; Set minimum Z ; Endstops M574 X2 Y2 Z2 S1 ; Set active high endstops ; Z-Probe M558 P5 R0.4 H2 F1200 T6000 ; Set Z probe type to effector and the dive height + speeds G31 P100 X0 Y0 Z-0.1 ; Set Z probe trigger value, offset and trigger height M557 R90 S20 ; Define mesh grid ; Heaters M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit M305 P0 T100000 B4138 C0 R4700 ; *Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; *Set temperature limit for heater 0 to 120C M305 P1 B4725 C7.060000e-8 ; *Set thermistor + ADC parameters for heater 1 M143 H1 S280 ; *Set temperature limit for heater 1 to 280C ; Fans M106 P0 S0 I0 F25000 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 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F2 ; Define tool 0 + DEFAULT Fan0 ->forwarded to-> Fan2!!! G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ; Automatic saving after power loss is not enabled ; Custom settings are not configured ; Miscellaneous T0 ; Select first tool M501 ; new commands override the ones earlier in your config.g
G-code from teachingtechyt.github.io:
G-code from PrusaSlicer:
Tell me please, what should I do to make the retract work in the slicer?
-
It looks like Mask_hook.gcode is setting pressure advance, so that may explain the difference in sound as the extruder is already reversing before the retraction occurs.
-
It seems I understand what's going on.
I have a remote extruder installed with a recommended acceleration value of 120. If this value is lowered a little, the retract starts working correctly. I also noticed that this happened when the retraction speed was above 30mm/s.
The only thing I still don’t understand is why everything was without problems during the calibration tests?...