Ver código fonte

Merge pull request #3201 from jbrazio/feature/update-hephestos2-default-config

Update the Hephestos 2 default config
Scott Lahteine 8 anos atrás
pai
commit
cadded1e21

+ 40
- 26
Marlin/example_configurations/Hephestos_2/Configuration.h Ver arquivo

@@ -199,15 +199,15 @@ Here are some standard links for getting your machine calibrated:
199 199
   //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay
200 200
   //#define PID_PARAMS_PER_EXTRUDER // Uses separate PID parameters for each extruder (useful for mismatched extruders)
201 201
                                     // Set/get with gcode: M301 E[extruder number, 0-2]
202
-  #define PID_FUNCTIONAL_RANGE 20   // If the temperature difference between the target temperature and the actual temperature
202
+  #define PID_FUNCTIONAL_RANGE 250  // If the temperature difference between the target temperature and the actual temperature
203 203
                                     // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
204 204
   #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
205 205
   #define K1 0.95 //smoothing factor within the PID
206 206
 
207 207
   // Tuned PID values using M303
208
-  #define  DEFAULT_Kp 18.92
209
-  #define  DEFAULT_Ki 1.37
210
-  #define  DEFAULT_Kd 65.57
208
+  #define  DEFAULT_Kp 19.18
209
+  #define  DEFAULT_Ki 1.36
210
+  #define  DEFAULT_Kd 67.42
211 211
 
212 212
   // BQ firmware stock PID values
213 213
   //#define  DEFAULT_Kp 10.7
@@ -335,8 +335,8 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
335 335
 //============================= Z Probe Options =============================
336 336
 //===========================================================================
337 337
 
338
-// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z-probe and a Z-min-endstop on the same machine.
339
-// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
338
+// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
339
+// The Z_MIN_PIN will then be used for both Z-homing and probing.
340 340
 //
341 341
 // *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
342 342
 //
@@ -372,11 +372,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
372 372
 #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
373 373
 // If you want to use a probe you do have to define one of the two defines above!
374 374
 
375
-// If you want to enable the Z probe pin, but disable its use, uncomment the line below.
376
-// This only affects a Z probe endstop if you have separate Z min endstop as well and have
377
-// activated Z_MIN_PROBE_ENDSTOP above. If you are using the Z Min endstop on your Z probe,
378
-// this has no effect.
379
-// In other words. If a Z_MIN_PROBE_PIN is defined in your pin file - don't use it.
375
+// To use a probe you must enable one of the two options above!
376
+//
377
+// This option disables the use of the Z_MIN_PROBE_PIN
378
+// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
379
+// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
380
+// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
380 381
 //#define DISABLE_Z_MIN_PROBE_ENDSTOP
381 382
 
382 383
 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
@@ -415,7 +416,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
415 416
 #define INVERT_E3_DIR false
416 417
 
417 418
 // @section homing
418
-//#define MIN_Z_HEIGHT_FOR_HOMING 5 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
419
+#define MIN_Z_HEIGHT_FOR_HOMING 5   // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
419 420
                                     // Be sure you have this distance over your Z_MAX_POS in case.
420 421
 
421 422
 // ENDSTOP SETTINGS:
@@ -459,9 +460,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
459 460
 
460 461
 #if ENABLED(MESH_BED_LEVELING)
461 462
   #define MESH_MIN_X 10
462
-  #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X))
463
+  #define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
463 464
   #define MESH_MIN_Y 10
464
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y))
465
+  #define MESH_MAX_Y (Y_MAX_POS - MESH_MIN_Y)
465 466
   #define MESH_NUM_X_POINTS 3  // Don't use more than 7 points per axis, implementation limited.
466 467
   #define MESH_NUM_Y_POINTS 3
467 468
   #define MESH_HOME_SEARCH_Z 4  // Z after Home, bed somewhere below but above 0.0.
@@ -499,7 +500,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
499 500
 
500 501
   // Enable this to sample the bed in a grid (least squares solution).
501 502
   // Note: this feature generates 10KB extra code size.
502
-  //#define AUTO_BED_LEVELING_GRID
503
+  #define AUTO_BED_LEVELING_GRID
503 504
 
504 505
   #if ENABLED(AUTO_BED_LEVELING_GRID)
505 506
 
@@ -544,33 +545,46 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
544 545
   //    |           |
545 546
   //    O-- FRONT --+
546 547
   //  (0,0)
547
-  #define X_PROBE_OFFSET_FROM_EXTRUDER 34  // Z probe to nozzle X offset: -left  +right
548
-  #define Y_PROBE_OFFSET_FROM_EXTRUDER 15  // Z probe to nozzle Y offset: -front +behind
549
-  #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z probe to nozzle Z offset: -below (always!)
548
+  #define X_PROBE_OFFSET_FROM_EXTRUDER 34  // X offset: -left  [of the nozzle] +right
549
+  #define Y_PROBE_OFFSET_FROM_EXTRUDER 15  // Y offset: -front [of the nozzle] +behind
550
+  #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below [the nozzle] (always negative!)
550 551
 
