Update Bed PID comments
This commit is contained in:
		| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -408,23 +408,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 206 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 206 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -410,23 +410,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -406,23 +406,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| #define BED_LIMIT_SWITCHING | #define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -387,23 +387,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -400,23 +400,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -387,23 +387,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -400,23 +400,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -413,23 +413,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -403,23 +403,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -387,23 +387,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -387,23 +387,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -409,23 +409,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -409,23 +409,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -409,23 +409,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -403,23 +403,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -409,23 +409,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -419,23 +419,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -407,23 +407,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -398,23 +398,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -402,23 +402,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -418,23 +418,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -400,23 +400,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -436,23 +436,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -410,23 +410,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -423,23 +423,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -409,23 +409,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -391,23 +391,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -403,23 +403,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -412,23 +412,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| #define PIDTEMPBED | #define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -399,23 +399,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 175 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 175 // limits duty cycle to bed; 255=full current | ||||||
| // This limit is set to 175 by default in the Makibox configuration and it can be adjusted | // This limit is set to 175 by default in the Makibox configuration and it can be adjusted | ||||||
| // to increase the heatup rate. However, if changed, be aware of the safety concerns of | // to increase the heatup rate. However, if changed, be aware of the safety concerns of | ||||||
|   | |||||||
| @@ -400,23 +400,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -388,23 +388,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
| @@ -404,23 +404,30 @@ | |||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //============================= PID > Bed Temperature Control =============== | //============================= PID > Bed Temperature Control =============== | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis |  | ||||||
| // | /** | ||||||
| // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. |  * PID Bed Heating | ||||||
| // If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz, |  * | ||||||
| // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. |  * If this option is enabled set PID constants below. | ||||||
| // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. |  * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis. | ||||||
| // If your configuration is significantly different than this and you don't understand the issues involved, you probably |  * | ||||||
| // shouldn't use bed PID until someone else verifies your hardware works. |  * The PID frequency will be the same as the extruder PWM. | ||||||
| // If this is enabled, find your own PID constants below. |  * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz, | ||||||
|  |  * which is fine for driving a square wave into a resistive load and does not significantly | ||||||
|  |  * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W | ||||||
|  |  * heater. If your configuration is significantly different than this and you don't understand | ||||||
|  |  * the issues involved, don't use bed PID until someone else verifies that your hardware works. | ||||||
|  |  */ | ||||||
| //#define PIDTEMPBED | //#define PIDTEMPBED | ||||||
|  |  | ||||||
| //#define BED_LIMIT_SWITCHING | //#define BED_LIMIT_SWITCHING | ||||||
|  |  | ||||||
| // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. | /** | ||||||
| // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) |  * Max Bed Power | ||||||
| // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, |  * Applies to all forms of bed control (PID, bang-bang, and bang-bang with hysteresis). | ||||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) |  * When set to any value below 255, enables a form of PWM to the bed that acts like a divider | ||||||
|  |  * so don't use it unless you are OK with PWM on your bed. (See the comment on enabling PIDTEMPBED) | ||||||
|  |  */ | ||||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||||
|  |  | ||||||
| #if ENABLED(PIDTEMPBED) | #if ENABLED(PIDTEMPBED) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user