Configuration_Core.h 28.1 KB
Newer Older
MagoKimbra's avatar
MagoKimbra committed
1
#ifndef CONFIGURATION_MECHANISM
Simone Primarosa's avatar
Simone Primarosa committed
2
#define CONFIGURATION_MECHANISM
MagoKimbra's avatar
MagoKimbra committed
3
#define KNOWN_MECH
Simone Primarosa's avatar
Simone Primarosa committed
4 5 6 7
/*
 * This configuration file contains mechanism settings for cartesian printer.
 *
 * - Machine name
MagoKimbra's avatar
MagoKimbra committed
8
 * - Core settings
Simone Primarosa's avatar
Simone Primarosa committed
9 10 11 12 13 14 15 16 17 18
 * - Endstop pullup resistors
 * - Endstops logic
 * - Endstops min or max
 * - Stepper enable logic
 * - Stepper step logic
 * - Stepper direction
 * - Disables axis
 * - Travel limits
 * - Axis relative mode
 * - MBL or ABL
MagoKimbra's avatar
MagoKimbra committed
19 20 21
 * - Auto bed levelling
 * - Z probe endstop
 * - Safe Z homing
Simone Primarosa's avatar
Simone Primarosa committed
22 23 24 25 26 27 28
 * - Manual home positions
 * - Axis steps per unit
 * - Axis feedrate
 * - Axis accelleration
 * - Homing feedrate
 * - Hotend offset
 *
Simone Primarosa's avatar
Simone Primarosa committed
29 30
 * Basic-settings can be found in Configuration_Basic.h
 * Feature-settings can be found in Configuration_Feature.h
Simone Primarosa's avatar
Simone Primarosa committed
31
 * Pins-settings can be found in "Configuration_Pins.h"
MagoKimbra's avatar
MagoKimbra committed
32
 */
Simone Primarosa's avatar
Simone Primarosa committed
33 34
 
/*****************************************************************************************
MagoKimbra's avatar
MagoKimbra committed
35
 *********************************** Machine name ****************************************
Simone Primarosa's avatar
Simone Primarosa committed
36 37 38 39 40 41 42 43 44 45
 *****************************************************************************************
 *                                                                                       *
 * This to set a custom name for your generic Mendel.                                    *
 * Displayed in the LCD "Ready" message.                                                 *
 *                                                                                       *
 *****************************************************************************************/
#define CUSTOM_MACHINE_NAME "Core"
/*****************************************************************************************/


MagoKimbra's avatar
MagoKimbra committed
46 47 48
/*****************************************************************************************
 ************************************* Core settings *************************************
 *****************************************************************************************
49 50
 * This define the moltiplicator axis from X to Y or Z in                                *
 * COREXY - COREYX or COREXZ - COREZX                                                    *
MagoKimbra's avatar
MagoKimbra committed
51
 * Example:                                                                              *
MagoKimbra's avatar
MagoKimbra committed
52
 * COREXY set COREX_YZ_FACTOR 1                                                          *
MagoKimbra's avatar
MagoKimbra committed
53 54 55 56 57
 * The result is:                                                                        *
 * X = dX + COREX_YZ_FACTOR * dY = dX + 1 * dY = dX + dY                                 *
 * Y = dX - COREX_YZ_FACTOR * dY = dX - 1 * dY = dX - dY                                 *
 * Z = dZ                                                                                *
 *                                                                                       *
MagoKimbra's avatar
MagoKimbra committed
58
 * COREXZ set COREX_YZ_FACTOR -3                                                         *
MagoKimbra's avatar
MagoKimbra committed
59 60 61 62 63 64 65 66 67
 * The result is:                                                                        *
 * X = dX + COREX_YZ_FACTOR * dZ = dX + -3 * dZ = dX - 3dZ                               *
 * Y = dY                                                                                *
 * Z = dX - COREX_YZ_FACTOR * dZ = dX - -3 * dZ = dX + 3dZ                               *
******************************************************************************************/
#define COREX_YZ_FACTOR 1
/*****************************************************************************************/


