Browse Source

Added G12 configuration options to all configs

João Brázio 8 years ago
parent
commit
68c343a09a

+ 11
- 6
Marlin/Configuration.h View File

@@ -821,13 +821,18 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
821 821
 // Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
822 822
 // may change to add new functionality like different wipe patterns.
823 823
 //
824
-//#define CLEAN_NOZZLE_FEATURE
824
+//#define NOZZLE_CLEAN_FEATURE
825 825
 
826
-#if ENABLED(CLEAN_NOZZLE_FEATURE)
827
-  #define CLEAN_NOZZLE_STROKES  12
828
-  #define CLEAN_NOZZLE_START_PT { 30, 30, (Z_MIN_POS + 5), 0}
829
-  #define CLEAN_NOZZLE_END_PT   {100, 60, (Z_MIN_POS + 5), 0}
830
-  //                            {  X,  Y,               Z, E}
826
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
827
+  // Number of pattern repetitions
828
+  #define NOZZLE_CLEAN_STROKES  12
829
+
830
+  //                            {  X,  Y,               Z}
831
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
832
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
833
+
834
+  // Moves the nozzle to the parked position
835
+  #define NOZZLE_CLEAN_PARK
831 836
 #endif
832 837
 
833 838
 //

+ 51
- 3
Marlin/example_configurations/Cartesio/Configuration.h View File

@@ -268,12 +268,12 @@
268 268
     #define  DEFAULT_Kp 18
269 269
     #define  DEFAULT_Ki 1
270 270
     #define  DEFAULT_Kd 100
271
-    
271
+
272 272
     // Cartesio extruderV6 40W Volcano
273 273
     //#define  DEFAULT_Kp 50
274 274
     //#define  DEFAULT_Ki 9
275 275
     //#define  DEFAULT_Kd 70
276
-    
276
+
277 277
     // Cartesio extruderV6 40W Cyclops
278 278
     //#define  DEFAULT_Kp 18
279 279
     //#define  DEFAULT_Ki 1
@@ -313,7 +313,7 @@
313 313
     #define  DEFAULT_bedKp 390
314 314
     #define  DEFAULT_bedKi 70
315 315
     #define  DEFAULT_bedKd 546
316
-   
316
+
317 317
     //24V 250W silicone heater on to 4mm glass CartesioM
318 318
     //#define  DEFAULT_bedKp 303
319 319
     //#define  DEFAULT_bedKi 42
@@ -787,6 +787,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
787 787
 #define PREHEAT_2_FAN_SPEED     0 // Value from 0 to 255
788 788
 
789 789
 //
790
+// Clean Nozzle Feature -- EXPERIMENTAL
791
+//
792
+// When enabled allows the user to send G12 to start the nozzle cleaning
793
+// process, the G-Code accepts two parameters:
794
+//   "P" for pattern selection
795
+//   "S" for defining the number of strokes/repetitions
796
+//
797
+// Available list of patterns:
798
+//   P0: This is the default pattern, this process requires a sponge type
799
+//       material at a fixed bed location, the cleaning process is based on
800
+//       "strokes" i.e. back-and-forth movements between the starting and end
801
+//       points.
802
+//
803
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
804
+//       defines the number of zig-zag triangles to be done. "S" defines the
805
+//       number of strokes aka one back-and-forth movement. As an example
806
+//       sending "G12 P1 S1 T3" will execute:
807
+//
808
+//          --
809
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
810
+//         |           |    /  \      /  \      /  \    |
811
+//       A |           |   /    \    /    \    /    \   |
812
+//         |           |  /      \  /      \  /      \  |
813
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
814
+//          --         +--------------------------------+
815
+//                       |________|_________|_________|
816
+//                           T1        T2        T3
817
+//
818
+// Caveats: End point Z should use the same value as Start point Z.
819
+//
820
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
821
+// may change to add new functionality like different wipe patterns.
822
+//
823
+//#define NOZZLE_CLEAN_FEATURE
824
+
825
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
826
+  // Number of pattern repetitions
827
+  #define NOZZLE_CLEAN_STROKES  12
828
+
829
+  //                            {  X,  Y,               Z}
830
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
831
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
832
+
833
+  // Moves the nozzle to the parked position
834
+  #define NOZZLE_CLEAN_PARK
835
+#endif
836
+
837
+//
790 838
 // Print job timer
791 839
 //
792 840
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/Felix/Configuration.h View File

@@ -771,6 +771,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
771 771
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
772 772
 
773 773
 //
774
+// Clean Nozzle Feature -- EXPERIMENTAL
775
+//
776
+// When enabled allows the user to send G12 to start the nozzle cleaning
777
+// process, the G-Code accepts two parameters:
778
+//   "P" for pattern selection
779
+//   "S" for defining the number of strokes/repetitions
780
+//
781
+// Available list of patterns:
782
+//   P0: This is the default pattern, this process requires a sponge type
783
+//       material at a fixed bed location, the cleaning process is based on
784
+//       "strokes" i.e. back-and-forth movements between the starting and end
785
+//       points.
786
+//
787
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
788
+//       defines the number of zig-zag triangles to be done. "S" defines the
789
+//       number of strokes aka one back-and-forth movement. As an example
790
+//       sending "G12 P1 S1 T3" will execute:
791
+//
792
+//          --
793
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
794
+//         |           |    /  \      /  \      /  \    |
795
+//       A |           |   /    \    /    \    /    \   |
796
+//         |           |  /      \  /      \  /      \  |
797
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
798
+//          --         +--------------------------------+
799
+//                       |________|_________|_________|
800
+//                           T1        T2        T3
801
+//
802
+// Caveats: End point Z should use the same value as Start point Z.
803
+//
804
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
805
+// may change to add new functionality like different wipe patterns.
806
+//
807
+//#define NOZZLE_CLEAN_FEATURE
808
+
809
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
810
+  // Number of pattern repetitions
811
+  #define NOZZLE_CLEAN_STROKES  12
812
+
813
+  //                            {  X,  Y,               Z}
814
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
815
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
816
+
817
+  // Moves the nozzle to the parked position
818
+  #define NOZZLE_CLEAN_PARK
819
+#endif
820
+
821
+//
774 822
 // Print job timer
