Quellcode durchsuchen

Set more regular setup in configuration.h

alexborro vor 10 Jahren
Ursprung
Commit
8a4b62d081
1 geänderte Dateien mit 35 neuen und 48 gelöschten Zeilen
  1. 35
    48
      Marlin/Configuration.h

+ 35
- 48
Marlin/Configuration.h Datei anzeigen

59
 // The following define selects which electronics board you have.
59
 // The following define selects which electronics board you have.
60
 // Please choose the name from boards.h that matches your setup
60
 // Please choose the name from boards.h that matches your setup
61
 #ifndef MOTHERBOARD
61
 #ifndef MOTHERBOARD
62
-  #define MOTHERBOARD BOARD_ULTIMAKER
62
+  #define MOTHERBOARD BOARD_RAMPS_13
63
 #endif
63
 #endif
64
 
64
 
65
 // Define this to set a custom name for your generic Mendel,
65
 // Define this to set a custom name for your generic Mendel,
123
 //     #define DUMMY_THERMISTOR_998_VALUE 25
123
 //     #define DUMMY_THERMISTOR_998_VALUE 25
124
 //     #define DUMMY_THERMISTOR_999_VALUE 100
124
 //     #define DUMMY_THERMISTOR_999_VALUE 100
125
 
125
 
126
-#define TEMP_SENSOR_0 -1
127
-#define TEMP_SENSOR_1 -1
126
+#define TEMP_SENSOR_0 1
127
+#define TEMP_SENSOR_1 0
128
 #define TEMP_SENSOR_2 0
128
 #define TEMP_SENSOR_2 0
129
 #define TEMP_SENSOR_3 0
129
 #define TEMP_SENSOR_3 0
130
 #define TEMP_SENSOR_BED 0
130
 #define TEMP_SENSOR_BED 0
301
 // Enable this option for Toshiba steppers
301
 // Enable this option for Toshiba steppers
302
 // #define CONFIG_STEPPERS_TOSHIBA
302
 // #define CONFIG_STEPPERS_TOSHIBA
303
 
303
 
304
-// coarse Endstop Settings
305
-#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
306
-
307
-#ifndef ENDSTOPPULLUPS
308
-  // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
309
-  // #define ENDSTOPPULLUP_XMAX
310
-  // #define ENDSTOPPULLUP_YMAX
311
-  // #define ENDSTOPPULLUP_ZMAX
312
-  // #define ENDSTOPPULLUP_XMIN
313
-  // #define ENDSTOPPULLUP_YMIN
314
-  // #define ENDSTOPPULLUP_ZMIN
315
-#endif
316
-
317
-#ifdef ENDSTOPPULLUPS
318
-  #define ENDSTOPPULLUP_XMAX
319
-  #define ENDSTOPPULLUP_YMAX
320
-  #define ENDSTOPPULLUP_ZMAX
321
-  #define ENDSTOPPULLUP_XMIN
322
-  #define ENDSTOPPULLUP_YMIN
323
-  #define ENDSTOPPULLUP_ZMIN
324
-#endif
325
-
326
-// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
327
-const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
-const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
-const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
-const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331
-const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
332
-const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
304
+// The pullups are needed if you directly connect a mechanical endstop between the signal and ground pins.
305
+#define ENDSTOPPULLUP_XMAX
306
+#define ENDSTOPPULLUP_YMAX
307
+#define ENDSTOPPULLUP_ZMAX
308
+#define ENDSTOPPULLUP_XMIN
309
+#define ENDSTOPPULLUP_YMIN
310
+#define ENDSTOPPULLUP_ZMIN
311
+
312
+// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
313
+const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
314
+const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
315
+const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
316
+const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
317
+const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
318
+const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
333
 //#define DISABLE_MAX_ENDSTOPS
319
 //#define DISABLE_MAX_ENDSTOPS
334
 //#define DISABLE_MIN_ENDSTOPS
320
 //#define DISABLE_MIN_ENDSTOPS
335
 
321
 
346
 #define DISABLE_E false // For all extruders
332
 #define DISABLE_E false // For all extruders
347
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
333
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
348
 
334
 