Simone Primarosa's avatar
Simone Primarosa committed
68
/*****************************************************************************************
MagoKimbra's avatar
MagoKimbra committed
69 70 71 72 73 74
 ************************* Endstop pullup resistors **************************************
 *****************************************************************************************
 *                                                                                       *
 * Comment this out (using // at the start of the line) to                               *
 * disable the endstop pullup resistors                                                  *
 *                                                                                       *
Simone Primarosa's avatar
Simone Primarosa committed
75
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
76
#define ENDSTOPPULLUPS
MagoKimbra's avatar
MagoKimbra committed
77

MagoKimbra's avatar
MagoKimbra committed
78
#if DISABLED(ENDSTOPPULLUPS)
MagoKimbra's avatar
MagoKimbra committed
79 80 81 82 83 84 85 86 87 88 89
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
//#define ENDSTOPPULLUP_XMIN
//#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_Z2MIN
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
//#define ENDSTOPPULLUP_Z2MAX
//#define ENDSTOPPULLUP_ZPROBE
//#define ENDSTOPPULLUP_EMIN
MagoKimbra's avatar
MagoKimbra committed
90
#endif
Simone Primarosa's avatar
Simone Primarosa committed
91 92
/*****************************************************************************************/

MagoKimbra's avatar
MagoKimbra committed
93

Simone Primarosa's avatar
Simone Primarosa committed
94 95 96 97 98 99 100 101
/*****************************************************************************************
 ************************************ Endstops logic *************************************
 *****************************************************************************************
 *                                                                                       *
 * Mechanical endstop with COM to ground and NC to Signal                                *
 * uses "false" here (most common setup).                                                *
 *                                                                                       *
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
102 103 104
#define X_MIN_ENDSTOP_LOGIC   false   // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_LOGIC   false   // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_LOGIC   false   // set to true to invert the logic of the endstop.
MagoKimbra's avatar
MagoKimbra committed
105
#define Z2_MIN_ENDSTOP_LOGIC  false   // set to true to invert the logic of the endstop.
MagoKimbra's avatar
MagoKimbra committed
106 107 108
#define X_MAX_ENDSTOP_LOGIC   false   // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_LOGIC   false   // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_LOGIC   false   // set to true to invert the logic of the endstop.
MagoKimbra's avatar
MagoKimbra committed
109
#define Z2_MAX_ENDSTOP_LOGIC  false   // set to true to invert the logic of the endstop.
MagoKimbra's avatar
MagoKimbra committed
110
#define Z_PROBE_ENDSTOP_LOGIC false   // set to true to invert the logic of the endstop.
MagoKimbra's avatar
MagoKimbra committed
111
#define E_MIN_ENDSTOP_LOGIC   false   // set to true to invert the logic of the endstop.
Simone Primarosa's avatar
Simone Primarosa committed
112 113
/*****************************************************************************************/

MagoKimbra's avatar
MagoKimbra committed
114

Simone Primarosa's avatar
Simone Primarosa committed
115 116 117 118 119 120 121
/*****************************************************************************************
 ********************************** Endstops min or max **********************************
 *****************************************************************************************
 *                                                                                       *
 * Sets direction of endstop when homing; 1=MAX, -1=MIN                                  *
 *                                                                                       *
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
122 123 124 125
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
#define E_HOME_DIR -1
Simone Primarosa's avatar
Simone Primarosa committed
126 127 128 129 130 131 132 133 134 135 136 137
/*****************************************************************************************/


/*****************************************************************************************
 ********************************* Stepper enable logic **********************************
 *****************************************************************************************
 *                                                                                       *
 * For Inverting Stepper Enable Pins                                                     *
 * (Active Low) use 0                                                                    *
 * Non Inverting (Active High) use 1                                                     *
 *                                                                                       *
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
138 139 140 141
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0      // For all extruder
Simone Primarosa's avatar
Simone Primarosa committed
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
/*****************************************************************************************/


