Quellcode durchsuchen

New extruder type configuration options

Scott Lahteine vor 9 Jahren
Ursprung
Commit
22b4cff423

+ 42
- 8
Marlin/Conditionals.h Datei anzeigen

@@ -540,18 +540,52 @@
540 540
   #define HAS_PID_FOR_BOTH (ENABLED(PIDTEMP) && ENABLED(PIDTEMPBED))
541 541
 
542 542
   /**
543
-   * SINGLENOZZLE needs to differentiate EXTRUDERS and HOTENDS
544
-   * And all "extruders" are in the same place.
543
+   * Extruders have some combination of stepper motors and hotends
544
+   * so we separate these concepts into the defines:
545
+   *
546
+   *  EXTRUDERS    - Number of Selectable Tools
547
+   *  HOTENDS      - Number of hotends, whether connected or separate
548
+   *  E_STEPPERS   - Number of actual E stepper motors
549
+   *  TOOL_E_INDEX - Index to use when getting/setting the tool state
550
+   *  
545 551
    */
546
-  #if ENABLED(SINGLENOZZLE)
547
-    #define HOTENDS 1
552
+  #if ENABLED(SINGLENOZZLE)             // One hotend, multi-extruder
553
+    #define HOTENDS      1
554
+    #define E_STEPPERS   EXTRUDERS
555
+    #define TOOL_E_INDEX current_block->active_extruder
548 556
     #undef TEMP_SENSOR_1_AS_REDUNDANT
549 557
     #undef HOTEND_OFFSET_X
550 558
     #undef HOTEND_OFFSET_Y
551
-    #define HOTEND_OFFSET_X { 0 }
552
-    #define HOTEND_OFFSET_Y { 0 }
553
-  #else
554
-    #define HOTENDS EXTRUDERS
559
+  #elif ENABLED(SWITCHING_EXTRUDER)     // One E stepper, unified E axis, two hotends
560
+    #define HOTENDS      EXTRUDERS
561
+    #define E_STEPPERS   1
562
+    #define TOOL_E_INDEX 0
563
+    #ifndef HOTEND_OFFSET_Z
564
+      #define HOTEND_OFFSET_Z { 0 }
565
+    #endif
566
+  #elif ENABLED(MIXING_EXTRUDER)        // Multi-stepper, unified E axis, one hotend
567
+    #define HOTENDS      1
568
+    #define E_STEPPERS   MIXING_STEPPERS
569
+    #define TOOL_E_INDEX 0
570
+  #else                                 // One stepper, E axis, and hotend per tool
571
+    #define HOTENDS      EXTRUDERS
572
+    #define E_STEPPERS   EXTRUDERS
573
+    #define TOOL_E_INDEX current_block->active_extruder
574
+  #endif
575
+
576
+  /**
577
+   * Default hotend offsets, if not defined
578
+   */
579
+  #if HOTENDS > 1
580
+    #ifndef HOTEND_OFFSET_X
581
+      #define HOTEND_OFFSET_X { 0 } // X offsets for each extruder
582
+    #endif
583
+    #ifndef HOTEND_OFFSET_Y
584
+      #define HOTEND_OFFSET_Y { 0 } // Y offsets for each extruder
585
+    #endif
586
+    #if !defined(HOTEND_OFFSET_Z) && (ENABLED(DUAL_X_CARRIAGE) || ENABLED(SWITCHING_EXTRUDER))
587
+      #define HOTEND_OFFSET_Z { 0 }
588
+    #endif
555 589
   #endif
556 590
 
