Merge branch 'Development' of https://github.com/MarlinFirmware/Marlin into Bulgarian
This commit is contained in:
		| @@ -236,44 +236,24 @@ Here are some standard links for getting your machine calibrated: | ||||
| #define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances. | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Thermal Runaway Protection ================== | ||||
| //======================== Thermal Runaway Protection ======================= | ||||
| //=========================================================================== | ||||
| /* | ||||
| This is a feature to protect your printer from burn up in flames if it has | ||||
| a thermistor coming off place (this happened to a friend of mine recently and | ||||
| motivated me writing this feature). | ||||
|  | ||||
| The issue: If a thermistor come off, it will read a lower temperature than actual. | ||||
| The system will turn the heater on forever, burning up the filament and anything | ||||
| else around. | ||||
|  | ||||
| After the temperature reaches the target for the first time, this feature will | ||||
| start measuring for how long the current temperature stays below the target | ||||
| minus _HYSTERESIS (set_temperature - THERMAL_RUNAWAY_PROTECTION_HYSTERESIS). | ||||
|  | ||||
| If it stays longer than _PERIOD, it means the thermistor temperature | ||||
| cannot catch up with the target, so something *may be* wrong. Then, to be on the | ||||
| safe side, the system will he halt. | ||||
|  | ||||
| Bear in mind the count down will just start AFTER the first time the | ||||
| thermistor temperature is over the target, so you will have no problem if | ||||
| your extruder heater takes 2 minutes to hit the target on heating. | ||||
|  | ||||
| */ | ||||
| // If you want to enable this feature for all your extruder heaters, | ||||
| // uncomment the 2 defines below: | ||||
|  | ||||
| // Parameters for all extruder heaters | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_PERIOD 40 //in seconds | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS 4 // in degree Celsius | ||||
|  | ||||
| // If you want to enable this feature for your bed heater, | ||||
| // uncomment the 2 defines below: | ||||
|  | ||||
| // Parameters for the bed heater | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 20 //in seconds | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 2 // in degree Celsius | ||||
| /** | ||||
|  * Thermal Runaway Protection protects your printer from damage and fire if a | ||||
|  * thermistor falls out or temperature sensors fail in any way. | ||||
|  * | ||||
|  * The issue: If a thermistor falls out or a temperature sensor fails, | ||||
|  * Marlin can no longer sense the actual temperature. Since a disconnected | ||||
|  * thermistor reads as a low temperature, the firmware will keep the heater on. | ||||
|  * | ||||
|  * The solution: Once the temperature reaches the target, start observing. | ||||
|  * If the temperature stays too far below the target (hysteresis) for too long, | ||||
|  * the firmware will halt as a safety precaution. | ||||
|  */ | ||||
|  | ||||
| #define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders | ||||
| #define THERMAL_PROTECTION_BED     // Enable thermal protection for the heated bed | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Mechanical Settings ========================= | ||||
| @@ -350,17 +330,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic | ||||
| #define Z_MAX_POS 235 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Filament Runout Sensor ====================== | ||||
| //========================= Filament Runout Sensor ========================== | ||||
| //=========================================================================== | ||||
| //#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament | ||||
|                                  // In RAMPS uses servo pin 2. Can be changed in pins file. For other boards pin definition should be made. | ||||
|                                  // It is assumed that when logic high = filament available | ||||
|                                  //                    when logic  low = filament ran out | ||||
| //const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned | ||||
| //#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined. | ||||
|  | ||||
| #ifdef FILAMENT_RUNOUT_SENSOR | ||||
|   const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned | ||||
|   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined. | ||||
|   #define FILAMENT_RUNOUT_SCRIPT "M600" | ||||
| #endif  | ||||
|    | ||||
| //=========================================================================== | ||||
| //============================ Manual Bed Leveling ========================== | ||||
| //=========================== Manual Bed Leveling =========================== | ||||
| //=========================================================================== | ||||
|  | ||||
| // #define MANUAL_BED_LEVELING  // Add display menu option for bed leveling | ||||
| @@ -381,7 +364,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic | ||||
| #endif  // MESH_BED_LEVELING | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Bed Auto Leveling =========================== | ||||
| //============================ Bed Auto Leveling ============================ | ||||
| //=========================================================================== | ||||
|  | ||||
| //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line) | ||||
|   | ||||
| @@ -236,44 +236,24 @@ Here are some standard links for getting your machine calibrated: | ||||
| #define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances. | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Thermal Runaway Protection ================== | ||||
| //======================== Thermal Runaway Protection ======================= | ||||
| //=========================================================================== | ||||
| /* | ||||
| This is a feature to protect your printer from burn up in flames if it has | ||||
| a thermistor coming off place (this happened to a friend of mine recently and | ||||
| motivated me writing this feature). | ||||
|  | ||||
| The issue: If a thermistor come off, it will read a lower temperature than actual. | ||||
| The system will turn the heater on forever, burning up the filament and anything | ||||
| else around. | ||||
|  | ||||
| After the temperature reaches the target for the first time, this feature will | ||||
| start measuring for how long the current temperature stays below the target | ||||
| minus _HYSTERESIS (set_temperature - THERMAL_RUNAWAY_PROTECTION_HYSTERESIS). | ||||
|  | ||||
| If it stays longer than _PERIOD, it means the thermistor temperature | ||||
| cannot catch up with the target, so something *may be* wrong. Then, to be on the | ||||
| safe side, the system will he halt. | ||||
|  | ||||
| Bear in mind the count down will just start AFTER the first time the | ||||
| thermistor temperature is over the target, so you will have no problem if | ||||
| your extruder heater takes 2 minutes to hit the target on heating. | ||||
|  | ||||
| */ | ||||
| // If you want to enable this feature for all your extruder heaters, | ||||
| // uncomment the 2 defines below: | ||||
|  | ||||
| // Parameters for all extruder heaters | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_PERIOD 40 //in seconds | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS 4 // in degree Celsius | ||||
|  | ||||
| // If you want to enable this feature for your bed heater, | ||||
| // uncomment the 2 defines below: | ||||
|  | ||||
| // Parameters for the bed heater | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 20 //in seconds | ||||
| //#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 2 // in degree Celsius | ||||
| /** | ||||
|  * Thermal Runaway Protection protects your printer from damage and fire if a | ||||
|  * thermistor falls out or temperature sensors fail in any way. | ||||
|  * | ||||
|  * The issue: If a thermistor falls out or a temperature sensor fails, | ||||
|  * Marlin can no longer sense the actual temperature. Since a disconnected | ||||
|  * thermistor reads as a low temperature, the firmware will keep the heater on. | ||||
|  * | ||||
|  * The solution: Once the temperature reaches the target, start observing. | ||||
|  * If the temperature stays too far below the target (hysteresis) for too long, | ||||
|  * the firmware will halt as a safety precaution. | ||||
|  */ | ||||
|  | ||||
| #define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders | ||||
| #define THERMAL_PROTECTION_BED     // Enable thermal protection for the heated bed | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Mechanical Settings ========================= | ||||
| @@ -350,17 +330,20 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic | ||||
| #define Z_MAX_POS 235 | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Filament Runout Sensor ====================== | ||||
| //========================= Filament Runout Sensor ========================== | ||||
| //=========================================================================== | ||||
| //#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament | ||||
|                                  // In RAMPS uses servo pin 2. Can be changed in pins file. For other boards pin definition should be made. | ||||
|                                  // It is assumed that when logic high = filament available | ||||
|                                  //                    when logic  low = filament ran out | ||||
| //const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned | ||||
| //#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined. | ||||
|  | ||||
| #ifdef FILAMENT_RUNOUT_SENSOR | ||||
|   const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned | ||||
|   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined. | ||||
|   #define FILAMENT_RUNOUT_SCRIPT "M600" | ||||
| #endif  | ||||
|    | ||||
| //=========================================================================== | ||||
| //============================ Manual Bed Leveling ========================== | ||||
| //=========================== Manual Bed Leveling =========================== | ||||
| //=========================================================================== | ||||
|  | ||||
| // #define MANUAL_BED_LEVELING  // Add display menu option for bed leveling | ||||
| @@ -377,7 +360,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic | ||||
| #endif  // MESH_BED_LEVELING | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Bed Auto Leveling =========================== | ||||
| //============================ Bed Auto Leveling ============================ | ||||
| //=========================================================================== | ||||
|  | ||||
| //#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line) | ||||
|   | ||||
| @@ -14,14 +14,38 @@ | ||||
| #endif | ||||
| #define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control | ||||
|  | ||||
| //// Heating sanity check: | ||||
| // This waits for the watch period in milliseconds whenever an M104 or M109 increases the target temperature | ||||
| // If the temperature has not increased at the end of that period, the target temperature is set to zero. | ||||
| // It can be reset with another M104/M109. This check is also only triggered if the target temperature and the current temperature | ||||
| //  differ by at least 2x WATCH_TEMP_INCREASE | ||||
| //#define WATCH_TEMP_PERIOD 40000 //40 seconds | ||||
| //#define WATCH_TEMP_INCREASE 10  //Heat up at least 10 degree in 20 seconds | ||||
| /** | ||||
|  * Thermal Protection parameters | ||||
|  */ | ||||
| #ifdef THERMAL_PROTECTION_HOTENDS | ||||
|   #define THERMAL_PROTECTION_PERIOD 40        // Seconds | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius | ||||
|  | ||||
|   /** | ||||
|    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the | ||||
|    * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE | ||||
|    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109, | ||||
|    * but only if the current temperature is far enough below the target for a reliable test. | ||||
|    */ | ||||
|   #define WATCH_TEMP_PERIOD 16                // Seconds | ||||
|   #define WATCH_TEMP_INCREASE 4               // Degrees Celsius | ||||
| #endif | ||||
|  | ||||
| #ifdef THERMAL_PROTECTION_BED | ||||
|   #define THERMAL_PROTECTION_BED_PERIOD 20    // Seconds | ||||
|   #define THERMAL_PROTECTION_BED_HYSTERESIS 2 // Degrees Celsius | ||||
| #endif | ||||
|  | ||||
| /** | ||||
|  * Automatic Temperature: | ||||
|  * The hotend target temperature is calculated by all the buffered lines of gcode. | ||||
|  * The maximum buffered steps/sec of the extruder motor is called "se". | ||||
|  * Start autotemp mode with M109 S<mintemp> B<maxtemp> F<factor> | ||||
|  * The target temperature is set to mintemp+factor*se[steps/sec] and is limited by | ||||
|  * mintemp and maxtemp. Turn this off by excuting M109 without F* | ||||
|  * Also, if the temperature is set to a value below mintemp, it will not be changed by autotemp. | ||||
|  * On an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode | ||||
|  */ | ||||
| #ifdef PIDTEMP | ||||
|   // this adds an experimental additional term to the heating power, proportional to the extrusion speed. | ||||
|   // if Kc is chosen well, the additional required power due to increased melting should be compensated. | ||||
| @@ -376,6 +400,15 @@ const unsigned int dropsegments=5; //everything with less than this number of st | ||||
| #define MAX_CMD_SIZE 96 | ||||
| #define BUFSIZE 4 | ||||
|  | ||||
| // Bad Serial-connections can miss a received command by sending an 'ok' | ||||
| // Therefore some clients abort after 30 seconds in a timeout. | ||||
| // Some other clients start sending commands while receiving a 'wait'. | ||||
| // This "wait" is only sent when the buffer is empty. 1 second is a good value here. | ||||
| //#define NO_TIMEOUTS 1000 // Milliseconds | ||||
|  | ||||
| // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. | ||||
| //#define ADVANCED_OK | ||||
|  | ||||
| // @section fwretract | ||||
|  | ||||
| // Firmware based and LCD controlled retract | ||||
|   | ||||
		Reference in New Issue
	
	Block a user