/*****************************************************************************************
 ********************************* Stepper step logic **********************************
 *****************************************************************************************
 *                                                                                       *
 * By default pololu step drivers require an active high signal.                         *
 * However, some high power drivers require an active low signal as step.                *
 *                                                                                       *
 *****************************************************************************************/
#define INVERT_X_STEP_PIN false
#define INVERT_Y_STEP_PIN false
#define INVERT_Z_STEP_PIN false
#define INVERT_E_STEP_PIN false
/*****************************************************************************************/


/*****************************************************************************************
 ********************************** Stepper direction ************************************
 *****************************************************************************************
 *                                                                                       *
 * Invert the stepper direction.                                                         *
 * Change (or reverse the motor connector) if an axis goes the wrong way.                *
 *                                                                                       *
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
168 169 170 171 172 173 174
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR false
#define INVERT_E0_DIR false
#define INVERT_E1_DIR false
#define INVERT_E2_DIR false
#define INVERT_E3_DIR false
MagoKimbra's avatar
MagoKimbra committed
175 176
#define INVERT_E4_DIR false
#define INVERT_E5_DIR false
Simone Primarosa's avatar
Simone Primarosa committed
177 178 179 180 181 182 183 184 185 186 187 188 189 190
/*****************************************************************************************/


/*****************************************************************************************
 ************************************* Disables axis *************************************
 *****************************************************************************************
 *                                                                                       *
 * Disables axis when it's not being used.                                               *
 *                                                                                       *
 *****************************************************************************************/
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false      // For all extruder
MagoKimbra's avatar
MagoKimbra committed
191 192
// Disable only inactive extruder and keep active extruder enabled
#define DISABLE_INACTIVE_EXTRUDER false
Simone Primarosa's avatar
Simone Primarosa committed
193 194
/*****************************************************************************************/

MagoKimbra's avatar
MagoKimbra committed
195

Simone Primarosa's avatar
Simone Primarosa committed
196 197 198 199 200 201 202
/*****************************************************************************************
 ************************************ Travel limits **************************************
 *****************************************************************************************
 *                                                                                       *
 * Travel limits after homing (units are in mm)                                          *
 *                                                                                       *
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
203 204 205 206 207 208 209
#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 200
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0
#define E_MIN_POS 0
Simone Primarosa's avatar
Simone Primarosa committed
210
/*****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
211 212


Simone Primarosa's avatar
Simone Primarosa committed
213 214 215 216 217 218 219
/*****************************************************************************************
 ********************************** Axis relative mode ***********************************
 *****************************************************************************************/
#define AXIS_RELATIVE_MODES {false, false, false, false}
/*****************************************************************************************/


MagoKimbra's avatar
MagoKimbra committed
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
/*****************************************************************************************
 *********************************** Safe Z homing ***************************************
 *****************************************************************************************
 *                                                                                       *
 * If you have enabled the auto bed levelling feature or are using                       *
 * Z Probe for Z Homing, it is highly recommended you let                                *
 * this Z_SAFE_HOMING enabled!!!                                                         *
 *                                                                                       *
 * X point for Z homing when homing all axis (G28)                                       *
 * Y point for Z homing when homing all axis (G28)                                       *
 *                                                                                       *
 * Uncomment Z_SAFE_HOMING to enable                                                     *
 *                                                                                       *
 *****************************************************************************************/
//#define Z_SAFE_HOMING
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)
/*****************************************************************************************/


