Browse Source

Updates to Formbot T-Rex 2+ configuration files (#12422)

Updates to Formbot T-Rex 2+ configuration files
Roxy-3D 6 years ago
parent
commit
f19fd642ce
No account linked to committer's email address

+ 30
- 26
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h View File

@@ -157,6 +157,17 @@
157 157
 
158 158
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
159 159
 //#define SINGLENOZZLE
160
+#if ENABLED(SINGLENOZZLE)
161
+  // Parameters for filament retract / prime on toolchange
162
+  #define SINGLENOZZLE_SWAP_LENGTH          12  // (mm)
163
+  #define SINGLENOZZLE_SWAP_RETRACT_SPEED 3600  // (mm/m)
164
+  #define SINGLENOZZLE_SWAP_PRIME_SPEED   3600  // (mm/m)
165
+  //#define SINGLENOZZLE_SWAP_PARK
166
+  #if ENABLED(SINGLENOZZLE_SWAP_PARK)
167
+    #define SINGLENOZZLE_TOOLCHANGE_XY    { X_MIN_POS + 10, Y_MIN_POS + 10 }
168
+    #define SINGLENOZZLE_PARK_XY_FEEDRATE 6000  // (mm/m)
169
+  #endif
170
+#endif
160 171
 
161 172
 /**
162 173
  * Průša MK2 Single Nozzle Multi-Material Multiplexer, and variants.
@@ -242,6 +253,9 @@
242 253
 // Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
243 254
 // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
244 255
 // For the other hotends it is their distance from the extruder 0 hotend.
256
+//#define HOTEND_OFFSET_X {0.0, 20.00} // (mm) relative X-offset for each nozzle
257
+//#define HOTEND_OFFSET_Y {0.0, 5.00}  // (mm) relative Y-offset for each nozzle
258
+//#define HOTEND_OFFSET_Z {0.0, 0.00}  // (mm) relative Z-offset for each nozzle
245 259
 
246 260
 #ifdef ROXYs_TRex
247 261
   #define HOTEND_OFFSET_X {0.0, 0.00}  // (mm) for each extruder, offset of the hotend on the X axis
@@ -665,7 +679,6 @@
665 679
  * Override with M92
666 680
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
667 681
  */
668
-//#define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 160, 1600, 93 }
669 682
 #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 800, 93 }
670 683
 
671 684
 /**
@@ -673,7 +686,6 @@
673 686
  * Override with M203
674 687
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
675 688
  */
676
-//#define DEFAULT_MAX_FEEDRATE          { 250, 150, 5, 25 }
677 689
 #define DEFAULT_MAX_FEEDRATE          { 250, 100, 5, 25 }
678 690
 
679 691
 /**
@@ -692,11 +704,6 @@
692 704
  *   M204 R    Retract Acceleration
693 705
  *   M204 T    Travel Acceleration
694 706
  */
695
-
696
-//#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration for printing moves
697
-//#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration for retracts
698
-//#define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
699
-
700 707
 #define DEFAULT_ACCELERATION          1500    // X, Y, Z and E acceleration for printing moves
701 708
 #define DEFAULT_RETRACT_ACCELERATION  1500    // E acceleration for retracts
702 709
 #define DEFAULT_TRAVEL_ACCELERATION   1500    // X, Y, Z acceleration for travel (non printing) moves
@@ -709,11 +716,6 @@
709 716
  * When changing speed and direction, if the difference is less than the
710 717
  * value set here, it may happen instantaneously.
711 718
  */
712
-//#define DEFAULT_XJERK                 20.0
713
-//#define DEFAULT_YJERK                 10.0
714
-//#define DEFAULT_ZJERK                  0.4
715
-//#define DEFAULT_EJERK                  5.0
716
-
717 719
 #define DEFAULT_XJERK                 12.0   // More conservitive numbers.
718 720
 #define DEFAULT_YJERK                  8.0
719 721
 #define DEFAULT_ZJERK                  0.4
@@ -801,6 +803,7 @@
801 803
   //#define BLTOUCH_DELAY 375   // (ms) Enable and increase if needed
802 804
 #endif
803 805
 
806
+
804 807
 // A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
805 808
 //#define SOLENOID_PROBE
806 809
 
@@ -846,7 +849,7 @@
846 849
 #define MIN_PROBE_EDGE 0
847 850
 
848 851
 // X and Y axis travel speed (mm/m) between probes
849
-#define XY_PROBE_SPEED 7000
852
+#define XY_PROBE_SPEED 5000
850 853
 
851 854
 // Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)
852 855
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
@@ -876,7 +879,7 @@
876 879
 #define Z_CLEARANCE_DEPLOY_PROBE    7 // Z Clearance for Deploy/Stow
877 880
 #define Z_CLEARANCE_BETWEEN_PROBES  7 // Z Clearance between probe points
878 881
 #define Z_CLEARANCE_MULTI_PROBE     5 // Z Clearance between multiple probes
879
-#define Z_AFTER_PROBING             7 // Z position after probing is done
882
+#define Z_AFTER_PROBING            10 // Z position after probing is done
880 883
 
881 884
 #define Z_PROBE_LOW_POINT          -2 // Farthest distance below the trigger-point to go before stopping
882 885
 
@@ -970,11 +973,11 @@
970 973
 #define Z_MIN_POS 0
971 974
 #define X_MAX_POS 450
972 975
 #define Y_MAX_POS Y_BED_SIZE
973
-#if ENABLED(tallVersion)
974
-  #define Z_MAX_POS 700
975
-#else
976
-  #define Z_MAX_POS 500
977
-#endif
976
+#define Z_MAX_POS 700
977
+
978
+
979
+// Z raise distance for tool-change, as needed for some extruders
980
+#define TOOLCHANGE_ZRAISE     2  // (mm)
978 981
 
979 982
 /**
980 983
  * Software Endstops
@@ -1110,7 +1113,7 @@
1110 1113
   #if ENABLED(G26_MESH_VALIDATION)
1111 1114
     #define MESH_TEST_NOZZLE_SIZE    0.4  // (mm) Diameter of primary nozzle.
1112 1115
     #define MESH_TEST_LAYER_HEIGHT   0.2  // (mm) Default layer height for the G26 Mesh Validation Tool.
1113
-    #define MESH_TEST_HOTEND_TEMP  205.0  // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1116
+    #define MESH_TEST_HOTEND_TEMP  208.0  // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1114 1117
     #define MESH_TEST_BED_TEMP      60.0  // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1115 1118
   #endif
1116 1119
 
@@ -1206,9 +1209,9 @@
1206 1209
 //#define LCD_BED_LEVELING
1207 1210
 
1208 1211
 #if ENABLED(LCD_BED_LEVELING)
1209
-  #define MESH_EDIT_Z_STEP  0.025 // (mm) Step size while manually probing Z axis.
1210
-  #define LCD_PROBE_Z_RANGE 4     // (mm) Z Range centered on Z_MIN_POS for LCD Z adjustment
1211
-  //#define MESH_EDIT_MENU        // Add a menu to edit mesh points
1212
+  #define MBL_Z_STEP 0.025    // Step size while manually probing Z axis.
1213
+  #define LCD_PROBE_Z_RANGE 4 // Z Range centered on Z_MIN_POS for LCD Z adjustment
1214
+//#define MESH_EDIT_MENU        // Add a menu to edit mesh points
1212 1215
 #endif
1213 1216
 
1214 1217
 // Add a menu item to move between bed corners for manual bed adjustment
@@ -1249,8 +1252,8 @@
1249 1252
 #define Z_SAFE_HOMING
1250 1253
 
1251 1254
 #if ENABLED(Z_SAFE_HOMING)
1252
-  #define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2)    // X point for Z homing when homing all axes (G28).
1253
-  #define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2)    // Y point for Z homing when homing all axes (G28).
1255
+  #define Z_SAFE_HOMING_X_POINT (((X_BED_SIZE) / 2) - 15)   // X point for Z homing when homing all axes (G28).
1256
+  #define Z_SAFE_HOMING_Y_POINT (((Y_BED_SIZE) / 2) - 15)   // Y point for Z homing when homing all axes (G28).
1254 1257
 #endif
1255 1258
 
1256 1259
 // Homing speeds (mm/m)
@@ -1260,6 +1263,7 @@
1260 1263
 // Validate that endstops are triggered on homing moves
1261 1264
 #define VALIDATE_HOMING_ENDSTOPS
1262 1265
 
1266
+
1263 1267
 // @section calibrate
1264 1268
 
1265 1269
 /**
@@ -1484,7 +1488,7 @@
1484 1488
  *
1485 1489
  * View the current statistics with M78.
1486 1490
  */
1487
-#define PRINTCOUNTER
1491
+//#define PRINTCOUNTER
1488 1492
 
1489 1493
 //=============================================================================
1490 1494
 //============================= LCD and SD support ============================

+ 18
- 56
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

@@ -219,7 +219,7 @@
219 219
  *
220 220
  * Define one or both of these to override the default 0-255 range.
221 221
  */
222
-#define FAN_MIN_PWM 64
222
+#define FAN_MIN_PWM 45
223 223
 //#define FAN_MAX_PWM 128
224 224
 
225 225
 // @section extruder
@@ -365,12 +365,12 @@
365 365
  */
366 366
 #define DUAL_X_CARRIAGE
367 367
 #if ENABLED(DUAL_X_CARRIAGE)
368
-  #define X1_MIN_POS X_MIN_POS  // set minimum to ensure first x-carriage doesn't hit the parked second X-carriage
369
-  #define X1_MAX_POS X_BED_SIZE // set maximum to ensure first x-carriage doesn't hit the parked second X-carriage
370
-  #define X2_MIN_POS  0     // set minimum to ensure second x-carriage doesn't hit the parked first X-carriage
371
-  #define X2_MAX_POS (442-4.0) // set maximum to the distance between toolheads when both heads are homed
372
-  #define X2_HOME_DIR 1     // the second X-carriage always homes to the maximum endstop position
373
-  #define X2_HOME_POS X2_MAX_POS // default home position is the maximum carriage position
368
+  #define X1_MIN_POS X_MIN_POS        // set minimum to ensure first x-carriage doesn't hit the parked second X-carriage
369
+  #define X1_MAX_POS (X_BED_SIZE)     // set maximum to ensure first x-carriage doesn't hit the parked second X-carriage
370
+  #define X2_MIN_POS  0               // set minimum to ensure second x-carriage doesn't hit the parked first X-carriage
371
+  #define X2_MAX_POS (442-4.0)        // set maximum to the distance between toolheads when both heads are homed
372
+  #define X2_HOME_DIR 1               // the second X-carriage always homes to the maximum endstop position
373
+  #define X2_HOME_POS X2_MAX_POS      // default home position is the maximum carriage position
374 374
       // However: In this mode the HOTEND_OFFSET_X value for the second extruder provides a software
375 375
       // override for X2_HOME_POS. This also allow recalibration of the distance between the two endstops
376 376
       // without modifying the firmware (through the "M218 T1 X???" command).
@@ -433,6 +433,7 @@
433 433
   #define Z_STEPPER_ALIGN_ACC 0.02
434 434
 #endif
435 435
 
436
+
436 437
 // @section machine
437 438
 
438 439
 #define AXIS_RELATIVE_MODES {false, false, false, false}
@@ -513,6 +514,7 @@
513 514
 //#define MICROSTEP16 LOW,LOW,HIGH
514 515
 //#define MICROSTEP32 HIGH,LOW,HIGH
515 516
 
517
+
516 518
 // Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
517 519
 #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
518 520
 
@@ -590,7 +592,7 @@
590 592
 // Add an 'M73' G-code to set the current percentage
591 593
 #define LCD_SET_PROGRESS_MANUALLY
592 594
 
593
-#if HAS_CHARACTER_LCD && HAS_PRINT_PROGRESS
595
+#if HAS_PRINT_PROGRESS
594 596
   //#define LCD_PROGRESS_BAR              // Show a progress bar on HD44780 LCDs for SD printing
595 597
   #if ENABLED(LCD_PROGRESS_BAR)
596 598
     #define PROGRESS_BAR_BAR_TIME 2000    // (ms) Amount of time to show the bar
@@ -1061,7 +1063,7 @@
1061 1063
  *   'M106 P<fan> T2'     : Use the set secondary speed
1062 1064
  *   'M106 P<fan> T1'     : Restore the previous fan speed
1063 1065
  */
1064
-#define EXTRA_FAN_SPEED
1066
+//#define EXTRA_FAN_SPEED
1065 1067
 
1066 1068
 /**
1067 1069
  * Firmware-based and LCD-controlled retract
@@ -1097,34 +1099,6 @@
1097 1099
     //#define RETRACT_SYNC_MIXING         // Retract and restore all mixing steppers simultaneously
1098 1100
   #endif
1099 1101
 #endif
1100
-
1101
-/**
1102
- * Universal tool change settings.
1103
- * Applies to all types of extruders except where explicitly noted.
1104
- */
1105
-#if EXTRUDERS > 1
1106
-  // Z raise distance for tool-change, as needed for some extruders
1107
-  #define TOOLCHANGE_ZRAISE     2  // (mm)
1108
-
1109
-  // Retract and prime filament on tool-change
1110
-  //#define TOOLCHANGE_FILAMENT_SWAP
1111
-  #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
1112
-    #define TOOLCHANGE_FIL_SWAP_LENGTH          12  // (mm)
1113
-    #define TOOLCHANGE_FIL_SWAP_RETRACT_SPEED 3600  // (mm/m)
1114
-    #define TOOLCHANGE_FIL_SWAP_PRIME_SPEED   3600  // (mm/m)
1115
-  #endif
1116
-
1117
-  /**
1118
-   * Position to park head during tool change.
1119
-   * Doesn't apply to SWITCHING_TOOLHEAD, DUAL_X_CARRIAGE, or PARKING_EXTRUDER
1120
-   */
1121
-  //#define TOOLCHANGE_PARK
1122
-  #if ENABLED(TOOLCHANGE_PARK)
1123
-    #define TOOLCHANGE_PARK_XY    { X_MIN_POS + 10, Y_MIN_POS + 10 }
1124
-    #define TOOLCHANGE_PARK_XY_FEEDRATE 6000  // (mm/m)
1125
-  #endif
1126
-#endif
1127
-
1128 1102
 /**
1129 1103
  * Advanced Pause
1130 1104
  * Experimental feature for filament change support and for parking the nozzle when paused.
@@ -1162,19 +1136,19 @@
1162 1136
                                                   //   until extrusion is consistent, and to purge old filament.
1163 1137
 
1164 1138
                                                   // Filament Unload does a Retract, Delay, and Purge first:
1165
-  #define FILAMENT_UNLOAD_RETRACT_LENGTH       4  // (mm) Unload initial retract length.
1166
-  #define FILAMENT_UNLOAD_DELAY             5000  // (ms) Delay for the filament to cool after retract.
1139
+  #define FILAMENT_UNLOAD_RETRACT_LENGTH       0  // (mm) Unload initial retract length.
1140
+  #define FILAMENT_UNLOAD_DELAY              500  // (ms) Delay for the filament to cool after retract.
1167 1141
   #define FILAMENT_UNLOAD_PURGE_LENGTH         0  // (mm) An unretract is done, then this length is purged.
1168 1142
 
1169
-  #define PAUSE_PARK_NOZZLE_TIMEOUT           45  // (seconds) Time limit before the nozzle is turned off for safety.
1170
-  #define FILAMENT_CHANGE_ALERT_BEEPS          1  // Number of alert beeps to play when a response is needed.
1143
+  #define PAUSE_PARK_NOZZLE_TIMEOUT       (3*60)  // (seconds) Time limit before the nozzle is turned off for safety.
1144
+  #define FILAMENT_CHANGE_ALERT_BEEPS          3  // Number of alert beeps to play when a response is needed.
1171 1145
   #define PAUSE_PARK_NO_STEPPER_TIMEOUT           // Enable for XYZ steppers to stay powered on during filament change.
1172 1146
 
1173 1147
   #define PARK_HEAD_ON_PAUSE                      // Park the nozzle during pause and filament change.
1174 1148
   #define HOME_BEFORE_FILAMENT_CHANGE             // Ensure homing has been completed prior to parking for filament change
1175 1149
 
1176
-  //#define FILAMENT_LOAD_UNLOAD_GCODES           // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
1177
-  //#define FILAMENT_UNLOAD_ALL_EXTRUDERS         // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
1150
+  #define FILAMENT_LOAD_UNLOAD_GCODES             // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
1151
+  #define FILAMENT_UNLOAD_ALL_EXTRUDERS           // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
1178 1152
 #endif
1179 1153
 
1180 1154
 // @section tmc
@@ -1695,18 +1669,6 @@
1695 1669
 #endif
1696 1670
 
1697 1671
 /**
1698
- * G-code Macros
1699
- *
1700
- * Add G-codes M810-M819 to define and run G-code macros.
1701
- * Macros are not saved to EEPROM.
1702
- */
1703
-//#define GCODE_MACROS
1704
-#if ENABLED(GCODE_MACROS)
1705
-  #define GCODE_MACROS_SLOTS       5  // Up to 10 may be used
1706
-  #define GCODE_MACROS_SLOT_SIZE  50  // Maximum length of a single macro
1707
-#endif
1708
-
1709
-/**
1710 1672
  * User-defined menu items that execute custom GCode
1711 1673
  */
1712 1674
 //#define CUSTOM_USER_MENUS
@@ -1851,7 +1813,7 @@
1851 1813
 
1852 1814
   #define MAX7219_GCODE            // Add the M7219 G-code to control the LED matrix
1853 1815
   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral)
1854
-  #define MAX7219_NUMBER_UNITS 2   // Number of Max7219 units in chain.
1816
+  #define MAX7219_NUMBER_UNITS 3   // Number of Max7219 units in chain.
1855 1817
   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°)
1856 1818
                                    // connector at:  right=0   bottom=-90  top=90  left=180
1857 1819
   #define MAX7219_REVERSE_ORDER   // The individual LED matrix units may be in reversed order

+ 1
- 0
Marlin/src/config/examples/Formbot/T_Rex_2+/_Bootscreen.h View File

@@ -33,6 +33,7 @@
33 33
 
34 34
 #define CUSTOM_BOOTSCREEN_TIMEOUT   2500
35 35
 #define CUSTOM_BOOTSCREEN_BMPWIDTH  128
36
+#define CUSTOM_BOOTSCREEN_BMPHEIGHT 64
36 37
 
37 38
 const unsigned char custom_start_bmp[] PROGMEM = {
38 39
   B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00001111,

Loading…
Cancel
Save