ソースを参照

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

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

+ 13
- 0
Marlin/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/default/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Anet/A2/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Anet/A2plus/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Anet/A6/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Anet/A8/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/AnyCubic/i3/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/ArmEd/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Cartesio/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration.h ファイルの表示

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

+ 14
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Creality/Ender-3/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Einstart-S/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Felix/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Felix/DUAL/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Formbot/Raptor/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/MakerParts/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Malyan/M150/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Malyan/M200/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Mks/Robin/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/RapideLite/RL200/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/RigidBot/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/SCARA/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/STM32F10/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/STM32F4/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Sanguinololu/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/TheBorg/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/TinyBoy2/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Tronxy/X1/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Tronxy/X3A/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Tronxy/X5S/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Tronxy/XY100/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/VORONDesign/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/WASP/PowerWASP/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/adafruit/ST7565/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/generic/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/kossel_pro/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/makibox/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/stm32f103ret6/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration.h ファイルの表示

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

+ 13
- 0
Marlin/src/config/examples/wt150/Configuration.h ファイルの表示

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

+ 7
- 1
Marlin/src/feature/runout.h ファイルの表示

95
         if (ran_out) {
95
         if (ran_out) {
96
           filament_ran_out = true;
96
           filament_ran_out = true;
97
           #if ENABLED(EXTENSIBLE_UI)
97
           #if ENABLED(EXTENSIBLE_UI)
98
-            ExtUI::onFilamentRunout();
98
+            ExtUI::onFilamentRunout(ExtUI::getActiveTool());
99
+          #endif
100
+          #ifdef FILAMENT_RUNOUT_ACTION
101
+            SERIAL_ECHOLNPAIR("//action:" FILAMENT_RUNOUT_ACTION " ", active_extruder);
102
+            if (!IS_SD_PRINTING())
103
+              reset();
104
+            else
99
           #endif
105
           #endif
100
           enqueue_and_echo_commands_P(PSTR(FILAMENT_RUNOUT_SCRIPT));
106
           enqueue_and_echo_commands_P(PSTR(FILAMENT_RUNOUT_SCRIPT));
101
           planner.synchronize();
107
           planner.synchronize();

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.h ファイルの表示

237
   void onPrintTimerStarted();
237
   void onPrintTimerStarted();
238
   void onPrintTimerPaused();
238
   void onPrintTimerPaused();
239
   void onPrintTimerStopped();
239
   void onPrintTimerStopped();
240
-  void onFilamentRunout();
240
+  void onFilamentRunout(const extruder_t extruder);
241
   void onStatusChanged(const char * const msg);
241
   void onStatusChanged(const char * const msg);
242
   void onFactoryReset();
242
   void onFactoryReset();
243
   void onStoreSettings();
243
   void onStoreSettings();

読み込み中…
キャンセル
保存