Browse Source

Add HOST_PROMPT_SUPPORT (#13039)

pull/1/head
InsanityAutomation 5 years ago
committed by Scott Lahteine
parent
commit
7f1b69b0c8
  1. 14
      Marlin/Configuration.h
  2. 43
      Marlin/Configuration_adv.h
  3. 2
      Marlin/src/HAL/HAL_LPC1768/MarlinSerial.h
  4. 119
      Marlin/src/Marlin.cpp
  5. 29
      Marlin/src/Marlin.h
  6. 14
      Marlin/src/config/default/Configuration.h
  7. 43
      Marlin/src/config/default/Configuration_adv.h
  8. 14
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h
  9. 43
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  10. 14
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  11. 43
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  12. 14
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  13. 14
      Marlin/src/config/examples/Anet/A2/Configuration.h
  14. 43
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  15. 14
      Marlin/src/config/examples/Anet/A2plus/Configuration.h
  16. 43
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  17. 14
      Marlin/src/config/examples/Anet/A6/Configuration.h
  18. 43
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  19. 14
      Marlin/src/config/examples/Anet/A8/Configuration.h
  20. 43
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  21. 14
      Marlin/src/config/examples/AnyCubic/i3/Configuration.h
  22. 43
      Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h
  23. 14
      Marlin/src/config/examples/ArmEd/Configuration.h
  24. 43
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  25. 14
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  26. 14
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  27. 43
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  28. 14
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  29. 43
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  30. 14
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  31. 43
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  32. 14
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  33. 43
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  34. 14
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  35. 43
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  36. 14
      Marlin/src/config/examples/Cartesio/Configuration.h
  37. 43
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  38. 14
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  39. 43
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  40. 14
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  41. 43
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  42. 14
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  43. 43
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  44. 14
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  45. 43
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  46. 14
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  47. 43
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  48. 14
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  49. 43
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  50. 14
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  51. 43
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  52. 14
      Marlin/src/config/examples/Einstart-S/Configuration.h
  53. 43
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  54. 14
      Marlin/src/config/examples/Felix/Configuration.h
  55. 43
      Marlin/src/config/examples/Felix/Configuration_adv.h
  56. 14
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  57. 14
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h
  58. 43
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h
  59. 14
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  60. 43
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  61. 14
      Marlin/src/config/examples/Formbot/Raptor/Configuration.h
  62. 43
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  63. 14
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
  64. 43
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  65. 14
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  66. 43
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  67. 14
      Marlin/src/config/examples/Geeetech/A10M/Configuration.h
  68. 43
      Marlin/src/config/examples/Geeetech/A10M/Configuration_adv.h
  69. 14
      Marlin/src/config/examples/Geeetech/A20M/Configuration.h
  70. 43
      Marlin/src/config/examples/Geeetech/A20M/Configuration_adv.h
  71. 14
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  72. 14
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  73. 14
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
  74. 43
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  75. 14
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  76. 14
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  77. 14
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  78. 43
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  79. 14
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  80. 43
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  81. 14
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  82. 43
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  83. 14
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  84. 43
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  85. 14
      Marlin/src/config/examples/MakerParts/Configuration.h
  86. 43
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  87. 14
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  88. 43
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  89. 14
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  90. 43
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  91. 14
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  92. 14
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  93. 43
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  94. 14
      Marlin/src/config/examples/Mks/Robin/Configuration.h
  95. 43
      Marlin/src/config/examples/Mks/Robin/Configuration_adv.h
  96. 14
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  97. 43
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  98. 14
      Marlin/src/config/examples/RapideLite/RL200/Configuration.h
  99. 43
      Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
  100. 14
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h

14
Marlin/Configuration.h

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

43
Marlin/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2014,32 +2008,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

2
Marlin/src/HAL/HAL_LPC1768/MarlinSerial.h

@ -54,9 +54,7 @@ public:
emergency_parser.update(emergency_state, c);
return true; // do not discard character
}
#endif
#if ENABLED(EMERGENCY_PARSER)
EmergencyParser::State emergency_state;
#endif
};

119
Marlin/src/Marlin.cpp