349
-#define INVERT_X_DIR true     // for Mendel set to false, for Orca set to true
350
-#define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false
351
-#define INVERT_Z_DIR true     // for Mendel set to false, for Orca set to true
352
-#define INVERT_E0_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
353
-#define INVERT_E1_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
354
-#define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
355
-#define INVERT_E3_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
335
+// If you motor turns to wrong direction, you can invert it here:
336
+#define INVERT_X_DIR false
337
+#define INVERT_Y_DIR false
338
+#define INVERT_Z_DIR false
339
+#define INVERT_E0_DIR false
340
+#define INVERT_E1_DIR false
341
+#define INVERT_E2_DIR false
342
+#define INVERT_E3_DIR false
356
 
343
 
357
 // ENDSTOP SETTINGS:
344
 // ENDSTOP SETTINGS:
358
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
345
 // Sets direction of endstops when homing; 1=MAX, -1=MIN
364
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
351
 #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
365
 
352
 
366
 // Travel limits after homing (units are in mm)
353
 // Travel limits after homing (units are in mm)
367
-#define X_MAX_POS 205
354
+#define X_MAX_POS 200
368
 #define X_MIN_POS 0
355
 #define X_MIN_POS 0
369
-#define Y_MAX_POS 205
356
+#define Y_MAX_POS 200
370
 #define Y_MIN_POS 0
357
 #define Y_MIN_POS 0
371
 #define Z_MAX_POS 200
358
 #define Z_MAX_POS 200
372
 #define Z_MIN_POS 0
359
 #define Z_MIN_POS 0
443
   #define Z_RAISE_BEFORE_PROBING 15    //How much the extruder will be raised before traveling to the first probing point.
430
   #define Z_RAISE_BEFORE_PROBING 15    //How much the extruder will be raised before traveling to the first probing point.
444
   #define Z_RAISE_BETWEEN_PROBINGS 5  //How much the extruder will be raised when traveling from between next probing points
431
   #define Z_RAISE_BETWEEN_PROBINGS 5  //How much the extruder will be raised when traveling from between next probing points
445
 
432
 
446
-   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
433
+//   #define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" //These commands will be executed in the end of G29 routine.
447
                                                                             //Useful to retract a deployable probe.
434
                                                                             //Useful to retract a deployable probe.
448
                                                                            
435
                                                                            
449
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
436
   //#define Z_PROBE_SLED // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
493
 
480
 
494
 // default settings
481
 // default settings
495
 
482
 
496
-#define DEFAULT_AXIS_STEPS_PER_UNIT   {78.7402,78.7402,200.0*8/3,760*1.1}  // default steps per unit for Ultimaker
497
-#define DEFAULT_MAX_FEEDRATE          {500, 500, 5, 25}    // (mm/sec)
498
-#define DEFAULT_MAX_ACCELERATION      {9000,9000,100,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
483
+#define DEFAULT_AXIS_STEPS_PER_UNIT   {80,80,4000,500}  // default steps per unit for Ultimaker
484
+#define DEFAULT_MAX_FEEDRATE          {300, 300, 5, 25}    // (mm/sec)
485
+#define DEFAULT_MAX_ACCELERATION      {3000,3000,100,10000}    // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
499
 
486
 
500
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E max acceleration in mm/s^2 for printing moves
487
 #define DEFAULT_ACCELERATION          3000    // X, Y, Z and E max acceleration in mm/s^2 for printing moves
501
 #define DEFAULT_RETRACT_ACCELERATION  3000   // X, Y, Z and E max acceleration in mm/s^2 for retracts
488
 #define DEFAULT_RETRACT_ACCELERATION  3000   // X, Y, Z and E max acceleration in mm/s^2 for retracts
539
 // Preheat Constants
526
 // Preheat Constants
540
 #define PLA_PREHEAT_HOTEND_TEMP 180
527
 #define PLA_PREHEAT_HOTEND_TEMP 180
541
 #define PLA_PREHEAT_HPB_TEMP 70
528
 #define PLA_PREHEAT_HPB_TEMP 70
542
-#define PLA_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
529
+#define PLA_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
543
 
530
 
544
 #define ABS_PREHEAT_HOTEND_TEMP 240
531
 #define ABS_PREHEAT_HOTEND_TEMP 240
545
-#define ABS_PREHEAT_HPB_TEMP 100
546
-#define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255
532
+#define ABS_PREHEAT_HPB_TEMP 110
533
+#define ABS_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
547
 
534
 
548
 //==============================LCD and SD support=============================
535
 //==============================LCD and SD support=============================
549
 
536
 

Laden…
Abbrechen
Speichern