Simone Primarosa's avatar
Simone Primarosa committed
240 241
/*****************************************************************************************
 ************************************** MBL or ABL ***************************************
242
 *****************************************************************************************
Simone Primarosa's avatar
Simone Primarosa committed
243 244 245 246 247
 *                                                                                       *
 * Manual Bed Leveling (MBL) or Auto Bed Leveling (ABL) settings                         *
 * Set the rectangle in which to probe in MBL or ABL.                                    *
 *                                                                                       *
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
248 249 250 251 252 253
#define LEFT_PROBE_BED_POSITION 20
#define RIGHT_PROBE_BED_POSITION 180
#define FRONT_PROBE_BED_POSITION 20
#define BACK_PROBE_BED_POSITION 180

#define XY_TRAVEL_SPEED 10000     // X and Y axis travel speed between probes, in mm/min
Simone Primarosa's avatar
Simone Primarosa committed
254
/*****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
255 256


Simone Primarosa's avatar
Simone Primarosa committed
257
/*****************************************************************************************
MagoKimbra's avatar
MagoKimbra committed
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
 ******************************* Auto bed levelling **************************************
 *****************************************************************************************
 *                                                                                       *
 * There are 2 different ways to specify probing locations                               *
 *                                                                                       *
 * - "grid" mode                                                                         *
 *   Probe several points in a rectangular grid.                                         *
 *   You specify the rectangle and the density of sample points.                         *
 *   This mode is preferred because there are more measurements.                         *
 *                                                                                       *
 * - "3-point" mode                                                                      *
 *   Probe 3 arbitrary points on the bed (that aren't colinear)                          *
 *   You specify the XY coordinates of all 3 points.                                     *
 *                                                                                       *
 *                                                                                       *
 * Uncomment AUTO_BED_LEVELING_FEATURE to enable                                         *
 *                                                                                       *
 *****************************************************************************************/
//#define AUTO_BED_LEVELING_FEATURE
//#define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.

// Enable this to sample the bed in a grid (least squares solution)
// Note: this feature generates 10KB extra code size
#define AUTO_BED_LEVELING_GRID

// yes AUTO_BED_LEVELING_GRID
#define MIN_PROBE_EDGE 10 // The probe square sides can be no smaller than this
// Set the number of grid points per dimension
// You probably don't need more than 3 (squared=9)
#define AUTO_BED_LEVELING_GRID_POINTS 2
// yes AUTO_BED_LEVELING_GRID

// no AUTO_BED_LEVELING_GRID
// Arbitrary points to probe. A simple cross-product
// is used to estimate the plane of the bed.
#define ABL_PROBE_PT_1_X 15
#define ABL_PROBE_PT_1_Y 180
#define ABL_PROBE_PT_2_X 15
#define ABL_PROBE_PT_2_Y 20
#define ABL_PROBE_PT_3_X 170
#define ABL_PROBE_PT_3_Y 20
// no AUTO_BED_LEVELING_GRID

// Offsets to the probe relative to the extruder tip (Hotend - Probe)
// X and Y offsets MUST be INTEGERS
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
//
//    +-- BACK ---+
//    |           |
//  L |    (+) P  | R <-- probe (10,10)
//  E |           | I
//  F | (-) N (+) | G <-- nozzle (0,0)
//  T |           | H
//    |  P (-)    | T <-- probe (-10,-10)
//    |           |
//    O-- FRONT --+
#define X_PROBE_OFFSET_FROM_EXTRUDER  0     // X offset: -left  [of the nozzle] +right
#define Y_PROBE_OFFSET_FROM_EXTRUDER  0     // Y offset: -front [of the nozzle] +behind
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1     // Z offset: -below [of the nozzle] (always negative!)

#define Z_RAISE_BEFORE_HOMING        10     // (in mm) Raise Z before homing (G28) for Probe Clearance.
MagoKimbra's avatar
MagoKimbra committed
318 319
                                            // Be sure you have this distance over your Z_MAX_POS in case

320 321 322
#define Z_RAISE_BEFORE_PROBING       10     //How much the extruder will be raised before travelling to the first probing point.
#define Z_RAISE_BETWEEN_PROBINGS      5     //How much the extruder will be raised when travelling from between next probing points
#define Z_RAISE_AFTER_PROBING         5     //How much the extruder will be raised after the last probing point.
MagoKimbra's avatar
MagoKimbra committed
323