@ -56,6 +56,10 @@
#include "gcode/parser.h"
#include "gcode/queue.h"
#if ENABLED(HOST_ACTION_COMMANDS)
#include "feature/host_actions.h"
#endif
#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER)
#include "libs/buzzer.h"
#endif
@ -315,37 +319,98 @@ void disable_all_steppers() {
disable_e_steppers();
}
#if HAS_ACTION_COMMANDS
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
void event_filament_runout() {
#if ENABLED(ADVANCED_PAUSE_FEATURE)
if (did_pause_print) return; // Action already in progress. Purge triggered repeated runout.
#endif
#if ENABLED(EXTENSIBLE_UI)
ExtUI::onFilamentRunout(ExtUI::getActiveTool());
#endif
const char tool = '0'
#if NUM_RUNOUT_SENSORS > 1
+ active_extruder
#endif
;
//action:out_of_filament
#if ENABLED(HOST_PROMPT_SUPPORT)
host_prompt_reason = PROMPT_FILAMENT_RUNOUT;
host_action_prompt_end();
host_action_prompt_begin(PSTR("FilamentRunout T"), false);
SERIAL_CHAR(tool);
SERIAL_EOL();
host_action_prompt_show();
#endif
#if ENABLED(HOST_ACTION_COMMANDS)
if (!runout.host_handling
&& ( strstr(FILAMENT_RUNOUT_SCRIPT, "M600")
|| strstr(FILAMENT_RUNOUT_SCRIPT, "M125")
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|| strstr(FILAMENT_RUNOUT_SCRIPT, "M25")
#endif
)
) {
host_action_paused(false);
}
else {
// Legacy Repetier command for use until newer version supports standard dialog
// To be removed later when pause command also triggers dialog
#ifdef ACTION_ON_FILAMENT_RUNOUT
host_action(PSTR(ACTION_ON_FILAMENT_RUNOUT " T"), false);
SERIAL_CHAR(tool);
SERIAL_EOL();
#endif
host_action_pause(false);
}
SERIAL_ECHOPGM(" " ACTION_REASON_ON_FILAMENT_RUNOUT " ");
SERIAL_CHAR(tool);
SERIAL_EOL();
void host_action(const char * const pstr, const bool eol=true) {
SERIAL_ECHOPGM("//action:");
serialprintPGM(pstr);
if (eol) SERIAL_EOL();
#endif // HOST_ACTION_COMMANDS
if (!runout.host_handling)
enqueue_and_echo_commands_P(PSTR(FILAMENT_RUNOUT_SCRIPT));
}
#ifdef ACTION_ON_KILL
void host_action_kill() { host_action(PSTR(ACTION_ON_KILL)); }
#endif
#ifdef ACTION_ON_PAUSE
void host_action_pause() { host_action(PSTR(ACTION_ON_PAUSE)); }
#endif
#ifdef ACTION_ON_PAUSED
void host_action_paused() { host_action(PSTR(ACTION_ON_PAUSED)); }
#endif
#ifdef ACTION_ON_RESUME
void host_action_resume() { host_action(PSTR(ACTION_ON_RESUME)); }
#endif
#ifdef ACTION_ON_RESUMED
void host_action_resumed() { host_action(PSTR(ACTION_ON_RESUMED)); }
#endif
#ifdef ACTION_ON_CANCEL
void host_action_cancel() { host_action(PSTR(ACTION_ON_CANCEL)); }
#endif
#ifdef ACTION_ON_FILAMENT_RUNOUT
void host_action_filament_runout(const bool eol/*=true*/) { host_action(PSTR(ACTION_ON_FILAMENT_RUNOUT), eol); }
#endif
#endif // FILAMENT_RUNOUT_SENSOR
#if ENABLED(G29_RETRY_AND_RECOVER)
void event_probe_failure() {
#ifdef G29_FAILURE_COMMANDS
process_subcommands_now_P(PSTR(G29_FAILURE_COMMANDS));
#endif
#ifdef ACTION_ON_G29_FAILURE
host_action(PSTR(ACTION_ON_G29_FAILURE)); }
#endif
#if ENABLED(G29_HALT_ON_FAILURE)
#ifdef ACTION_ON_CANCEL
host_action_cancel();
#endif
kill(PSTR(MSG_ERR_PROBING_FAILED));
#endif
}
void event_probe_recover() {
#if ENABLED(HOST_PROMPT_SUPPORT)
host_prompt_do(PROMPT_INFO, PSTR("G29 Retrying"));
#endif
#ifdef G29_RECOVER_COMMANDS
process_subcommands_now_P(PSTR(G29_RECOVER_COMMANDS));
#endif
#ifdef ACTION_ON_G29_RECOVER
host_action(PSTR(ACTION_ON_G29_RECOVER));
#endif
}
#endif // HAS_ACTION_COMMANDS
#endif
/**
* Manage several activities:

29
Marlin/src/Marlin.h

@ -370,26 +370,11 @@ void protected_pin_err();
inline void suicide() { OUT_WRITE(SUICIDE_PIN, LOW); }
#endif
#if HAS_ACTION_COMMANDS
#ifdef ACTION_ON_KILL
void host_action_kill();
#endif
#ifdef ACTION_ON_PAUSE
void host_action_pause();
#endif
#ifdef ACTION_ON_PAUSED
void host_action_paused();
#endif
#ifdef ACTION_ON_RESUME
void host_action_resume();
#endif
#ifdef ACTION_ON_RESUMED
void host_action_resumed();
#endif
#ifdef ACTION_ON_CANCEL
void host_action_cancel();
#endif
#ifdef ACTION_ON_FILAMENT_RUNOUT
void host_action_filament_runout(const bool eol=true);
#endif
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
void event_filament_runout();
#endif
#if ENABLED(G29_RETRY_AND_RECOVER)
void event_probe_recover();
void event_probe_failure();
#endif

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

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

43
Marlin/src/config/default/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2014,32 +2008,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2016,32 +2010,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

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

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

43
Marlin/src/config/examples/Anet/A2/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Anet/A6/Configuration_adv.h

@ -1005,13 +1005,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2012,32 +2006,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Anet/A8/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/ArmEd/Configuration_adv.h

@ -1011,13 +1011,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2018,32 +2012,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

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

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

43
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h

@ -1005,13 +1005,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2012,32 +2006,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -1014,13 +1014,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2021,32 +2015,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Cartesio/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2016,32 +2010,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Einstart-S/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Felix/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

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

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

43
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h

@ -1005,13 +1005,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2012,32 +2006,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h

@ -1008,13 +1008,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2017,32 +2011,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
#define ACTION_ON_PAUSE "pause"
#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h

@ -1011,13 +1011,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2018,32 +2012,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
#define ACTION_ON_PAUSE "pause"
#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h

@ -1011,13 +1011,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
#define ACTION_ON_PAUSE "pause"
#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

14
Marlin/src/config/examples/Geeetech/A10M/Configuration.h

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

43
Marlin/src/config/examples/Geeetech/A10M/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2014,32 +2008,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

14
Marlin/src/config/examples/Geeetech/A20M/Configuration.h

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

43
Marlin/src/config/examples/Geeetech/A20M/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2014,32 +2008,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

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

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

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

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

43
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -1999,32 +1993,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

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

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

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

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

43
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/MakerParts/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

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

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

43
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h

@ -1006,13 +1006,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2013,32 +2007,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Mks/Robin/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2014,32 +2008,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h

@ -1014,13 +1014,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2021,32 +2015,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

43
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h

@ -1007,13 +1007,7 @@
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
/**
* Specify an action command to send to the host on a recovery attempt or failure.
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
* The host must be configured to handle the action command.
*/
#define G29_ACTION_ON_RECOVER "probe_rewipe"
#define G29_ACTION_ON_FAILURE "probe_failed"
#endif
// @section extras
@ -2014,32 +2008,23 @@
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
/**
* Specify an action command to send to the host on pause and resume.
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
* The host must be configured to handle the action command.
* Host Action Commands
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
* Define host streamer action commands in compliance with the standard.
*
* PAUSED / RESUMED : Used in scenarios where Marlin handles pause and filament-
* change actions and the host needs to stop sending commands
* until the machine is ready to resume. (M125/M600)
* See https://reprap.org/wiki/G-code#Action_commands
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
* Some features add reason codes to extend these commands.
*
* Host Prompt Support enables Marlin to use the host for user prompts so
* filament runout and other processes can be managed from the host side.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#define ACTION_ON_PAUSED "paused"
//#define ACTION_ON_RESUMED "resumed"
//#define ACTION_ON_CANCEL "cancel"
//#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
//#define HOST_PROMPT_SUPPORT
#endif
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

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

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save