557 591
   /**

+ 24
- 1
Marlin/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 36
- 0
Marlin/SanityCheck.h Datei anzeigen

@@ -163,6 +163,42 @@
163 163
 #endif
164 164
 
165 165
 /**
166
+ * Only one type of extruder allowed
167
+ */
168
+#if (ENABLED(SWITCHING_EXTRUDER) && (ENABLED(SINGLENOZZLE) || ENABLED(MIXING_EXTRUDER))) \
169
+  || (ENABLED(SINGLENOZZLE) && ENABLED(MIXING_EXTRUDER))
170
+    #error "Please define only one type of extruder: SINGLENOZZLE, SWITCHING_EXTRUDER, or MIXING_EXTRUDER."
171
+#endif
172
+
173
+/**
174
+ * Single Stepper Dual Extruder with switching servo
175
+ */
176
+#if ENABLED(SWITCHING_EXTRUDER)
177
+  #if ENABLED(DUAL_X_CARRIAGE)
178
+    #error "SINGLENOZZLE and DUAL_X_CARRIAGE are incompatible."
179
+  #elif EXTRUDERS != 2
180
+    #error "SWITCHING_EXTRUDER requires exactly 2 EXTRUDERS."
181
+  #elif NUM_SERVOS < 1
182
+    #error "SWITCHING_EXTRUDER requires NUM_SERVOS >= 1."
183
+  #endif
184
+#endif
185
+
186
+/**
187
+ * Mixing Extruder requirements
188
+ */
189
+#if ENABLED(MIXING_EXTRUDER)
190
+  #if EXTRUDERS > 1
191
+    #error "MIXING_EXTRUDER currently only supports one extruder."
192
+  #endif
193
+  #if MIXING_STEPPERS < 2
194
+    #error "You must set MIXING_STEPPERS >= 2 for a mixing extruder."
195
+  #endif
196
+  #if ENABLED(FILAMENT_SENSOR)
197
+    #error "MIXING_EXTRUDER is incompatible with FILAMENT_SENSOR. Comment out this line to use it anyway."
198
+  #endif
199
+#endif
200
+
201
+/**
166 202
  * Limited number of servos
167 203
  */
168 204
 #if defined(NUM_SERVOS) && NUM_SERVOS > 0

+ 24
- 1
Marlin/example_configurations/Cartesio/Configuration.h Datei anzeigen

@@ -153,6 +153,30 @@
153 153
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
154 154
 //#define SINGLENOZZLE
155 155
 
156
+// A dual extruder that uses a single stepper motor
157
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
158
+//#define SWITCHING_EXTRUDER
159
+#if ENABLED(SWITCHING_EXTRUDER)
160
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
161
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
162
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
163
+#endif
164
+
165
+/**
166
+ * "Mixing Extruder"
167
+ *   - Adds a new code, M165, to set the current mix factors.
168
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
169
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
170
+ *   - This implementation supports only a single extruder.
171
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
172
+ */
173
+//#define MIXING_EXTRUDER
174
+#if ENABLED(MIXING_EXTRUDER)
175
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
176
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
177
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
178
+#endif
179
+
156 180
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
157 181
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
158 182
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -163,7 +187,6 @@
163 187
 // 1 = ATX
164 188
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
165 189
 // :{1:'ATX',2:'X-Box 360'}
166
-
167 190
 #define POWER_SUPPLY 1
168 191
 
169 192
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/Felix/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/Felix/DUAL/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/Hephestos/Configuration.h Datei anzeigen

@@ -155,6 +155,30 @@
155 155
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
156 156
 //#define SINGLENOZZLE
157 157
 
158
+// A dual extruder that uses a single stepper motor
159
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
160
+//#define SWITCHING_EXTRUDER
161
+#if ENABLED(SWITCHING_EXTRUDER)
162
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
163
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
164
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
165
+#endif
166
+
167
+/**
168
+ * "Mixing Extruder"
169
+ *   - Adds a new code, M165, to set the current mix factors.
170
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
171
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
172
+ *   - This implementation supports only a single extruder.
173
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
174
+ */
175
+//#define MIXING_EXTRUDER
176
+#if ENABLED(MIXING_EXTRUDER)
177
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
178
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
179
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
180
+#endif
181
+
158 182
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
159 183
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
160 184
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -165,7 +189,6 @@
165 189
 // 1 = ATX
166 190
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
167 191
 // :{1:'ATX',2:'X-Box 360'}
168
-
169 192
 #define POWER_SUPPLY 1
170 193
 
171 194
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/Hephestos_2/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/K8200/Configuration.h Datei anzeigen

