CRCinAU StevilKnevil

M306 - Model Predictive Temp. Control

2.0.9.4 thermal Set MPC values for a hotend. MPCTEMP

Description

Notes

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

Usage

M306 [A<value>] [C<value>] [E<index>] [F<value>] [H<value>] [P<value>] [R<value>] [S<0|1|2>] [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).

                [S<0|1|2>]
                2.1.3
                MPC_AUTOTUNE

                Tuning method (with parameter ‘T’). (Default: 0 = AUTO)

                • S0:

                  Auto Select

                • S1:

                  Differential

                • S2:

                  Asymptotic

                [T]
                MPC_AUTOTUNE

                Autotune the selected extruder. Use parameter ‘S’ to select the type of tuning to use.

                Examples

                Configure MPCTEMP for 40W hotend heater

                M306 P40

                Perform MPCTEMP Differential auto-tune - after setting heater element power

                M306 T S1