775 823
 //
776 824
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

@@ -769,6 +769,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
769 769
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
770 770
 
771 771
 //
772
+// Clean Nozzle Feature -- EXPERIMENTAL
773
+//
774
+// When enabled allows the user to send G12 to start the nozzle cleaning
775
+// process, the G-Code accepts two parameters:
776
+//   "P" for pattern selection
777
+//   "S" for defining the number of strokes/repetitions
778
+//
779
+// Available list of patterns:
780
+//   P0: This is the default pattern, this process requires a sponge type
781
+//       material at a fixed bed location, the cleaning process is based on
782
+//       "strokes" i.e. back-and-forth movements between the starting and end
783
+//       points.
784
+//
785
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
786
+//       defines the number of zig-zag triangles to be done. "S" defines the
787
+//       number of strokes aka one back-and-forth movement. As an example
788
+//       sending "G12 P1 S1 T3" will execute:
789
+//
790
+//          --
791
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
792
+//         |           |    /  \      /  \      /  \    |
793
+//       A |           |   /    \    /    \    /    \   |
794
+//         |           |  /      \  /      \  /      \  |
795
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
796
+//          --         +--------------------------------+
797
+//                       |________|_________|_________|
798
+//                           T1        T2        T3
799
+//
800
+// Caveats: End point Z should use the same value as Start point Z.
801
+//
802
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
803
+// may change to add new functionality like different wipe patterns.
804
+//
805
+//#define NOZZLE_CLEAN_FEATURE
806
+
807
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
808
+  // Number of pattern repetitions
809
+  #define NOZZLE_CLEAN_STROKES  12
810
+
811
+  //                            {  X,  Y,               Z}
812
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
813
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
814
+
815
+  // Moves the nozzle to the parked position
816
+  #define NOZZLE_CLEAN_PARK
817
+#endif
818
+
819
+//
772 820
 // Print job timer
773 821
 //
774 822
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -780,6 +780,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
780 780
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
781 781
 
782 782
 //
783
+// Clean Nozzle Feature -- EXPERIMENTAL
784
+//
785
+// When enabled allows the user to send G12 to start the nozzle cleaning
786
+// process, the G-Code accepts two parameters:
787
+//   "P" for pattern selection
788
+//   "S" for defining the number of strokes/repetitions
789
+//
790
+// Available list of patterns:
791
+//   P0: This is the default pattern, this process requires a sponge type
792
+//       material at a fixed bed location, the cleaning process is based on
793
+//       "strokes" i.e. back-and-forth movements between the starting and end
794
+//       points.
795
+//
796
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
797
+//       defines the number of zig-zag triangles to be done. "S" defines the
798
+//       number of strokes aka one back-and-forth movement. As an example
799
+//       sending "G12 P1 S1 T3" will execute:
800
+//
801
+//          --
802
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
803
+//         |           |    /  \      /  \      /  \    |
804
+//       A |           |   /    \    /    \    /    \   |
805
+//         |           |  /      \  /      \  /      \  |
806
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
807
+//          --         +--------------------------------+
808
+//                       |________|_________|_________|
809
+//                           T1        T2        T3
810
+//
811
+// Caveats: End point Z should use the same value as Start point Z.
812
+//
813
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
814
+// may change to add new functionality like different wipe patterns.
815
+//
816
+//#define NOZZLE_CLEAN_FEATURE
817
+
818
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
819
+  // Number of pattern repetitions
820
+  #define NOZZLE_CLEAN_STROKES  12
821
+
822
+  //                            {  X,  Y,               Z}
823
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
824
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
825
+
826
+  // Moves the nozzle to the parked position
827
+  #define NOZZLE_CLEAN_PARK
828
+#endif
829
+
830
+//
783 831
 // Print job timer
784 832
 //
785 833
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -782,6 +782,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
782 782
 #define PREHEAT_2_FAN_SPEED     0 // Value from 0 to 255
783 783
 
784 784
 //