551 552
   #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.
552 553
 
553
-  #define Z_RAISE_BEFORE_PROBING 5    // How much the Z axis will be raised before traveling to the first probing point.
554
-  #define Z_RAISE_BETWEEN_PROBINGS 1  // How much the Z axis will be raised when traveling from between next probing points.
555
-  #define Z_RAISE_AFTER_PROBING 10    // How much the Z axis will be raised after the last probing point.
554
+  #define Z_RAISE_BEFORE_PROBING   5  // How much the Z axis will be raised before traveling to the first probing point.
555
+  #define Z_RAISE_BETWEEN_PROBINGS 2  // How much the Z axis will be raised when traveling from between next probing points.
556
+  #define Z_RAISE_AFTER_PROBING    5  // How much the Z axis will be raised after the last probing point.
556 557
 
557 558
   //#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.
558 559
                                                                              // Useful to retract a deployable Z probe.
559 560
 
560
-  //#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
561
-  //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
561
+  // Probes are sensors/switches that need to be activated before they can be used
562
+  // and deactivated after the use.
563
+  // Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE
562 564
 
565
+  // A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
566
+  // when the hardware endstops are active.
567
+  #define FIX_MOUNTED_PROBE
563 568
 
564
-  //If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,
565
-  //it is highly recommended you let this Z_SAFE_HOMING enabled!!!
569
+  // A Servo Probe can be defined in the servo section below.
566 570
 
567
-  #define Z_SAFE_HOMING   // This feature is meant to avoid Z homing with Z probe outside the bed area.
571
+  // An Allen Key Probe is currently predefined only in the delta example configurations.
572
+
573
+  //#define Z_PROBE_SLED // Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
574
+  //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
575
+
576
+  // If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
577
+  // it is highly recommended you leave Z_SAFE_HOMING enabled!
578
+
579
+  #define Z_SAFE_HOMING   // Use the z-min-probe for homing to z-min - not the z-min-endstop.
580
+                          // This feature is meant to avoid Z homing with Z probe outside the bed area.
568 581
                           // When defined, it will:
569 582
                           // - Allow Z homing only after X and Y homing AND stepper drivers still enabled.
570 583
                           // - If stepper drivers timeout, it will need X and Y homing again before Z homing.
571 584
                           // - Position the Z probe in a defined XY point before Z Homing when homing all axis (G28).
572 585
                           // - Block Z homing only when the Z probe is outside bed area.
573 586
 
587
+
574 588
   #if ENABLED(Z_SAFE_HOMING)
575 589
 
576 590
     #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axis (G28).

+ 2
- 2
Marlin/example_configurations/Hephestos_2/Configuration_adv.h Ver arquivo

@@ -63,7 +63,7 @@
63 63
   // if Kc is chosen well, the additional required power due to increased melting should be compensated.
64 64
   #define PID_ADD_EXTRUSION_RATE
65 65
   #if ENABLED(PID_ADD_EXTRUSION_RATE)
66
-    #define DEFAULT_Kc (1) //heating power=Kc*(e_speed)
66
+    #define DEFAULT_Kc (100) //heating power=Kc*(e_speed)
67 67
     #define LPQ_MAX_LEN 50
68 68
   #endif
69 69
 #endif
@@ -278,7 +278,7 @@
278 278
 #define DEFAULT_MINSEGMENTTIME        20000
279 279
 
280 280
 // If defined the movements slow down when the look ahead buffer is only half full
281
-//#define SLOWDOWN
281
+#define SLOWDOWN
282 282
 
283 283
 // Frequency limit
284 284
 // See nophead's blog for more info

+ 3
- 2
Marlin/example_configurations/Hephestos_2/readme.md Ver arquivo

@@ -1,7 +1,8 @@
1 1
 # Example Configuration for BQ [Hephestos 2](http://www.bq.com/uk/hephestos-2)
2
-This configuration file is based on the original configuration file shipped with the heavily modifiied Marlin fork by BQ. The orignal firmware and configuration file can be found at [BQ Github repository](https://github.com/bq/Marlin).
2
+This configuration file is based on the original configuration file shipped with the heavily modified Marlin fork by BQ. The original firmware and configuration file can be found at [BQ Github repository](https://github.com/bq/Marlin).
3 3
 
4 4
 NOTE: The look and feel of the Hephestos 2 while navigating the LCD menu will change by using the original Marlin firmware.
5 5
 
6 6
 ## Changelog
7
-* 2016/03/01 - Initial release
7
+ * 2016/03/01 - Initial release
8
+ * 2016/03/21 - Activated four point auto leveling by default; updated miscellaneous z-probe values

Carregando…
Cancelar
Salvar