| m0306 |
Model predictive temperature control |
Set MPC values for a hotend. |
CRCinAU |
MPCTEMP |
thermal |
2.0.9.4 |
|
| Requires `MPCTEMP`. |
| View current values with [`M306`](/docs/gcode/M306.html) and no parameters. |
| If `EEPROM_SETTINGS` is enabled, all calibration values are saved with [`M500`](/docs/gcode/M500.html), loaded with [`M501`](/docs/gcode/M501.html), and reset with [`M502`](/docs/gcode/M502.html). |
| Heater Power (P) is related to the heater cartridge in the hotend. Most printers have 30 or 40 watt heaters. |
| `M306 T` will move your hotend to 1mm above the bed for optimal calibration. You should ensure your hotend and print bed are free from debris before running an auto-tune. |
| See [the Marlin MPC documentation](/docs/features/model_predictive_control.html) for more information about MPC parameters. |
|
| tag |
optional |
description |
values |
| A |
true |
Ambient heat transfer coefficient (no fan). |
|
|
| tag |
optional |
description |
values |
| C |
true |
Heatblock Capacity (joules/kelvin) |
|
|
| tag |
optional |
description |
values |
| E |
true |
Extruder index. If omitted, the command applies to the active extruder. |
|
|
| tag |
optional |
description |
values |
| F |
true |
Ambient heat transfer coefficient (fan on full). |
|
|
| tag |
optional |
description |
values |
| H |
true |
Filament Heat Capacity (joules/kelvin/mm) |
|
|
| tag |
optional |
description |
values |
| P |
true |
Heater power in watts |
|
|
| tag |
optional |
description |
values |
| R |
true |
Sensor responsiveness (= transfer coefficient / heat capacity). |
|
|
| tag |
optional |
description |
| T |
true |
Autotune the selected extruder. |
|
|
| pre |
code |
| Configure MPCTEMP for 40W hotend heater |
|
|
| pre |
code |
| Configure MPCTEMP for 70W hotend heater |
|
|
| pre |
code |
| Perform MPCTEMP auto-tune - after setting heater element power |
|
|
|