MagoKimbra's avatar
MagoKimbra committed
324 325 326
//#define Z_PROBE_END_SCRIPT "G1 Z10 F8000\nG1 X10 Y10\nG1 Z0.5"  // These commands will be executed in the end of G29 routine.
                                                                  // Useful to retract a deployable Z probe.

MagoKimbra's avatar
MagoKimbra committed
327 328 329 330 331
//#define Z_PROBE_SLED                // turn on if you have a z-probe mounted on a sled like those designed by Charles Bell
//#define SLED_DOCKING_OFFSET 5       // the extra distance the X axis must travel to pick up the sled. 0 should be fine but you can push it further if you'd like.
/*****************************************************************************************/


Simone Primarosa's avatar
Simone Primarosa committed
332
/*****************************************************************************************
MagoKimbra's avatar
MagoKimbra committed
333 334
 ******************************* Z probe endstop *****************************************
 *****************************************************************************************
Simone Primarosa's avatar
Simone Primarosa committed
335
 *                                                                                       *
MagoKimbra's avatar
MagoKimbra committed
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358
 * If you have enabled the Auto bed levelling this add the Support for                   *
 * a dedicated Z PROBE endstop separate from the Z MIN endstop.                          *
 * If you would like to use both a Z PROBE and a Z MIN endstop together                  *
 * or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP                *
 * and read the instructions below.                                                      *
 *                                                                                       *
 * If you want to still use the Z min endstop for homing,                                *
 * disable Z_SAFE_HOMING.                                                                *
 * Eg: to park the head outside the bed area when homing with G28.                       *
 *                                                                                       *
 * WARNING: The Z MIN endstop will need to set properly as it would                      *
 * without a Z PROBE to prevent head crashes and premature stopping                      *
 * during a print.                                                                       *
 * To use a separte Z PROBE endstop, you must have a Z_PROBE_PIN                         *
 * defined in the pins.h file for your control board.                                    *
 * If you are using a servo based Z PROBE, you will need to enable                       *
 * NUM_SERVOS, SERVO_ENDSTOPS and SERVO_ENDSTOPS_ANGLES in                               *
 * Configuration_Feature R/C Servo section.                                              *
 *                                                                                       *
 * WARNING: Setting the wrong pin may have unexpected and potentially                    *
 * disastrous outcomes. Use with caution and do your homework.                           *
 *                                                                                       *
 * Uncomment Z_PROBE_ENDSTOP to enable.                                                  *
Simone Primarosa's avatar
Simone Primarosa committed
359 360
 *                                                                                       *
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
361 362 363 364 365 366 367
//#define Z_PROBE_ENDSTOP
/*****************************************************************************************/


/*****************************************************************************************
 ******************************** Manual home positions **********************************
/*****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
368 369 370 371 372
// The position of the homing switches
//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)

//Manual homing switch locations:
Simone Primarosa's avatar
Simone Primarosa committed
373 374 375 376
#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 0
#define MANUAL_Z_HOME_POS 0
/*****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
377 378


Simone Primarosa's avatar
Simone Primarosa committed
379 380 381
/*****************************************************************************************
 ******************************* Axis steps per unit *************************************
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
382 383
// Default steps per unit               X,  Y,    Z,  E0...(per extruder)
#define DEFAULT_AXIS_STEPS_PER_UNIT   {80, 80, 3200, 625, 625, 625, 625}
Simone Primarosa's avatar
Simone Primarosa committed
384 385 386 387 388 389
/*****************************************************************************************/


