|
@@ -115,11 +115,15 @@
|
115
|
115
|
|
116
|
116
|
#ifdef PID_PID
|
117
|
117
|
//PID according to Ziegler-Nichols method
|
118
|
|
- #define DEFAULT_Kp (0.6*PID_CRITIAL_GAIN)
|
119
|
|
- #define DEFAULT_Ki (2*Kp/PID_SWING_AT_CRITIAL*PID_dT)
|
120
|
|
- #define DEFAULT_Kd (PID_SWING_AT_CRITIAL/8./PID_dT)
|
|
118
|
+// #define DEFAULT_Kp (0.6*PID_CRITIAL_GAIN)
|
|
119
|
+// #define DEFAULT_Ki (2*Kp/PID_SWING_AT_CRITIAL*PID_dT)
|
|
120
|
+// #define DEFAULT_Kd (PID_SWING_AT_CRITIAL/8./PID_dT)
|
|
121
|
+
|
|
122
|
+ #define DEFAULT_Kp 22.2
|
|
123
|
+ #define DEFAULT_Ki (1.25*PID_dT)
|
|
124
|
+ #define DEFAULT_Kd (99/PID_dT)
|
121
|
125
|
#endif
|
122
|
|
-
|
|
126
|
+
|
123
|
127
|
#ifdef PID_PI
|
124
|
128
|
//PI according to Ziegler-Nichols method
|
125
|
129
|
#define DEFAULT_Kp (PID_CRITIAL_GAIN/2.2)
|
|
@@ -197,20 +201,20 @@ const bool ENDSTOPS_INVERTING = true; // set to true to invert the logic of the
|
197
|
201
|
|
198
|
202
|
#define AXIS_RELATIVE_MODES {false, false, false, false}
|
199
|
203
|
|
200
|
|
-#define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
|
|
204
|
+#define MAX_STEP_FREQUENCY 40000L // Max step frequency for Ultimaker (5000 pps / half step)
|
201
|
205
|
|
202
|
206
|
// default settings
|
203
|
207
|
|
204
|
|
-#define DEFAULT_AXIS_STEPS_PER_UNIT {79.87220447,79.87220447,200*8/3,14} // default steps per unit for ultimaker
|
|
208
|
+#define DEFAULT_AXIS_STEPS_PER_UNIT {79.87220447,79.87220447,200*8/3,760*1.1} // default steps per unit for ultimaker
|
205
|
209
|
//#define DEFAULT_AXIS_STEPS_PER_UNIT {40, 40, 3333.92, 67}
|
206
|
|
-#define DEFAULT_MAX_FEEDRATE {500, 500, 10, 500000} // (mm/min)
|
|
210
|
+#define DEFAULT_MAX_FEEDRATE {500, 500, 5, 200000} // (mm/sec)
|
207
|
211
|
#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.
|
208
|
212
|
|
209
|
213
|
#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves
|
210
|
214
|
#define DEFAULT_RETRACT_ACCELERATION 7000 // X, Y, Z and E max acceleration in mm/s^2 for r retracts
|
211
|
215
|
|
212
|
|
-#define DEFAULT_MINIMUMFEEDRATE 0 // minimum feedrate
|
213
|
|
-#define DEFAULT_MINTRAVELFEEDRATE 0
|
|
216
|
+#define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate
|
|
217
|
+#define DEFAULT_MINTRAVELFEEDRATE 0.0
|
214
|
218
|
|
215
|
219
|
// minimum time in microseconds that a movement needs to take if the buffer is emptied. Increase this number if you see blobs while printing high speed & high detail. It will slowdown on the detailed stuff.
|
216
|
220
|
#define DEFAULT_MINSEGMENTTIME 20000 // Obsolete delete this
|