gcode_process.c: Add comment on units of P, I, and D parameters.
This commit is contained in:
parent
5b5c44b523
commit
b12157cb6f
|
|
@ -654,6 +654,7 @@ void process_gcode_command() {
|
||||||
case 130:
|
case 130:
|
||||||
//? --- M130: heater P factor ---
|
//? --- M130: heater P factor ---
|
||||||
//? Undocumented.
|
//? Undocumented.
|
||||||
|
// P factor in counts per degreeC of error
|
||||||
#ifdef HEATER_EXTRUDER
|
#ifdef HEATER_EXTRUDER
|
||||||
if ( ! next_target.seen_P)
|
if ( ! next_target.seen_P)
|
||||||
next_target.P = HEATER_EXTRUDER;
|
next_target.P = HEATER_EXTRUDER;
|
||||||
|
|
@ -666,6 +667,7 @@ void process_gcode_command() {
|
||||||
case 131:
|
case 131:
|
||||||
//? --- M131: heater I factor ---
|
//? --- M131: heater I factor ---
|
||||||
//? Undocumented.
|
//? Undocumented.
|
||||||
|
// I factor in counts per C*s of integrated error
|
||||||
#ifdef HEATER_EXTRUDER
|
#ifdef HEATER_EXTRUDER
|
||||||
if ( ! next_target.seen_P)
|
if ( ! next_target.seen_P)
|
||||||
next_target.P = HEATER_EXTRUDER;
|
next_target.P = HEATER_EXTRUDER;
|
||||||
|
|
@ -677,6 +679,7 @@ void process_gcode_command() {
|
||||||
case 132:
|
case 132:
|
||||||
//? --- M132: heater D factor ---
|
//? --- M132: heater D factor ---
|
||||||
//? Undocumented.
|
//? Undocumented.
|
||||||
|
// D factor in counts per degreesC/second
|
||||||
#ifdef HEATER_EXTRUDER
|
#ifdef HEATER_EXTRUDER
|
||||||
if ( ! next_target.seen_P)
|
if ( ! next_target.seen_P)
|
||||||
next_target.P = HEATER_EXTRUDER;
|
next_target.P = HEATER_EXTRUDER;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue