How do I modify the bed leveling calibration function to use a different extruder temp?
 
Notifications
Clear all

How do I modify the bed leveling calibration function to use a different extruder temp?  

  RSS
Ljfaraci
(@ljfaraci)
Member
How do I modify the bed leveling calibration function to use a different extruder temp?

Just upgraded MK3S+ to MK3.5.

Gcode generated by Prusaslicer Version 2.7.4 for Generic PLA

M104 S215 ; set extruder temp

M140 S60 ; set bed temp

M190 S60 ; wait for bed temp

M109 S215 ; wait for extruder temp

When executing the PLA print, prior to starting the 49 point bed leveling calibration, print execution pauses until the extruder temp reaches 215C as expected. Then the extruder temp drops to 170C and then the bed leveling calibration is executed. Once the calibration is finished, the extruder temp rises to the 215C temp as defined by the print gcode, and actual printing starts.

How do I modify the bed leveling calibration function to use a different extruder temp so I can reduce the pauses between temp changes?

 

Posted : 04/05/2024 5:25 pm
Eef
 Eef
(@eef)
Reputable Member
RE: How do I modify the bed leveling calibration function to use a different extruder temp?

This is part of the start code I use: (downloaded it and changed some parts myself), Maybe helpfull. 

You will see a series of M190 S?? settings. I use this to avoid the MINTEMP error when it is cold. 
It divides the warmup to 30 degrees in small steps. 
The nozzle is placed close to the heatbed, so the PINDA warms up before leveling. 
Then it does AUTOHOME and waits for the temps of bed and nozzle. 
Lays a nice fat layer outside the printarea, small wipe and starts printing. 

; Set initial warmup temps

M117 Nozzle preheat

M104 S160 ; set extruder no-ooze temp

M190 S13

M190 S15

M190 S17

M190 S19

M190 S21

M190 S23

M190 S25

M190 S27

M190 S29

M140 S{if printer_model=~/.*MK25S.*/}[first_layer_bed_temperature]{else}{max(first_layer_bed_temperature[0],65)}{endif} ; set bed PINDA warmup temp

; Nozzle warmup before home to avoid driving hardened ooze into PEI surface

M109 S160 ; wait for extruder no-ooze warmup temp before mesh bed leveling, cool hot PINDA

; Home

M300 S40 P10 ; chirp

M117 Homing

G28 W ; home all without mesh bed level

; Present bed for final cleaning

G0 Z3; Raise nozzle before move

G0 X125 Y180 F10200; Move nozzle to PINDA warming position

G0 Z0.15 F10200; Lower nozzle to PINDA warming position

; Wait for PINDA warmup

M117 PINDA warmup

{if printer_model=~/.*MK25S.*/}

M117 Mk25S detected, no warmup required

{else}

M117 Mk3 Waiting for PINDA warmup

M860 S35 ; wait for PINDA temp to stabilize

{endif}

M140 S[first_layer_bed_temperature] ; set bed final temp

M104 S[first_layer_temperature] ; set extruder final temp

G0 Z3; Raise nozzle before move

; Mesh bed leveling

M300 S40 P10 ; chirp

M117 Mesh bed leveling

G80 ; mesh bed leveling

M117 Saving results

G81 ; save mesh leveling results

; Final warmup routine

M117 Final warmup

G0 Z5; Raise nozzle to avoid denting bed while nozzle heats

M140 S[first_layer_bed_temperature] ; set bed final temp

M104 S[first_layer_temperature] ; set extruder final temp

M109 S[first_layer_temperature] ; wait for extruder final temp

M190 S[first_layer_bed_temperature] ; wait for bed final temp

; Prime line routine

M300 S40 P10 ; chirp

M117 Printing prime line

G0 Z0.15 ; Restore nozzle position - (thanks tim.m30)

M900 K0; Disable Linear Advance for prime line

G92 E0.0 ; reset extrusion distance

G1 Y-2.5 F1000.0 ; go outside print area

G1 E2 F1000 ; de-retract and push ooze

G1 X20.0 E6 F1000.0 ; fat 20mm intro line @ 0.30

G1 X60.0 E3.2 F1000.0 ; thin +40mm intro line @ 0.08

G1 X100.0 E6 F1000.0 ; fat +40mm intro line @ 0.15

G1 E-0.8 F3000; retract to avoid stringing

G1 X99.5 E0 F1000.0 ; -0.5mm wipe action to avoid string

G1 X110.0 E0 F1000.0 ; +10mm intro line @ 0.00

G1 E0.6 F1500; de-retract

G92 E0.0 ; reset extrusion distance

; Final print adjustments

M300 S40 P10 ; chirp

M117 Preparing to print

; Adjust extrusion rate if desired

; M221 S{if layer_height >= 0.32}90{else}100{endif} ; compensate for thick layer heights

M117 Print in progress

We will do what we have always done. We will find hope in the impossible.

Posted : 05/05/2024 9:04 pm
Neophyl
(@neophyl)
Illustrious Member
RE: How do I modify the bed leveling calibration function to use a different extruder temp?

 

Eef the trouble is if the OP has a pinda without the thermistor, ie one of the 'new' super pinda's then the M860 from your start gcode should not be used.  Anyone with the older pinda can use it (as I do myself).

To the OP, as the desired no ooze extruder temp might be different for different filaments you can use something structured like the following 

M104 S{first_layer_temperature[0]-50} ; set extruder no ooze temp to filament -50

or if you want to wait for the temp to stabilise the following

M109 S{first_layer_temperature[0]-50} ; set extruder no ooze temp to filament -50, wait for extruder no-ooze warmup temp before mesh bed leveling, cool hot PINDA

Of course you can change the -50 offset to whatever you want.

Posted : 05/05/2024 9:48 pm
Eef
 Eef
(@eef)
Reputable Member
RE: How do I modify the bed leveling calibration function to use a different extruder temp?

 

Posted by: @neophyl

 

M104 S{first_layer_temperature[0]-50} ; set extruder no ooze temp to filament -50

or if you want to wait for the temp to stabilise the following

M109 S{first_layer_temperature[0]-50} ; set extruder no ooze temp to filament -50, wait for extruder no-ooze warmup temp before mesh bed leveling, cool hot PINDA

Of course you can change the -50 offset to whatever you want.

Thanks for this suggestion. I will integrate this in my startup-script. 

Posted by: @ljfaraci

How do I modify the bed leveling calibration function to use a different extruder temp so I can reduce the pauses between temp changes?

Could you post your startup script. So we can read if there is a command somewhere what forces the printer to wait for the 170.

We will do what we have always done. We will find hope in the impossible.

Posted : 06/05/2024 4:07 am
Share: