Browse Source

Remote streamer improvements (#12982)

pull/1/head
InsanityAutomation 6 years ago
committed by Scott Lahteine
parent
commit
48a3502656
  1. 17
      Marlin/Configuration_adv.h
  2. 34
      Marlin/src/Marlin.cpp
  3. 24
      Marlin/src/Marlin.h
  4. 17
      Marlin/src/config/default/Configuration_adv.h
  5. 17
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  6. 17
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  7. 17
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  8. 17
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  9. 17
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  10. 17
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  11. 17
      Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h
  12. 17
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  13. 17
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  14. 17
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  15. 17
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  16. 17
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  17. 17
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  18. 17
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  19. 17
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  20. 17
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  21. 17
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  22. 17
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  23. 17
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  24. 17
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  25. 17
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  26. 17
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  27. 17
      Marlin/src/config/examples/Felix/Configuration_adv.h
  28. 17
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h
  29. 17
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  30. 17
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  31. 17
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  32. 17
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  33. 17
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  34. 17
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  35. 17
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  36. 17
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  37. 17
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  38. 17
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  39. 17
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  40. 17
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  41. 17
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  42. 17
      Marlin/src/config/examples/Mks/Robin/Configuration_adv.h
  43. 17
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  44. 17
      Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
  45. 17
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  46. 17
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  47. 17
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  48. 17
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  49. 17
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  50. 17
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  51. 17
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h
  52. 17
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  53. 17
      Marlin/src/config/examples/VORONDesign/Configuration_adv.h
  54. 17
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  55. 17
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  56. 17
      Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h
  57. 17
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  58. 17
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  59. 17
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  60. 17
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  61. 17
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  62. 17
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  63. 17
      Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h
  64. 17
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h
  65. 17
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  66. 17
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  67. 17
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  68. 17
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  69. 17
      Marlin/src/config/examples/makibox/Configuration_adv.h
  70. 17
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  71. 17
      Marlin/src/config/examples/wt150/Configuration_adv.h
  72. 12
      Marlin/src/feature/pause.cpp
  73. 6
      Marlin/src/feature/runout.h
  74. 4
      Marlin/src/gcode/gcode.cpp
  75. 4
      Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp
  76. 2
      Marlin/src/inc/Conditionals_LCD.h
  77. 44
      Marlin/src/lcd/menu/menu_main.cpp
  78. 3
      buildroot/share/tests/teensy35_tests

17
Marlin/Configuration_adv.h

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

34
Marlin/src/Marlin.cpp

@ -311,6 +311,38 @@ void disable_all_steppers() {
disable_e_steppers();
}
#if HAS_ACTION_COMMANDS
void host_action(const char * const pstr, const bool eol=true) {
SERIAL_ECHOPGM("//action:");
serialprintPGM(pstr);
if (eol) SERIAL_EOL();
}
#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 // HAS_ACTION_COMMANDS
/**
* Manage several activities:
* - Check for Filament Runout
@ -618,7 +650,7 @@ void kill(PGM_P const lcd_msg/*=NULL*/) {
#endif
#ifdef ACTION_ON_KILL
SERIAL_ECHOLNPGM("//action:" ACTION_ON_KILL);
host_action_kill();
#endif
minkill();

24
Marlin/src/Marlin.h

@ -369,3 +369,27 @@ void protected_pin_err();
#if HAS_SUICIDE
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
#endif

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

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1951,9 +1951,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1947,9 +1947,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1953,9 +1953,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1947,9 +1947,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1956,9 +1956,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1951,9 +1951,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1947,9 +1947,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1952,9 +1952,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
#define ACTION_ON_PAUSE "pause"
#define ACTION_ON_RESUME "resume"
#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1953,9 +1953,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
#define ACTION_ON_PAUSE "pause"
#define ACTION_ON_RESUME "resume"
#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
#define ACTION_ON_PAUSE "pause"
#define ACTION_ON_RESUME "resume"
#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1934,9 +1934,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1956,9 +1956,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

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

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/RigidBot/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/SCARA/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/TheBorg/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/VORONDesign/Configuration_adv.h

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h

@ -1961,9 +1961,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h

@ -1951,9 +1951,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h

@ -1938,9 +1938,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/generic/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h

@ -1950,9 +1950,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/makibox/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h

@ -1948,9 +1948,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

17
Marlin/src/config/examples/wt150/Configuration_adv.h

@ -1949,9 +1949,22 @@
* 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.
*
* PAUSE / RESUME : Used in non-parking scenarios where the host handles the
* action while Marlin continues to process G-Code. (M24/M25)
*
* 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)
*
* CANCEL : Instructs the host to abort the print job. Used when the
* print is canceled from the LCD menu.
*/
//#define ACTION_ON_PAUSE "pause"
//#define ACTION_ON_RESUME "resume"
//#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"
//===========================================================================
//====================== I2C Position Encoder Settings ======================