@@ -159,6 +159,30 @@
159 159
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
160 160
 //#define SINGLENOZZLE
161 161
 
162
+// A dual extruder that uses a single stepper motor
163
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
164
+//#define SWITCHING_EXTRUDER
165
+#if ENABLED(SWITCHING_EXTRUDER)
166
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
167
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
168
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
169
+#endif
170
+
171
+/**
172
+ * "Mixing Extruder"
173
+ *   - Adds a new code, M165, to set the current mix factors.
174
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
175
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
176
+ *   - This implementation supports only a single extruder.
177
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
178
+ */
179
+//#define MIXING_EXTRUDER
180
+#if ENABLED(MIXING_EXTRUDER)
181
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
182
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
183
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
184
+#endif
185
+
162 186
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
163 187
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
164 188
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -169,7 +193,6 @@
169 193
 // 1 = ATX
170 194
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
171 195
 // :{1:'ATX',2:'X-Box 360'}
172
-
173 196
 #define POWER_SUPPLY 1
174 197
 
175 198
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/RigidBot/Configuration.h Datei anzeigen

@@ -155,6 +155,30 @@
155 155
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
156 156
 //#define SINGLENOZZLE
157 157
 
158
+// A dual extruder that uses a single stepper motor
159
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
160
+//#define SWITCHING_EXTRUDER
161
+#if ENABLED(SWITCHING_EXTRUDER)
162
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
163
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
164
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
165
+#endif
166
+
167
+/**
168
+ * "Mixing Extruder"
169
+ *   - Adds a new code, M165, to set the current mix factors.
170
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
171
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
172
+ *   - This implementation supports only a single extruder.
173
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
174
+ */
175
+//#define MIXING_EXTRUDER
176
+#if ENABLED(MIXING_EXTRUDER)
177
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
178
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
179
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
180
+#endif
181
+
158 182
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
159 183
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
160 184
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -165,7 +189,6 @@
165 189
 // 1 = ATX
166 190
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
167 191
 // :{1:'ATX',2:'X-Box 360'}
168
-
169 192
 #define POWER_SUPPLY 1
170 193
 
171 194
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/SCARA/Configuration.h Datei anzeigen

@@ -177,6 +177,30 @@
177 177
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
178 178
 //#define SINGLENOZZLE
179 179
 
180
+// A dual extruder that uses a single stepper motor
181
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
182
+//#define SWITCHING_EXTRUDER
183
+#if ENABLED(SWITCHING_EXTRUDER)
184
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
185
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
186
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
187
+#endif
188
+
189
+/**
190
+ * "Mixing Extruder"
191
+ *   - Adds a new code, M165, to set the current mix factors.
192
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
193
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
194
+ *   - This implementation supports only a single extruder.
195
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
196
+ */
197
+//#define MIXING_EXTRUDER
198
+#if ENABLED(MIXING_EXTRUDER)
199
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
200
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
201
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
202
+#endif
203
+
180 204
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
181 205
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
182 206
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -187,7 +211,6 @@
187 211
 // 1 = ATX
188 212
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
189 213
 // :{1:'ATX',2:'X-Box 360'}
190
-
191 214
 #define POWER_SUPPLY 1
192 215
 
193 216
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/TAZ4/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/WITBOX/Configuration.h Datei anzeigen

@@ -155,6 +155,30 @@
155 155
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
156 156
 //#define SINGLENOZZLE
157 157
 
158
+// A dual extruder that uses a single stepper motor
159
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
160
+//#define SWITCHING_EXTRUDER
161
+#if ENABLED(SWITCHING_EXTRUDER)
162
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
163
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
164
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
165
+#endif
166
+
167
+/**
168
+ * "Mixing Extruder"
169
+ *   - Adds a new code, M165, to set the current mix factors.
170
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
171
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
172
+ *   - This implementation supports only a single extruder.
173
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
174
+ */
175
+//#define MIXING_EXTRUDER
176
+#if ENABLED(MIXING_EXTRUDER)
177
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
178
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
179
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
180
+#endif
181
+
158 182
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
159 183
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
160 184
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -165,7 +189,6 @@
165 189
 // 1 = ATX
