Browse Source

Action to notify host of filament runout. (#12817)

pull/1/head
Marcio Teixeira 5 years ago
committed by Scott Lahteine
parent
commit
f214118e45
  1. 13
      Marlin/Configuration.h
  2. 13
      Marlin/src/config/default/Configuration.h
  3. 13
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h
  4. 13
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  5. 13
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  6. 13
      Marlin/src/config/examples/Anet/A2/Configuration.h
  7. 13
      Marlin/src/config/examples/Anet/A2plus/Configuration.h
  8. 13
      Marlin/src/config/examples/Anet/A6/Configuration.h
  9. 13
      Marlin/src/config/examples/Anet/A8/Configuration.h
  10. 13
      Marlin/src/config/examples/AnyCubic/i3/Configuration.h
  11. 13
      Marlin/src/config/examples/ArmEd/Configuration.h
  12. 13
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  13. 13
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  14. 13
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  15. 13
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  16. 13
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  17. 13
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  18. 13
      Marlin/src/config/examples/Cartesio/Configuration.h
  19. 13
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  20. 15
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  21. 13
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  22. 13
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  23. 13
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  24. 13
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  25. 13
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  26. 13
      Marlin/src/config/examples/Einstart-S/Configuration.h
  27. 13
      Marlin/src/config/examples/Felix/Configuration.h
  28. 13
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  29. 13
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h
  30. 13
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  31. 13
      Marlin/src/config/examples/Formbot/Raptor/Configuration.h
  32. 13
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
  33. 13
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  34. 13
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  35. 13
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  36. 13
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
  37. 13
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  38. 13
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  39. 13
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  40. 13
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  41. 13
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  42. 13
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  43. 13
      Marlin/src/config/examples/MakerParts/Configuration.h
  44. 13
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  45. 13
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  46. 13
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  47. 13
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  48. 13
      Marlin/src/config/examples/Mks/Robin/Configuration.h
  49. 13
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  50. 13
      Marlin/src/config/examples/RapideLite/RL200/Configuration.h
  51. 13
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  52. 13
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  53. 13
      Marlin/src/config/examples/RigidBot/Configuration.h
  54. 13
      Marlin/src/config/examples/SCARA/Configuration.h
  55. 13
      Marlin/src/config/examples/STM32F10/Configuration.h
  56. 13
      Marlin/src/config/examples/STM32F4/Configuration.h
  57. 13
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  58. 13
      Marlin/src/config/examples/TheBorg/Configuration.h
  59. 13
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  60. 13
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  61. 13
      Marlin/src/config/examples/Tronxy/X3A/Configuration.h
  62. 13
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  63. 13
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  64. 13
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h
  65. 13
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  66. 13
      Marlin/src/config/examples/VORONDesign/Configuration.h
  67. 13
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  68. 13
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  69. 13
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  70. 13
      Marlin/src/config/examples/WASP/PowerWASP/Configuration.h
  71. 13
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  72. 13
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  73. 13
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h
  74. 13
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  75. 13
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  76. 13
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  77. 13
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h
  78. 13
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  79. 13
      Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h
  80. 13
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h
  81. 13
      Marlin/src/config/examples/delta/generic/Configuration.h
  82. 13
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  83. 13
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  84. 13
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  85. 13
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  86. 13
      Marlin/src/config/examples/makibox/Configuration.h
  87. 13
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  88. 13
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  89. 13
      Marlin/src/config/examples/wt150/Configuration.h
  90. 8
      Marlin/src/feature/runout.h
  91. 2
      Marlin/src/lcd/extensible_ui/ui_api.h

13
Marlin/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/default/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h

@ -995,8 +995,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h

@ -1009,8 +1009,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Anet/A2/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Anet/A2plus/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Anet/A6/Configuration.h

@ -1103,8 +1103,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Anet/A8/Configuration.h

@ -1002,8 +1002,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/AnyCubic/i3/Configuration.h

@ -1000,8 +1000,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/ArmEd/Configuration.h

@ -990,8 +990,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/BQ/Hephestos/Configuration.h

@ -977,8 +977,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h

@ -989,8 +989,21 @@
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/BQ/WITBOX/Configuration.h

@ -977,8 +977,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Cartesio/Configuration.h

@ -988,8 +988,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Creality/CR-10/Configuration.h

@ -999,8 +999,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

15
Marlin/src/config/examples/Creality/CR-10S/Configuration.h

@ -989,9 +989,22 @@
#define FIL_RUNOUT_INVERTING true // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
#define FILAMENT_RUNOUT_SCRIPT "M600"
#define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h

@ -1008,8 +1008,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Creality/CR-8/Configuration.h

@ -999,8 +999,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Creality/Ender-2/Configuration.h

@ -993,8 +993,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Creality/Ender-3/Configuration.h

@ -993,8 +993,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Creality/Ender-4/Configuration.h

@ -999,8 +999,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Einstart-S/Configuration.h

@ -999,8 +999,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Felix/Configuration.h

@ -971,8 +971,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Felix/DUAL/Configuration.h

@ -971,8 +971,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h

@ -982,8 +982,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h

@ -995,8 +995,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Formbot/Raptor/Configuration.h

@ -1087,8 +1087,21 @@
#define FIL_RUNOUT_INVERTING true // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h

@ -1019,8 +1019,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h

@ -1014,8 +1014,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h

@ -1004,8 +1004,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h

@ -996,8 +996,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h

@ -1005,8 +1005,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h

@ -1004,8 +1004,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h

@ -993,8 +993,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/JGAurora/A5/Configuration.h

@ -1001,8 +1001,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/MakerParts/Configuration.h

@ -1009,8 +1009,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Malyan/M150/Configuration.h

@ -1013,8 +1013,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Malyan/M200/Configuration.h

@ -988,8 +988,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h

@ -993,8 +993,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h

@ -993,8 +993,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Mks/Robin/Configuration.h

@ -990,8 +990,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Mks/Sbase/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/RapideLite/RL200/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h

@ -1038,8 +1038,21 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/RigidBot/Configuration.h

@ -987,8 +987,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/SCARA/Configuration.h

@ -1002,8 +1002,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/STM32F10/Configuration.h

@ -991,8 +991,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/STM32F4/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Sanguinololu/Configuration.h

@ -1020,8 +1020,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/TheBorg/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/TinyBoy2/Configuration.h

@ -1045,8 +1045,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Tronxy/X1/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Tronxy/X3A/Configuration.h

@ -993,8 +993,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Tronxy/X5S/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Tronxy/XY100/Configuration.h

@ -1000,8 +1000,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/VORONDesign/Configuration.h

@ -998,8 +998,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Velleman/K8200/Configuration.h

@ -1019,8 +1019,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Velleman/K8400/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/WASP/PowerWASP/Configuration.h

@ -1008,8 +1008,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h

@ -999,8 +999,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/adafruit/ST7565/Configuration.h

@ -989,8 +989,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h

@ -1177,8 +1177,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h

@ -1117,8 +1117,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h

@ -1116,8 +1116,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h

@ -1116,8 +1116,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h

@ -1107,8 +1107,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h

@ -1119,8 +1119,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h

@ -1104,8 +1104,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h

@ -1108,8 +1108,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/generic/Configuration.h

@ -1104,8 +1104,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/kossel_mini/Configuration.h

@ -1106,8 +1106,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/kossel_pro/Configuration.h

@ -1107,8 +1107,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/delta/kossel_xl/Configuration.h

@ -1107,8 +1107,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h

@ -1003,8 +1003,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/makibox/Configuration.h

@ -992,8 +992,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/stm32f103ret6/Configuration.h

@ -991,8 +991,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/tvrrug/Round2/Configuration.h

@ -984,8 +984,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

13
Marlin/src/config/examples/wt150/Configuration.h

@ -994,8 +994,21 @@
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to run on filament runout.
// - Always applies to SD-card printing.
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
#define FILAMENT_RUNOUT_SCRIPT "M600"
// With this option, if filament runs out during host-based printing, Marlin
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
// will be used on filament runout for both host-based and SD-card printing.
//
// The host must be able to respond to the //action: command set here.
//
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.

8
Marlin/src/feature/runout.h

@ -95,7 +95,13 @@ class TFilamentMonitor : public FilamentMonitorBase {
if (ran_out) {
filament_ran_out = true;
#if ENABLED(EXTENSIBLE_UI)
ExtUI::onFilamentRunout();
ExtUI::onFilamentRunout(ExtUI::getActiveTool());
#endif
#ifdef FILAMENT_RUNOUT_ACTION
SERIAL_ECHOLNPAIR("//action:" FILAMENT_RUNOUT_ACTION " ", active_extruder);
if (!IS_SD_PRINTING())
reset();
else
#endif
enqueue_and_echo_commands_P(PSTR(FILAMENT_RUNOUT_SCRIPT));
planner.synchronize();

2
Marlin/src/lcd/extensible_ui/ui_api.h

@ -237,7 +237,7 @@ namespace ExtUI {
void onPrintTimerStarted();
void onPrintTimerPaused();
void onPrintTimerStopped();
void onFilamentRunout();
void onFilamentRunout(const extruder_t extruder);
void onStatusChanged(const char * const msg);
void onFactoryReset();
void onStoreSettings();

Loading…
Cancel
Save