Browse Source

X_DUAL_STEPPER_DRIVERS configuration option

Scott Lahteine 9 years ago
parent
commit
91bd6eade7

+ 21
- 12
Marlin/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 8
- 10
Marlin/SanityCheck.h View File

@@ -76,8 +76,14 @@
76 76
 /**
77 77
  * Dual Stepper Drivers
78 78
  */
79
-#if ENABLED(Z_DUAL_STEPPER_DRIVERS) && ENABLED(Y_DUAL_STEPPER_DRIVERS)
80
-  #error "You cannot have dual stepper drivers for both Y and Z."
79
+#if ENABLED(X_DUAL_STEPPER_DRIVERS) && ENABLED(DUAL_X_CARRIAGE)
80
+  #error "DUAL_X_CARRIAGE is not compatible with X_DUAL_STEPPER_DRIVERS."
81
+#elif ENABLED(X_DUAL_STEPPER_DRIVERS) && (!HAS_X2_ENABLE || !HAS_X2_STEP || !HAS_X2_DIR)
82
+  #error "X_DUAL_STEPPER_DRIVERS requires X2 pins (and an extra E plug)."
83
+#elif ENABLED(Y_DUAL_STEPPER_DRIVERS) && (!HAS_Y2_ENABLE || !HAS_Y2_STEP || !HAS_Y2_DIR)
84
+  #error "Y_DUAL_STEPPER_DRIVERS requires Y2 pins (and an extra E plug)."
85
+#elif ENABLED(Z_DUAL_STEPPER_DRIVERS) && (!HAS_Z2_ENABLE || !HAS_Z2_STEP || !HAS_Z2_DIR)
86
+  #error "Z_DUAL_STEPPER_DRIVERS requires Z2 pins (and an extra E plug)."
81 87
 #endif
82 88
 
