Duet crashes just after starting
-
@marcfischer thanks, that's consistent enough. I'm looking into it.
-
@dc42 That is one file that crashes right away (blue2). It seems from a certain point, because the first file (blue1) that this happend, it printed 1-2 minutes. It whas the same, only saved again in SS. I did look into the gcode, nothing unusual. And I thought maybe size, but on Saterday i printed a 66mb file. These to that giving the error are 33mb. And the small one that printed whas 7mb without issues. Only change from saterday file whas black filament to blue, so a different extrusion multiplier.
-
@marcfischer are you using any macros that use global variables?
-
@dc42 you mean like print_start and speed_printing/speed_probing? yes, those
-
@marcfischer please share those macros.
-
Print_start:
; Start a print V2.1661
;G29 S1
M220 S100 ; reset speed multiplier
M221 S100 ; reset extruder factor to 100%
M290 R0 S0 ; clear babystepping
G10 P0 S235 ; set temperatureM83 ; set extruder to relative mode
G21 ; set units to mmT0 ; select tool 0
G32 ; level the gantry while everything is hot
G29 S1 ; Load previously probed bed mesh (optional, use only if you know your bed is warped)
;M98 P"/macros/print_scripts/goto_bed_center.g"
G28 Z ; Final z height adjustG1 X10 Y30 Z1 F5000 ; move z up little to prevent scratching of surface
G92 E0 ; reset extruder
G1 X10 Y30 Z0.2 F5000.0 ; move to start-line position
G1 X10 Y200.0 Z0.2 F1500.0 E15 ; draw 1st line
G1 E-0.05 F3600 ; quick retract
G1 Z5 ; go away from bed because of temperature
G92 E0 ; reset extruder
G21 ; set units to millimeters
G90 ; use absolute coordinates
M83 ; use relative distances for extrusionsetup_printing:
; called to set up current, speed & accel for printing moves
M566 X500 Y500 Z60 E8000 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000 Y18000 Z3000 E15000 ; Set maximum speeds (mm/min)
M201 X2000 Y2000 Z250 E2000 ; Set maximum accelerations (mm/s^2)
M204 P1200 T2000 ; Set printing acceleration and travel accelerations
M913 X100 Y100 Z100 ; restore current to 100%setup_probing:
M566 X900 Y900 Z20 E3600 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000 Y18000 Z3000 E5000 ; Set maximum speeds (mm/min)
M201 X2000 Y2000 Z100 E800 ; Set maximum accelerations (mm/s^2)
M913 X60 Y60 Z40 ; Set reduced current for probing/homing to reduce damageFirst file (Blue1) does probing, starts printing and resets after 1-2 minutes (tested twice, stopped at the same place)
Second file (Blue2) resets right away after i start it. -
@marcfischer are you using a daemon.g file?
-
g-code blue 1:
M486 T32
; plater:{"center":[174.804136,148.969664,0.000000],"boundingbox_center":[174.804136,148.969664,9.000084],"boundingbox_size":[205.643462,186.200349,18.000168]}M140 S100 ; set bed temperature
G10 P0 R235 ; sets the standby temperature
;TYPE:Custom
M98 P"/macros/print_scripts/print_start.g"
G21 ; set units to millimeters
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
G10 P0 S235 ; set temperature
M116 ; wait for temperature to be reached
M190 S100 ; set bed temperature and wait for it to be reached
;LAYER_CHANGE
;Z:0.2
;HEIGHT:0.2
; 0.2mm layer, 8 bands 5mm each, total height 40mm
;
G1 Z0.200000 F18000
;AFTER_LAYER_CHANGE
;0.2
G1 E-0.60000 F3000
G1 Z0.800000 F18000
G1 X64.613 Y50.951
G1 Z0.200000
G1 E0.60000 F1800
;TYPE:Skirt
;WIDTH:0.44
G1 F1200G-code blue 2:
M486 T32
; plater:{"center":[174.804136,148.969664,0.000000],"boundingbox_center":[174.804136,148.969664,9.000084],"boundingbox_size":[205.643462,186.200349,18.000168]}M140 S100 ; set bed temperature
G10 P0 R235 ; sets the standby temperature
;TYPE:Custom
M98 P"/macros/print_scripts/print_start.g"
G21 ; set units to millimeters
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
G10 P0 S235 ; set temperature
M116 ; wait for temperature to be reached
M190 S100 ; set bed temperature and wait for it to be reached
;LAYER_CHANGE
;Z:0.2
;HEIGHT:0.2
; 0.2mm layer, 8 bands 5mm each, total height 40mm
;
G1 Z0.200000 F18000
;AFTER_LAYER_CHANGE
;0.2
G1 E-0.60000 F3000
G1 Z0.800000 F18000
G1 X64.613 Y50.951
G1 Z0.200000
G1 E0.60000 F1800
;TYPE:Skirt
;WIDTH:0.44
G1 F1200etc
-
@marcfischer thanks. There is a known issue with M486 in RRF 3.3 when the number of objects on the build plate is >20. This is fixed in RRF 3.4beta1. We will probably do a 3.3.1 release with this and a few other fixes.
-
-
@dc42 said in Duet crashes just after starting:
@marcfischer thanks. There is a known issue with M486 in RRF 3.3 when the number of objects on the build plate is >20. This is fixed in RRF 3.4beta1. We will probably do a 3.3.1 release with this and a few other fixes.
A, ok! That's why the big saturday print prints without problems, 12h..... only 16 parts.
-
@marcfischer a workaround is to tell your slicer not to generate M486 labels, if you can. RRF doesn't need them if the file includes object labels as comments. Or you could post-process all the M486 lines into comments.
-
Ok, thanks. Weird thing is, they just showed up. But fount it in SuperSlicer:
Print Settings > Output options > Output File > Label Objects. When off, it doesn't make the M486 anymore.
Thnx for all help!