|
@@ -60,7 +60,7 @@
|
60
|
60
|
// @section info
|
61
|
61
|
|
62
|
62
|
// Author info of this build printed to the host during boot and M115
|
63
|
|
-#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
|
63
|
+#define STRING_CONFIG_H_AUTHOR "(xythobuz, laser-engraver)" // Who made the changes.
|
64
|
64
|
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
|
65
|
65
|
|
66
|
66
|
/**
|
|
@@ -87,7 +87,7 @@
|
87
|
87
|
|
88
|
88
|
// Choose the name from boards.h that matches your setup
|
89
|
89
|
#ifndef MOTHERBOARD
|
90
|
|
- #define MOTHERBOARD BOARD_RAMPS_14_EFB
|
|
90
|
+ #define MOTHERBOARD BOARD_GT2560_REV_A
|
91
|
91
|
#endif
|
92
|
92
|
|
93
|
93
|
/**
|
|
@@ -111,7 +111,7 @@
|
111
|
111
|
*
|
112
|
112
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
113
|
113
|
*/
|
114
|
|
-#define BAUDRATE 250000
|
|
114
|
+#define BAUDRATE 115200
|
115
|
115
|
|
116
|
116
|
//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
|
117
|
117
|
|
|
@@ -135,7 +135,7 @@
|
135
|
135
|
//#define BLUETOOTH
|
136
|
136
|
|
137
|
137
|
// Name displayed in the LCD "Ready" message and Info menu
|
138
|
|
-//#define CUSTOM_MACHINE_NAME "3D Printer"
|
|
138
|
+#define CUSTOM_MACHINE_NAME "xyLaser"
|
139
|
139
|
|
140
|
140
|
// Printer's unique ID, used by some programs to differentiate between machines.
|
141
|
141
|
// Choose your own or use a service like https://www.uuidgenerator.net/version4
|
|
@@ -158,9 +158,9 @@
|
158
|
158
|
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
|
159
|
159
|
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
|
160
|
160
|
*/
|
161
|
|
-#define X_DRIVER_TYPE A4988
|
162
|
|
-#define Y_DRIVER_TYPE A4988
|
163
|
|
-#define Z_DRIVER_TYPE A4988
|
|
161
|
+#define X_DRIVER_TYPE TMC2100
|
|
162
|
+#define Y_DRIVER_TYPE TMC2100
|
|
163
|
+//#define Z_DRIVER_TYPE A4988
|
164
|
164
|
//#define X2_DRIVER_TYPE A4988
|
165
|
165
|
//#define Y2_DRIVER_TYPE A4988
|
166
|
166
|
//#define Z2_DRIVER_TYPE A4988
|
|
@@ -172,7 +172,7 @@
|
172
|
172
|
//#define U_DRIVER_TYPE A4988
|
173
|
173
|
//#define V_DRIVER_TYPE A4988
|
174
|
174
|
//#define W_DRIVER_TYPE A4988
|
175
|
|
-#define E0_DRIVER_TYPE A4988
|
|
175
|
+//#define E0_DRIVER_TYPE A4988
|
176
|
176
|
//#define E1_DRIVER_TYPE A4988
|
177
|
177
|
//#define E2_DRIVER_TYPE A4988
|
178
|
178
|
//#define E3_DRIVER_TYPE A4988
|
|
@@ -227,7 +227,7 @@
|
227
|
227
|
|
228
|
228
|
// This defines the number of extruders
|
229
|
229
|
// :[0, 1, 2, 3, 4, 5, 6, 7, 8]
|
230
|
|
-#define EXTRUDERS 1
|
|
230
|
+#define EXTRUDERS 0
|
231
|
231
|
|
232
|
232
|
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
|
233
|
233
|
#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
|
|
@@ -536,7 +536,7 @@
|
536
|
536
|
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below.
|
537
|
537
|
*
|
538
|
538
|
*/
|
539
|
|
-#define TEMP_SENSOR_0 1
|
|
539
|
+#define TEMP_SENSOR_0 0
|
540
|
540
|
#define TEMP_SENSOR_1 0
|
541
|
541
|
#define TEMP_SENSOR_2 0
|
542
|
542
|
#define TEMP_SENSOR_3 0
|
|
@@ -850,10 +850,10 @@
|
850
|
850
|
* details can be tuned in Configuration_adv.h
|
851
|
851
|
*/
|
852
|
852
|
|
853
|
|
-#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
854
|
|
-#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
855
|
|
-#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber
|
856
|
|
-#define THERMAL_PROTECTION_COOLER // Enable thermal protection for the laser cooling
|
|
853
|
+//#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
|
|
854
|
+//#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
|
|
855
|
+//#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber
|
|
856
|
+//#define THERMAL_PROTECTION_COOLER // Enable thermal protection for the laser cooling
|
857
|
857
|
|
858
|
858
|
//===========================================================================
|
859
|
859
|
//============================= Mechanical Settings =========================
|
|
@@ -1036,7 +1036,7 @@
|
1036
|
1036
|
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
|
1037
|
1037
|
#define USE_XMIN_PLUG
|
1038
|
1038
|
#define USE_YMIN_PLUG
|
1039
|
|
-#define USE_ZMIN_PLUG
|
|
1039
|
+//#define USE_ZMIN_PLUG
|
1040
|
1040
|
//#define USE_IMIN_PLUG
|
1041
|
1041
|
//#define USE_JMIN_PLUG
|
1042
|
1042
|
//#define USE_KMIN_PLUG
|
|
@@ -1143,7 +1143,7 @@
|
1143
|
1143
|
//#define ENDSTOP_NOISE_THRESHOLD 2
|
1144
|
1144
|
|
1145
|
1145
|
// Check for stuck or disconnected endstops during homing moves.
|
1146
|
|
-//#define DETECT_BROKEN_ENDSTOP
|
|
1146
|
+#define DETECT_BROKEN_ENDSTOP
|
1147
|
1147
|
|
1148
|
1148
|
//=============================================================================
|
1149
|
1149
|
//============================== Movement Settings ============================
|
|
@@ -1170,18 +1170,18 @@
|
1170
|
1170
|
* Override with M92
|
1171
|
1171
|
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
1172
|
1172
|
*/
|
1173
|
|
-#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 500 }
|
|
1173
|
+#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80 }
|
1174
|
1174
|
|
1175
|
1175
|
/**
|
1176
|
1176
|
* Default Max Feed Rate (linear=mm/s, rotational=°/s)
|
1177
|
1177
|
* Override with M203
|
1178
|
1178
|
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
1179
|
1179
|
*/
|
1180
|
|
-#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
|
1180
|
+#define DEFAULT_MAX_FEEDRATE { 200, 200 }
|
1181
|
1181
|
|
1182
|
|
-//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
|
1182
|
+#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
1183
|
1183
|
#if ENABLED(LIMITED_MAX_FR_EDITING)
|
1184
|
|
- #define MAX_FEEDRATE_EDIT_VALUES { 600, 600, 10, 50 } // ...or, set your own edit limits
|
|
1184
|
+ #define MAX_FEEDRATE_EDIT_VALUES { 400, 400 } // ...or, set your own edit limits
|
1185
|
1185
|
#endif
|
1186
|
1186
|
|
1187
|
1187
|
/**
|
|
@@ -1190,11 +1190,11 @@
|
1190
|
1190
|
* Override with M201
|
1191
|
1191
|
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
1192
|
1192
|
*/
|
1193
|
|
-#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
|
1193
|
+#define DEFAULT_MAX_ACCELERATION { 1000, 1000 }
|
1194
|
1194
|
|
1195
|
|
-//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
|
1195
|
+#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
1196
|
1196
|
#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
|
1197
|
|
- #define MAX_ACCEL_EDIT_VALUES { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
|
|
1197
|
+ #define MAX_ACCEL_EDIT_VALUES { 2000, 2000 } // ...or, set your own edit limits
|
1198
|
1198
|
#endif
|
1199
|
1199
|
|
1200
|
1200
|
/**
|
|
@@ -1205,9 +1205,9 @@
|
1205
|
1205
|
* M204 R Retract Acceleration
|
1206
|
1206
|
* M204 T Travel Acceleration
|
1207
|
1207
|
*/
|
1208
|
|
-#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E acceleration for printing moves
|
|
1208
|
+#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
|
1209
|
1209
|
#define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
|
1210
|
|
-#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
|
1210
|
+#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves
|
1211
|
1211
|
|
1212
|
1212
|
/**
|
1213
|
1213
|
* Default Jerk limits (mm/s)
|
|
@@ -1233,7 +1233,7 @@
|
1233
|
1233
|
|
1234
|
1234
|
//#define LIMITED_JERK_EDITING // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
|
1235
|
1235
|
#if ENABLED(LIMITED_JERK_EDITING)
|
1236
|
|
- #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
|
|
1236
|
+ #define MAX_JERK_EDIT_VALUES { 20, 20 } // ...or, set your own edit limits
|
1237
|
1237
|
#endif
|
1238
|
1238
|
#endif
|
1239
|
1239
|
|
|
@@ -1642,9 +1642,9 @@
|
1642
|
1642
|
// @section motion
|
1643
|
1643
|
|
1644
|
1644
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
1645
|
|
-#define INVERT_X_DIR false
|
|
1645
|
+#define INVERT_X_DIR true
|
1646
|
1646
|
#define INVERT_Y_DIR true
|
1647
|
|
-#define INVERT_Z_DIR false
|
|
1647
|
+//#define INVERT_Z_DIR false
|
1648
|
1648
|
//#define INVERT_I_DIR false
|
1649
|
1649
|
//#define INVERT_J_DIR false
|
1650
|
1650
|
//#define INVERT_K_DIR false
|
|
@@ -1696,16 +1696,17 @@
|
1696
|
1696
|
// @section geometry
|
1697
|
1697
|
|
1698
|
1698
|
// The size of the printable area
|
1699
|
|
-#define X_BED_SIZE 200
|
1700
|
|
-#define Y_BED_SIZE 200
|
|
1699
|
+#define X_BED_SIZE 208
|
|
1700
|
+#define Y_BED_SIZE 287
|
1701
|
1701
|
|
1702
|
1702
|
// Travel limits (linear=mm, rotational=°) after homing, corresponding to endstop positions.
|
1703
|
1703
|
#define X_MIN_POS 0
|
1704
|
1704
|
#define Y_MIN_POS 0
|
1705
|
|
-#define Z_MIN_POS 0
|
1706
|
1705
|
#define X_MAX_POS X_BED_SIZE
|
1707
|
1706
|
#define Y_MAX_POS Y_BED_SIZE
|
1708
|
|
-#define Z_MAX_POS 200
|
|
1707
|
+
|
|
1708
|
+//#define Z_MIN_POS 0
|
|
1709
|
+//#define Z_MAX_POS 200
|
1709
|
1710
|
//#define I_MIN_POS 0
|
1710
|
1711
|
//#define I_MAX_POS 50
|
1711
|
1712
|
//#define J_MIN_POS 0
|
|
@@ -1757,7 +1758,7 @@
|
1757
|
1758
|
#endif
|
1758
|
1759
|
|
1759
|
1760
|
#if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)
|
1760
|
|
- //#define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD
|
|
1761
|
+ #define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD
|
1761
|
1762
|
#endif
|
1762
|
1763
|
|
1763
|
1764
|
/**
|
|
@@ -2096,7 +2097,7 @@
|
2096
|
2097
|
#endif
|
2097
|
2098
|
|
2098
|
2099
|
// Homing speeds (linear=mm/min, rotational=°/min)
|
2099
|
|
-#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (4*60) }
|
|
2100
|
+#define HOMING_FEEDRATE_MM_M { (50*60), (50*60) }
|
2100
|
2101
|
|
2101
|
2102
|
// Validate that endstops are triggered on homing moves
|
2102
|
2103
|
#define VALIDATE_HOMING_ENDSTOPS
|
|
@@ -2174,7 +2175,7 @@
|
2174
|
2175
|
* M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
|
2175
|
2176
|
* M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
|
2176
|
2177
|
*/
|
2177
|
|
-//#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
|
2178
|
+#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
2178
|
2179
|
//#define DISABLE_M503 // Saves ~2700 bytes of flash. Disable for release!
|
2179
|
2180
|
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
|
2180
|
2181
|
#define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
|
|
@@ -2366,9 +2367,9 @@
|
2366
|
2367
|
*
|
2367
|
2368
|
* View the current statistics with M78.
|
2368
|
2369
|
*/
|
2369
|
|
-//#define PRINTCOUNTER
|
|
2370
|
+#define PRINTCOUNTER
|
2370
|
2371
|
#if ENABLED(PRINTCOUNTER)
|
2371
|
|
- #define PRINTCOUNTER_SAVE_INTERVAL 60 // (minutes) EEPROM save interval during print. A value of 0 will save stats at end of print.
|
|
2372
|
+ #define PRINTCOUNTER_SAVE_INTERVAL 0 // (minutes) EEPROM save interval during print. A value of 0 will save stats at end of print.
|
2372
|
2373
|
#endif
|
2373
|
2374
|
|
2374
|
2375
|
// @section security
|
|
@@ -2459,7 +2460,7 @@
|
2459
|
2460
|
* SD Card support is disabled by default. If your controller has an SD slot,
|
2460
|
2461
|
* you must uncomment the following option or it won't work.
|
2461
|
2462
|
*/
|
2462
|
|
-//#define SDSUPPORT
|
|
2463
|
+#define SDSUPPORT
|
2463
|
2464
|
|
2464
|
2465
|
/**
|
2465
|
2466
|
* SD CARD: ENABLE CRC
|
|
@@ -2483,13 +2484,13 @@
|
2483
|
2484
|
// This option overrides the default number of encoder pulses needed to
|
2484
|
2485
|
// produce one step. Should be increased for high-resolution encoders.
|
2485
|
2486
|
//
|
2486
|
|
-//#define ENCODER_PULSES_PER_STEP 4
|
|
2487
|
+#define ENCODER_PULSES_PER_STEP 4
|
2487
|
2488
|
|
2488
|
2489
|
//
|
2489
|
2490
|
// Use this option to override the number of step signals required to
|
2490
|
2491
|
// move between next/prev menu items.
|
2491
|
2492
|
//
|
2492
|
|
-//#define ENCODER_STEPS_PER_MENU_ITEM 1
|
|
2493
|
+#define ENCODER_STEPS_PER_MENU_ITEM 1
|
2493
|
2494
|
|
2494
|
2495
|
/**
|
2495
|
2496
|
* Encoder Direction Options
|
|
@@ -2506,7 +2507,7 @@
|
2506
|
2507
|
//
|
2507
|
2508
|
// Set this option if CLOCKWISE causes values to DECREASE
|
2508
|
2509
|
//
|
2509
|
|
-//#define REVERSE_ENCODER_DIRECTION
|
|
2510
|
+#define REVERSE_ENCODER_DIRECTION
|
2510
|
2511
|
|
2511
|
2512
|
//
|
2512
|
2513
|
// This option reverses the encoder direction for navigating LCD menus.
|
|
@@ -2591,7 +2592,7 @@
|
2591
|
2592
|
//
|
2592
|
2593
|
// ULTIMAKER Controller.
|
2593
|
2594
|
//
|
2594
|
|
-//#define ULTIMAKERCONTROLLER
|
|
2595
|
+#define ULTIMAKERCONTROLLER
|
2595
|
2596
|
|
2596
|
2597
|
//
|
2597
|
2598
|
// ULTIPANEL as seen on Thingiverse.
|