Skip to main content

Site Navigation

Your Account

Choose Language

Help

Revision to Tuning the heater temperature control

David Crocker

This mode is intended as a backup, for use if model-based tuning is not working well enough. The parameters are configured using the M301 command. Example:
 
[code]M301 H1 P10 I0.2 D50 T0.3 S1.0[/codeT0.3[/code]
[code]M301 H1 P10 I0.2 D50 T0.3 S1.0[/codeT0.3[/code]
 
The H parameter is the heater number. Usually, 0 is the bed heater, 1 is the extruder 0 heater, and so on.
 
P, I and D are the standard proportional. integral and differential coefficients, scaled by 255 for compatibility with older firmware. A negative P value means use bang-bang control. '''Important:''' firmware versions prior to 1.15 beta 7 had a bug that doubled the I and halved the D values requested before setting them, and conversely used to report half the actual I value and double the actual D value. Therefore, in your M301 commands you should use twice the I value and half the D value compared to earlier firmware versions.
P, I and D are the standard proportional. integral and differential coefficients, scaled by 255 for compatibility with older firmware. A negative P value means use bang-bang control. '''Important:''' firmware versions prior to 1.15 beta 7 had a bug that doubled the I and halved the D values requested before setting them, and conversely used to report half the actual I value and double the actual D value. Therefore, in your M301 commands you should use twice the I value and half the D value compared to earlier firmware versions.
 
T is the approximate additional PWM needed (scaled by 255 again) per additional 1C of temperature. This is equivalent to 255 divided by the gain parameter of the model.

S is an optional scaling factor used to scale the output of the PID, normally 1.0.

Previous
Previous firmwares also had BB, S, T and W parameters in the M301 command. These are no longer used.
T is the approximate additional PWM needed (scaled by 255 again) per additional 1C of temperature. This is equivalent to 255 divided by the gain parameter of the model.

S is an optional scaling factor used to scale the output of the PID, normally 1.0.

Previous
Previous firmwares also had BB, S, T and W parameters in the M301 command. These are no longer used.
 
== Temperature faults ==

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes