|
1743 | 1743 | */
|
1744 | 1744 | //#define POWER_LOSS_RECOVERY
|
1745 | 1745 | #if ENABLED(POWER_LOSS_RECOVERY)
|
1746 |
| - #define PLR_ENABLED_DEFAULT false // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500) |
1747 |
| - //#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss |
1748 |
| - //#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS) |
1749 |
| - //#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module. |
1750 |
| - //#define POWER_LOSS_STATE HIGH // State of pin indicating power loss |
1751 |
| - //#define POWER_LOSS_PULLUP // Set pullup / pulldown as appropriate for your sensor |
| 1746 | + #define PLR_ENABLED_DEFAULT false // Power Loss Recovery enabled by default. (Set with 'M413 Sn' & M500) |
| 1747 | + //#define PLR_BED_THRESHOLD BED_MAXTEMP // (Β°C) Skip user confirmation at or above this bed temperature (0 to disable) |
| 1748 | + //#define BACKUP_POWER_SUPPLY // Backup power / UPS to move the steppers on power loss |
| 1749 | + //#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS) |
| 1750 | + //#define POWER_LOSS_PIN 44 // Pin to detect power loss. Set to -1 to disable default pin on boards without module. |
| 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 |
1752 | 1753 | //#define POWER_LOSS_PULLDOWN
|
1753 |
| - //#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume |
1754 |
| - //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power. |
| 1754 | + //#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume |
| 1755 | + //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power. |
1755 | 1756 |
|
1756 | 1757 | // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
|
1757 | 1758 | // especially with "vase mode" printing. Set too high and vases cannot be continued.
|
1758 |
| - #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data |
| 1759 | + #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data |
1759 | 1760 |
|
1760 | 1761 | // Enable if Z homing is needed for proper recovery. 99.9% of the time this should be disabled!
|
1761 | 1762 | //#define POWER_LOSS_RECOVER_ZHOME
|
|
3839 | 3840 | */
|
3840 | 3841 | //#define CNC_COORDINATE_SYSTEMS
|
3841 | 3842 |
|
3842 |
| -// @section reporting |
3843 |
| - |
3844 |
| -/** |
3845 |
| - * Auto-report fan speed with M123 S<seconds> |
3846 |
| - * Requires fans with tachometer pins |
3847 |
| - */ |
3848 |
| -//#define AUTO_REPORT_FANS |
3849 |
| - |
3850 |
| -/** |
3851 |
| - * Auto-report temperatures with M155 S<seconds> |
3852 |
| - */ |
3853 |
| -#define AUTO_REPORT_TEMPERATURES |
3854 |
| -#if ENABLED(AUTO_REPORT_TEMPERATURES) && TEMP_SENSOR_REDUNDANT |
3855 |
| - //#define AUTO_REPORT_REDUNDANT // Include the "R" sensor in the auto-report |
3856 |
| -#endif |
3857 |
| - |
3858 |
| -/** |
3859 |
| - * Auto-report position with M154 S<seconds> |
3860 |
| - */ |
3861 |
| -//#define AUTO_REPORT_POSITION |
3862 |
| -#if ENABLED(AUTO_REPORT_POSITION) |
3863 |
| - //#define AUTO_REPORT_REAL_POSITION // Auto-report the real position |
3864 |
| -#endif |
3865 |
| - |
3866 |
| -/** |
3867 |
| - * Include capabilities in M115 output |
3868 |
| - */ |
3869 |
| -#define EXTENDED_CAPABILITIES_REPORT |
3870 |
| -#if ENABLED(EXTENDED_CAPABILITIES_REPORT) |
3871 |
| - //#define M115_GEOMETRY_REPORT |
3872 |
| -#endif |
3873 |
| - |
3874 | 3843 | // @section security
|
3875 | 3844 |
|
3876 | 3845 | /**
|
|
3913 | 3882 |
|
3914 | 3883 | // @section reporting
|
3915 | 3884 |
|
3916 |
| -// Extra options for the M114 "Current Position" report |
| 3885 | +/** |
| 3886 | + * Extra options for the M114 "Current Position" report |
| 3887 | + */ |
3917 | 3888 | //#define M114_DETAIL // Use 'M114` for details to check planner calculations
|
3918 | 3889 | //#define M114_REALTIME // Real current position based on forward kinematics
|
3919 | 3890 | //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
|
3920 | 3891 |
|
| 3892 | +/** |
| 3893 | + * Auto-report fan speed with M123 S<seconds> |
| 3894 | + * Requires fans with tachometer pins |
| 3895 | + */ |
| 3896 | +//#define AUTO_REPORT_FANS |
| 3897 | + |
3921 | 3898 | //#define REPORT_FAN_CHANGE // Report the new fan speed when changed by M106 (and others)
|
3922 | 3899 |
|
| 3900 | +/** |
| 3901 | + * Auto-report temperatures with M155 S<seconds> |
| 3902 | + */ |
| 3903 | +#define AUTO_REPORT_TEMPERATURES |
| 3904 | +#if ENABLED(AUTO_REPORT_TEMPERATURES) && TEMP_SENSOR_REDUNDANT |
| 3905 | + //#define AUTO_REPORT_REDUNDANT // Include the "R" sensor in the auto-report |
| 3906 | +#endif |
| 3907 | + |
| 3908 | +/** |
| 3909 | + * Auto-report position with M154 S<seconds> |
| 3910 | + */ |
| 3911 | +//#define AUTO_REPORT_POSITION |
| 3912 | +#if ENABLED(AUTO_REPORT_POSITION) |
| 3913 | + //#define AUTO_REPORT_REAL_POSITION // Auto-report the real position |
| 3914 | +#endif |
| 3915 | + |
| 3916 | +/** |
| 3917 | + * M115 - Report capabilites. Disable to save ~1150 bytes of flash. |
| 3918 | + * Some hosts (and serial TFT displays) rely on this feature. |
| 3919 | + */ |
| 3920 | +#define CAPABILITIES_REPORT |
| 3921 | +#if ENABLED(CAPABILITIES_REPORT) |
| 3922 | + // Include capabilities in M115 output |
| 3923 | + #define EXTENDED_CAPABILITIES_REPORT |
| 3924 | + #if ENABLED(EXTENDED_CAPABILITIES_REPORT) |
| 3925 | + //#define M115_GEOMETRY_REPORT |
| 3926 | + #endif |
| 3927 | +#endif |
| 3928 | + |
3923 | 3929 | // @section gcode
|
3924 | 3930 |
|
3925 | 3931 | /**
|
|
3931 | 3937 | //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
|
3932 | 3938 | #endif
|
3933 | 3939 |
|
3934 |
| -// Support for MeatPack G-code compression (https://github.com/scottmudge/OctoPrint-MeatPack) |
| 3940 | +/** |
| 3941 | + * Support for MeatPack G-code compression (https://github.com/scottmudge/OctoPrint-MeatPack) |
| 3942 | + */ |
3935 | 3943 | //#define MEATPACK_ON_SERIAL_PORT_1
|
3936 | 3944 | //#define MEATPACK_ON_SERIAL_PORT_2
|
3937 | 3945 |
|
|
3945 | 3953 | */
|
3946 | 3954 | #define DEBUG_FLAGS_GCODE
|
3947 | 3955 |
|
3948 |
| -/** |
3949 |
| - * M115 - Report capabilites. Disable to save ~1150 bytes of flash. |
3950 |
| - * Some hosts (and serial TFT displays) rely on this feature. |
3951 |
| - */ |
3952 |
| -#define REPORT_CAPABILITIES_GCODE |
3953 |
| - |
3954 | 3956 | /**
|
3955 | 3957 | * Enable this option for a leaner build of Marlin that removes
|
3956 | 3958 | * workspace offsets to slightly optimize performance.
|
|
3978 | 3980 | //#define VARIABLE_G0_FEEDRATE // The G0 feedrate is set by F in G0 motion mode
|
3979 | 3981 | #endif
|
3980 | 3982 |
|
3981 |
| -// @section gcode |
3982 |
| - |
3983 | 3983 | /**
|
3984 | 3984 | * Startup commands
|
3985 | 3985 | *
|
|
0 commit comments