785
+// Clean Nozzle Feature -- EXPERIMENTAL
786
+//
787
+// When enabled allows the user to send G12 to start the nozzle cleaning
788
+// process, the G-Code accepts two parameters:
789
+//   "P" for pattern selection
790
+//   "S" for defining the number of strokes/repetitions
791
+//
792
+// Available list of patterns:
793
+//   P0: This is the default pattern, this process requires a sponge type
794
+//       material at a fixed bed location, the cleaning process is based on
795
+//       "strokes" i.e. back-and-forth movements between the starting and end
796
+//       points.
797
+//
798
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
799
+//       defines the number of zig-zag triangles to be done. "S" defines the
800
+//       number of strokes aka one back-and-forth movement. As an example
801
+//       sending "G12 P1 S1 T3" will execute:
802
+//
803
+//          --
804
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
805
+//         |           |    /  \      /  \      /  \    |
806
+//       A |           |   /    \    /    \    /    \   |
807
+//         |           |  /      \  /      \  /      \  |
808
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
809
+//          --         +--------------------------------+
810
+//                       |________|_________|_________|
811
+//                           T1        T2        T3
812
+//
813
+// Caveats: End point Z should use the same value as Start point Z.
814
+//
815
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
816
+// may change to add new functionality like different wipe patterns.
817
+//
818
+//#define NOZZLE_CLEAN_FEATURE
819
+
820
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
821
+  // Number of pattern repetitions
822
+  #define NOZZLE_CLEAN_STROKES  12
823
+
824
+  //                            {  X,  Y,               Z}
825
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
826
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
827
+
828
+  // Moves the nozzle to the parked position
829
+  #define NOZZLE_CLEAN_PARK
830
+#endif
831
+
832
+//
785 833
 // Print job timer
786 834
 //
787 835
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/K8200/Configuration.h View File

@@ -805,6 +805,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
805 805
 #define PREHEAT_2_FAN_SPEED     0 // Value from 0 to 255
806 806
 
807 807
 //
808
+// Clean Nozzle Feature -- EXPERIMENTAL
809
+//
810
+// When enabled allows the user to send G12 to start the nozzle cleaning
811
+// process, the G-Code accepts two parameters:
812
+//   "P" for pattern selection
813
+//   "S" for defining the number of strokes/repetitions
814
+//
815
+// Available list of patterns:
816
+//   P0: This is the default pattern, this process requires a sponge type
817
+//       material at a fixed bed location, the cleaning process is based on
818
+//       "strokes" i.e. back-and-forth movements between the starting and end
819
+//       points.
820
+//
821
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
822
+//       defines the number of zig-zag triangles to be done. "S" defines the
823
+//       number of strokes aka one back-and-forth movement. As an example
824
+//       sending "G12 P1 S1 T3" will execute:
825
+//
826
+//          --
827
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
828
+//         |           |    /  \      /  \      /  \    |
829
+//       A |           |   /    \    /    \    /    \   |
830
+//         |           |  /      \  /      \  /      \  |
831
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
832
+//          --         +--------------------------------+
833
+//                       |________|_________|_________|
834
+//                           T1        T2        T3
835
+//
836
+// Caveats: End point Z should use the same value as Start point Z.
837
+//
838
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
839
+// may change to add new functionality like different wipe patterns.
840
+//
841
+//#define NOZZLE_CLEAN_FEATURE
842
+
843
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
844
+  // Number of pattern repetitions
845
+  #define NOZZLE_CLEAN_STROKES  12
846
+
847
+  //                            {  X,  Y,               Z}
848
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
849
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
850
+
851
+  // Moves the nozzle to the parked position
852
+  #define NOZZLE_CLEAN_PARK
853
+#endif
854
+
855
+//
808 856
 // Print job timer
809 857
 //
810 858
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/K8400/Configuration.h View File

@@ -788,6 +788,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
788 788
 #define PREHEAT_2_FAN_SPEED   165 // Value from 0 to 255
789 789
 
790 790
 //
791
+// Clean Nozzle Feature -- EXPERIMENTAL
792
+//
793
+// When enabled allows the user to send G12 to start the nozzle cleaning
794
+// process, the G-Code accepts two parameters:
795
+//   "P" for pattern selection
796
+//   "S" for defining the number of strokes/repetitions
797
+//
798
+// Available list of patterns:
799
+//   P0: This is the default pattern, this process requires a sponge type
800
+//       material at a fixed bed location, the cleaning process is based on
801
+//       "strokes" i.e. back-and-forth movements between the starting and end
802
+//       points.
803
+//
804
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
805
+//       defines the number of zig-zag triangles to be done. "S" defines the
806
+//       number of strokes aka one back-and-forth movement. As an example
807
+//       sending "G12 P1 S1 T3" will execute:
808
+//
809
+//          --
810
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
811
+//         |           |    /  \      /  \      /  \    |
812
+//       A |           |   /    \    /    \    /    \   |
813
+//         |           |  /      \  /      \  /      \  |
814
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
815
+//          --         +--------------------------------+
816
+//                       |________|_________|_________|
817
+//                           T1        T2        T3
818
+//
819
+// Caveats: End point Z should use the same value as Start point Z.
820
+//
821
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
822
+// may change to add new functionality like different wipe patterns.
823
+//
824
+//#define NOZZLE_CLEAN_FEATURE
825
+
826
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
827
+  // Number of pattern repetitions
828
+  #define NOZZLE_CLEAN_STROKES  12
829
+
830
+  //                            {  X,  Y,               Z}
831
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
832
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
833
+
834
+  // Moves the nozzle to the parked position
835
+  #define NOZZLE_CLEAN_PARK
836
+#endif
837
+
838
+//
791 839
 // Print job timer
792 840
 //
793 841
 // Enable this option to automatically start and stop the

Marlin/example_configurations/K8400/Dual Heads/Configuration.h → Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

@@ -788,6 +788,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
788 788
 #define PREHEAT_2_FAN_SPEED   165 // Value from 0 to 255
789 789
 
790 790
 //
