Skip to content

Commit 9758f5e

Browse files
committed
📝 Informative PID comments
1 parent 2f7d88d commit 9758f5e

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

Marlin/Configuration.h

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,9 @@
696696
#define PID_K1 0.95 // Smoothing factor within any PID loop
697697

698698
#if ENABLED(PIDTEMP)
699-
//#define MIN_POWER 0
700-
//#define PID_DEBUG // Print PID debug data to the serial port. Use 'M303 D' to toggle activation.
699+
//#define MIN_POWER 0 // Min power to improve PID stability (0..PID_MAX).
700+
// Get the power from the temperature report ('M105' => @:nnn) and try P*2-20 to P*2-10.
701+
//#define PID_DEBUG // Print PID debug data to the serial port. Use 'M303 D' to enable/disable.
701702
//#define PID_PARAMS_PER_HOTEND // Use separate PID parameters for each extruder (useful for mismatched extruders)
702703
// Set/get with G-code: M301 E[extruder number, 0-2]
703704

@@ -796,8 +797,9 @@
796797
//#define PIDTEMPBED
797798

798799
#if ENABLED(PIDTEMPBED)
799-
//#define MIN_BED_POWER 0
800-
//#define PID_BED_DEBUG // Print Bed PID debug data to the serial port.
800+
//#define MIN_BED_POWER 0 // Min power to improve PID stability (0..MAX_BED_POWER).
801+
// Get the power from the temperature report ('M105' => B@:nnn) and try P*2-20 to P*2-10.
802+
//#define PID_BED_DEBUG // Print Bed PID debug data to the serial port. Use 'M303 D' to enable/disable.
801803

802804
// 120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
803805
// from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
@@ -878,12 +880,12 @@
878880
#define MAX_CHAMBER_POWER 255 // limits duty cycle to chamber heater; 255=full current
879881

880882
#if ENABLED(PIDTEMPCHAMBER)
881-
#define MIN_CHAMBER_POWER 0
882-
//#define PID_CHAMBER_DEBUG // Print Chamber PID debug data to the serial port.
883+
#define MIN_CHAMBER_POWER 0 // Min power to improve PID stability. (0..MAX_CHAMBER_POWER)
884+
// Get the power from the temperature report ('M105' => C@:nnn) and try P*2-20 to P*2-10.
885+
//#define PID_CHAMBER_DEBUG // Print Chamber PID debug data to the serial port. Use 'M303 D' to enable/disable.
883886

884887
// Lasko "MyHeat Personal Heater" (200w) modified with a Fotek SSR-10DA to control only the heating element
885888
// and placed inside the small Creality printer enclosure tent.
886-
//
887889
#define DEFAULT_chamberKp 37.04
888890
#define DEFAULT_chamberKi 1.40
889891
#define DEFAULT_chamberKd 655.17

Marlin/Configuration_adv.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,20 +1342,20 @@
13421342
//#define CALIBRATION_SCRIPT_PRE "M117 Starting Auto-Calibration\nT0\nG28\nG12\nM117 Calibrating..."
13431343
//#define CALIBRATION_SCRIPT_POST "M500\nM117 Calibration data saved"
13441344

1345-
#define CALIBRATION_FEEDRATE_SLOW 60 // mm/min
1346-
#define CALIBRATION_FEEDRATE_FAST 1200 // mm/min
1347-
#define CALIBRATION_FEEDRATE_TRAVEL 3000 // mm/min
1345+
#define CALIBRATION_FEEDRATE_SLOW 60 // (mm/min)
1346+
#define CALIBRATION_FEEDRATE_FAST 1200 // (mm/min)
1347+
#define CALIBRATION_FEEDRATE_TRAVEL 3000 // (mm/min)
13481348

13491349
// The following parameters refer to the conical section of the nozzle tip.
1350-
#define CALIBRATION_NOZZLE_TIP_HEIGHT 1.0 // mm
1351-
#define CALIBRATION_NOZZLE_OUTER_DIAMETER 2.0 // mm
1350+
#define CALIBRATION_NOZZLE_TIP_HEIGHT 1.0 // (mm)
1351+
#define CALIBRATION_NOZZLE_OUTER_DIAMETER 2.0 // (mm)
13521352

13531353
// Uncomment to enable reporting (required for "G425 V", but consumes flash).
13541354
//#define CALIBRATION_REPORTING
13551355

13561356
// The true location and dimension the cube/bolt/washer on the bed.
1357-
#define CALIBRATION_OBJECT_CENTER { 264.0, -22.0, -2.0 } // mm
1358-
#define CALIBRATION_OBJECT_DIMENSIONS { 10.0, 10.0, 10.0 } // mm
1357+
#define CALIBRATION_OBJECT_CENTER { 264.0, -22.0, -2.0 } // (mm)
1358+
#define CALIBRATION_OBJECT_DIMENSIONS { 10.0, 10.0, 10.0 } // (mm)
13591359

13601360
// Comment out any sides which are unreachable by the probe. For best
13611361
// auto-calibration results, all sides must be reachable.

0 commit comments

Comments
 (0)