Default config for k40

parent d2031f2b
Pipeline #56 skipped
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
* Displayed in the LCD "Ready" message. * * Displayed in the LCD "Ready" message. *
* * * *
*****************************************************************************************/ *****************************************************************************************/
#define CUSTOM_MACHINE_NAME "Prusa I3" #define CUSTOM_MACHINE_NAME "K40 Laser cutter"
/*****************************************************************************************/ /*****************************************************************************************/
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
#define DISABLE_X false #define DISABLE_X false
#define DISABLE_Y false #define DISABLE_Y false
#define DISABLE_Z false #define DISABLE_Z false
#define DISABLE_E false // For all extruder #define DISABLE_E true // For all extruder
// Disable only inactive extruder and keep active extruder enabled // Disable only inactive extruder and keep active extruder enabled
#define DISABLE_INACTIVE_EXTRUDER false #define DISABLE_INACTIVE_EXTRUDER false
/*****************************************************************************************/ /*****************************************************************************************/
...@@ -178,11 +178,11 @@ ...@@ -178,11 +178,11 @@
* Travel limits after homing (units are in mm) * * Travel limits after homing (units are in mm) *
* * * *
*****************************************************************************************/ *****************************************************************************************/
#define X_MAX_POS 200 #define X_MAX_POS 337
#define X_MIN_POS 0 #define X_MIN_POS 0
#define Y_MAX_POS 200 #define Y_MAX_POS 230
#define Y_MIN_POS 0 #define Y_MIN_POS 0
#define Z_MAX_POS 200 #define Z_MAX_POS 75
#define Z_MIN_POS 0 #define Z_MIN_POS 0
#define E_MIN_POS 0 #define E_MIN_POS 0
/*****************************************************************************************/ /*****************************************************************************************/
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
******************************* Axis steps per unit ************************************* ******************************* Axis steps per unit *************************************
*****************************************************************************************/ *****************************************************************************************/
// Default steps per unit X, Y, Z, E0...(per extruder) // Default steps per unit X, Y, Z, E0...(per extruder)
#define DEFAULT_AXIS_STEPS_PER_UNIT {80, 80, 3200, 625, 625, 625, 625} #define DEFAULT_AXIS_STEPS_PER_UNIT {157.4802, 157.4802, 6047.2440, 0, 0, 0, 0}
/*****************************************************************************************/ /*****************************************************************************************/
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
********************************** Axis feedrate **************************************** ********************************** Axis feedrate ****************************************
*****************************************************************************************/ *****************************************************************************************/
// X, Y, Z, E0...(per extruder). (mm/sec) // X, Y, Z, E0...(per extruder). (mm/sec)
#define DEFAULT_MAX_FEEDRATE {300, 300, 2, 100, 100, 100, 100} #define DEFAULT_MAX_FEEDRATE {500, 500, 100, 25, 0, 0, 0}
#define MANUAL_FEEDRATE {50*60, 50*60, 4*60, 60} // Feedrates for manual moves along X, Y, Z, E from panel #define MANUAL_FEEDRATE {50*60, 50*60, 4*60, 60} // Feedrates for manual moves along X, Y, Z, E from panel
#define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate #define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate
#define DEFAULT_MINTRAVELFEEDRATE 0.0 #define DEFAULT_MINTRAVELFEEDRATE 0.0
...@@ -381,13 +381,13 @@ ...@@ -381,13 +381,13 @@
******************************** Axis accelleration ************************************* ******************************** Axis accelleration *************************************
*****************************************************************************************/ *****************************************************************************************/
// Maximum start speed for accelerated moves. X, Y, Z, E0...(per extruder) // Maximum start speed for accelerated moves. X, Y, Z, E0...(per extruder)
#define DEFAULT_MAX_ACCELERATION {3000, 3000, 50, 1000, 1000, 1000, 1000} #define DEFAULT_MAX_ACCELERATION {2000, 2000, 50, 1000, 1000, 1000, 1000}
// Maximum acceleration in mm/s^2 for retracts E0... (per extruder) // Maximum acceleration in mm/s^2 for retracts E0... (per extruder)
#define DEFAULT_RETRACT_ACCELERATION {10000, 10000, 10000, 10000} #define DEFAULT_RETRACT_ACCELERATION {2000, 2000, 2000, 2000}
// X, Y, Z and E* maximum acceleration in mm/s^2 for printing moves // X, Y, Z and E* maximum acceleration in mm/s^2 for printing moves
#define DEFAULT_ACCELERATION 3000 #define DEFAULT_ACCELERATION 2000
// X, Y, Z acceleration in mm/s^2 for travel (non printing) moves // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
#define DEFAULT_TRAVEL_ACCELERATION 3000 #define DEFAULT_TRAVEL_ACCELERATION 2000
/*****************************************************************************************/ /*****************************************************************************************/
...@@ -429,9 +429,9 @@ ...@@ -429,9 +429,9 @@
* For the other hotends it is their distance from the hotend 0. * * For the other hotends it is their distance from the hotend 0. *
* * * *
*****************************************************************************************/ *****************************************************************************************/
#define HOTEND_OFFSET_X {0.0, 0.0, 0.0, 0.0} // (in mm) for each hotend, offset of the hotend on the X axis //#define HOTEND_OFFSET_X {0.0, 0.0, 0.0, 0.0} // (in mm) for each hotend, offset of the hotend on the X axis
#define HOTEND_OFFSET_Y {0.0, 0.0, 0.0, 0.0} // (in mm) for each hotend, offset of the hotend on the Y axis //#define HOTEND_OFFSET_Y {0.0, 0.0, 0.0, 0.0} // (in mm) for each hotend, offset of the hotend on the Y axis
#define HOTEND_OFFSET_Z {0.0, 0.0, 0.0, 0.0} // (in mm) for each hotend, offset of the hotend on the Z axis //#define HOTEND_OFFSET_Z {0.0, 0.0, 0.0, 0.0} // (in mm) for each hotend, offset of the hotend on the Z axis
/*****************************************************************************************/ /*****************************************************************************************/
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
* This prevents dangerous Extruder moves. * * This prevents dangerous Extruder moves. *
* * * *
***********************************************************************/ ***********************************************************************/
#define PREVENT_DANGEROUS_EXTRUDE //#define PREVENT_DANGEROUS_EXTRUDE
#define EXTRUDE_MINTEMP 170 // degC #define EXTRUDE_MINTEMP 170 // degC
// if PREVENT DANGEROUS EXTRUDE is on, you can still disable (uncomment) very long bits of extrusion separately. // if PREVENT DANGEROUS EXTRUDE is on, you can still disable (uncomment) very long bits of extrusion separately.
...@@ -857,13 +857,13 @@ ...@@ -857,13 +857,13 @@
* You also need to set FLOWMETER PIN in Configurations_pins.h * * You also need to set FLOWMETER PIN in Configurations_pins.h *
* * * *
**************************************************************************/ **************************************************************************/
//#define FLOWMETER_SENSOR #define FLOWMETER_SENSOR
#define FLOWMETER_MAXFLOW 6.0 // Liters per minute max #define FLOWMETER_MAXFLOW 6.0 // Liters per minute max
#define FLOWMETER_MAXFREQ 55 // frequency of pulses at max flow #define FLOWMETER_MAXFREQ 55 // frequency of pulses at max flow
// uncomment this to kill print job under the min flow rate, in liters/minute // uncomment this to kill print job under the min flow rate, in liters/minute
//#define MINFLOW_PROTECTION 4 #define MINFLOW_PROTECTION 4
/**************************************************************************/ /**************************************************************************/
...@@ -1020,7 +1020,7 @@ ...@@ -1020,7 +1020,7 @@
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
// //
// REMEMBER TO INSTALL U8glib to your ARDUINO library folder: https://github.com/olikraus/U8glib_Arduino // REMEMBER TO INSTALL U8glib to your ARDUINO library folder: https://github.com/olikraus/U8glib_Arduino
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
// The RepRapWorld REPRAPWORLD_KEYPAD v1.1 // The RepRapWorld REPRAPWORLD_KEYPAD v1.1
// http://reprapworld.com/?products_details&products_id=202&cPath=1591_1626 // http://reprapworld.com/?products_details&products_id=202&cPath=1591_1626
...@@ -1131,7 +1131,7 @@ ...@@ -1131,7 +1131,7 @@
* Check also Configuration_Laser.h * * Check also Configuration_Laser.h *
* * * *
**************************************************************************/ **************************************************************************/
//#define LASERBEAM #define LASERBEAM
/**************************************************************************/ /**************************************************************************/
...@@ -1195,9 +1195,9 @@ ...@@ -1195,9 +1195,9 @@
************************** Motor's current **************************** ************************** Motor's current ****************************
***********************************************************************/ ***********************************************************************/
// Motor Current setting (Only functional on ALLIGATOR BOARD) // Motor Current setting (Only functional on ALLIGATOR BOARD)
#define MOTOR_CURRENT {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0} // X Y Z E0 E1 E2 E3 - Values 0 - 2.5 A #define MOTOR_CURRENT {1, 1, 1, 1, 1, 1, 1} // X Y Z E0 E1 E2 E3 - Values 0 - 2.5 A
// Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards) // Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards)
#define DIGIPOT_MOTOR_CURRENT {135, 135, 135, 135, 135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) #define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
/***********************************************************************/ /***********************************************************************/
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
// Please choose the one that matches your setup. // Please choose the one that matches your setup.
// 1 = Single pin control - LOW when off, HIGH when on, PWM to adjust intensity // 1 = Single pin control - LOW when off, HIGH when on, PWM to adjust intensity
// 2 = Two pin control - A firing pin for which LOW = off, HIGH = on, and a seperate intensity pin which carries a constant PWM signal and adjusts duty cycle to control intensity // 2 = Two pin control - A firing pin for which LOW = off, HIGH = on, and a seperate intensity pin which carries a constant PWM signal and adjusts duty cycle to control intensity
#define LASER_CONTROL 1 #define LASER_CONTROL 2
// The following define to use the new HakanBasted laser_pulse method to fire laser. It should be more efficient, but it's less tested. // The following define to use the new HakanBasted laser_pulse method to fire laser. It should be more efficient, but it's less tested.
// Thanks for it to HakanBastedt that has implemented it for Marlin at https://github.com/HakanBastedt/Marlin // Thanks for it to HakanBastedt that has implemented it for Marlin at https://github.com/HakanBastedt/Marlin
......
...@@ -68,13 +68,13 @@ ...@@ -68,13 +68,13 @@
* 998 and 999 are Dummy Tables. ALWAYS read 25°C or DUMMY_THERMISTOR_998_VALUE temperature * * 998 and 999 are Dummy Tables. ALWAYS read 25°C or DUMMY_THERMISTOR_998_VALUE temperature *
* * * *
*****************************************************************************************************/ *****************************************************************************************************/
#define TEMP_SENSOR_0 1 #define TEMP_SENSOR_0 0
#define TEMP_SENSOR_1 0 #define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0 #define TEMP_SENSOR_2 0
#define TEMP_SENSOR_3 0 #define TEMP_SENSOR_3 0
#define TEMP_SENSOR_BED 0 #define TEMP_SENSOR_BED 0
#define TEMP_SENSOR_CHAMBER 0 // NOT USED FOR NOW!!! #define TEMP_SENSOR_CHAMBER 0 // NOT USED FOR NOW!!!
#define TEMP_SENSOR_COOLER 0 #define TEMP_SENSOR_COOLER 40
//These 2 defines help to calibrate the AD595 sensor in case you get wrong temperature measurements. //These 2 defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.
//The measured temperature is defined as "actualTemp = (measuredTemp * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET" //The measured temperature is defined as "actualTemp = (measuredTemp * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET"
...@@ -358,10 +358,10 @@ ...@@ -358,10 +358,10 @@
// If your configuration is significantly different than this and you don't understand the issues involved, you probably // If your configuration is significantly different than this and you don't understand the issues involved, you probably
// shouldn't use cooler PID until someone else verifies your hardware works. // shouldn't use cooler PID until someone else verifies your hardware works.
// If this is enabled, find your own PID constants below. // If this is enabled, find your own PID constants below.
//#define PIDTEMPCOOLER #define PIDTEMPCOOLER
// Enable fast PWM for cooler // Enable fast PWM for cooler
//#define FAST_PWM_COOLER #define FAST_PWM_COOLER
//#define COOLER_LIMIT_SWITCHING //#define COOLER_LIMIT_SWITCHING
#define COOLER_HYSTERESIS 2 //only disable heating if T<target-COOLER_HYSTERESIS and enable heating if T<target+COOLER_HYSTERESIS (works only if COOLER_LIMIT_SWITCHING is enabled) #define COOLER_HYSTERESIS 2 //only disable heating if T<target-COOLER_HYSTERESIS and enable heating if T<target+COOLER_HYSTERESIS (works only if COOLER_LIMIT_SWITCHING is enabled)
...@@ -371,14 +371,14 @@ ...@@ -371,14 +371,14 @@
// all forms of cooler control obey this (PID, bang-bang, bang-bang with hysteresis) // all forms of cooler control obey this (PID, bang-bang, bang-bang with hysteresis)
// setting this to anything other than 255 enables a form of PWM to the cooler, // setting this to anything other than 255 enables a form of PWM to the cooler,
// so you shouldn't use it unless you are OK with PWM on your cooler. (see the comment on enabling PIDTEMPCOOLER) // so you shouldn't use it unless you are OK with PWM on your cooler. (see the comment on enabling PIDTEMPCOOLER)
#define MAX_COOLER_POWER 255 // limits duty cycle to cooler; 255=full current #define MAX_COOLER_POWER 200 // limits duty cycle to cooler; 255=full current
#define PID_COOLER_INTEGRAL_DRIVE_MAX MAX_COOLER_POWER // limit for the integral term #define PID_COOLER_INTEGRAL_DRIVE_MAX MAX_COOLER_POWER // limit for the integral term
// 120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) // 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) // from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
#define DEFAULT_coolerKp 10.00 #define DEFAULT_coolerKp 40.00
#define DEFAULT_coolerKi .023 #define DEFAULT_coolerKi .3
#define DEFAULT_coolerKd 305.4 #define DEFAULT_coolerKd 50.4
// FIND YOUR OWN: "M303 E-3 C8 S90" to run autotune on the cooler at 90 degreesC for 8 cycles. // FIND YOUR OWN: "M303 E-3 C8 S90" to run autotune on the cooler at 90 degreesC for 8 cycles.
...@@ -485,7 +485,7 @@ ...@@ -485,7 +485,7 @@
//#define THERMAL_PROTECTION_COOLER //#define THERMAL_PROTECTION_COOLER
#define THERMAL_PROTECTION_COOLER_PERIOD 30 // Seconds #define THERMAL_PROTECTION_COOLER_PERIOD 30 // Seconds
#define THERMAL_PROTECTION_COOLER_HYSTERESIS 3 // Degree Celsius #define THERMAL_PROTECTION_COOLER_HYSTERESIS 2 // Degree Celsius
/** /**
* Whenever an M142 or M192 increases the target temperature the firmware will wait for the * Whenever an M142 or M192 increases the target temperature the firmware will wait for the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment