NovaViper

Untitled

May 31st, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. /**
  2. * Advanced Pause
  3. * Experimental feature for filament change support and for parking the nozzle when paused.
  4. * Adds the GCode M600 for initiating filament change.
  5. * If PARK_HEAD_ON_PAUSE enabled, adds the GCode M125 to pause printing and park the nozzle.
  6. *
  7. * Requires an LCD display.
  8. * Requires NOZZLE_PARK_FEATURE.
  9. * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
  10. */
  11. #define ADVANCED_PAUSE_FEATURE
  12. #if ENABLED(ADVANCED_PAUSE_FEATURE)
  13. #define PAUSE_PARK_RETRACT_FEEDRATE 60 // (mm/s) Initial retract feedrate.
  14. #define PAUSE_PARK_RETRACT_LENGTH 5 // (mm) Initial retract.
  15. // This short retract is done immediately, before parking the nozzle.
  16. #define FILAMENT_CHANGE_UNLOAD_FEEDRATE 10 // (mm/s) Unload filament feedrate. This can be pretty fast.
  17. #define FILAMENT_CHANGE_UNLOAD_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate.
  18. #define FILAMENT_CHANGE_UNLOAD_LENGTH 500 // (mm) The length of filament for a complete unload.
  19. // For Bowden, the full length of the tube and nozzle.
  20. // For direct drive, the full length of the nozzle.
  21. // Set to 0 for manual unloading.
  22. #define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE 30 // (mm/s) Slow move when starting load.
  23. #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH 450 // (mm) Slow length, to allow time to insert material.
  24. // 0 to disable start loading and skip to fast load only
  25. #define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 30 // (mm/s) Load filament feedrate. This can be pretty fast.
  26. #define FILAMENT_CHANGE_FAST_LOAD_ACCEL 25 // (mm/s^2) Lower acceleration may allow a faster feedrate.
  27. #define FILAMENT_CHANGE_FAST_LOAD_LENGTH 450 // (mm) Load length of filament, from extruder gear to nozzle.
  28. // For Bowden, the full length of the tube and nozzle.
  29. // For direct drive, the full length of the nozzle.
  30. //#define ADVANCED_PAUSE_CONTINUOUS_PURGE // Purge continuously up to the purge length until interrupted.
  31. #define ADVANCED_PAUSE_PURGE_FEEDRATE 6 // (mm/s) Extrude feedrate (after loading). Should be slower than load feedrate.
  32. #define ADVANCED_PAUSE_PURGE_LENGTH 50 // (mm) Length to extrude after loading.
  33. // Set to 0 for manual extrusion.
  34. // Filament can be extruded repeatedly from the Filament Change menu
  35. // until extrusion is consistent, and to purge old filament.
  36. #define ADVANCED_PAUSE_RESUME_PRIME 0 // (mm) Extra distance to prime nozzle after returning from park.
  37. #define ADVANCED_PAUSE_FANS_PAUSE // Turn off print-cooling fans while the machine is paused.
  38.  
  39. // Filament Unload does a Retract, Delay, and Purge first:
  40. #define FILAMENT_UNLOAD_RETRACT_LENGTH 13 // (mm) Unload initial retract length.
  41. #define FILAMENT_UNLOAD_DELAY 5000 // (ms) Delay for the filament to cool after retract.
  42. #define FILAMENT_UNLOAD_PURGE_LENGTH 500 // (mm) An unretract is done, then this length is purged.
  43.  
  44. #define PAUSE_PARK_NOZZLE_TIMEOUT 45 // (seconds) Time limit before the nozzle is turned off for safety.
  45. #define FILAMENT_CHANGE_ALERT_BEEPS 10 // Number of alert beeps to play when a response is needed.
  46. #define PAUSE_PARK_NO_STEPPER_TIMEOUT // Enable for XYZ steppers to stay powered on during filament change.
  47.  
  48. //#define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change.
  49. //#define HOME_BEFORE_FILAMENT_CHANGE // Ensure homing has been completed prior to parking for filament change
  50.  
  51. #define FILAMENT_LOAD_UNLOAD_GCODES // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
  52. //#define FILAMENT_UNLOAD_ALL_EXTRUDERS // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
  53. #endif
Add Comment
Please, Sign In to add comment