|
459 | 459 | #define PID_FAN_SCALING_LIN_FACTOR (PID_FAN_SCALING_AT_FULL_SPEED-DEFAULT_Kf)/255.0
|
460 | 460 |
|
461 | 461 | #else
|
462 |
| - #define PID_FAN_SCALING_LIN_FACTOR (0) // Power loss due to cooling = Kf * (fan_speed) |
| 462 | + #define PID_FAN_SCALING_LIN_FACTOR (0) // Power-loss due to cooling = Kf * (fan_speed) |
463 | 463 | #define DEFAULT_Kf 10 // A constant value added to the PID-tuner
|
464 | 464 | #define PID_FAN_SCALING_MIN_SPEED 10 // Minimum fan speed at which to enable PID_FAN_SCALING
|
465 | 465 | #endif
|
|
1471 | 1471 | #define MANUAL_FEEDRATE { 50*60, 50*60, 10*60, 4*60 } // (mm/min) Feedrates for manual moves along X, Y, Z, E from panel
|
1472 | 1472 | #define FINE_MANUAL_MOVE 0.005 // (mm) Smallest manual move (< 0.1mm) applying to Z on most machines
|
1473 | 1473 | #if IS_ULTIPANEL
|
1474 |
| - #define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position" |
1475 |
| - //#define ULTIPANEL_FEEDMULTIPLY // Encoder sets the feedrate multiplier on the Status Screen |
| 1474 | + #define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position" |
| 1475 | + #define ULTIPANEL_FEEDMULTIPLY // Encoder sets the feedrate multiplier on the Status Screen |
| 1476 | + //#define ULTIPANEL_FLOWPERCENT // Encoder sets the flow percentage on the Status Screen |
1476 | 1477 | #endif
|
1477 | 1478 | #endif
|
1478 | 1479 |
|
|
1538 | 1539 | * Axis moves <= 1/2 the axis length and Extruder moves <= EXTRUDE_MAXLENGTH
|
1539 | 1540 | * will be shown in the move submenus.
|
1540 | 1541 | */
|
| 1542 | + |
1541 | 1543 | #define MANUAL_MOVE_DISTANCE_MM 10, 1.0, 0.1 // (mm)
|
1542 | 1544 | //#define MANUAL_MOVE_DISTANCE_MM 100, 50, 10, 1.0, 0.1 // (mm)
|
1543 | 1545 | //#define MANUAL_MOVE_DISTANCE_MM 500, 100, 50, 10, 1.0, 0.1 // (mm)
|
|
1742 | 1744 | */
|
1743 | 1745 | #define POWER_LOSS_RECOVERY
|
1744 | 1746 | #if ENABLED(POWER_LOSS_RECOVERY)
|
1745 |
| - #define PLR_ENABLED_DEFAULT true // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500) |
1746 |
| - #define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss |
1747 |
| - #define POWER_LOSS_ZRAISE 10 // (mm) Z axis raise on resume (on power loss with UPS) |
1748 |
| - //#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module. |
1749 |
| - #define POWER_LOSS_STATE HIGH // State of pin indicating power loss |
1750 |
| - #define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor |
| 1747 | + #define PLR_ENABLED_DEFAULT true // Power-Loss Recovery enabled by default. (Set with 'M413 Sn' & M500) |
| 1748 | + //#define PLR_BED_THRESHOLD BED_MAXTEMP // (°C) Skip user confirmation at or above this bed temperature (0 to disable) |
| 1749 | + |
| 1750 | + //#define POWER_LOSS_PIN 44 // Pin to detect power-loss. Set to -1 to disable default pin on boards without module, or comment to use board default. |
| 1751 | + #define POWER_LOSS_STATE HIGH // State of pin indicating power-loss |
| 1752 | + #define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor |
1751 | 1753 | //#define POWER_LOSS_PULLDOWN
|
1752 |
| - #define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume |
1753 |
| - #define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power. |
| 1754 | + |
| 1755 | + #define POWER_LOSS_ZRAISE 10 // (mm) Z axis raise on resume (on power-loss with UPS) |
| 1756 | + #define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume |
1754 | 1757 |
|
1755 | 1758 | // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
|
1756 | 1759 | // especially with "vase mode" printing. Set too high and vases cannot be continued.
|
1757 |
| - #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data |
| 1760 | + #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data |
| 1761 | + |
| 1762 | + //#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power-loss |
| 1763 | + #if ENABLED(BACKUP_POWER_SUPPLY) |
| 1764 | + //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail |
| 1765 | + #endif |
1758 | 1766 |
|
1759 | 1767 | // Enable if Z homing is needed for proper recovery. 99.9% of the time this should be disabled!
|
1760 | 1768 | #define POWER_LOSS_RECOVER_ZHOME
|
|
1961 | 1969 | // Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese.
|
1962 | 1970 | //#define USE_SMALL_INFOFONT
|
1963 | 1971 |
|
1964 |
| - /** |
1965 |
| - * Graphical Display Sleep |
1966 |
| - * |
1967 |
| - * The U8G library provides sleep / wake functions for SH1106, SSD1306, |
1968 |
| - * SSD1309, and some other DOGM displays. |
1969 |
| - * Enable this option to save energy and prevent OLED pixel burn-in. |
1970 |
| - * Adds the menu item Configuration > LCD Timeout (m) to set a wait period |
1971 |
| - * from 0 (disabled) to 99 minutes. |
1972 |
| - */ |
1973 |
| - //#define DISPLAY_SLEEP_MINUTES 2 // (minutes) Timeout before turning off the screen. Set with M255 S. |
1974 |
| - |
1975 | 1972 | /**
|
1976 | 1973 | * ST7920-based LCDs can emulate a 16 x 4 character display using
|
1977 | 1974 | * the ST7920 character-generator for very fast screen updates.
|
|
2220 | 2217 | //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
|
2221 | 2218 | #endif
|
2222 | 2219 |
|
2223 |
| -// |
2224 |
| -// LCD Backlight Timeout |
2225 |
| -// Requires a display with a controllable backlight |
2226 |
| -// |
2227 |
| -#define LCD_BACKLIGHT_TIMEOUT_MINS 2 // (minutes) Timeout before turning off the backlight |
| 2220 | +/** |
| 2221 | + * Display Sleep |
| 2222 | + * Enable this option to save energy and prevent OLED pixel burn-in. |
| 2223 | + */ |
| 2224 | +//#define DISPLAY_SLEEP_MINUTES 2 // (minutes) Timeout before turning off the screen |
| 2225 | + |
| 2226 | +/** |
| 2227 | + * LCD Backlight Timeout |
| 2228 | + * Requires a display with a controllable backlight |
| 2229 | + */ |
| 2230 | +//#define LCD_BACKLIGHT_TIMEOUT_MINS 1 // (minutes) Timeout before turning off the backlight |
| 2231 | + |
2228 | 2232 | #if defined(DISPLAY_SLEEP_MINUTES) || defined(LCD_BACKLIGHT_TIMEOUT_MINS)
|
2229 |
| - #define EDITABLE_DISPLAY_TIMEOUT // Edit timeout with M255 S<minutes> and a menu item |
| 2233 | + #define EDITABLE_DISPLAY_TIMEOUT // Edit sleep / backlight timeout with M255 S<minutes> and a menu item |
2230 | 2234 | #endif
|
2231 | 2235 |
|
2232 | 2236 | //
|
|
2317 | 2321 | #endif
|
2318 | 2322 | //#define ADVANCE_K_EXTRA // Add a second linear advance constant, configurable with M900 L.
|
2319 | 2323 | //#define LA_DEBUG // Print debug information to serial during operation. Disable for production use.
|
2320 |
| - #define ALLOW_LOW_EJERK // Allow a DEFAULT_EJERK value of <10. Recommended for direct drive hotends. |
2321 | 2324 | //#define EXPERIMENTAL_I2S_LA // Allow I2S_STEPPER_STREAM to be used with LA. Performance degrades as the LA step rate reaches ~20kHz.
|
2322 | 2325 | #endif
|
2323 | 2326 |
|
|
3836 | 3839 | */
|
3837 | 3840 | //#define CNC_COORDINATE_SYSTEMS
|
3838 | 3841 |
|
3839 |
| -// @section reporting |
3840 |
| - |
3841 |
| -/** |
3842 |
| - * Auto-report fan speed with M123 S<seconds> |
3843 |
| - * Requires fans with tachometer pins |
3844 |
| - */ |
3845 |
| -//#define AUTO_REPORT_FANS |
3846 |
| - |
3847 |
| -/** |
3848 |
| - * Auto-report temperatures with M155 S<seconds> |
3849 |
| - */ |
3850 |
| -#define AUTO_REPORT_TEMPERATURES |
3851 |
| -#if ENABLED(AUTO_REPORT_TEMPERATURES) && TEMP_SENSOR_REDUNDANT |
3852 |
| - //#define AUTO_REPORT_REDUNDANT // Include the "R" sensor in the auto-report |
3853 |
| -#endif |
3854 |
| - |
3855 |
| -/** |
3856 |
| - * Auto-report position with M154 S<seconds> |
3857 |
| - */ |
3858 |
| -#define AUTO_REPORT_POSITION |
3859 |
| -#if ENABLED(AUTO_REPORT_POSITION) |
3860 |
| - #define AUTO_REPORT_REAL_POSITION // Auto-report the real position |
3861 |
| -#endif |
3862 |
| - |
3863 |
| -/** |
3864 |
| - * Include capabilities in M115 output |
3865 |
| - */ |
3866 |
| -#define EXTENDED_CAPABILITIES_REPORT |
3867 |
| -#if ENABLED(EXTENDED_CAPABILITIES_REPORT) |
3868 |
| - #define M115_GEOMETRY_REPORT |
3869 |
| -#endif |
3870 |
| - |
3871 | 3842 | // @section security
|
3872 | 3843 |
|
3873 | 3844 | /**
|
|
3910 | 3881 |
|
3911 | 3882 | // @section reporting
|
3912 | 3883 |
|
3913 |
| -// Extra options for the M114 "Current Position" report |
| 3884 | +/** |
| 3885 | + * Extra options for the M114 "Current Position" report |
| 3886 | + */ |
3914 | 3887 | //#define M114_DETAIL // Use 'M114` for details to check planner calculations
|
3915 | 3888 | #define M114_REALTIME // Real current position based on forward kinematics
|
3916 | 3889 | //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
|
3917 | 3890 |
|
3918 |
| -#define REPORT_FAN_CHANGE // Report the new fan speed when changed by M106 (and others) |
| 3891 | +/** |
| 3892 | + * Auto-report fan speed with M123 S<seconds> |
| 3893 | + * Requires fans with tachometer pins |
| 3894 | + */ |
| 3895 | +//#define AUTO_REPORT_FANS |
| 3896 | + |
| 3897 | +#define REPORT_FAN_CHANGE // Report the new fan speed when changed by M106 (and others) |
| 3898 | + |
| 3899 | +/** |
| 3900 | + * Auto-report temperatures with M155 S<seconds> |
| 3901 | + */ |
| 3902 | +#define AUTO_REPORT_TEMPERATURES |
| 3903 | +#if ENABLED(AUTO_REPORT_TEMPERATURES) && TEMP_SENSOR_REDUNDANT |
| 3904 | + //#define AUTO_REPORT_REDUNDANT // Include the "R" sensor in the auto-report |
| 3905 | +#endif |
| 3906 | + |
| 3907 | +/** |
| 3908 | + * Auto-report position with M154 S<seconds> |
| 3909 | + */ |
| 3910 | +//#define AUTO_REPORT_POSITION |
| 3911 | +#if ENABLED(AUTO_REPORT_POSITION) |
| 3912 | + //#define AUTO_REPORT_REAL_POSITION // Auto-report the real position |
| 3913 | +#endif |
| 3914 | + |
| 3915 | +/** |
| 3916 | + * M115 - Report capabilites. Disable to save ~1150 bytes of flash. |
| 3917 | + * Some hosts (and serial TFT displays) rely on this feature. |
| 3918 | + */ |
| 3919 | +#define CAPABILITIES_REPORT |
| 3920 | +#if ENABLED(CAPABILITIES_REPORT) |
| 3921 | + // Include capabilities in M115 output |
| 3922 | + #define EXTENDED_CAPABILITIES_REPORT |
| 3923 | + #if ENABLED(EXTENDED_CAPABILITIES_REPORT) |
| 3924 | + //#define M115_GEOMETRY_REPORT |
| 3925 | + #endif |
| 3926 | +#endif |
3919 | 3927 |
|
3920 | 3928 | // @section gcode
|
3921 | 3929 |
|
|
3928 | 3936 | #define GCODE_QUOTED_STRINGS // Support for quoted string parameters
|
3929 | 3937 | #endif
|
3930 | 3938 |
|
3931 |
| -// Support for MeatPack G-code compression (https://github.com/scottmudge/OctoPrint-MeatPack) |
| 3939 | +/** |
| 3940 | + * Support for MeatPack G-code compression (https://github.com/scottmudge/OctoPrint-MeatPack) |
| 3941 | + */ |
3932 | 3942 | //#define MEATPACK_ON_SERIAL_PORT_1
|
3933 | 3943 | //#define MEATPACK_ON_SERIAL_PORT_2
|
3934 | 3944 |
|
|
3942 | 3952 | */
|
3943 | 3953 | #define DEBUG_FLAGS_GCODE
|
3944 | 3954 |
|
3945 |
| -/** |
3946 |
| - * M115 - Report capabilites. Disable to save ~1150 bytes of flash. |
3947 |
| - * Some hosts (and serial TFT displays) rely on this feature. |
3948 |
| - */ |
3949 |
| -#define REPORT_CAPABILITIES_GCODE |
3950 |
| - |
3951 | 3955 | /**
|
3952 | 3956 | * Enable this option for a leaner build of Marlin that removes
|
3953 | 3957 | * workspace offsets to slightly optimize performance.
|
|
3975 | 3979 | //#define VARIABLE_G0_FEEDRATE // The G0 feedrate is set by F in G0 motion mode
|
3976 | 3980 | #endif
|
3977 | 3981 |
|
3978 |
| -// @section gcode |
3979 |
| - |
3980 | 3982 | /**
|
3981 | 3983 | * Startup commands
|
3982 | 3984 | *
|
|
0 commit comments