Linear Advance Calibration question
I'm trying to tune my MK3 as well as I can, and am working on Linear Advance calibration. I've used the Marlin K factor calibration pattern to determine the K factor. The problem is I'm not sure where to enter this number in the gcode. Here's what I have under Filament Settings/Custom G-code/Start G-code:
M900 K{if printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.6}0.12{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/}0.2{elsif nozzle_diameter[0]==0.6}0.05{else}0.12{endif} ; Filament gcode LA 1.5
{if printer_notes=~/.*PRINTER_MODEL_MINI.*/};{elsif printer_notes=~/.*PRINTER_HAS_BOWDEN.*/}M900 K200{elsif nozzle_diameter[0]==0.6}M900 K24{else}M900 K45{endif} ; Filament gcode LA 1.0
Where do I put the K factor I determined? Does the above G-code look right? I'm not sure why "PRINTER_MODEL_MINI" is in the gcode when I'm using an MK3.
Best Answer by karl-herbert:
@buckeyestargazer
You must of course enter the values you have determined, in your case the value 50 (for each filament separately) and put a semicolon in front of the Prusa original text (;).
Once you have generated the gcode by the slicer, you can check the value with a text editor. It should then say: M900 K50
Also check if the value in the gcode does not occur twice and is possibly overwritten.
For all editing work I would recommend the free notepad++.
RE: Linear Advance Calibration question
I'm trying to tune my MK3 as well as I can, and am working on Linear Advance calibration. I've used the Marlin K factor calibration pattern to determine the K factor. The problem is I'm not sure where to enter this number in the gcode. Here's what I have under Filament Settings/Custom G-code/Start G-code:
M900 K{if printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.6}0.12{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/}0.2{elsif nozzle_diameter[0]==0.6}0.05{else}0.12{endif} ; Filament gcode LA 1.5
{if printer_notes=~/.*PRINTER_MODEL_MINI.*/};{elsif printer_notes=~/.*PRINTER_HAS_BOWDEN.*/}M900 K200{elsif nozzle_diameter[0]==0.6}M900 K24{else}M900 K45{endif} ; Filament gcode LA 1.0Where do I put the K factor I determined? Does the above G-code look right? I'm not sure why "PRINTER_MODEL_MINI" is in the gcode when I'm using an MK3.
If you only work with MK3 it is sufficient to define the K value in the filament settings, in this case for LA1.0/1.5 directly without query (if) e.g. M900 Kxx.
Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.
RE: Linear Advance Calibration question
I'm trying to tune my MK3 as well as I can, and am working on Linear Advance calibration. I've used the Marlin K factor calibration pattern to determine the K factor. The problem is I'm not sure where to enter this number in the gcode. Here's what I have under Filament Settings/Custom G-code/Start G-code:
M900 K{if printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.6}0.12{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/}0.2{elsif nozzle_diameter[0]==0.6}0.05{else}0.12{endif} ; Filament gcode LA 1.5
{if printer_notes=~/.*PRINTER_MODEL_MINI.*/};{elsif printer_notes=~/.*PRINTER_HAS_BOWDEN.*/}M900 K200{elsif nozzle_diameter[0]==0.6}M900 K24{else}M900 K45{endif} ; Filament gcode LA 1.0Where do I put the K factor I determined? Does the above G-code look right? I'm not sure why "PRINTER_MODEL_MINI" is in the gcode when I'm using an MK3.
If you only work with MK3 it is sufficient to define the K value in the filament settings, in this case for LA1.0/1.5 directly without query (if) e.g. M900 Kxx.
Sorry, but I need the "for dummies" version of what you are saying. Should I just copy the gcode in your image and replace the K value with my calibrated value (50)?
RE: Linear Advance Calibration question
@buckeyestargazer
You must of course enter the values you have determined, in your case the value 50 (for each filament separately) and put a semicolon in front of the Prusa original text (;).
Once you have generated the gcode by the slicer, you can check the value with a text editor. It should then say: M900 K50
Also check if the value in the gcode does not occur twice and is possibly overwritten.
For all editing work I would recommend the free notepad++.
Statt zu klagen, dass wir nicht alles haben, was wir wollen, sollten wir lieber dankbar sein, dass wir nicht alles bekommen, was wir verdienen.