791
+// Clean Nozzle Feature -- EXPERIMENTAL
792
+//
793
+// When enabled allows the user to send G12 to start the nozzle cleaning
794
+// process, the G-Code accepts two parameters:
795
+//   "P" for pattern selection
796
+//   "S" for defining the number of strokes/repetitions
797
+//
798
+// Available list of patterns:
799
+//   P0: This is the default pattern, this process requires a sponge type
800
+//       material at a fixed bed location, the cleaning process is based on
801
+//       "strokes" i.e. back-and-forth movements between the starting and end
802
+//       points.
803
+//
804
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
805
+//       defines the number of zig-zag triangles to be done. "S" defines the
806
+//       number of strokes aka one back-and-forth movement. As an example
807
+//       sending "G12 P1 S1 T3" will execute:
808
+//
809
+//          --
810
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
811
+//         |           |    /  \      /  \      /  \    |
812
+//       A |           |   /    \    /    \    /    \   |
813
+//         |           |  /      \  /      \  /      \  |
814
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
815
+//          --         +--------------------------------+
816
+//                       |________|_________|_________|
817
+//                           T1        T2        T3
818
+//
819
+// Caveats: End point Z should use the same value as Start point Z.
820
+//
821
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
822
+// may change to add new functionality like different wipe patterns.
823
+//
824
+//#define NOZZLE_CLEAN_FEATURE
825
+
826
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
827
+  // Number of pattern repetitions
828
+  #define NOZZLE_CLEAN_STROKES  12
829
+
830
+  //                            {  X,  Y,               Z}
831
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
832
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
833
+
834
+  // Moves the nozzle to the parked position
835
+  #define NOZZLE_CLEAN_PARK
836
+#endif
837
+
838
+//
791 839
 // Print job timer
792 840
 //
793 841
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -788,6 +788,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
788 788
 #define PREHEAT_2_FAN_SPEED     0 // Value from 0 to 255
789 789
 
790 790
 //
791
+// Clean Nozzle Feature -- EXPERIMENTAL
792
+//
793
+// When enabled allows the user to send G12 to start the nozzle cleaning
794
+// process, the G-Code accepts two parameters:
795
+//   "P" for pattern selection
796
+//   "S" for defining the number of strokes/repetitions
797
+//
798
+// Available list of patterns:
799
+//   P0: This is the default pattern, this process requires a sponge type
800
+//       material at a fixed bed location, the cleaning process is based on
801
+//       "strokes" i.e. back-and-forth movements between the starting and end
802
+//       points.
803
+//
804
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
805
+//       defines the number of zig-zag triangles to be done. "S" defines the
806
+//       number of strokes aka one back-and-forth movement. As an example
807
+//       sending "G12 P1 S1 T3" will execute:
808
+//
809
+//          --
810
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
811
+//         |           |    /  \      /  \      /  \    |
812
+//       A |           |   /    \    /    \    /    \   |
813
+//         |           |  /      \  /      \  /      \  |
814
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
815
+//          --         +--------------------------------+
816
+//                       |________|_________|_________|
817
+//                           T1        T2        T3
818
+//
819
+// Caveats: End point Z should use the same value as Start point Z.
820
+//
821
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
822
+// may change to add new functionality like different wipe patterns.
823
+//
824
+//#define NOZZLE_CLEAN_FEATURE
825
+
826
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
827
+  // Number of pattern repetitions
828
+  #define NOZZLE_CLEAN_STROKES  12
829
+
830
+  //                            {  X,  Y,               Z}
831
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
832
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
833
+
834
+  // Moves the nozzle to the parked position
835
+  #define NOZZLE_CLEAN_PARK
836
+#endif
837
+
838
+//
791 839
 // Print job timer
792 840
 //
793 841
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -786,6 +786,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
786 786
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
787 787
 
788 788
 //
789
+// Clean Nozzle Feature -- EXPERIMENTAL
790
+//
791
+// When enabled allows the user to send G12 to start the nozzle cleaning
792
+// process, the G-Code accepts two parameters:
793
+//   "P" for pattern selection
794
+//   "S" for defining the number of strokes/repetitions
795
+//
796
+// Available list of patterns:
797
+//   P0: This is the default pattern, this process requires a sponge type
798
+//       material at a fixed bed location, the cleaning process is based on
799
+//       "strokes" i.e. back-and-forth movements between the starting and end
800
+//       points.
801
+//
802
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
803
+//       defines the number of zig-zag triangles to be done. "S" defines the
804
+//       number of strokes aka one back-and-forth movement. As an example
805
+//       sending "G12 P1 S1 T3" will execute:
806
+//
807
+//          --
808
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
809
+//         |           |    /  \      /  \      /  \    |
810
+//       A |           |   /    \    /    \    /    \   |
811
+//         |           |  /      \  /      \  /      \  |
812
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
813
+//          --         +--------------------------------+
814
+//                       |________|_________|_________|
815
+//                           T1        T2        T3
816
+//
817
+// Caveats: End point Z should use the same value as Start point Z.
818
+//
819
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
820
+// may change to add new functionality like different wipe patterns.
821
+//
822
+//#define NOZZLE_CLEAN_FEATURE
823
+
824
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
825
+  // Number of pattern repetitions
826
+  #define NOZZLE_CLEAN_STROKES  12
827
+
828
+  //                            {  X,  Y,               Z}
829
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
830
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
831
+
832
+  // Moves the nozzle to the parked position
833
+  #define NOZZLE_CLEAN_PARK
834
+#endif
835
+
836
+//
789 837
 // Print job timer
