diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index ea0ab63ffbc5206963d972ec1308a7e4fd6adc91..d5214d8821ba93ff3688a55273fb1373c9399e7b 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -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. diff --git a/Marlin/src/config/default/Configuration.h b/Marlin/src/config/default/Configuration.h index ea0ab63ffbc5206963d972ec1308a7e4fd6adc91..d5214d8821ba93ff3688a55273fb1373c9399e7b 100644 --- a/Marlin/src/config/default/Configuration.h +++ b/Marlin/src/config/default/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h b/Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h index 6e41ba890f5011fd03dd99ef6e8183e747c01da9..c769489445fe1a66107510bab7c4c6d134e2e8ed 100644 --- a/Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h +++ b/Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h index 8b261fd06fe0d6889f780778481548a533c9f458..456ab7b132f4adbbe24016f14f97ecde6c539330 100644 --- a/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h +++ b/Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h b/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h index 8ef893b0233b389594ef8976db75e556e2545055..b83387e958206d1420739b764057eaf6114cd52f 100644 --- a/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h +++ b/Marlin/src/config/examples/AliExpress/CL-260/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Anet/A2/Configuration.h b/Marlin/src/config/examples/Anet/A2/Configuration.h index ad86e0f04c4711c36f2e4e4fe104828fa720aedf..e322eded32d4447ce5f4f08679807bc3f3d732fc 100644 --- a/Marlin/src/config/examples/Anet/A2/Configuration.h +++ b/Marlin/src/config/examples/Anet/A2/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Anet/A2plus/Configuration.h b/Marlin/src/config/examples/Anet/A2plus/Configuration.h index 474351de9e1855b8f94d8f646e79179206798d68..ef978e1f43fff5ab03bbda2dbe0c1069feb58ad7 100644 --- a/Marlin/src/config/examples/Anet/A2plus/Configuration.h +++ b/Marlin/src/config/examples/Anet/A2plus/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Anet/A6/Configuration.h b/Marlin/src/config/examples/Anet/A6/Configuration.h index bf7be458dd46e4c603cad8ff3e0b7cfcd4fbdab9..4016ee14b0761bca147ac18277b24c04c3fbe442 100644 --- a/Marlin/src/config/examples/Anet/A6/Configuration.h +++ b/Marlin/src/config/examples/Anet/A6/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Anet/A8/Configuration.h b/Marlin/src/config/examples/Anet/A8/Configuration.h index 28a7a99fa6f6c0059acb1bfb290fb0a174e848ce..0076f99050ff799ef69eebbd084c346274df03d0 100644 --- a/Marlin/src/config/examples/Anet/A8/Configuration.h +++ b/Marlin/src/config/examples/Anet/A8/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/AnyCubic/i3/Configuration.h b/Marlin/src/config/examples/AnyCubic/i3/Configuration.h index 3663ce73350213ede4db3d7e84c2f42e3f1b7409..1ddbc458416f95f82cba0faf18721dea59c50238 100644 --- a/Marlin/src/config/examples/AnyCubic/i3/Configuration.h +++ b/Marlin/src/config/examples/AnyCubic/i3/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/ArmEd/Configuration.h b/Marlin/src/config/examples/ArmEd/Configuration.h index 6bdfc01cadaf9f603219b9a0c6b347e7bebcf657..cf7c6eb3a7bea71da4e4922f7562d4cca3e709c8 100644 --- a/Marlin/src/config/examples/ArmEd/Configuration.h +++ b/Marlin/src/config/examples/ArmEd/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h b/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h index 5d20a201399fff61f0fa33570c47acb4195ea087..4f049c548b9ab882d5c1e77bc8b0d268d4959f71 100644 --- a/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h +++ b/Marlin/src/config/examples/Azteeg/X5GT/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h index fc197dd47bfd1f12f263ffb555e219bf4f18fd9b..aac07912e8f1087c77a9ec420e0619d621c996db 100644 --- a/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h +++ b/Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h index d40c88a5b68e4d588aa5b62439e27bc0ae3f7144..5719760889658667dc3bcccccf7edc95c3754e79 100644 --- a/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h +++ b/Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/BQ/Hephestos/Configuration.h b/Marlin/src/config/examples/BQ/Hephestos/Configuration.h index 7bce73973407b3f270c150bbf5a4a3356d5fb031..3229f2785b345e09aed386f9426882c187274c00 100644 --- a/Marlin/src/config/examples/BQ/Hephestos/Configuration.h +++ b/Marlin/src/config/examples/BQ/Hephestos/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h index d31635cf98a005374c8d3820fa49b2851b165e51..8c9544307a4ac6eac63ddd4d1a95747ecb96607f 100644 --- a/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h +++ b/Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/BQ/WITBOX/Configuration.h b/Marlin/src/config/examples/BQ/WITBOX/Configuration.h index 739fb8918a81618dc4fe6ac0b9229a0a99721bd1..ddad01acfdb03e33ed9a91a3b1b62d82a056c490 100644 --- a/Marlin/src/config/examples/BQ/WITBOX/Configuration.h +++ b/Marlin/src/config/examples/BQ/WITBOX/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Cartesio/Configuration.h b/Marlin/src/config/examples/Cartesio/Configuration.h index 22e73414a3beda3c892188576af489aa945f2e25..1db76dee47dd63f464caf50099a44ad578eae1bb 100644 --- a/Marlin/src/config/examples/Cartesio/Configuration.h +++ b/Marlin/src/config/examples/Cartesio/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Creality/CR-10/Configuration.h b/Marlin/src/config/examples/Creality/CR-10/Configuration.h index 3dd5f0843c6f858c2b6a0c922f3b4ec57c7e98ae..e9b49d96dec0561f9c1c25d692a4e160c75a1aee 100755 --- a/Marlin/src/config/examples/Creality/CR-10/Configuration.h +++ b/Marlin/src/config/examples/Creality/CR-10/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Creality/CR-10S/Configuration.h b/Marlin/src/config/examples/Creality/CR-10S/Configuration.h index 65e583c114ecdb4fe9b08429f7c817921509282a..bd865cdfa525cb8a1e7940c5a23fbb7c166adaac 100644 --- a/Marlin/src/config/examples/Creality/CR-10S/Configuration.h +++ b/Marlin/src/config/examples/Creality/CR-10S/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h b/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h index 22562b5aac79fcdea6542c6533918d81638c9660..6dc12d2a194e45c29a586266e88ad1b2d429f4c3 100644 --- a/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h +++ b/Marlin/src/config/examples/Creality/CR-10mini/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Creality/CR-8/Configuration.h b/Marlin/src/config/examples/Creality/CR-8/Configuration.h index a21dd75b6bb3978ec791557a1e991c3f939461f9..3285f922d309dd980ca5bc8c4d40d3b82abddbb4 100644 --- a/Marlin/src/config/examples/Creality/CR-8/Configuration.h +++ b/Marlin/src/config/examples/Creality/CR-8/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Creality/Ender-2/Configuration.h b/Marlin/src/config/examples/Creality/Ender-2/Configuration.h index da3da449f1a74d107a6d88a28c3610d023c211e9..c50ee9b16c351fec02d745720db34c5604d7ef11 100644 --- a/Marlin/src/config/examples/Creality/Ender-2/Configuration.h +++ b/Marlin/src/config/examples/Creality/Ender-2/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Creality/Ender-3/Configuration.h b/Marlin/src/config/examples/Creality/Ender-3/Configuration.h index b64de5d24b97cdbcb8bc861bb3a3642a2a76d123..0bb132fcb4207c1ac447bdfb439781e179919104 100644 --- a/Marlin/src/config/examples/Creality/Ender-3/Configuration.h +++ b/Marlin/src/config/examples/Creality/Ender-3/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Creality/Ender-4/Configuration.h b/Marlin/src/config/examples/Creality/Ender-4/Configuration.h index e127c10ec0e5e005d416abedaeb876b6614c80de..466cc0d6dcda1fdfdb67f09634b05d2f53644227 100644 --- a/Marlin/src/config/examples/Creality/Ender-4/Configuration.h +++ b/Marlin/src/config/examples/Creality/Ender-4/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Einstart-S/Configuration.h b/Marlin/src/config/examples/Einstart-S/Configuration.h index 2c961fa43b6457e3346d2d91a83dc0af9ba407e6..09a86295055c953d6624e21572b2fd5f66773140 100644 --- a/Marlin/src/config/examples/Einstart-S/Configuration.h +++ b/Marlin/src/config/examples/Einstart-S/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Felix/Configuration.h b/Marlin/src/config/examples/Felix/Configuration.h index 2b5ab1e69230817e0446c23f42cbd40feb71ba53..a8402b3ae86449b65a8728e975541630024b2dc3 100644 --- a/Marlin/src/config/examples/Felix/Configuration.h +++ b/Marlin/src/config/examples/Felix/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Felix/DUAL/Configuration.h b/Marlin/src/config/examples/Felix/DUAL/Configuration.h index 4b4de40af55eafdbbfce16a2118bcb9b720d73f3..531cd8c0da75140e8c6db18f45ba372e6b773a2c 100644 --- a/Marlin/src/config/examples/Felix/DUAL/Configuration.h +++ b/Marlin/src/config/examples/Felix/DUAL/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h b/Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h index d92a2f9dc1f1acc602ee204929b1ce1742d9427d..0b7bf17fb6d1c88ebe8efc0f84c6476d3438d2c3 100644 --- a/Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h +++ b/Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h index e346ccf2afeda4bede444d9596554371e89c79a7..4d63e41c54a35bb6f522159d35def4bf7b93b9c6 100644 --- a/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h +++ b/Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Formbot/Raptor/Configuration.h b/Marlin/src/config/examples/Formbot/Raptor/Configuration.h index 178327dadd4099a3dd66021fe9c646663817448b..59f4586bbef3f12e19374e5f436d69308e5f0d86 100644 --- a/Marlin/src/config/examples/Formbot/Raptor/Configuration.h +++ b/Marlin/src/config/examples/Formbot/Raptor/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h index 5007f54d9e69486465e263f40a4766b9406312f1..a24ebf46176a29832acd4205fc8b180c1e6f9333 100644 --- a/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h +++ b/Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h index 36017b8f20547677a49fee860e28d1545b46aecf..0d852d9918a122257ea91c4887873d89f7e35640 100644 --- a/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h +++ b/Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h b/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h index c53ddeb137ee92891842bfe5fe99d0b58375b23e..c945d9069e440b12e68a49eb4043b19c4d90c317 100644 --- a/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h +++ b/Marlin/src/config/examples/Geeetech/GT2560/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h b/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h index ae3315108ff3bef4b0cbcae3c5064b323ac5e162..9565d9a5ce61db6f50ee59980b960456d1dd0400 100644 --- a/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h +++ b/Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h index e2a3c31db771926e133735c8f63d93390635978e..8225db882228fac81d9c001685c34804c75253c1 100644 --- a/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h +++ b/Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h index cd8488a1917c9e1ff765c4825e3ff863620503ed..0712e4f8e35bb60d71da8cab5571ca58035fcd12 100644 --- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h +++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h index 4aa68e4c016d07087080d08a3814fb33f162d7b2..33dd05a3e797b115470822d020e5b42c0a5127a6 100644 --- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h +++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h index c1d41d7dc83657b9fad506a46582aae5b49ed0d6..7353b4260e96be2c96e1d4ebf563af50b653929d 100644 --- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h +++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h index 7a4b81c7586879e42ecf8e8489ce8f652a2e47cf..4eef948958c66bf086537ed39627902bfddcd408 100644 --- a/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h +++ b/Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h b/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h index fe00fb7e34cd1c9db11ae7aad784cd28bc8321a9..cc10774cf1ec05b533366c9a43d76c4aa3fdd9bc 100644 --- a/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h +++ b/Marlin/src/config/examples/Infitary/i3-M508/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/JGAurora/A5/Configuration.h b/Marlin/src/config/examples/JGAurora/A5/Configuration.h index 552055959f4b2cc85e55663096cc6bfd0b6a671c..b629becf5b476d1c209646cf17f4c28f3a438b46 100644 --- a/Marlin/src/config/examples/JGAurora/A5/Configuration.h +++ b/Marlin/src/config/examples/JGAurora/A5/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/MakerParts/Configuration.h b/Marlin/src/config/examples/MakerParts/Configuration.h index fbd360eb65f469af0d0d32b97a0c35db8269c7fc..b60dd74d7a3c049c428e16220694e94c63315656 100644 --- a/Marlin/src/config/examples/MakerParts/Configuration.h +++ b/Marlin/src/config/examples/MakerParts/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Malyan/M150/Configuration.h b/Marlin/src/config/examples/Malyan/M150/Configuration.h index 90d3776adeb75b157b29f541e0bb4c5d9115d134..1025ccb60ebeeb55f3f6f51ef38b96dd5ecee43e 100644 --- a/Marlin/src/config/examples/Malyan/M150/Configuration.h +++ b/Marlin/src/config/examples/Malyan/M150/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Malyan/M200/Configuration.h b/Marlin/src/config/examples/Malyan/M200/Configuration.h index f6408af9f7d7718ca3426f005c9a30cc880f56bb..01af8f3c266e8001b72bb6507b214d2be7f09706 100644 --- a/Marlin/src/config/examples/Malyan/M200/Configuration.h +++ b/Marlin/src/config/examples/Malyan/M200/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h b/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h index 9743b70f8a67768240bbb541fc4c49d0db375314..4a328478185ac22cba3368b35a9b0669fae9aba8 100644 --- a/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h +++ b/Marlin/src/config/examples/Micromake/C1/basic/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h index 9f0cea7753ce4286f7800704cedf431716109720..54d186fc3c9450232fd46a0770187db3d9e67b7b 100644 --- a/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h +++ b/Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Mks/Robin/Configuration.h b/Marlin/src/config/examples/Mks/Robin/Configuration.h index aa280cce02bd199139a8d41d68761dc331d07045..6b0c3f3504b9ce35bde531420ee9ec34e81eab2e 100644 --- a/Marlin/src/config/examples/Mks/Robin/Configuration.h +++ b/Marlin/src/config/examples/Mks/Robin/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Mks/Sbase/Configuration.h b/Marlin/src/config/examples/Mks/Sbase/Configuration.h index 2a9bafdd1bb64c3dcf7d61c2f30b0ef4a469a74e..fc4c536c42c85c771893a4598f2f56b1dfaf6be0 100644 --- a/Marlin/src/config/examples/Mks/Sbase/Configuration.h +++ b/Marlin/src/config/examples/Mks/Sbase/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/RapideLite/RL200/Configuration.h b/Marlin/src/config/examples/RapideLite/RL200/Configuration.h index 1f7e07f05e44a987e49ff59ae491143a145e573b..1cde9106e8da36129b2c4df529dae80775b2cc2d 100644 --- a/Marlin/src/config/examples/RapideLite/RL200/Configuration.h +++ b/Marlin/src/config/examples/RapideLite/RL200/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h b/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h index 21469f9f76f7e92c195efee5e7c68d280cdc6ab3..24d5e5ffe3496706a187fa7c4dd435774fbdb9cb 100644 --- a/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h +++ b/Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h b/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h index 06ce2c3e02c43110835911af949d01fbcc101bbe..e30f4c78c501e55eccf3141860c62d4053e9d7b1 100644 --- a/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h +++ b/Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/RigidBot/Configuration.h b/Marlin/src/config/examples/RigidBot/Configuration.h index c350722fc879f6c17a048747719714b75f63832b..6a7cdcf09eb03d92fbdfa500a5693b9728c89eb4 100644 --- a/Marlin/src/config/examples/RigidBot/Configuration.h +++ b/Marlin/src/config/examples/RigidBot/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/SCARA/Configuration.h b/Marlin/src/config/examples/SCARA/Configuration.h index 81f6181f9e7895978a785cd7bd9577898274416d..e569f6c6580f314b5bca7a271910bb9d7f255327 100644 --- a/Marlin/src/config/examples/SCARA/Configuration.h +++ b/Marlin/src/config/examples/SCARA/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/STM32F10/Configuration.h b/Marlin/src/config/examples/STM32F10/Configuration.h index 2f5c4caba81a71ed8577486acee4a7cf076bfcf8..507b62cbd8941038d6daa6fd25857261fdf5651b 100644 --- a/Marlin/src/config/examples/STM32F10/Configuration.h +++ b/Marlin/src/config/examples/STM32F10/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/STM32F4/Configuration.h b/Marlin/src/config/examples/STM32F4/Configuration.h index 5ed9b3a1822563b0908e5a2bddc553a822da0402..634a08846d5354eebacf51c192c7a7e8da04ddea 100644 --- a/Marlin/src/config/examples/STM32F4/Configuration.h +++ b/Marlin/src/config/examples/STM32F4/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Sanguinololu/Configuration.h b/Marlin/src/config/examples/Sanguinololu/Configuration.h index 19f9fcea7895d3484bea2bb444d425c0a9109e81..5311f5ce3900a642cb0272d0be1bd79ff30439f8 100644 --- a/Marlin/src/config/examples/Sanguinololu/Configuration.h +++ b/Marlin/src/config/examples/Sanguinololu/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/TheBorg/Configuration.h b/Marlin/src/config/examples/TheBorg/Configuration.h index 8c6257388152cdbc3e73f45b693945dfc912aae3..8bcae8a3b988ea721aac4cd9c47ba20cc79e8a0d 100644 --- a/Marlin/src/config/examples/TheBorg/Configuration.h +++ b/Marlin/src/config/examples/TheBorg/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/TinyBoy2/Configuration.h b/Marlin/src/config/examples/TinyBoy2/Configuration.h index cbb7612d31e78d2db73b9999bbc8d1cf4a133d46..44af23c1fb267d30db90e550235536f1575aed21 100644 --- a/Marlin/src/config/examples/TinyBoy2/Configuration.h +++ b/Marlin/src/config/examples/TinyBoy2/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Tronxy/X1/Configuration.h b/Marlin/src/config/examples/Tronxy/X1/Configuration.h index 4ea3bdf9fdcf2ab7b79767962111bf284bd823ec..f3f61803c78ac39e3644130dc5b7ce239b00a615 100644 --- a/Marlin/src/config/examples/Tronxy/X1/Configuration.h +++ b/Marlin/src/config/examples/Tronxy/X1/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Tronxy/X3A/Configuration.h b/Marlin/src/config/examples/Tronxy/X3A/Configuration.h index 52ff0f85f3834d05529530420e0494fce730648e..572be073d9584f03fb387c7423520f4f89d58890 100644 --- a/Marlin/src/config/examples/Tronxy/X3A/Configuration.h +++ b/Marlin/src/config/examples/Tronxy/X3A/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Tronxy/X5S/Configuration.h b/Marlin/src/config/examples/Tronxy/X5S/Configuration.h index 6440ed0067d00a776415729b32ad12ce409905c0..e7e2b6cb5d1edab9b38c71ea02b67d2da816767f 100644 --- a/Marlin/src/config/examples/Tronxy/X5S/Configuration.h +++ b/Marlin/src/config/examples/Tronxy/X5S/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Tronxy/XY100/Configuration.h b/Marlin/src/config/examples/Tronxy/XY100/Configuration.h index b5578145ede4db8acc28412dade89f9cba4a2086..bdb220145df899062d4e277637531eeb22516314 100644 --- a/Marlin/src/config/examples/Tronxy/XY100/Configuration.h +++ b/Marlin/src/config/examples/Tronxy/XY100/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h b/Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h index d3116256db8967c13fc0d80dc0a6323903553c68..dae63e13ce63afe14341a6baca8b481a7125df5f 100644 --- a/Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h +++ b/Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h index 02f16c586041fa7daf05d963cac2b788a6c80a13..97e977850ba80c667afbff423a53a2028fc0a82c 100644 --- a/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h +++ b/Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/VORONDesign/Configuration.h b/Marlin/src/config/examples/VORONDesign/Configuration.h index c56e35bda73a1c9d9fc0635ec70c09dce9f05996..52f7d12ee2e43012985e3e6e01b9de270a8d2308 100644 --- a/Marlin/src/config/examples/VORONDesign/Configuration.h +++ b/Marlin/src/config/examples/VORONDesign/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Velleman/K8200/Configuration.h b/Marlin/src/config/examples/Velleman/K8200/Configuration.h index 1eeaa077710f526ab24c487b99f771d93cd7dd37..fc2eaa519a6c0363239524bc6973302d498dbf5e 100644 --- a/Marlin/src/config/examples/Velleman/K8200/Configuration.h +++ b/Marlin/src/config/examples/Velleman/K8200/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Velleman/K8400/Configuration.h b/Marlin/src/config/examples/Velleman/K8400/Configuration.h index da2ade6237271699bd200f36696b96897a3dc258..a6b03b4e9522ffe32807b5468ee20273da768609 100644 --- a/Marlin/src/config/examples/Velleman/K8400/Configuration.h +++ b/Marlin/src/config/examples/Velleman/K8400/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h b/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h index 3876a07412956798f7a3ef554f24145030c3c5d6..9137b51037df07e8ac445cf17cc914619593401b 100644 --- a/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h +++ b/Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/WASP/PowerWASP/Configuration.h b/Marlin/src/config/examples/WASP/PowerWASP/Configuration.h index a5841c7464a2578dac98b540ed27efb304bb3a66..3a0d9829667b230be63693fd3a913a71986a7d9d 100644 --- a/Marlin/src/config/examples/WASP/PowerWASP/Configuration.h +++ b/Marlin/src/config/examples/WASP/PowerWASP/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h index b7ef0acd2a2d6295c612e69fafe34f5798d93bd4..5bbbe60eacbc2fc28be40925aa445fd299df03e1 100644 --- a/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h +++ b/Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/adafruit/ST7565/Configuration.h b/Marlin/src/config/examples/adafruit/ST7565/Configuration.h index 35c98e0e77aae58225bc2e2b0e0b99d73bfd1d36..4186ddbd3b404da444de5310690a8fad7a382a95 100644 --- a/Marlin/src/config/examples/adafruit/ST7565/Configuration.h +++ b/Marlin/src/config/examples/adafruit/ST7565/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h index e0d8b8bddc7ad945da7a0747d38fbd036b6a5ef8..ed2f5580379024c9738c1e7d64024774a88b3cfb 100644 --- a/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h +++ b/Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h index 20d2d38e3b1673be6e2c3855bdc6301a80eea099..412e69397ca2b4ca204cdaf005392f891a60c935 100644 --- a/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h +++ b/Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h index fea7a17e54a6010d68fe335893fd429c9358f4df..b478f2ef7502092f79c880e661b152180022e65d 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h index dae0eabe43baec2ed60d77d942840b65aa81ac84..135a67fa15614cf2b7ee9eb4d7398dadfeaa30e8 100644 --- a/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h +++ b/Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h b/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h index 4f0719c810c829bc6733fbd38200b1077abcaf15..c77f8895755acbe6a40daa367a68f61e7cccb075 100644 --- a/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h +++ b/Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h b/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h index 41d8e9d70d3ae5868fb9ac7f0834a3e9282c0a54..c3abc8a6970b303fcc465e08f283ea2fe40fd781 100644 --- a/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h +++ b/Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h b/Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h index 012cc2f7a27889472c60b99161d9dae7ef4fb6bc..bb98e4119cce6196e850ad919346971a7f726a55 100644 --- a/Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h +++ b/Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h b/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h index 6c0e825cd2311e90476473eec667fccb99369be2..ef95c6827228142c543298302eef6560fab51aae 100644 --- a/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h +++ b/Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/generic/Configuration.h b/Marlin/src/config/examples/delta/generic/Configuration.h index 6aad3a64e726d42bdd338005965cf553a13f40ee..0aba3b1b6a8e917426137980116524d688bda36e 100644 --- a/Marlin/src/config/examples/delta/generic/Configuration.h +++ b/Marlin/src/config/examples/delta/generic/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/kossel_mini/Configuration.h b/Marlin/src/config/examples/delta/kossel_mini/Configuration.h index e0895dddaef5db188a1580a5bc6689595d208f75..d955ddbc66e76824e5b04148a5297470a99f0ab1 100644 --- a/Marlin/src/config/examples/delta/kossel_mini/Configuration.h +++ b/Marlin/src/config/examples/delta/kossel_mini/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/kossel_pro/Configuration.h b/Marlin/src/config/examples/delta/kossel_pro/Configuration.h index a796abe6fd072ac84a3981645a712ff9d3bef480..c1ea1a5f182a574d137bfb7e520ca4e63ff71249 100644 --- a/Marlin/src/config/examples/delta/kossel_pro/Configuration.h +++ b/Marlin/src/config/examples/delta/kossel_pro/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/delta/kossel_xl/Configuration.h b/Marlin/src/config/examples/delta/kossel_xl/Configuration.h index c21ea8bb04bd268f6c37e153f6203f4090041564..9b163d3b474744b669a7c18ab0674f489d797310 100644 --- a/Marlin/src/config/examples/delta/kossel_xl/Configuration.h +++ b/Marlin/src/config/examples/delta/kossel_xl/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h index 51d4ddce0b7d89f98ae4b7663631a1e0d8533d5b..0e0364ad023e78def7929abecedd372281e53d57 100644 --- a/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h +++ b/Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/makibox/Configuration.h b/Marlin/src/config/examples/makibox/Configuration.h index 831d199ea746453afc658f898b9fb52d74035c7b..9ccd93de9c4685a901232925617070e308dbd52b 100644 --- a/Marlin/src/config/examples/makibox/Configuration.h +++ b/Marlin/src/config/examples/makibox/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/stm32f103ret6/Configuration.h b/Marlin/src/config/examples/stm32f103ret6/Configuration.h index 934d3fdbcd38ff6432aa904e865fcf5a43152a4e..12e9400dfc99374f022405762777b90aac6cdb73 100644 --- a/Marlin/src/config/examples/stm32f103ret6/Configuration.h +++ b/Marlin/src/config/examples/stm32f103ret6/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/tvrrug/Round2/Configuration.h b/Marlin/src/config/examples/tvrrug/Round2/Configuration.h index 1da1864f883860cad6b45dd1c02879b7e65b616e..65dcf19b8e195d6a190903307982344d559293c0 100644 --- a/Marlin/src/config/examples/tvrrug/Round2/Configuration.h +++ b/Marlin/src/config/examples/tvrrug/Round2/Configuration.h @@ -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. diff --git a/Marlin/src/config/examples/wt150/Configuration.h b/Marlin/src/config/examples/wt150/Configuration.h index cec24b0c4fe03ddd7e0ff473edfc150a1e3cb146..c49914aea3f9d6e64ff94ff0a23cbde9e9bc0616 100644 --- a/Marlin/src/config/examples/wt150/Configuration.h +++ b/Marlin/src/config/examples/wt150/Configuration.h @@ -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. diff --git a/Marlin/src/feature/runout.h b/Marlin/src/feature/runout.h index 463f99d40b328936659bdd7b7d61e7ca608e2824..65a262920bd227e5aa7f067dda4f9d963ced29e6 100644 --- a/Marlin/src/feature/runout.h +++ b/Marlin/src/feature/runout.h @@ -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(); diff --git a/Marlin/src/lcd/extensible_ui/ui_api.h b/Marlin/src/lcd/extensible_ui/ui_api.h index 9a61ef75be28598095d141b7eeae4c03e8d9c6fb..7d64f843054950e62804d35be004324edfbcdcb3 100644 --- a/Marlin/src/lcd/extensible_ui/ui_api.h +++ b/Marlin/src/lcd/extensible_ui/ui_api.h @@ -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();