flexi-bot/docs/marlin/_gcode/M301.md
2023-09-05 20:38:49 +02:00

1.5 KiB

tag title brief author requires group codes notes parameters examples
m0301 Set Hotend PID Set PID values for a hotend. thinkyhead PIDTEMP thermal
M301
Requires `PIDTEMP`.
View current PID values with [`M503`](/docs/gcode/M503.html).
If `EEPROM_SETTINGS` is enabled, all hotend PID values are saved with [`M500`](/docs/gcode/M500.html), loaded with [`M501`](/docs/gcode/M501.html), and reset with [`M502`](/docs/gcode/M502.html).
tag optional description values
E true Extruder index to set. Default 0.
tag type
index int
tag optional description values
P true Proportional value
tag type
value float
tag optional description values
I true Integral value
tag type
value float
tag optional description values
D true Derivative value
tag type
value float
tag optional description values
C true C term (requires `PID_EXTRUSION_SCALING`)
tag type
value float
tag optional description values
L true Extrusion scaling queue length (requires `PID_EXTRUSION_SCALING`)
tag type
value float
tag optional description values
F true F term (requires `PID_FAN_SCALING`)
tag type
value float

Set the values that control the PID loop for a hotend.