/*****************************************************************************************
 ********************************** Axis feedrate ****************************************
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
390 391 392 393
//                                       X,   Y, Z,  E0...(per extruder). (mm/sec)
#define DEFAULT_MAX_FEEDRATE          {300, 300, 2, 100, 100, 100, 100}
#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
Simone Primarosa's avatar
Simone Primarosa committed
394 395 396 397
#define DEFAULT_MINTRAVELFEEDRATE     0.0
// Minimum planner junction speed. Sets the default minimum speed the planner plans for at the end
// of the buffer and all stops. This should not be much greater than zero and should only be changed
// if unwanted behavior is observed on a user's machine when running at very slow speeds.
MagoKimbra's avatar
MagoKimbra committed
398
#define MINIMUM_PLANNER_SPEED         0.05                      // (mm/sec)
Simone Primarosa's avatar
Simone Primarosa committed
399 400 401 402 403 404
/*****************************************************************************************/


/*****************************************************************************************
 ******************************** Axis accelleration *************************************
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
405 406 407 408 409 410 411 412
//  Maximum start speed for accelerated moves.    X,    Y,  Z,   E0...(per extruder)
#define DEFAULT_MAX_ACCELERATION              {3000, 3000, 50, 1000, 1000, 1000, 1000}
//  Maximum acceleration in mm/s^2 for retracts   E0... (per extruder)
#define DEFAULT_RETRACT_ACCELERATION          {10000, 10000, 10000, 10000}
//  X, Y, Z and E* maximum acceleration in mm/s^2 for printing moves
#define DEFAULT_ACCELERATION          3000
//  X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
#define DEFAULT_TRAVEL_ACCELERATION   3000
Simone Primarosa's avatar
Simone Primarosa committed
413 414 415 416 417 418 419 420 421 422 423
/*****************************************************************************************/


/*****************************************************************************************
 ************************************* Axis jerk *****************************************
 *****************************************************************************************
 *                                                                                       *
 * The speed change that does not require acceleration.                                  *
 * (i.e. the software might assume it can be done instantaneously)                       *
 *                                                                                       *
 *****************************************************************************************/
424 425
#define DEFAULT_XYJERK 10.0                 // (mm/sec)
#define DEFAULT_ZJERK   0.4                 // (mm/sec)
MagoKimbra's avatar
MagoKimbra committed
426 427
//  max initial speed for retract moves   E0... (mm/sec) per extruder
#define DEFAULT_EJERK                   {5.0, 5.0, 5.0, 5.0}
Simone Primarosa's avatar
Simone Primarosa committed
428 429 430 431 432 433
/*****************************************************************************************/


/*****************************************************************************************
 ************************************ Homing feedrate ************************************
 *****************************************************************************************/
MagoKimbra's avatar
MagoKimbra committed
434
#define HOMING_FEEDRATE {100*60, 100*60, 2*60, 0} // set the homing speeds (mm/min)
Simone Primarosa's avatar
Simone Primarosa committed
435

MagoKimbra's avatar
MagoKimbra committed
436
// homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:
Simone Primarosa's avatar
Simone Primarosa committed
437 438 439 440 441 442 443 444 445 446 447
#define X_HOME_BUMP_MM 5
#define Y_HOME_BUMP_MM 5
#define Z_HOME_BUMP_MM 2
#define HOMING_BUMP_DIVISOR {5, 5, 2}  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
/*****************************************************************************************/


/*****************************************************************************************
 *********************************** Hotend offset ***************************************
 *****************************************************************************************
 *                                                                                       *
448
 * Offset of the hotends (uncomment if using more than one and relying on firmware       *
Simone Primarosa's avatar
Simone Primarosa committed
449
 * to position when changing).                                                           *
450
 * The offset has to be X=0, Y=0, Z=0 for the hotend 0 (default hotend).                 *
Simone Primarosa's avatar
Simone Primarosa committed
451 452 453
 * For the other hotends it is their distance from the hotend 0.                         *
 *                                                                                       *
 *****************************************************************************************/
454 455 456
#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_Z {0.0, 0.0, 0.0, 0.0} // (in mm) for each hotend, offset of the hotend on the Z axis
Simone Primarosa's avatar
Simone Primarosa committed
457 458
/*****************************************************************************************/

459
#endif