Results 1 to 10 of 13
Thread: Marlin 2.0 Auto Leveling Problem
Threaded View
-
03-31-2020, 10:58 AM #9
When I started Out used these lines of code to adjust my Proximity Sensor to work.
These are a modified Code from Marlin 1.1.9BF to work with Marlin 2.
Adjusted them with your offset for you to try.
// The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 195
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 210
#define Y_MAX_POS 195
#define Z_MAX_POS 210 // do not know your max Z Height you may want to adjust.
#define GRID_MAX_POINTS_X 6
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
// Set the boundaries for probing (where the probe can reach).
// setup for "Enter Your Sensor Here"
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE + 10
#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - (MIN_PROBE_EDGE + 10))
#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE + 15 // 8 For Your Sensor
#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - (MIN_PROBE_EDGE)) // + 10 For Your Sensor
My Numbers Marlin 2.0 alpha
Code:#define NOZZLE_TO_PROBE_OFFSET { 0, 25, -0.5 } // The size of the print bed #define X_BED_SIZE 220 #define Y_BED_SIZE 270 // Travel limits (mm) after homing, corresponding to endstop positions. #define X_MAX_POS X_BED_SIZE #define Y_MAX_POS Y_BED_SIZE #define Z_MAX_POS 185 // Set the number of grid points per dimension. #define GRID_MAX_POINTS_X 6 #define GRID_MAX_POINTS_Y 6 // Remarked Out in newer versions Marlin // Set the boundaries for probing (where the probe can reach). #define MIN_PROBE_EDGE_LEFT MIN_PROBE_EDGE + 10 #define MIN_PROBE_EDGE_RIGHT (X_BED_SIZE - (MIN_PROBE_EDGE + 10)) #define MIN_PROBE_EDGE_FRONT MIN_PROBE_EDGE + 15 // 28 For SN04-N and 15 for for TL-W3MC2 #define MIN_PROBE_EDGE_BACK (Y_BED_SIZE - (MIN_PROBE_EDGE)) // + 15 For SN04-N and nothing for TL-W3MC2
Last edited by Roberts_Clif; 03-31-2020 at 11:44 AM.
Qidi X Plus 3 Paper thin first...
05-27-2024, 01:15 AM in General 3D Printing Discussion