790 838
 //
791 839
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -796,6 +796,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
796 796
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
797 797
 
798 798
 //
799
+// Clean Nozzle Feature -- EXPERIMENTAL
800
+//
801
+// When enabled allows the user to send G12 to start the nozzle cleaning
802
+// process, the G-Code accepts two parameters:
803
+//   "P" for pattern selection
804
+//   "S" for defining the number of strokes/repetitions
805
+//
806
+// Available list of patterns:
807
+//   P0: This is the default pattern, this process requires a sponge type
808
+//       material at a fixed bed location, the cleaning process is based on
809
+//       "strokes" i.e. back-and-forth movements between the starting and end
810
+//       points.
811
+//
812
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
813
+//       defines the number of zig-zag triangles to be done. "S" defines the
814
+//       number of strokes aka one back-and-forth movement. As an example
815
+//       sending "G12 P1 S1 T3" will execute:
816
+//
817
+//          --
818
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
819
+//         |           |    /  \      /  \      /  \    |
820
+//       A |           |   /    \    /    \    /    \   |
821
+//         |           |  /      \  /      \  /      \  |
822
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
823
+//          --         +--------------------------------+
824
+//                       |________|_________|_________|
825
+//                           T1        T2        T3
826
+//
827
+// Caveats: End point Z should use the same value as Start point Z.
828
+//
829
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
830
+// may change to add new functionality like different wipe patterns.
831
+//
832
+//#define NOZZLE_CLEAN_FEATURE
833
+
834
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
835
+  // Number of pattern repetitions
836
+  #define NOZZLE_CLEAN_STROKES  12
837
+
838
+  //                            {  X,  Y,               Z}
839
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
840
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
841
+
842
+  // Moves the nozzle to the parked position
843
+  #define NOZZLE_CLEAN_PARK
844
+#endif
845
+
846
+//
799 847
 // Print job timer
800 848
 //
801 849
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/TAZ4/Configuration.h View File

@@ -809,6 +809,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
809 809
 #define PREHEAT_2_FAN_SPEED     0 // Value from 0 to 255
810 810
 
811 811
 //
812
+// Clean Nozzle Feature -- EXPERIMENTAL
813
+//
814
+// When enabled allows the user to send G12 to start the nozzle cleaning
815
+// process, the G-Code accepts two parameters:
816
+//   "P" for pattern selection
817
+//   "S" for defining the number of strokes/repetitions
818
+//
819
+// Available list of patterns:
820
+//   P0: This is the default pattern, this process requires a sponge type
821
+//       material at a fixed bed location, the cleaning process is based on
822
+//       "strokes" i.e. back-and-forth movements between the starting and end
823
+//       points.
824
+//
825
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
826
+//       defines the number of zig-zag triangles to be done. "S" defines the
827
+//       number of strokes aka one back-and-forth movement. As an example
828
+//       sending "G12 P1 S1 T3" will execute:
829
+//
830
+//          --
831
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
832
+//         |           |    /  \      /  \      /  \    |
833
+//       A |           |   /    \    /    \    /    \   |
834
+//         |           |  /      \  /      \  /      \  |
835
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
836
+//          --         +--------------------------------+
837
+//                       |________|_________|_________|
838
+//                           T1        T2        T3
839
+//
840
+// Caveats: End point Z should use the same value as Start point Z.
841
+//
842
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
843
+// may change to add new functionality like different wipe patterns.
844
+//
845
+//#define NOZZLE_CLEAN_FEATURE
846
+
847
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
848
+  // Number of pattern repetitions
849
+  #define NOZZLE_CLEAN_STROKES  12
850
+
851
+  //                            {  X,  Y,               Z}
852
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
853
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
854
+
855
+  // Moves the nozzle to the parked position
856
+  #define NOZZLE_CLEAN_PARK
857
+#endif
858
+
859
+//
812 860
 // Print job timer
813 861
 //
814 862
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -780,6 +780,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
780 780
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
781 781
 
782 782
 //
783
+// Clean Nozzle Feature -- EXPERIMENTAL
784
+//
785
+// When enabled allows the user to send G12 to start the nozzle cleaning
786
+// process, the G-Code accepts two parameters:
787
+//   "P" for pattern selection
788
+//   "S" for defining the number of strokes/repetitions
789
+//
790
+// Available list of patterns:
791
+//   P0: This is the default pattern, this process requires a sponge type
792
+//       material at a fixed bed location, the cleaning process is based on
793
+//       "strokes" i.e. back-and-forth movements between the starting and end
794
+//       points.
795
+//
796
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
797
+//       defines the number of zig-zag triangles to be done. "S" defines the
798
+//       number of strokes aka one back-and-forth movement. As an example
799
+//       sending "G12 P1 S1 T3" will execute:
800
+//
801
+//          --
802
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
803
+//         |           |    /  \      /  \      /  \    |
804
+//       A |           |   /    \    /    \    /    \   |
805
+//         |           |  /      \  /      \  /      \  |
806
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
807
+//          --         +--------------------------------+
808
+//                       |________|_________|_________|
809
+//                           T1        T2        T3
810
+//
811
+// Caveats: End point Z should use the same value as Start point Z.
812
+//
813
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
814
+// may change to add new functionality like different wipe patterns.
815
+//
816
+//#define NOZZLE_CLEAN_FEATURE
817
+
818
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
819
+  // Number of pattern repetitions
820
+  #define NOZZLE_CLEAN_STROKES  12
821
+
822
+  //                            {  X,  Y,               Z}
823
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
824
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
825
+
826
+  // Moves the nozzle to the parked position
827
+  #define NOZZLE_CLEAN_PARK
828
+#endif
829
+
830
+//
783 831
 // Print job timer
