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();