|
|
|
|
90
|
|
90
|
|
91
|
#define PIDTEMP
|
91
|
#define PIDTEMP
|
92
|
#ifdef PIDTEMP
|
92
|
#ifdef PIDTEMP
|
|
|
93
|
+ #if MOTHERBOARD == 62
|
|
|
94
|
+ #error Sanguinololu does not support PID, sorry. Please disable it.
|
|
|
95
|
+ #endif
|
93
|
//#define PID_DEBUG // Sends debug data to the serial port.
|
96
|
//#define PID_DEBUG // Sends debug data to the serial port.
|
94
|
//#define PID_OPENLOOP 1 // Puts PID in open loop. M104 sets the output power in %
|
97
|
//#define PID_OPENLOOP 1 // Puts PID in open loop. M104 sets the output power in %
|
95
|
|
98
|
|
|
|
|
|
195
|
|
198
|
|
196
|
//// MOVEMENT SETTINGS
|
199
|
//// MOVEMENT SETTINGS
|
197
|
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
|
200
|
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
|
198
|
-//note: on bernhards ultimaker 200 200 12 are working well.
|
|
|
199
|
#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0} // set the homing speeds (mm/min)
|
201
|
#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0} // set the homing speeds (mm/min)
|
200
|
|
202
|
|
201
|
#define AXIS_RELATIVE_MODES {false, false, false, false}
|
203
|
#define AXIS_RELATIVE_MODES {false, false, false, false}
|
|
|
|
|
205
|
// default settings
|
207
|
// default settings
|
206
|
|
208
|
|
207
|
#define DEFAULT_AXIS_STEPS_PER_UNIT {78.7402,78.7402,200*8/3,760*1.1} // default steps per unit for ultimaker
|
209
|
#define DEFAULT_AXIS_STEPS_PER_UNIT {78.7402,78.7402,200*8/3,760*1.1} // default steps per unit for ultimaker
|
208
|
-//#define DEFAULT_AXIS_STEPS_PER_UNIT {40, 40, 3333.92, 67}
|
|
|
|
|
210
|
+//#define DEFAULT_AXIS_STEPS_PER_UNIT {40, 40, 3333.92, 67} //sells mendel with v9 extruder
|
209
|
#define DEFAULT_MAX_FEEDRATE {500, 500, 5, 200000} // (mm/sec)
|
211
|
#define DEFAULT_MAX_FEEDRATE {500, 500, 5, 200000} // (mm/sec)
|
210
|
#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.
|
212
|
#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.
|
211
|
|
213
|
|
|
|
|
|
239
|
#define EEPROM_CHITCHAT
|
241
|
#define EEPROM_CHITCHAT
|
240
|
|
242
|
|
241
|
|
243
|
|
242
|
-// The watchdog waits for the watchperiod in milliseconds whenever an M104 or M109 increases the target temperature
|
|
|
|
|
244
|
+// The hardware watchdog should halt the Microcontroller, in case the firmware gets stuck somewhere. However:
|
|
|
245
|
+// the Watchdog is not working well, so please only enable this for testing
|
243
|
// this enables the watchdog interrupt.
|
246
|
// this enables the watchdog interrupt.
|
244
|
//#define USE_WATCHDOG
|
247
|
//#define USE_WATCHDOG
|
245
|
//#ifdef USE_WATCHDOG
|
248
|
//#ifdef USE_WATCHDOG
|
|
|
|
|
272
|
//#define ULTRA_LCD //general lcd support, also 16x2
|
275
|
//#define ULTRA_LCD //general lcd support, also 16x2
|
273
|
//#define SDSUPPORT // Enable SD Card Support in Hardware Console
|
276
|
//#define SDSUPPORT // Enable SD Card Support in Hardware Console
|
274
|
|
277
|
|
275
|
-#define ULTIPANEL
|
|
|
|
|
278
|
+//#define ULTIPANEL
|
276
|
#ifdef ULTIPANEL
|
279
|
#ifdef ULTIPANEL
|
277
|
//#define NEWPANEL //enable this if you have a click-encoder panel
|
280
|
//#define NEWPANEL //enable this if you have a click-encoder panel
|
278
|
#define SDSUPPORT
|
281
|
#define SDSUPPORT
|
|
|
|
|
295
|
#define N_ARC_CORRECTION 25
|
298
|
#define N_ARC_CORRECTION 25
|
296
|
|
299
|
|
297
|
|
300
|
|
298
|
-//automatic temperature: just for testing, this is very dangerous, keep disabled!
|
|
|
299
|
-// not working yet.
|
|
|
|
|
301
|
+//automatic temperature: The hot end target temperature is calculated by all the buffered lines of gcode.
|
|
|
302
|
+//The maximum buffered steps/sec of the extruder motor are called "se".
|
|
|
303
|
+//You enter the autotemp mode by a M109 S<mintemp> T<maxtemp> F<factor>
|
|
|
304
|
+// the target temperature is set to mintemp+factor*se[steps/sec] and limited by mintemp and maxtemp
|
|
|
305
|
+// you exit the value by any M109 without F*
|
|
|
306
|
+// Also, if the temperature is set to a value <mintemp, it is not changed by autotemp.
|
|
|
307
|
+// on an ultimaker, some initial testing worked with M109 S215 T260 F0.1 in the start.gcode
|
300
|
//#define AUTOTEMP
|
308
|
//#define AUTOTEMP
|
301
|
#ifdef AUTOTEMP
|
309
|
#ifdef AUTOTEMP
|
302
|
#define AUTOTEMP_OLDWEIGHT 0.98
|
310
|
#define AUTOTEMP_OLDWEIGHT 0.98
|