784 832
 //
785 833
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -788,6 +788,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
788 788
 #define PREHEAT_2_FAN_SPEED     0 // Value from 0 to 255
789 789
 
790 790
 //
791
+// Clean Nozzle Feature -- EXPERIMENTAL
792
+//
793
+// When enabled allows the user to send G12 to start the nozzle cleaning
794
+// process, the G-Code accepts two parameters:
795
+//   "P" for pattern selection
796
+//   "S" for defining the number of strokes/repetitions
797
+//
798
+// Available list of patterns:
799
+//   P0: This is the default pattern, this process requires a sponge type
800
+//       material at a fixed bed location, the cleaning process is based on
801
+//       "strokes" i.e. back-and-forth movements between the starting and end
802
+//       points.
803
+//
804
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
805
+//       defines the number of zig-zag triangles to be done. "S" defines the
806
+//       number of strokes aka one back-and-forth movement. As an example
807
+//       sending "G12 P1 S1 T3" will execute:
808
+//
809
+//          --
810
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
811
+//         |           |    /  \      /  \      /  \    |
812
+//       A |           |   /    \    /    \    /    \   |
813
+//         |           |  /      \  /      \  /      \  |
814
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
815
+//          --         +--------------------------------+
816
+//                       |________|_________|_________|
817
+//                           T1        T2        T3
818
+//
819
+// Caveats: End point Z should use the same value as Start point Z.
820
+//
821
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
822
+// may change to add new functionality like different wipe patterns.
823
+//
824
+//#define NOZZLE_CLEAN_FEATURE
825
+
826
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
827
+  // Number of pattern repetitions
828
+  #define NOZZLE_CLEAN_STROKES  12
829
+
830
+  //                            {  X,  Y,               Z}
831
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
832
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
833
+
834
+  // Moves the nozzle to the parked position
835
+  #define NOZZLE_CLEAN_PARK
836
+#endif
837
+
838
+//
791 839
 // Print job timer
792 840
 //
793 841
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -883,6 +883,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
883 883
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
884 884
 
885 885
 //
886
+// Clean Nozzle Feature -- EXPERIMENTAL
887
+//
888
+// When enabled allows the user to send G12 to start the nozzle cleaning
889
+// process, the G-Code accepts two parameters:
890
+//   "P" for pattern selection
891
+//   "S" for defining the number of strokes/repetitions
892
+//
893
+// Available list of patterns:
894
+//   P0: This is the default pattern, this process requires a sponge type
895
+//       material at a fixed bed location, the cleaning process is based on
896
+//       "strokes" i.e. back-and-forth movements between the starting and end
897
+//       points.
898
+//
899
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
900
+//       defines the number of zig-zag triangles to be done. "S" defines the
901
+//       number of strokes aka one back-and-forth movement. As an example
902
+//       sending "G12 P1 S1 T3" will execute:
903
+//
904
+//          --
905
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
906
+//         |           |    /  \      /  \      /  \    |
907
+//       A |           |   /    \    /    \    /    \   |
908
+//         |           |  /      \  /      \  /      \  |
909
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
910
+//          --         +--------------------------------+
911
+//                       |________|_________|_________|
912
+//                           T1        T2        T3
913
+//
914
+// Caveats: End point Z should use the same value as Start point Z.
915
+//
916
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
917
+// may change to add new functionality like different wipe patterns.
918
+//
919
+//#define NOZZLE_CLEAN_FEATURE
920
+
921
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
922
+  // Number of pattern repetitions
923
+  #define NOZZLE_CLEAN_STROKES  12
924
+
925
+  //                            {  X,  Y,               Z}
926
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
927
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
928
+
929
+  // Moves the nozzle to the parked position
930
+  #define NOZZLE_CLEAN_PARK
931
+#endif
932
+
933
+//
886 934
 // Print job timer
887 935
 //
888 936
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -877,6 +877,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
877 877
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
878 878
 
879 879
 //
880
+// Clean Nozzle Feature -- EXPERIMENTAL
881
+//
882
+// When enabled allows the user to send G12 to start the nozzle cleaning
883
+// process, the G-Code accepts two parameters:
884
+//   "P" for pattern selection
885
+//   "S" for defining the number of strokes/repetitions
886
+//
887
+// Available list of patterns:
888
+//   P0: This is the default pattern, this process requires a sponge type
889
+//       material at a fixed bed location, the cleaning process is based on
890
+//       "strokes" i.e. back-and-forth movements between the starting and end
891
+//       points.
892
+//
893
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
894
+//       defines the number of zig-zag triangles to be done. "S" defines the
895
+//       number of strokes aka one back-and-forth movement. As an example
896
+//       sending "G12 P1 S1 T3" will execute:
897
+//
898
+//          --
899
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
900
+//         |           |    /  \      /  \      /  \    |
901
+//       A |           |   /    \    /    \    /    \   |
902
+//         |           |  /      \  /      \  /      \  |
903
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
904
+//          --         +--------------------------------+
905
+//                       |________|_________|_________|
906
+//                           T1        T2        T3
907
+//
908
+// Caveats: End point Z should use the same value as Start point Z.
909
+//
910
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
911
+// may change to add new functionality like different wipe patterns.
912
+//
913
+//#define NOZZLE_CLEAN_FEATURE
914
+
915
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
916
+  // Number of pattern repetitions
917
+  #define NOZZLE_CLEAN_STROKES  12
918
+
919
+  //                            {  X,  Y,               Z}
920
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
921
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
922
+
923
+  // Moves the nozzle to the parked position
924
+  #define NOZZLE_CLEAN_PARK
925
+#endif
926
+
927
+//
880 928
 // Print job timer
