CRCinAU

M306 - Model predictive temperature control

2.0.9.4 thermal Set MPC values for a hotend. MPCTEMP

Description

Notes

Requires MPCTEMP.

View current values with M306 and no parameters.

If EEPROM_SETTINGS is enabled, all calibration values are saved with M500, loaded with M501, and reset with M502.

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 for more information about MPC parameters.

Usage

M306 [A<value>] [C<value>] [E<index>] [F<value>] [H<value>] [P<value>] [R<value>] [T]

Parameters

[A<value>]

Ambient heat transfer coefficient (no fan).

[C<value>]

Heatblock Capacity (joules/kelvin)

[E<index>]

Extruder index. If omitted, the command applies to the active extruder.

[F<value>]

Ambient heat transfer coefficient (fan on full).

[H<value>]

Filament Heat Capacity (joules/kelvin/mm)

[P<value>]

Heater power in watts

[R<value>]

Sensor responsiveness (= transfer coefficient / heat capacity).

[T]

Autotune the selected extruder.

Examples

Configure MPCTEMP for 40W hotend heater

M306 P40

Configure MPCTEMP for 70W hotend heater

M306 P70

Perform MPCTEMP auto-tune - after setting heater element power

M306 T