|
|
|
@ -61,14 +61,14 @@
|
|
|
|
|
// @section info
|
|
|
|
|
|
|
|
|
|
// Author info of this build printed to the host during boot and M115
|
|
|
|
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
|
|
|
|
#define STRING_CONFIG_H_AUTHOR "(adrian, default config)" // Who made the changes.
|
|
|
|
|
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
|
|
|
|
|
|
|
|
|
|
// @section machine
|
|
|
|
|
|
|
|
|
|
// Choose the name from boards.h that matches your setup
|
|
|
|
|
#ifndef MOTHERBOARD
|
|
|
|
|
#define MOTHERBOARD BOARD_RAMPS_14_EFB
|
|
|
|
|
#define MOTHERBOARD BOARD_BTT_SKR_V1_4
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -79,7 +79,7 @@
|
|
|
|
|
*
|
|
|
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
|
|
|
|
*/
|
|
|
|
|
#define SERIAL_PORT 0
|
|
|
|
|
#define SERIAL_PORT -1
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Serial Port Baud Rate
|
|
|
|
@ -92,8 +92,7 @@
|
|
|
|
|
*
|
|
|
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
|
|
|
|
*/
|
|
|
|
|
#define BAUDRATE 250000
|
|
|
|
|
|
|
|
|
|
#define BAUDRATE 115200
|
|
|
|
|
//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -116,7 +115,7 @@
|
|
|
|
|
//#define BLUETOOTH
|
|
|
|
|
|
|
|
|
|
// Name displayed in the LCD "Ready" message and Info menu
|
|
|
|
|
//#define CUSTOM_MACHINE_NAME "3D Printer"
|
|
|
|
|
#define CUSTOM_MACHINE_NAME "Adrian's Delta"
|
|
|
|
|
|
|
|
|
|
// Printer's unique ID, used by some programs to differentiate between machines.
|
|
|
|
|
// Choose your own or use a service like https://www.uuidgenerator.net/version4
|
|
|
|
@ -139,9 +138,9 @@
|
|
|
|
|
* TMC5160, TMC5160_STANDALONE
|
|
|
|
|
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
|
|
|
|
|
*/
|
|
|
|
|
#define X_DRIVER_TYPE A4988
|
|
|
|
|
#define Y_DRIVER_TYPE A4988
|
|
|
|
|
#define Z_DRIVER_TYPE A4988
|
|
|
|
|
#define X_DRIVER_TYPE TMC2209
|
|
|
|
|
#define Y_DRIVER_TYPE TMC2209
|
|
|
|
|
#define Z_DRIVER_TYPE TMC2209
|
|
|
|
|
//#define X2_DRIVER_TYPE A4988
|
|
|
|
|
//#define Y2_DRIVER_TYPE A4988
|
|
|
|
|
//#define Z2_DRIVER_TYPE A4988
|
|
|
|
@ -153,7 +152,7 @@
|
|
|
|
|
//#define U_DRIVER_TYPE A4988
|
|
|
|
|
//#define V_DRIVER_TYPE A4988
|
|
|
|
|
//#define W_DRIVER_TYPE A4988
|
|
|
|
|
#define E0_DRIVER_TYPE A4988
|
|
|
|
|
#define E0_DRIVER_TYPE TMC2209
|
|
|
|
|
//#define E1_DRIVER_TYPE A4988
|
|
|
|
|
//#define E2_DRIVER_TYPE A4988
|
|
|
|
|
//#define E3_DRIVER_TYPE A4988
|
|
|
|
@ -863,7 +862,7 @@
|
|
|
|
|
* Note: For Bowden Extruders make this large enough to allow load/unload.
|
|
|
|
|
*/
|
|
|
|
|
#define PREVENT_LENGTHY_EXTRUDE
|
|
|
|
|
#define EXTRUDE_MAXLENGTH 200
|
|
|
|
|
#define EXTRUDE_MAXLENGTH 300
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//======================== Thermal Runaway Protection =======================
|
|
|
|
@ -1129,9 +1128,9 @@
|
|
|
|
|
//#define ENDSTOPPULLUP_UMIN
|
|
|
|
|
//#define ENDSTOPPULLUP_VMIN
|
|
|
|
|
//#define ENDSTOPPULLUP_WMIN
|
|
|
|
|
//#define ENDSTOPPULLUP_XMAX
|
|
|
|
|
//#define ENDSTOPPULLUP_YMAX
|
|
|
|
|
//#define ENDSTOPPULLUP_ZMAX
|
|
|
|
|
#define ENDSTOPPULLUP_XMAX
|
|
|
|
|
#define ENDSTOPPULLUP_YMAX
|
|
|
|
|
#define ENDSTOPPULLUP_ZMAX
|
|
|
|
|
//#define ENDSTOPPULLUP_IMAX
|
|
|
|
|
//#define ENDSTOPPULLUP_JMAX
|
|
|
|
|
//#define ENDSTOPPULLUP_KMAX
|
|
|
|
@ -1171,11 +1170,11 @@
|
|
|
|
|
* Set to the state (HIGH or LOW) that applies to each endstop.
|
|
|
|
|
*/
|
|
|
|
|
#define X_MIN_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define X_MAX_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define X_MAX_ENDSTOP_HIT_STATE LOW
|
|
|
|
|
#define Y_MIN_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define Y_MAX_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define Y_MAX_ENDSTOP_HIT_STATE LOW
|
|
|
|
|
#define Z_MIN_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define Z_MAX_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define Z_MAX_ENDSTOP_HIT_STATE LOW
|
|
|
|
|
#define I_MIN_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define I_MAX_ENDSTOP_HIT_STATE HIGH
|
|
|
|
|
#define J_MIN_ENDSTOP_HIT_STATE HIGH
|
|
|
|
@ -1236,7 +1235,16 @@
|
|
|
|
|
* Override with M92 (when enabled below)
|
|
|
|
|
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
|
|
|
|
*/
|
|
|
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 500 }
|
|
|
|
|
//#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 500 }
|
|
|
|
|
// variables to calculate steps
|
|
|
|
|
#define XYZ_FULL_STEPS_PER_ROTATION 200
|
|
|
|
|
#define XYZ_MICROSTEPS 16
|
|
|
|
|
#define XYZ_BELT_PITCH 2
|
|
|
|
|
#define XYZ_PULLEY_TEETH 20
|
|
|
|
|
|
|
|
|
|
// delta speeds must be the same on xyz
|
|
|
|
|
#define DEFAULT_XYZ_STEPS_PER_UNIT ((XYZ_FULL_STEPS_PER_ROTATION) * (XYZ_MICROSTEPS) / double(XYZ_BELT_PITCH) / double(XYZ_PULLEY_TEETH))
|
|
|
|
|
#define DEFAULT_AXIS_STEPS_PER_UNIT { DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, 391 } // default steps per unit for PowerWasp
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Enable support for M92. Disable to save at least ~530 bytes of flash.
|
|
|
|
@ -1248,11 +1256,11 @@
|
|
|
|
|
* Override with M203
|
|
|
|
|
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
|
|
|
|
*/
|
|
|
|
|
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
|
|
|
|
#define DEFAULT_MAX_FEEDRATE { 300, 300, 300, 25 }
|
|
|
|
|
|
|
|
|
|
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
|
|
|
|
#if ENABLED(LIMITED_MAX_FR_EDITING)
|
|
|
|
|
#define MAX_FEEDRATE_EDIT_VALUES { 600, 600, 10, 50 } // ...or, set your own edit limits
|
|
|
|
|
#define MAX_FEEDRATE_EDIT_VALUES { 600, 600, 600, 50 } // ...or, set your own edit limits
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -1261,7 +1269,7 @@
|
|
|
|
|
* Override with M201
|
|
|
|
|
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
|
|
|
|
|
*/
|
|
|
|
|
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
|
|
|
|
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 3000, 10000 }
|
|
|
|
|
|
|
|
|
|
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
|
|
|
|
#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
|
|
|
|
@ -1288,11 +1296,11 @@
|
|
|
|
|
* When changing speed and direction, if the difference is less than the
|
|
|
|
|
* value set here, it may happen instantaneously.
|
|
|
|
|
*/
|
|
|
|
|
//#define CLASSIC_JERK
|
|
|
|
|
#define CLASSIC_JERK
|
|
|
|
|
#if ENABLED(CLASSIC_JERK)
|
|
|
|
|
#define DEFAULT_XJERK 10.0
|
|
|
|
|
#define DEFAULT_YJERK 10.0
|
|
|
|
|
#define DEFAULT_ZJERK 0.3
|
|
|
|
|
#define DEFAULT_ZJERK 10.0
|
|
|
|
|
#define DEFAULT_EJERK 5.0
|
|
|
|
|
//#define DEFAULT_IJERK 0.3
|
|
|
|
|
//#define DEFAULT_JJERK 0.3
|
|
|
|
@ -1346,7 +1354,7 @@
|
|
|
|
|
* The probe replaces the Z-MIN endstop and is used for Z homing.
|
|
|
|
|
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
|
|
|
|
|
*/
|
|
|
|
|
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
|
|
|
|
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
|
|
|
|
|
|
|
|
|
|
// Force the use of the probe for Z-axis homing
|
|
|
|
|
//#define USE_PROBE_FOR_Z_HOMING
|
|
|
|
@ -1364,7 +1372,7 @@
|
|
|
|
|
* - Normally-closed (NC) also connect to GND.
|
|
|
|
|
* - Normally-open (NO) also connect to 5V.
|
|
|
|
|
*/
|
|
|
|
|
//#define Z_MIN_PROBE_PIN -1
|
|
|
|
|
#define Z_MIN_PROBE_PIN P0_10
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Probe Type
|
|
|
|
@ -1395,9 +1403,9 @@
|
|
|
|
|
/**
|
|
|
|
|
* Z Servo Probe, such as an endstop switch on a rotating arm.
|
|
|
|
|
*/
|
|
|
|
|
//#define Z_PROBE_SERVO_NR 0
|
|
|
|
|
#define Z_PROBE_SERVO_NR 0
|
|
|
|
|
#ifdef Z_PROBE_SERVO_NR
|
|
|
|
|
//#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
|
|
|
|
|
#define Z_SERVO_ANGLES { 70, 0 } // Z Servo Deploy and Stow angles
|
|
|
|
|
//#define Z_SERVO_MEASURE_ANGLE 45 // Use if the servo must move to a "free" position for measuring after deploy
|
|
|
|
|
//#define Z_SERVO_INTERMEDIATE_STOW // Stow the probe between points
|
|
|
|
|
//#define Z_SERVO_DEACTIVATE_AFTER_STOW // Deactivate the servo when probe is stowed
|
|
|
|
@ -1406,7 +1414,7 @@
|
|
|
|
|
/**
|
|
|
|
|
* The BLTouch probe uses a Hall effect sensor and emulates a servo.
|
|
|
|
|
*/
|
|
|
|
|
//#define BLTOUCH
|
|
|
|
|
#define BLTOUCH
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* MagLev V4 probe by MDD
|
|
|
|
@ -1581,7 +1589,7 @@
|
|
|
|
|
* | [-] |
|
|
|
|
|
* O-- FRONT --+
|
|
|
|
|
*/
|
|
|
|
|
#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
|
|
|
|
|
#define NOZZLE_TO_PROBE_OFFSET { -25, -14, -2.0 }
|
|
|
|
|
|
|
|
|
|
// Enable and set to use a specific tool for probing. Disable to allow any tool.
|
|
|
|
|
#define PROBING_TOOL 0
|
|
|
|
@ -1591,16 +1599,16 @@
|
|
|
|
|
|
|
|
|
|
// Most probes should stay away from the edges of the bed, but
|
|
|
|
|
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
|
|
|
|
|
#define PROBING_MARGIN 10
|
|
|
|
|
#define PROBING_MARGIN 30
|
|
|
|
|
|
|
|
|
|
// X and Y axis travel speed (mm/min) between probes
|
|
|
|
|
#define XY_PROBE_FEEDRATE (133*60)
|
|
|
|
|
#define XY_PROBE_FEEDRATE (60*60)
|
|
|
|
|
|
|
|
|
|
// Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2)
|
|
|
|
|
#define Z_PROBE_FEEDRATE_FAST (4*60)
|
|
|
|
|
#define Z_PROBE_FEEDRATE_FAST (30*60)
|
|
|
|
|
|
|
|
|
|
// Feedrate (mm/min) for the "accurate" probe of each point
|
|
|
|
|
#define Z_PROBE_FEEDRATE_SLOW (Z_PROBE_FEEDRATE_FAST / 2)
|
|
|
|
|
#define Z_PROBE_FEEDRATE_SLOW (Z_PROBE_FEEDRATE_FAST / 20)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Probe Activation Switch
|
|
|
|
@ -1647,7 +1655,7 @@
|
|
|
|
|
* A total of 2 does fast/slow probes with a weighted average.
|
|
|
|
|
* A total of 3 or more adds more slow probes, taking the average.
|
|
|
|
|
*/
|
|
|
|
|
//#define MULTIPLE_PROBING 2
|
|
|
|
|
#define MULTIPLE_PROBING 2
|
|
|
|
|
//#define EXTRA_PROBING 1
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -1749,9 +1757,9 @@
|
|
|
|
|
// @section motion
|
|
|
|
|
|
|
|
|
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
|
|
|
|
#define INVERT_X_DIR false
|
|
|
|
|
#define INVERT_X_DIR true
|
|
|
|
|
#define INVERT_Y_DIR true
|
|
|
|
|
#define INVERT_Z_DIR false
|
|
|
|
|
#define INVERT_Z_DIR true
|
|
|
|
|
//#define INVERT_I_DIR false
|
|
|
|
|
//#define INVERT_J_DIR false
|
|
|
|
|
//#define INVERT_K_DIR false
|
|
|
|
@ -1762,8 +1770,8 @@
|
|
|
|
|
// @section extruder
|
|
|
|
|
|
|
|
|
|
// For direct drive extruder v9 set to true, for geared extruder set to false.
|
|
|
|
|
#define INVERT_E0_DIR false
|
|
|
|
|
#define INVERT_E1_DIR false
|
|
|
|
|
#define INVERT_E0_DIR true
|
|
|
|
|
#define INVERT_E1_DIR true
|
|
|
|
|
#define INVERT_E2_DIR false
|
|
|
|
|
#define INVERT_E3_DIR false
|
|
|
|
|
#define INVERT_E4_DIR false
|
|
|
|
@ -1776,6 +1784,66 @@
|
|
|
|
|
//#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed. Also enable HOME_AFTER_DEACTIVATE for extra safety.
|
|
|
|
|
//#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated. Also enable NO_MOTION_BEFORE_HOMING for extra safety.
|
|
|
|
|
|
|
|
|
|
#define DELTA
|
|
|
|
|
#if ENABLED(DELTA)
|
|
|
|
|
|
|
|
|
|
// Make delta curves from many straight lines (linear interpolation).
|
|
|
|
|
// This is a trade-off between visible corners (not enough segments)
|
|
|
|
|
// and processor overload (too many expensive sqrt calls).
|
|
|
|
|
#define DEFAULT_SEGMENTS_PER_SECOND 100
|
|
|
|
|
|
|
|
|
|
// After homing move down to a height where XY movement is unconstrained
|
|
|
|
|
#define DELTA_HOME_TO_SAFE_ZONE
|
|
|
|
|
|
|
|
|
|
// Delta calibration menu
|
|
|
|
|
// uncomment to add three points calibration menu option.
|
|
|
|
|
// See http://minow.blogspot.com/index.html#4918805519571907051
|
|
|
|
|
#define DELTA_CALIBRATION_MENU
|
|
|
|
|
|
|
|
|
|
// uncomment to add G33 Delta Auto-Calibration (Enable EEPROM_SETTINGS to store results)
|
|
|
|
|
#define DELTA_AUTO_CALIBRATION
|
|
|
|
|
|
|
|
|
|
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
|
|
|
|
|
|
|
|
|
|
#if ENABLED(DELTA_AUTO_CALIBRATION)
|
|
|
|
|
// set the default number of probe points : n*n (1 -> 7)
|
|
|
|
|
#define DELTA_CALIBRATION_DEFAULT_POINTS 5
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(DELTA_AUTO_CALIBRATION) || ENABLED(DELTA_CALIBRATION_MENU)
|
|
|
|
|
// Set the radius for the calibration probe points - max 0.9 * PRINTABLE_RADIUS for non-eccentric probes
|
|
|
|
|
// #define DELTA_CALIBRATION_RADIUS 110.0 // mm
|
|
|
|
|
// Set the steprate for papertest probing
|
|
|
|
|
#define PROBE_MANUALLY_STEP 0.025
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
|
|
|
|
|
#define PRINTABLE_RADIUS 140.0 // mm
|
|
|
|
|
|
|
|
|
|
// Center-to-center distance of the holes in the diagonal push rods.
|
|
|
|
|
#define DELTA_DIAGONAL_ROD 340.0 // mm
|
|
|
|
|
|
|
|
|
|
// height from z=0 to home position
|
|
|
|
|
#define DELTA_HEIGHT 627.37 // get this value from auto calibrate
|
|
|
|
|
|
|
|
|
|
#define DELTA_ENDSTOP_ADJ { 0.0, 0.0, 0.0 } // get these from auto calibrate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Horizontal distance bridged by diagonal push rods when effector is centered.
|
|
|
|
|
#define DELTA_RADIUS 179.60 //mm Get this value from auto calibrate
|
|
|
|
|
|
|
|
|
|
// Trim adjustments for individual towers
|
|
|
|
|
// tower angle corrections for X and Y tower / rotate XYZ so Z tower angle = 0
|
|
|
|
|
// measured in degrees anticlockwise looking from above the printer
|
|
|
|
|
#define DELTA_TOWER_ANGLE_TRIM { 0.44, -0.15, -0.29 } // get these values from auto calibrate
|
|
|
|
|
|
|
|
|
|
// delta radius and diaginal rod adjustments measured in mm
|
|
|
|
|
//#define DELTA_RADIUS_TRIM_TOWER { 0.0, 0.0, 0.0 }
|
|
|
|
|
//#define DELTA_DIAGONAL_ROD_TRIM_TOWER { 0.0, 0.0, 0.0 }
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set Z_IDLE_HEIGHT if the Z-Axis moves on its own when steppers are disabled.
|
|
|
|
|
* - Use a low value (i.e., Z_MIN_POS) if the nozzle falls down to the bed.
|
|
|
|
@ -1793,9 +1861,9 @@
|
|
|
|
|
|
|
|
|
|
// Direction of endstops when homing; 1=MAX, -1=MIN
|
|
|
|
|
// :[-1,1]
|
|
|
|
|
#define X_HOME_DIR -1
|
|
|
|
|
#define Y_HOME_DIR -1
|
|
|
|
|
#define Z_HOME_DIR -1
|
|
|
|
|
#define X_HOME_DIR 1
|
|
|
|
|
#define Y_HOME_DIR 1
|
|
|
|
|
#define Z_HOME_DIR 1
|
|
|
|
|
//#define I_HOME_DIR -1
|
|
|
|
|
//#define J_HOME_DIR -1
|
|
|
|
|
//#define K_HOME_DIR -1
|
|
|
|
@ -1821,16 +1889,16 @@
|
|
|
|
|
// @section geometry
|
|
|
|
|
|
|
|
|
|
// The size of the printable area
|
|
|
|
|
#define X_BED_SIZE 200
|
|
|
|
|
#define Y_BED_SIZE 200
|
|
|
|
|
#define X_BED_SIZE ((PRINTABLE_RADIUS) * 2)
|
|
|
|
|
#define Y_BED_SIZE ((PRINTABLE_RADIUS) * 2)
|
|
|
|
|
|
|
|
|
|
// Travel limits (linear=mm, rotational=°) after homing, corresponding to endstop positions.
|
|
|
|
|
#define X_MIN_POS 0
|
|
|
|
|
#define Y_MIN_POS 0
|
|
|
|
|
#define X_MIN_POS -(PRINTABLE_RADIUS)
|
|
|
|
|
#define Y_MIN_POS -(PRINTABLE_RADIUS)
|
|
|
|
|
#define Z_MIN_POS 0
|
|
|
|
|
#define X_MAX_POS X_BED_SIZE
|
|
|
|
|
#define Y_MAX_POS Y_BED_SIZE
|
|
|
|
|
#define Z_MAX_POS 200
|
|
|
|
|
#define X_MAX_POS (PRINTABLE_RADIUS)
|
|
|
|
|
#define Y_MAX_POS (PRINTABLE_RADIUS)
|
|
|
|
|
#define Z_MAX_POS MANUAL_Z_HOME_POS
|
|
|
|
|
//#define I_MIN_POS 0
|
|
|
|
|
//#define I_MAX_POS 50
|
|
|
|
|
//#define J_MIN_POS 0
|
|
|
|
@ -1898,7 +1966,7 @@
|
|
|
|
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
|
|
|
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
|
|
|
|
*/
|
|
|
|
|
//#define FILAMENT_RUNOUT_SENSOR
|
|
|
|
|
#define FILAMENT_RUNOUT_SENSOR
|
|
|
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
|
|
|
|
#define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
|
|
|
|
|
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
|
|
|
|
@ -2042,7 +2110,7 @@
|
|
|
|
|
//#define AUTO_BED_LEVELING_3POINT
|
|
|
|
|
//#define AUTO_BED_LEVELING_LINEAR
|
|
|
|
|
//#define AUTO_BED_LEVELING_BILINEAR
|
|
|
|
|
//#define AUTO_BED_LEVELING_UBL
|
|
|
|
|
#define AUTO_BED_LEVELING_UBL
|
|
|
|
|
//#define MESH_BED_LEVELING
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -2073,7 +2141,7 @@
|
|
|
|
|
* Turn on with the command 'M111 S32'.
|
|
|
|
|
* NOTE: Requires a lot of flash!
|
|
|
|
|
*/
|
|
|
|
|
//#define DEBUG_LEVELING_FEATURE
|
|
|
|
|
#define DEBUG_LEVELING_FEATURE
|
|
|
|
|
|
|
|
|
|
#if ANY(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL, PROBE_MANUALLY)
|
|
|
|
|
// Set a height for the start of manual adjustment
|
|
|
|
@ -2102,12 +2170,12 @@
|
|
|
|
|
/**
|
|
|
|
|
* Enable the G26 Mesh Validation Pattern tool.
|
|
|
|
|
*/
|
|
|
|
|
//#define G26_MESH_VALIDATION
|
|
|
|
|
#define G26_MESH_VALIDATION
|
|
|
|
|
#if ENABLED(G26_MESH_VALIDATION)
|
|
|
|
|
#define MESH_TEST_NOZZLE_SIZE 0.4 // (mm) Diameter of primary nozzle.
|
|
|
|
|
#define MESH_TEST_LAYER_HEIGHT 0.2 // (mm) Default layer height for G26.
|
|
|
|
|
#define MESH_TEST_HOTEND_TEMP 205 // (°C) Default nozzle temperature for G26.
|
|
|
|
|
#define MESH_TEST_BED_TEMP 60 // (°C) Default bed temperature for G26.
|
|
|
|
|
#define MESH_TEST_NOZZLE_SIZE 0.6 // (mm) Diameter of primary nozzle.
|
|
|
|
|
#define MESH_TEST_LAYER_HEIGHT 0.3 // (mm) Default layer height for G26.
|
|
|
|
|
#define MESH_TEST_HOTEND_TEMP 200 // (°C) Default nozzle temperature for G26.
|
|
|
|
|
#define MESH_TEST_BED_TEMP 70 // (°C) Default bed temperature for G26.
|
|
|
|
|
#define G26_XY_FEEDRATE 20 // (mm/s) Feedrate for G26 XY moves.
|
|
|
|
|
#define G26_XY_FEEDRATE_TRAVEL 100 // (mm/s) Feedrate for G26 XY travel moves.
|
|
|
|
|
#define G26_RETRACT_MULTIPLIER 1.0 // G26 Q (retraction) used by default between mesh test elements.
|
|
|
|
@ -2151,7 +2219,7 @@
|
|
|
|
|
//#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh
|
|
|
|
|
|
|
|
|
|
#define MESH_INSET 1 // Set Mesh bounds as an inset region of the bed
|
|
|
|
|
#define GRID_MAX_POINTS_X 10 // Don't use more than 15 points per axis, implementation limited.
|
|
|
|
|
#define GRID_MAX_POINTS_X 5 // Don't use more than 15 points per axis, implementation limited.
|
|
|
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
|
|
|
|
|
|
|
|
|
//#define UBL_HILBERT_CURVE // Use Hilbert distribution for less travel when probing multiple points
|
|
|
|
@ -2165,7 +2233,7 @@
|
|
|
|
|
//#define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used
|
|
|
|
|
// as the Z-Height correction value.
|
|
|
|
|
|
|
|
|
|
//#define UBL_MESH_WIZARD // Run several commands in a row to get a complete mesh
|
|
|
|
|
#define UBL_MESH_WIZARD // Run several commands in a row to get a complete mesh
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Probing not allowed within the position of an obstacle.
|
|
|
|
@ -2193,7 +2261,7 @@
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
#define MESH_INSET 10 // Set Mesh bounds as an inset region of the bed
|
|
|
|
|
#define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.
|
|
|
|
|
#define GRID_MAX_POINTS_X 5 // Don't use more than 7 points per axis, implementation limited.
|
|
|
|
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
|
|
|
|
|
|
|
|
|
//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
|
|
|
|
@ -2250,13 +2318,13 @@
|
|
|
|
|
// @section homing
|
|
|
|
|
|
|
|
|
|
// The center of the bed is at (X=0, Y=0)
|
|
|
|
|
//#define BED_CENTER_AT_0_0
|
|
|
|
|
#define BED_CENTER_AT_0_0
|
|
|
|
|
|
|
|
|
|
// Manually set the home position. Leave these undefined for automatic settings.
|
|
|
|
|
// For DELTA this is the top-center of the Cartesian print volume.
|
|
|
|
|
//#define MANUAL_X_HOME_POS 0
|
|
|
|
|
//#define MANUAL_Y_HOME_POS 0
|
|
|
|
|
//#define MANUAL_Z_HOME_POS 0
|
|
|
|
|
#define MANUAL_Z_HOME_POS DELTA_HEIGHT
|
|
|
|
|
//#define MANUAL_I_HOME_POS 0
|
|
|
|
|
//#define MANUAL_J_HOME_POS 0
|
|
|
|
|
//#define MANUAL_K_HOME_POS 0
|
|
|
|
@ -2280,7 +2348,7 @@
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// Homing speeds (linear=mm/min, rotational=°/min)
|
|
|
|
|
#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (4*60) }
|
|
|
|
|
#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (50*60) }
|
|
|
|
|
|
|
|
|
|
// Validate that endstops are triggered on homing moves
|
|
|
|
|
#define VALIDATE_HOMING_ENDSTOPS
|
|
|
|
@ -2358,7 +2426,7 @@
|
|
|
|
|
* M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
|
|
|
|
|
* M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
|
|
|
|
|
*/
|
|
|
|
|
//#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
|
|
|
|
#define EEPROM_SETTINGS // Persistent storage with M500 and M501
|
|
|
|
|
//#define DISABLE_M503 // Saves ~2700 bytes of flash. Disable for release!
|
|
|
|
|
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save flash.
|
|
|
|
|
#define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
|
|
|
|
@ -2421,11 +2489,12 @@
|
|
|
|
|
* P1 Raise the nozzle always to Z-park height.
|
|
|
|
|
* P2 Raise the nozzle by Z-park amount, limited to Z_MAX_POS.
|
|
|
|
|
*/
|
|
|
|
|
//#define NOZZLE_PARK_FEATURE
|
|
|
|
|
#define NOZZLE_PARK_FEATURE
|
|
|
|
|
|
|
|
|
|
#if ENABLED(NOZZLE_PARK_FEATURE)
|
|
|
|
|
// Specify a park position as { X, Y, Z_raise }
|
|
|
|
|
#define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
|
|
|
|
|
//#define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
|
|
|
|
|
#define NOZZLE_PARK_POINT { 0, -100, 10 }
|
|
|
|
|
#define NOZZLE_PARK_MOVE 0 // Park motion: 0 = XY Move, 1 = X Only, 2 = Y Only, 3 = X before Y, 4 = Y before X
|
|
|
|
|
#define NOZZLE_PARK_Z_RAISE_MIN 2 // (mm) Always raise Z by at least this distance
|
|
|
|
|
#define NOZZLE_PARK_XY_FEEDRATE 100 // (mm/s) X and Y axes feedrate (also used for delta Z axis)
|
|
|
|
@ -2695,7 +2764,7 @@
|
|
|
|
|
//
|
|
|
|
|
// Set this option if CLOCKWISE causes values to DECREASE
|
|
|
|
|
//
|
|
|
|
|
//#define REVERSE_ENCODER_DIRECTION
|
|
|
|
|
#define REVERSE_ENCODER_DIRECTION
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// This option reverses the encoder direction for navigating LCD menus.
|
|
|
|
@ -2931,7 +3000,7 @@
|
|
|
|
|
// RepRapDiscount FULL GRAPHIC Smart Controller
|
|
|
|
|
// https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
|
|
|
|
//
|
|
|
|
|
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
|
|
|
|
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// K.3D Full Graphic Smart Controller
|
|
|
|
@ -3592,7 +3661,7 @@
|
|
|
|
|
* Set this manually if there are extra servos needing manual control.
|
|
|
|
|
* Set to 0 to turn off servo support.
|
|
|
|
|
*/
|
|
|
|
|
//#define NUM_SERVOS 3 // Note: Servo index starts with 0 for M280-M282 commands
|
|
|
|
|
#define NUM_SERVOS 1 // Note: Servo index starts with 0 for M280-M282 commands
|
|
|
|
|
|
|
|
|
|
// (ms) Delay before the next move will start, to give the servo time to reach its target angle.
|
|
|
|
|
// 300ms is a good value but you can try less delay.
|
|
|
|
|