881 929
 //
882 930
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -880,6 +880,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
880 880
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
881 881
 
882 882
 //
883
+// Clean Nozzle Feature -- EXPERIMENTAL
884
+//
885
+// When enabled allows the user to send G12 to start the nozzle cleaning
886
+// process, the G-Code accepts two parameters:
887
+//   "P" for pattern selection
888
+//   "S" for defining the number of strokes/repetitions
889
+//
890
+// Available list of patterns:
891
+//   P0: This is the default pattern, this process requires a sponge type
892
+//       material at a fixed bed location, the cleaning process is based on
893
+//       "strokes" i.e. back-and-forth movements between the starting and end
894
+//       points.
895
+//
896
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
897
+//       defines the number of zig-zag triangles to be done. "S" defines the
898
+//       number of strokes aka one back-and-forth movement. As an example
899
+//       sending "G12 P1 S1 T3" will execute:
900
+//
901
+//          --
902
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
903
+//         |           |    /  \      /  \      /  \    |
904
+//       A |           |   /    \    /    \    /    \   |
905
+//         |           |  /      \  /      \  /      \  |
906
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
907
+//          --         +--------------------------------+
908
+//                       |________|_________|_________|
909
+//                           T1        T2        T3
910
+//
911
+// Caveats: End point Z should use the same value as Start point Z.
912
+//
913
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
914
+// may change to add new functionality like different wipe patterns.
915
+//
916
+//#define NOZZLE_CLEAN_FEATURE
917
+
918
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
919
+  // Number of pattern repetitions
920
+  #define NOZZLE_CLEAN_STROKES  12
921
+
922
+  //                            {  X,  Y,               Z}
923
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
924
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
925
+
926
+  // Moves the nozzle to the parked position
927
+  #define NOZZLE_CLEAN_PARK
928
+#endif
929
+
930
+//
883 931
 // Print job timer
884 932
 //
885 933
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -880,6 +880,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
880 880
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
881 881
 
882 882
 //
883
+// Clean Nozzle Feature -- EXPERIMENTAL
884
+//
885
+// When enabled allows the user to send G12 to start the nozzle cleaning
886
+// process, the G-Code accepts two parameters:
887
+//   "P" for pattern selection
888
+//   "S" for defining the number of strokes/repetitions
889
+//
890
+// Available list of patterns:
891
+//   P0: This is the default pattern, this process requires a sponge type
892
+//       material at a fixed bed location, the cleaning process is based on
893
+//       "strokes" i.e. back-and-forth movements between the starting and end
894
+//       points.
895
+//
896
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
897
+//       defines the number of zig-zag triangles to be done. "S" defines the
898
+//       number of strokes aka one back-and-forth movement. As an example
899
+//       sending "G12 P1 S1 T3" will execute:
900
+//
901
+//          --
902
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
903
+//         |           |    /  \      /  \      /  \    |
904
+//       A |           |   /    \    /    \    /    \   |
905
+//         |           |  /      \  /      \  /      \  |
906
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
907
+//          --         +--------------------------------+
908
+//                       |________|_________|_________|
909
+//                           T1        T2        T3
910
+//
911
+// Caveats: End point Z should use the same value as Start point Z.
912
+//
913
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
914
+// may change to add new functionality like different wipe patterns.
915
+//
916
+//#define NOZZLE_CLEAN_FEATURE
917
+
918
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
919
+  // Number of pattern repetitions
920
+  #define NOZZLE_CLEAN_STROKES  12
921
+
922
+  //                            {  X,  Y,               Z}
923
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
924
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
925
+
926
+  // Moves the nozzle to the parked position
927
+  #define NOZZLE_CLEAN_PARK
928
+#endif
929
+
930
+//
883 931
 // Print job timer
884 932
 //
885 933
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

@@ -882,6 +882,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
882 882
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
883 883
 
884 884
 //
885
+// Clean Nozzle Feature -- EXPERIMENTAL
886
+//
887
+// When enabled allows the user to send G12 to start the nozzle cleaning
888
+// process, the G-Code accepts two parameters:
889
+//   "P" for pattern selection
890
+//   "S" for defining the number of strokes/repetitions
891
+//
892
+// Available list of patterns:
893
+//   P0: This is the default pattern, this process requires a sponge type
894
+//       material at a fixed bed location, the cleaning process is based on
895
+//       "strokes" i.e. back-and-forth movements between the starting and end
896
+//       points.
897
+//
898
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
899
+//       defines the number of zig-zag triangles to be done. "S" defines the
900
+//       number of strokes aka one back-and-forth movement. As an example
901
+//       sending "G12 P1 S1 T3" will execute:
902
+//
903
+//          --
904
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
905
+//         |           |    /  \      /  \      /  \    |
906
+//       A |           |   /    \    /    \    /    \   |
907
+//         |           |  /      \  /      \  /      \  |
908
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
909
+//          --         +--------------------------------+
910
+//                       |________|_________|_________|
911
+//                           T1        T2        T3
912
+//
913
+// Caveats: End point Z should use the same value as Start point Z.
914
+//
915
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
916
+// may change to add new functionality like different wipe patterns.
917
+//
918
+//#define NOZZLE_CLEAN_FEATURE
919
+
920
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
921
+  // Number of pattern repetitions
922
+  #define NOZZLE_CLEAN_STROKES  12
923
+
924
+  //                            {  X,  Y,               Z}
925
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
926
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
927
+
928
+  // Moves the nozzle to the parked position
929
+  #define NOZZLE_CLEAN_PARK
930
+#endif
931
+
932
+//
885 933
 // Print job timer
