|
@@ -41,20 +41,20 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|
#define X_MIN_POS 0
|
|
#define X_MIN_POS 0
|
|
#define Y_MAX_POS 210
|
|
#define Y_MAX_POS 210
|
|
#define Y_MIN_POS -1.2
|
|
#define Y_MIN_POS -1.2
|
|
-#define Z_MAX_POS 202
|
|
|
|
|
|
+#define Z_MAX_POS 210
|
|
#define Z_MIN_POS 0.23
|
|
#define Z_MIN_POS 0.23
|
|
|
|
|
|
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
|
|
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
|
|
#define HOMING_FEEDRATE {3000, 3000, 800, 0} // set the homing speeds (mm/min)
|
|
#define HOMING_FEEDRATE {3000, 3000, 800, 0} // set the homing speeds (mm/min)
|
|
|
|
|
|
-#define DEFAULT_MAX_FEEDRATE {500, 500, 1800, 25} // (mm/sec)
|
|
|
|
|
|
+#define DEFAULT_MAX_FEEDRATE {500, 500, 1000, 25} // (mm/sec)
|
|
#define DEFAULT_MAX_ACCELERATION {9000,9000,1000,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.
|
|
#define DEFAULT_MAX_ACCELERATION {9000,9000,1000,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.
|
|
|
|
|
|
#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves
|
|
#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves
|
|
#define DEFAULT_RETRACT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for retracts
|
|
#define DEFAULT_RETRACT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for retracts
|
|
|
|
|
|
|
|
|
|
-#define MANUAL_FEEDRATE {3000, 3000, 2000, 100} // set the speeds for manual moves (mm/min)
|
|
|
|
|
|
+#define MANUAL_FEEDRATE {3000, 3000, 1000, 100} // set the speeds for manual moves (mm/min)
|
|
|
|
|
|
|
|
|
|
/*------------------------------------
|
|
/*------------------------------------
|
|
@@ -183,12 +183,46 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|
#define X_PROBE_OFFSET_FROM_EXTRUDER 23 // Z probe to nozzle X offset: -left +right
|
|
#define X_PROBE_OFFSET_FROM_EXTRUDER 23 // Z probe to nozzle X offset: -left +right
|
|
#define Y_PROBE_OFFSET_FROM_EXTRUDER 8 // Z probe to nozzle Y offset: -front +behind
|
|
#define Y_PROBE_OFFSET_FROM_EXTRUDER 8 // Z probe to nozzle Y offset: -front +behind
|
|
#define Z_PROBE_OFFSET_FROM_EXTRUDER -0.4 // Z probe to nozzle Z offset: -below (always!)
|
|
#define Z_PROBE_OFFSET_FROM_EXTRUDER -0.4 // Z probe to nozzle Z offset: -below (always!)
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
+// Bed Temperature Control
|
|
|
|
+// Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis
|
|
|
|
+//
|
|
|
|
+// Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder.
|
|
|
|
+// If your PID_dT above is the default, and correct for your hardware/configuration, that means 7.689Hz,
|
|
|
|
+// which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating.
|
|
|
|
+// This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater.
|
|
|
|
+// If your configuration is significantly different than this and you don't understand the issues involved, you probably
|
|
|
|
+// shouldn't use bed PID until someone else verifies your hardware works.
|
|
|
|
+// If this is enabled, find your own PID constants below.
|
|
|
|
+//#define PIDTEMPBED
|
|
|
|
+//
|
|
|
|
+//#define BED_LIMIT_SWITCHING
|
|
|
|
|
|
|
|
+// This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option.
|
|
|
|
+// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
|
|
|
|
+// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
|
|
|
|
+// so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED)
|
|
|
|
+#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
|
|
|
|
|
|
-#endif
|
|
|
|
|
|
+#ifdef PIDTEMPBED
|
|
|
|
+//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
+//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
|
|
+#define DEFAULT_bedKp 126.13
|
|
|
|
+#define DEFAULT_bedKi 4.30
|
|
|
|
+#define DEFAULT_bedKd 924.76
|
|
|
|
|
|
-/*------------------------------------
|
|
|
|
|
|
+//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
+//from pidautotune
|
|
|
|
+// #define DEFAULT_bedKp 97.1
|
|
|
|
+// #define DEFAULT_bedKi 1.41
|
|
|
|
+// #define DEFAULT_bedKd 1675.16
|
|
|
|
+
|
|
|
|
+// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
|
|
|
+#endif // PIDTEMPBED
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+/*-----------------------------------
|
|
PREHEAT SETTINGS
|
|
PREHEAT SETTINGS
|
|
*------------------------------------*/
|
|
*------------------------------------*/
|
|
|
|
|