12
Marlin/src/feature/pause.cpp

@ -323,8 +323,10 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
if (did_pause_print) return false; // already paused
#ifdef ACTION_ON_PAUSE
SERIAL_ECHOLNPGM("//action:" ACTION_ON_PAUSE);
#ifdef ACTION_ON_PAUSED
host_action_paused();
#elif defined(ACTION_ON_PAUSE)
host_action_pause();
#endif
#if HAS_LCD_MENU
@ -570,8 +572,10 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_STATUS);
#endif
#ifdef ACTION_ON_RESUME
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
#ifdef ACTION_ON_RESUMED
host_action_resumed();
#elif defined(ACTION_ON_RESUME)
host_action_resume();
#endif
--did_pause_print;

6
Marlin/src/feature/runout.h

@ -99,9 +99,11 @@ class TFilamentMonitor : public FilamentMonitorBase {
#endif
#ifdef ACTION_ON_FILAMENT_RUNOUT
#if NUM_RUNOUT_SENSORS > 1
SERIAL_ECHOLNPAIR("//action:" ACTION_ON_FILAMENT_RUNOUT " ", int(active_extruder));
host_action_filament_runout(false);
SERIAL_CHAR(' ');
SERIAL_ECHO(int(active_extruder));
#else
SERIAL_ECHOLNPGM("//action:" ACTION_ON_FILAMENT_RUNOUT);
host_action_filament_runout();
#endif
if (!IS_SD_PRINTING())
reset();

4
Marlin/src/gcode/gcode.cpp

@ -130,7 +130,7 @@ void GcodeSuite::dwell(millis_t time) {
while (G29()) { // G29 should return true for failed probes ONLY
if (retries--) {
#ifdef G29_ACTION_ON_RECOVER
SERIAL_ECHOLNPGM("//action:" G29_ACTION_ON_RECOVER);
host_action(PSTR(G29_ACTION_ON_RECOVER));
#endif
#ifdef G29_RECOVER_COMMANDS
process_subcommands_now_P(PSTR(G29_RECOVER_COMMANDS));
@ -141,7 +141,7 @@ void GcodeSuite::dwell(millis_t time) {
process_subcommands_now_P(PSTR(G29_FAILURE_COMMANDS));
#endif
#ifdef G29_ACTION_ON_FAILURE
SERIAL_ECHOLNPGM("//action:" G29_ACTION_ON_FAILURE);
host_action(PSTR(G29_ACTION_ON_FAILURE));
#endif
#if ENABLED(G29_HALT_ON_FAILURE)
kill(PSTR(MSG_ERR_PROBING_FAILED));

4
Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp

@ -104,7 +104,7 @@ void GcodeSuite::M24() {
}
#ifdef ACTION_ON_RESUME
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
host_action_resume();
#endif
ui.reset_status();
@ -127,7 +127,7 @@ void GcodeSuite::M25() {
ui.reset_status();
#ifdef ACTION_ON_PAUSE
SERIAL_ECHOLNPGM("//action:" ACTION_ON_PAUSE);
host_action_pause();
#endif
#endif
}

2
Marlin/src/inc/Conditionals_LCD.h

@ -526,3 +526,5 @@
#define IS_SCARA (ENABLED(MORGAN_SCARA) || ENABLED(MAKERARM_SCARA))
#define IS_KINEMATIC (ENABLED(DELTA) || IS_SCARA)
#define IS_CARTESIAN !IS_KINEMATIC
#define HAS_ACTION_COMMANDS (defined(ACTION_ON_KILL) || defined(ACTION_ON_PAUSE) || defined(ACTION_ON_PAUSED) || defined(ACTION_ON_RESUME) || defined(ACTION_ON_RESUMED) || defined(ACTION_ON_CANCEL) || defined(G29_ACTION_ON_RECOVER) || defined(G29_ACTION_ON_FAILURE) || defined(ACTION_ON_FILAMENT_RUNOUT))

44
Marlin/src/lcd/menu/menu_main.cpp

@ -38,6 +38,10 @@
#include "../../feature/power_loss_recovery.h"
#endif
#if ENABLED(SDSUPPORT)
#include "../../sd/cardreader.h"
#endif
void lcd_pause() {
#if ENABLED(POWER_LOSS_RECOVERY)
if (recovery.enabled) recovery.save(true, false);
@ -49,7 +53,7 @@ void lcd_pause() {
#elif ENABLED(SDSUPPORT)
enqueue_and_echo_commands_P(PSTR("M25"));
#elif defined(ACTION_ON_PAUSE)
SERIAL_ECHOLNPGM("//action:" ACTION_ON_PAUSE);
host_action_pause();
#endif
planner.synchronize();
}
@ -58,29 +62,28 @@ void lcd_resume() {
#if ENABLED(SDSUPPORT)
if (card.isPaused()) enqueue_and_echo_commands_P(PSTR("M24"));
#elif defined(ACTION_ON_RESUME)
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
host_action_resume();
#endif
}
#if ENABLED(SDSUPPORT)
#include "../../sd/cardreader.h"
void lcd_sdcard_stop() {
void lcd_stop() {
#if ENABLED(SDSUPPORT)
wait_for_heatup = wait_for_user = false;
card.flag.abort_sd_printing = true;
ui.set_status_P(PSTR(MSG_PRINT_ABORTED), -1);
ui.return_to_status();
}
void menu_sdcard_abort_confirm() {
START_MENU();
MENU_BACK(MSG_MAIN);
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
END_MENU();
}
#endif
#ifdef ACTION_ON_CANCEL
host_action_cancel();
#endif
ui.set_status_P(PSTR(MSG_PRINT_ABORTED), -1);
ui.return_to_status();
}
#endif // SDSUPPORT
void menu_abort_confirm() {
START_MENU();
MENU_BACK(MSG_MAIN);
MENU_ITEM(function, MSG_STOP_PRINT, lcd_stop);
END_MENU();
}
void menu_tune();
void menu_motion();
@ -100,9 +103,8 @@ void menu_main() {
if (busy) {
MENU_ITEM(function, MSG_PAUSE_PRINT, lcd_pause);
#if ENABLED(SDSUPPORT)
if (card.isFileOpen())
MENU_ITEM(submenu, MSG_STOP_PRINT, menu_sdcard_abort_confirm);
#if ENABLED(SDSUPPORT) || defined(ACTION_ON_CANCEL)
MENU_ITEM(submenu, MSG_STOP_PRINT, menu_abort_confirm);
#endif
#if !defined(ACTION_ON_RESUME) && ENABLED(SDSUPPORT)
if (card.isFileOpen())

3
buildroot/share/tests/teensy35_tests

@ -24,7 +24,8 @@ opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT \
FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \
ADVANCED_PAUSE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA PARK_HEAD_ON_PAUSE
ADVANCED_PAUSE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA PARK_HEAD_ON_PAUSE \
ACTION_ON_KILL ACTION_ON_PAUSE ACTION_ON_PAUSED ACTION_ON_RESUME ACTION_ON_RESUMED ACTION_ON_CANCEL
opt_set I2C_SLAVE_ADDRESS 63
opt_set GRID_MAX_POINTS_X 16
exec_test $1 $2 "Teensy3.5 with many features"

Loading…
Cancel
Save