Hey all,
Been playing around with the start gcode for my Core One L to improve chamber heating times and thought I'd share it incase it helps anybody. So I noticed the c1L ignores the minimal temp set in the slicer and the bed fans only use 50% power. Also as I learnt with my other printer, using the hotend fan can also really help circulate air. I've gone from struggling to hit 45 degrees in an hour to 47 degrees in 20 minutes. Here's what I did:
Lines 13-18 before:
M140 S[first_layer_bed_temperature] ; set bed temp
{if chamber_minimal_temperature[initial_tool]!=0}
M106 P5 R A125 B10 C5 ;turn on bed fans with fade for chamber or bed (B)
{else}
M106 P5 R A125 B10 ;turn on bed fans with fade for bed
{endif}
Lines 13-18 after:
M140 S[first_layer_bed_temperature] ; set bed temp
{if chamber_minimal_temperature[initial_tool]!=0}
M140 S115 ; set bed temp to a higher temp for faster heating (A)
M106 P5 S217 ; Set bed fans to 85% (B)
{else}
M106 P5 R A125 B10 ;turn on bed fans with fade for bed
{endif}
(A) - Choose a temperature you want but I set my bed to 115 degrees to push a little more heat into the chamber, I use 105 for ASA so we'll lower it to that later.
(B) - From what I understand Prusa are setting the chamber fans to 50% with a fade for bed and chamber temps which will lower the fan speed based on their temps. I've replaced it with just cranking them up to 85% (Don't worry, we'll restore it back to default later).
Lines 28-43 before:
{if chamber_minimal_temperature[initial_tool]!=0}
; Min chamber temp section
M104 S170 ; set idle temp
G1 X292 Y-5 F4800 ; set print head position
M191 S{((chamber_temperature[initial_tool]>chamber_minimal_temperature[initial_tool]) ? chamber_temperature[initial_tool] : chamber_minimal_temperature[initial_tool])}
M141 S{chamber_temperature[initial_tool]} ; set nominal chamber temp
M104 S{((filament_notes[0]=~/.*MBL160.*/) ? 160 : (filament_notes[0]=~/.*HT_MBL10.*/) ? (first_layer_temperature[0] - 10) : (filament_type[0] == "PC" or filament_type[0] == "PA") ? (first_layer_temperature[0] - 25) : (filament_type[0] == "FLEX") ? 210 : 170)} ; set MBL temp
M106 P3 N25 G5
{else}
M141 S{chamber_temperature[initial_tool]} ; set nominal chamber temp
{if chamber_temperature[initial_tool]<30}
M106 P3 N76 G3
{else}
M106 P3 N51 G1
{endif}
{endif}
Lines 28-43 after:
{if chamber_minimal_temperature[initial_tool]!=0}
; Min chamber temp section
M104 S170 ; set idle temp
G1 Z30 F720 ;lower the bed a little more (A)
G1 X150 Y150 F4800 ; set print head in the centre of the bed (B)
M106 S255 ; Turn on the print fan to help circulate air (C)
{if chamber_minimal_temperature[initial_tool] > 1} ; Check there is a minimum chamber temp set
M191 S{chamber_minimal_temperature[initial_tool]} ; Wait for the minimal temperature
{else} ; Else use chamber temp
M191 S{chamber_temperature[initial_tool]} ; Wait for the chamber temperature
{endif} (D)
M141 S{chamber_temperature[initial_tool]} ; set nominal chamber temp
M190 R[first_layer_bed_temperature] ; Restore bed temp to first layer temp and wait for temp (E)
M106 S0 ; Turn off the print fan (F)
M106 P5 R A125 B10 C5 ;Restore original bed fan settings with fade (G)
M104 S{((filament_notes[0]=~/.*MBL160.*/) ? 160 : (filament_notes[0]=~/.*HT_MBL10.*/) ? (first_layer_temperature[0] - 10) : (filament_type[0] == "PC" or filament_type[0] == "PA") ? (first_layer_temperature[0] - 25) : (filament_type[0] == "FLEX") ? 210 : 170)} ; set MBL temp
M106 P3 N25 G5
{else}
M141 S{chamber_temperature[initial_tool]} ; set nominal chamber temp
{if chamber_temperature[initial_tool]<30}
M106 P3 N76 G3
{else}
M106 P3 N51 G1
{endif}
{endif}
(A) - Move the bed down a little more as I didn't want the heat to close to the toolhead.
(B) - Move the toolhead into the centre of the bed
(C) - Turn the print fan on at 100% speed
(D) - This is an interesting one. M191 sets and waits for chamber temp, M141 sets and doesn't wait. Prusa use chamber_temperature for both which is why myself and others have mentioned it ignores the minimal value (chamber_minimal_temperature). Here we check if it's greater than 1 or being used essentially then set it with M191. I'm using 47 degrees for minimal and 60 degrees for nominal. Normally at 47 degrees, by the time the print starts properly after probing etc. it's at 50 degrees. NOTE - It looks like since I modified this, Prusa have updated their gcode to indeed use the chamber_minimal_temperature so this can be ignored if using the updated version:
Updated version:
M191 S{((chamber_temperature[initial_tool]>chamber_minimal_temperature[initial_tool]) ? chamber_temperature[initial_tool] : chamber_minimal_temperature[initial_tool])}
Edit for the above code: Unless I'm reading this wrong, the above gcode is still preferring the nominal chamber temperature over the minimal chamber temperature and I'm not sure why they've done this. If you want the minimal chamber temp for the dwell then the variables need to be on opposite sides of the colon; although it will then ignore the nominal temp if you don't set a minimal value. I think it would be a lot cleaner to capture both in the if statement I used above.:
M191 S{((chamber_temperature[initial_tool]>chamber_minimal_temperature[initial_tool]) ? chamber_minimal_temperature[initial_tool] : chamber_temperature[initial_tool])}
(E) - Restore the bed temp to your first layer temp and wait.
(F) - Chamber temp is reached, turn off the print head fan.
(G) - Restore the bed fan settings to their original values with fade.
That's it, we're essentially just increasing airflow and temps until we reach our minimal temperature and then resetting everything back to the defaults. I'm by no means an expert but I am a software developer and I suppose I know enough to confidently mess around with the gcode. This also shouldn't affect any of the lower temp filaments but so far it's working really well.
Happy to answer any questions.