83 89
 /**
@@ -152,14 +158,6 @@
152 158
     #error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
153 159
   #endif
154 160
 
155
-  #if ENABLED(Y_DUAL_STEPPER_DRIVERS)
156
-    #error "EXTRUDERS must be 1 with Y_DUAL_STEPPER_DRIVERS."
157
-  #endif
158
-
159
-  #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
160
-    #error "EXTRUDERS must be 1 with Z_DUAL_STEPPER_DRIVERS."
161
-  #endif
162
-
163 161
 #elif ENABLED(SINGLENOZZLE)
164 162
   #error "SINGLENOZZLE requires 2 or more EXTRUDERS."
165 163
 #endif

+ 21
- 12
Marlin/example_configurations/Cartesio/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/Felix/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/Hephestos_2/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/K8200/Configuration_adv.h View File

@@ -235,11 +235,28 @@
235 235
 
236 236
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
237 237
 
238
+// Dual X Steppers
239
+// Uncomment this option to drive two X axis motors.
240
+// The next unused E driver will be assigned to the second X stepper.
241
+//#define X_DUAL_STEPPER_DRIVERS
242
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
243
+  // Set true if the two X motors need to rotate in opposite directions
244
+  #define INVERT_X2_VS_X_DIR true
245
+#endif
246
+
247
+
248
+// Dual Y Steppers
249
+// Uncomment this option to drive two Y axis motors.
250
+// The next unused E driver will be assigned to the second Y stepper.
251
+//#define Y_DUAL_STEPPER_DRIVERS
252
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
253
+  // Set true if the two Y motors need to rotate in opposite directions
254
+  #define INVERT_Y2_VS_Y_DIR true
255
+#endif
256
+
238 257
 // A single Z stepper driver is usually used to drive 2 stepper motors.
239
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
240
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
241
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
242
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
258
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
259
+// The next unused E driver will be assigned to the second Z stepper.
243 260
 //#define Z_DUAL_STEPPER_DRIVERS
244 261
 
245 262
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -261,14 +278,6 @@
261 278
 
262 279
 #endif // Z_DUAL_STEPPER_DRIVERS
263 280
 
264
-// Same again but for Y Axis.
265
-//#define Y_DUAL_STEPPER_DRIVERS
266
-
267
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
268
-  // Define if the two Y drives need to rotate in opposite directions
269
-  #define INVERT_Y2_VS_Y_DIR true
270
-#endif
271
-
272 281
 // Enable this for dual x-carriage printers.
273 282
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
274 283
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/SCARA/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/TAZ4/Configuration_adv.h View File

@@ -237,11 +237,28 @@
237 237
 
238 238
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
239 239
 
240
+// Dual X Steppers
241
+// Uncomment this option to drive two X axis motors.
242
+// The next unused E driver will be assigned to the second X stepper.
243
+//#define X_DUAL_STEPPER_DRIVERS
244
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
245
+  // Set true if the two X motors need to rotate in opposite directions
246
+  #define INVERT_X2_VS_X_DIR true
247
+#endif
248
+
249
+
250
+// Dual Y Steppers
251
+// Uncomment this option to drive two Y axis motors.
252
+// The next unused E driver will be assigned to the second Y stepper.
253
+//#define Y_DUAL_STEPPER_DRIVERS
254
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
255
+  // Set true if the two Y motors need to rotate in opposite directions
256
+  #define INVERT_Y2_VS_Y_DIR true
257
+#endif
258
+
240 259
 // A single Z stepper driver is usually used to drive 2 stepper motors.
241
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
242
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
243
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
244
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
260
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
261
+// The next unused E driver will be assigned to the second Z stepper.
245 262
 //#define Z_DUAL_STEPPER_DRIVERS
246 263
 
247 264
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -263,14 +280,6 @@
263 280
 
264 281
 #endif // Z_DUAL_STEPPER_DRIVERS
265 282
 
266
-// Same again but for Y Axis.
267
-//#define Y_DUAL_STEPPER_DRIVERS
268
-
269
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
270
-  // Define if the two Y drives need to rotate in opposite directions
271
-  #define INVERT_Y2_VS_Y_DIR true
272
-#endif
273
-
274 283
 // Enable this for dual x-carriage printers.
275 284
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
276 285
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h View File

@@ -234,11 +234,28 @@
234 234
 
235 235
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
236 236
 
237
+// Dual X Steppers
238
+// Uncomment this option to drive two X axis motors.
239
+// The next unused E driver will be assigned to the second X stepper.
240
+//#define X_DUAL_STEPPER_DRIVERS
241
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
242
+  // Set true if the two X motors need to rotate in opposite directions
243
+  #define INVERT_X2_VS_X_DIR true
244
+#endif
245
+
246
+
247
+// Dual Y Steppers
248
+// Uncomment this option to drive two Y axis motors.
249
+// The next unused E driver will be assigned to the second Y stepper.
250
+//#define Y_DUAL_STEPPER_DRIVERS
251
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
252
+  // Set true if the two Y motors need to rotate in opposite directions
253
+  #define INVERT_Y2_VS_Y_DIR true
254
+#endif
255
+
237 256
 // A single Z stepper driver is usually used to drive 2 stepper motors.
238
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
239
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
240
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
241
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
257
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
258
+// The next unused E driver will be assigned to the second Z stepper.
242 259
 //#define Z_DUAL_STEPPER_DRIVERS
243 260
 
244 261
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -260,14 +277,6 @@
260 277
 
261 278
 #endif // Z_DUAL_STEPPER_DRIVERS
262 279
 
263
-// Same again but for Y Axis.
264
-//#define Y_DUAL_STEPPER_DRIVERS
265
-
266
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
267
-  // Define if the two Y drives need to rotate in opposite directions
268
-  #define INVERT_Y2_VS_Y_DIR true
269
-#endif
270
-
271 280
 // Enable this for dual x-carriage printers.
272 281
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
273 282
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/makibox/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

+ 21
- 12
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

@@ -229,11 +229,28 @@
229 229
 
230 230
 //#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
231 231
 
232
+// Dual X Steppers
233
+// Uncomment this option to drive two X axis motors.
234
+// The next unused E driver will be assigned to the second X stepper.
235
+//#define X_DUAL_STEPPER_DRIVERS
236
+#if ENABLED(X_DUAL_STEPPER_DRIVERS)
237
+  // Set true if the two X motors need to rotate in opposite directions
238
+  #define INVERT_X2_VS_X_DIR true
239
+#endif
240
+
241
+
242
+// Dual Y Steppers
243
+// Uncomment this option to drive two Y axis motors.
244
+// The next unused E driver will be assigned to the second Y stepper.
245
+//#define Y_DUAL_STEPPER_DRIVERS
246
+#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
247
+  // Set true if the two Y motors need to rotate in opposite directions
248
+  #define INVERT_Y2_VS_Y_DIR true
249
+#endif
250
+
232 251
 // A single Z stepper driver is usually used to drive 2 stepper motors.
233
-// Uncomment this define to utilize a separate stepper driver for each Z axis motor.
234
-// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used
235
-// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.
236
-// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.
252
+// Uncomment this option to use a separate stepper driver for each Z axis motor.
253
+// The next unused E driver will be assigned to the second Z stepper.
237 254
 //#define Z_DUAL_STEPPER_DRIVERS
238 255
 
239 256
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS)
@@ -255,14 +272,6 @@
255 272
 
256 273
 #endif // Z_DUAL_STEPPER_DRIVERS
257 274
 
258
-// Same again but for Y Axis.
259
-//#define Y_DUAL_STEPPER_DRIVERS
260
-
261
-#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
262
-  // Define if the two Y drives need to rotate in opposite directions
263
-  #define INVERT_Y2_VS_Y_DIR true
264
-#endif
265
-
266 275
 // Enable this for dual x-carriage printers.
267 276
 // A dual x-carriage design has the advantage that the inactive extruder can be parked which
268 277
 // prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage

Loading…
Cancel
Save