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

This commit is contained in:
Marcio Teixeira 2019-01-27 19:18:05 -07:00 committed by Scott Lahteine
parent aad770bce8
commit f214118e45
91 changed files with 1166 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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