Add HOST_PROMPT_SUPPORT (#13039)
This commit is contained in:
committed by
Scott Lahteine
parent
0feeef2604
commit
7f1b69b0c8
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2014,32 +2008,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1039,20 +1039,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2016,32 +2010,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1053,20 +1053,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1147,20 +1147,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1005,13 +1005,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2012,32 +2006,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1046,20 +1046,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1043,20 +1043,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1034,20 +1034,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1011,13 +1011,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2018,32 +2012,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1005,13 +1005,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2012,32 +2006,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1021,20 +1021,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1014,13 +1014,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2021,32 +2015,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1021,20 +1021,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1032,20 +1032,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1043,20 +1043,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2016,32 +2010,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1034,20 +1034,10 @@
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
#define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1052,20 +1052,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1043,20 +1043,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1037,20 +1037,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1037,20 +1037,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1043,20 +1043,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1043,20 +1043,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1015,20 +1015,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1015,20 +1015,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1026,20 +1026,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1005,13 +1005,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2012,32 +2006,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1039,20 +1039,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1131,20 +1131,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1008,13 +1008,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2017,32 +2011,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1063,20 +1063,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1011,13 +1011,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2018,32 +2012,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1058,20 +1058,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1011,13 +1011,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1018,20 +1018,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2014,32 +2008,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1018,20 +1018,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2014,32 +2008,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1048,20 +1048,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1040,20 +1040,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -1999,32 +1993,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1049,20 +1049,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1048,20 +1048,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1037,20 +1037,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1045,20 +1045,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1053,20 +1053,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1057,20 +1057,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1032,20 +1032,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1037,20 +1037,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1037,20 +1037,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1034,20 +1034,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2014,32 +2008,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1014,13 +1014,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2021,32 +2015,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1007,13 +1007,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2014,32 +2008,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1082,20 +1082,10 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1033,20 +1033,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1031,20 +1031,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
@ -1046,20 +1046,10 @@
|
||||
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||
|
||||
// Set one or more commands to run on filament runout.
|
||||
// - Always applies to SD-card printing.
|
||||
// - Applies to host-based printing if ACTION_ON_FILAMENT_RUNOUT is not set.
|
||||
// Set one or more commands to execute on filament runout.
|
||||
// (After 'M412 H' Marlin will ask the host to handle the process.)
|
||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||
|
||||
// With this option, if filament runs out during host-based printing, Marlin
|
||||
// will send "//action:<ACTION_ON_FILAMENT_RUNOUT>" to the host and let the
|
||||
// host handle filament change. If left undefined the FILAMENT_RUNOUT_SCRIPT
|
||||
// will be used on filament runout for both host-based and SD-card printing.
|
||||
//
|
||||
// The host must be able to respond to the //action: command set here.
|
||||
//
|
||||
//#define ACTION_ON_FILAMENT_RUNOUT "pause: filament_runout"
|
||||
|
||||
// After a runout is detected, continue printing this length of filament
|
||||
// before executing the runout script. Useful for a sensor at the end of
|
||||
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
|
||||
|
@ -1006,13 +1006,7 @@
|
||||
#define G29_SUCCESS_COMMANDS "M117 Bed leveling done."
|
||||
#define G29_RECOVER_COMMANDS "M117 Probe failed. Rewiping.\nG28\nG12 P0 S12 T0"
|
||||
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nG4 S1"
|
||||
/**
|
||||
* Specify an action command to send to the host on a recovery attempt or failure.
|
||||
* Will be sent in the form '//action:ACTION_ON_G29_FAILURE', e.g. '//action:probe_failed'.
|
||||
* The host must be configured to handle the action command.
|
||||
*/
|
||||
#define G29_ACTION_ON_RECOVER "probe_rewipe"
|
||||
#define G29_ACTION_ON_FAILURE "probe_failed"
|
||||
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
@ -2013,32 +2007,23 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host when the printer is killed.
|
||||
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
|
||||
* The host must be configured to handle the action command.
|
||||
* Host Action Commands
|
||||
*
|
||||
* Define host streamer action commands in compliance with the standard.
|
||||
*
|
||||
* See https://reprap.org/wiki/G-code#Action_commands
|
||||
* Common commands ........ poweroff, pause, paused, resume, resumed, cancel
|
||||
* G29_RETRY_AND_RECOVER .. probe_rewipe, probe_failed
|
||||
*
|
||||
* Some features add reason codes to extend these commands.
|
||||
*
|
||||
* Host Prompt Support enables Marlin to use the host for user prompts so
|
||||
* filament runout and other processes can be managed from the host side.
|
||||
*/
|
||||
//#define ACTION_ON_KILL "poweroff"
|
||||
|
||||
/**
|
||||
* Specify an action command to send to the host on pause and resume.
|
||||
* Will be sent in the form '//action:ACTION_ON_PAUSE', e.g. '//action:pause'.
|
||||
* The host must be configured to handle the action command.
|
||||
*
|
||||
* 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_PAUSED "paused"
|
||||
//#define ACTION_ON_RESUMED "resumed"
|
||||
//#define ACTION_ON_CANCEL "cancel"
|
||||
//#define HOST_ACTION_COMMANDS
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
//#define HOST_PROMPT_SUPPORT
|
||||
#endif
|
||||
|
||||
//===========================================================================
|
||||
//====================== I2C Position Encoder Settings ======================
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user