886 934
 //
887 935
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/makibox/Configuration.h View File

@@ -791,6 +791,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
791 791
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
792 792
 
793 793
 //
794
+// Clean Nozzle Feature -- EXPERIMENTAL
795
+//
796
+// When enabled allows the user to send G12 to start the nozzle cleaning
797
+// process, the G-Code accepts two parameters:
798
+//   "P" for pattern selection
799
+//   "S" for defining the number of strokes/repetitions
800
+//
801
+// Available list of patterns:
802
+//   P0: This is the default pattern, this process requires a sponge type
803
+//       material at a fixed bed location, the cleaning process is based on
804
+//       "strokes" i.e. back-and-forth movements between the starting and end
805
+//       points.
806
+//
807
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
808
+//       defines the number of zig-zag triangles to be done. "S" defines the
809
+//       number of strokes aka one back-and-forth movement. As an example
810
+//       sending "G12 P1 S1 T3" will execute:
811
+//
812
+//          --
813
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
814
+//         |           |    /  \      /  \      /  \    |
815
+//       A |           |   /    \    /    \    /    \   |
816
+//         |           |  /      \  /      \  /      \  |
817
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
818
+//          --         +--------------------------------+
819
+//                       |________|_________|_________|
820
+//                           T1        T2        T3
821
+//
822
+// Caveats: End point Z should use the same value as Start point Z.
823
+//
824
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
825
+// may change to add new functionality like different wipe patterns.
826
+//
827
+//#define NOZZLE_CLEAN_FEATURE
828
+
829
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
830
+  // Number of pattern repetitions
831
+  #define NOZZLE_CLEAN_STROKES  12
832
+
833
+  //                            {  X,  Y,               Z}
834
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
835
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
836
+
837
+  // Moves the nozzle to the parked position
838
+  #define NOZZLE_CLEAN_PARK
839
+#endif
840
+
841
+//
794 842
 // Print job timer
795 843
 //
796 844
 // Enable this option to automatically start and stop the

+ 48
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -782,6 +782,54 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
782 782
 #define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
783 783
 
784 784
 //
785
+// Clean Nozzle Feature -- EXPERIMENTAL
786
+//
787
+// When enabled allows the user to send G12 to start the nozzle cleaning
788
+// process, the G-Code accepts two parameters:
789
+//   "P" for pattern selection
790
+//   "S" for defining the number of strokes/repetitions
791
+//
792
+// Available list of patterns:
793
+//   P0: This is the default pattern, this process requires a sponge type
794
+//       material at a fixed bed location, the cleaning process is based on
795
+//       "strokes" i.e. back-and-forth movements between the starting and end
796
+//       points.
797
+//
798
+//   P1: This starts a zig-zag pattern between (X0, Y0) and (X1, Y1), "T"
799
+//       defines the number of zig-zag triangles to be done. "S" defines the
800
+//       number of strokes aka one back-and-forth movement. As an example
801
+//       sending "G12 P1 S1 T3" will execute:
802
+//
803
+//          --
804
+//         |  (X0, Y1) |     /\        /\        /\     | (X1, Y1)
805
+//         |           |    /  \      /  \      /  \    |
806
+//       A |           |   /    \    /    \    /    \   |
807
+//         |           |  /      \  /      \  /      \  |
808
+//         |  (X0, Y0) | /        \/        \/        \ | (X1, Y0)
809
+//          --         +--------------------------------+
810
+//                       |________|_________|_________|
811
+//                           T1        T2        T3
812
+//
813
+// Caveats: End point Z should use the same value as Start point Z.
814
+//
815
+// Attention: This is an EXPERIMENTAL feature, in the future the G-code arguments
816
+// may change to add new functionality like different wipe patterns.
817
+//
818
+//#define NOZZLE_CLEAN_FEATURE
819
+
820
+#if ENABLED(NOZZLE_CLEAN_FEATURE)
821
+  // Number of pattern repetitions
822
+  #define NOZZLE_CLEAN_STROKES  12
823
+
824
+  //                            {  X,  Y,               Z}
825
+  #define NOZZLE_CLEAN_START_PT { 30, 30, (Z_MIN_POS + 5)}
826
+  #define NOZZLE_CLEAN_END_PT   {100, 60, (Z_MIN_POS + 5)}
827
+
828
+  // Moves the nozzle to the parked position
829
+  #define NOZZLE_CLEAN_PARK
830
+#endif
831
+
832
+//
785 833
 // Print job timer
786 834
 //
787 835
 // Enable this option to automatically start and stop the

Loading…
Cancel
Save