166 190
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
167 191
 // :{1:'ATX',2:'X-Box 360'}
168
-
169 192
 #define POWER_SUPPLY 1
170 193
 
171 194
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/delta/biv2.5/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/delta/generic/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/delta/kossel_pro/Configuration.h Datei anzeigen

@@ -158,6 +158,30 @@
158 158
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
159 159
 //#define SINGLENOZZLE
160 160
 
161
+// A dual extruder that uses a single stepper motor
162
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
163
+//#define SWITCHING_EXTRUDER
164
+#if ENABLED(SWITCHING_EXTRUDER)
165
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
166
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
167
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
168
+#endif
169
+
170
+/**
171
+ * "Mixing Extruder"
172
+ *   - Adds a new code, M165, to set the current mix factors.
173
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
174
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
175
+ *   - This implementation supports only a single extruder.
176
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
177
+ */
178
+//#define MIXING_EXTRUDER
179
+#if ENABLED(MIXING_EXTRUDER)
180
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
181
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
182
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
183
+#endif
184
+
161 185
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
162 186
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
163 187
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -168,7 +192,6 @@
168 192
 // 1 = ATX
169 193
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
170 194
 // :{1:'ATX',2:'X-Box 360'}
171
-
172 195
 #define POWER_SUPPLY 1
173 196
 
174 197
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/delta/kossel_xl/Configuration.h Datei anzeigen

@@ -145,6 +145,30 @@
145 145
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
146 146
 //#define SINGLENOZZLE
147 147
 
148
+// A dual extruder that uses a single stepper motor
149
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
150
+//#define SWITCHING_EXTRUDER
151
+#if ENABLED(SWITCHING_EXTRUDER)
152
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
153
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
154
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
155
+#endif
156
+
157
+/**
158
+ * "Mixing Extruder"
159
+ *   - Adds a new code, M165, to set the current mix factors.
160
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
161
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
162
+ *   - This implementation supports only a single extruder.
163
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
164
+ */
165
+//#define MIXING_EXTRUDER
166
+#if ENABLED(MIXING_EXTRUDER)
167
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
168
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
169
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
170
+#endif
171
+
148 172
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
149 173
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
150 174
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -155,7 +179,6 @@
155 179
 // 1 = ATX
156 180
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
157 181
 // :{1:'ATX',2:'X-Box 360'}
158
-
159 182
 #define POWER_SUPPLY 2
160 183
 
161 184
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/makibox/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

+ 24
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration.h Datei anzeigen

@@ -152,6 +152,30 @@
152 152
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
153 153
 //#define SINGLENOZZLE
154 154
 
155
+// A dual extruder that uses a single stepper motor
156
+// Don't forget to set SSDE_SERVO_ANGLES and HOTEND_OFFSET_X/Y/Z
157
+//#define SWITCHING_EXTRUDER
158
+#if ENABLED(SWITCHING_EXTRUDER)
159
+  #define SWITCHING_EXTRUDER_SERVO_NR 0
160
+  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
161
+  //#define HOTEND_OFFSET_Z {0.0, 0.0}
162
+#endif
163
+
164
+/**
165
+ * "Mixing Extruder"
166
+ *   - Adds a new code, M165, to set the current mix factors.
167
+ *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
168
+ *   - Optional support for Repetier Host M163, M164, and virtual extruder.
169
+ *   - This implementation supports only a single extruder.
170
+ *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
171
+ */
172
+//#define MIXING_EXTRUDER
173
+#if ENABLED(MIXING_EXTRUDER)
174
+  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
175
+  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
176
+  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands
177
+#endif
178
+
155 179
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
156 180
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
157 181
 // For the other hotends it is their distance from the extruder 0 hotend.
@@ -162,7 +186,6 @@
162 186
 // 1 = ATX
163 187
 // 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)
164 188
 // :{1:'ATX',2:'X-Box 360'}
165
-
166 189
 #define POWER_SUPPLY 1
167 190
 
168 191
 // Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it.

Laden…
Abbrechen
Speichern