auto bed leveling e marlin [Parzialmente Risolto] April 29, 2014 04:43AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 29, 2014 04:49AM |
Registered: 10 years ago Posts: 6,409 |
Re: auto bed leveling e marlin April 29, 2014 05:57AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 29, 2014 06:39AM |
Registered: 10 years ago Posts: 6,409 |
#define PROBE_SERVO_DEACTIVATION_DELAY 300
Re: auto bed leveling e marlin April 29, 2014 07:12AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 29, 2014 07:42AM |
Registered: 10 years ago Posts: 6,409 |
#define AUTO_BED_LEVELING_GRID // with AUTO_BED_LEVELING_GRID, the bed is sampled in a // AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid // and least squares solution is calculated // Note: this feature occupies 10'206 byte #ifdef AUTO_BED_LEVELING_GRID // set the rectangle in which to probe #define LEFT_PROBE_BED_POSITION 20 #define RIGHT_PROBE_BED_POSITION 185 #define BACK_PROBE_BED_POSITION 235 #define FRONT_PROBE_BED_POSITION 60 // set the number of grid points per dimension // I wouldn't see a reason to go above 3 (=9 probing points on the bed) #define AUTO_BED_LEVELING_GRID_POINTS 2 #else // not AUTO_BED_LEVELING_GRID // with no grid, just probe 3 arbitrary points. A simple cross-product // is used to esimate the plane of the print 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 #endif // AUTO_BED_LEVELING_GRID
#ifdef AUTO_BED_LEVELING_GRID // set the rectangle in which to probe #define LEFT_PROBE_BED_POSITION 20 #define RIGHT_PROBE_BED_POSITION 185 #define BACK_PROBE_BED_POSITION 235 #define FRONT_PROBE_BED_POSITION 60 // set the number of grid points per dimension // I wouldn't see a reason to go above 3 (=9 probing points on the bed) #define AUTO_BED_LEVELING_GRID_POINTS 2
Re: auto bed leveling e marlin April 29, 2014 07:47AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 29, 2014 09:39AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 29, 2014 10:05AM |
Registered: 10 years ago Posts: 6,409 |
Re: auto bed leveling e marlin April 29, 2014 10:22AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 29, 2014 04:08PM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 29, 2014 04:25PM |
Registered: 10 years ago Posts: 6,409 |
Re: auto bed leveling e marlin April 30, 2014 07:15AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin April 30, 2014 07:32AM |
Registered: 10 years ago Posts: 6,409 |
Re: auto bed leveling e marlin April 30, 2014 11:29AM |
Registered: 10 years ago Posts: 6,409 |
f) Now you have the probe in the same place as your hotend tip was before. Perform a M114 and write down the values, for example: X:24.3 Y:-31.4 Z:5.1; #define X_PROBE_OFFSET_FROM_EXTRUDER -24.3 #define Y_PROBE_OFFSET_FROM_EXTRUDER 31.4 #define Z_PROBE_OFFSET_FROM_EXTRUDER -5.1
(#define X_PROBE_OFFSET_FROM_EXTRUDER -29 #define Y_PROBE_OFFSET_FROM_EXTRUDER -9 #define Z_PROBE_OFFSET_FROM_EXTRUDER -4
Re: auto bed leveling e marlin April 30, 2014 11:52AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin May 02, 2014 10:52AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin Risolto May 03, 2014 08:28AM |
Registered: 10 years ago Posts: 219 |
Re: auto bed leveling e marlin May 07, 2014 06:31AM |
Admin Registered: 11 years ago Posts: 954 |
Surfacemodeler per cortesia utilizza lo strumento Formatted Code per inserire i codici e i log, altrimenti non si capisce e non si leggono le righe di non-codice che inserisci.
Così come è scritto nella terza regola del Forum. Grazie.
Re: auto bed leveling e marlin Risolto May 07, 2014 08:07AM |
Moderator Registered: 12 years ago Posts: 964 |
#ifdef ENABLE_AUTO_BED_LEVELING // There are 2 different ways to pick the X and Y locations to probe: // - "grid" mode // Probe every point in a rectangular grid // You must specify the rectangle, and the density of sample points // This mode is preferred because there are more measurements. // It used to be called ACCURATE_BED_LEVELING but "grid" is more descriptive // - "3-point" mode // Probe 3 arbitrary points on the bed (that aren't colinear) // You must specify the X & Y coordinates of all 3 points #define AUTO_BED_LEVELING_GRID // with AUTO_BED_LEVELING_GRID, the bed is sampled in a // AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid // and least squares solution is calculated // Note: this feature occupies 10'206 byte #ifdef AUTO_BED_LEVELING_GRID // set the rectangle in which to probe #define LEFT_PROBE_BED_POSITION 15 #define RIGHT_PROBE_BED_POSITION 300 #define BACK_PROBE_BED_POSITION 300 #define FRONT_PROBE_BED_POSITION 20 // set the number of grid points per dimension // I wouldn't see a reason to go above 3 (=9 probing points on the bed) #define AUTO_BED_LEVELING_GRID_POINTS 3 #else // not AUTO_BED_LEVELING_GRID // with no grid, just probe 3 arbitrary points. A simple cross-product // is used to esimate the plane of the print bed #define ABL_PROBE_PT_1_X 15 #define ABL_PROBE_PT_1_Y 420 #define ABL_PROBE_PT_2_X 15 #define ABL_PROBE_PT_2_Y 20 #define ABL_PROBE_PT_3_X 350 #define ABL_PROBE_PT_3_Y 20 #endif // AUTO_BED_LEVELING_GRID // these are the offsets to the probe relative to the extruder tip (Hotend - Probe) #define X_PROBE_OFFSET_FROM_EXTRUDER -25 #define Y_PROBE_OFFSET_FROM_EXTRUDER 0 #define Z_PROBE_OFFSET_FROM_EXTRUDER -5 #define Z_RAISE_BEFORE_HOMING 4 // (in mm) Raise Z before homing (G28) for Probe Clearance. // Be sure you have this distance over your Z_MAX_POS in case #define XY_TRAVEL_SPEED 8000 // X and Y axis travel speed between probes, in mm/min #define Z_RAISE_BEFORE_PROBING 40 //How much the extruder will be raised before traveling to the first probing point. #define Z_RAISE_BETWEEN_PROBINGS 40 //How much the extruder will be raised when traveling from between next probing points //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it. // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile. // #define PROBE_SERVO_DEACTIVATION_DELAY 300 //If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing, //it is highly recommended you let this Z_SAFE_HOMING enabled!!! #define Z_SAFE_HOMING // This feature is meant to avoid Z homing with probe outside the bed area. // When defined, it will: // - Allow Z homing only after X and Y homing AND stepper drivers still enabled // - If stepper drivers timeout, it will need X and Y homing again before Z homing // - Position the probe in a defined XY point before Z Homing when homing all axis (G28) // - Block Z homing only when the probe is outside bed area. #ifdef Z_SAFE_HOMING #define Z_SAFE_HOMING_X_POINT (X_MAX_LENGTH/2) // X point for Z homing when homing all axis (G28) #define Z_SAFE_HOMING_Y_POINT (Y_MAX_LENGTH/2) // Y point for Z homing when homing all axis (G28) #endif #endif // ENABLE_AUTO_BED_LEVELING
Re: auto bed leveling e marlin Risolto May 07, 2014 11:04AM |
Registered: 10 years ago Posts: 6,409 |
#define Z_RAISE_BEFORE_HOMING 4 // (in mm) Raise Z before homing (G28) for Probe Clearance.Questo parametro indica quanto si deve alzare prima di fare l'homing in caso di G28
#define Z_RAISE_BEFORE_PROBING 40 //How much the extruder will be raised before traveling to the first probing point. #define Z_RAISE_BETWEEN_PROBINGS 40 //How much the extruder will be raised when traveling from between next probing points
Re: auto bed leveling e marlin Risolto May 07, 2014 11:17AM |
Moderator Registered: 12 years ago Posts: 964 |
Quote
MagoKimbra
#define Z_RAISE_BEFORE_HOMING 4 // (in mm) Raise Z before homing (G28) for Probe Clearance.Questo parametro indica quanto si deve alzare prima di fare l'homing in caso di G28
Quote
MagoKimbra
#define Z_RAISE_BEFORE_PROBING 40 //How much the extruder will be raised before traveling to the first probing point. #define Z_RAISE_BETWEEN_PROBINGS 40 //How much the extruder will be raised when traveling from between next probing points
Questi sono i parametri prima del probing e tra un probing e l'altro... 40 sono un po tantini cioè si alza di 4 cm prima e durante.
Quote
MagoKimbra
Strano che tu non veda questo!!! Fai il G29 e lo z resta costante???
Re: auto bed leveling e marlin Risolto May 07, 2014 11:43AM |
Registered: 10 years ago Posts: 6,409 |
Re: auto bed leveling e marlin Risolto May 07, 2014 11:52AM |
Moderator Registered: 12 years ago Posts: 964 |
Quote
MagoKimbra
E cosa succede quando dai g28 z0 e g29???
Hai tutti i file di marlin aggiornati si??
Re: auto bed leveling e marlin Risolto May 07, 2014 11:59AM |
Registered: 10 years ago Posts: 6,409 |
Scusami Ivan, ma tu hai entrambi gli endstop attivi o hai tolto quello classico? L'end stop è sempre collegato sul NC giusto? Dopo che hai fatto g28 z0 va su e giù normalmete con prointerface e/o repetier??Quote
Ivan Bortolin
Quote
MagoKimbra
E cosa succede quando dai g28 z0 e g29???
Hai tutti i file di marlin aggiornati si??
G28 Z0
si abbassa il servo, clicca l'endstop e si rialza il servo
G29
si abbassa il servo, click, si rialza e va al punto successivo, senza alzare il carrello.
Il firmware l'ho scaricato ieri....
Re: auto bed leveling e marlin Risolto May 07, 2014 12:05PM |
Registered: 10 years ago Posts: 6,409 |
// Travel limits after homing #define X_MAX_POS 236 #define X_MIN_POS 0 #define Y_MAX_POS 306 #define Y_MIN_POS 0 #define Z_MAX_POS 200 #define Z_MIN_POS 0
Re: auto bed leveling e marlin Risolto May 07, 2014 12:11PM |
Moderator Registered: 12 years ago Posts: 964 |
Re: auto bed leveling e marlin Risolto May 07, 2014 12:16PM |
Registered: 10 years ago Posts: 6,409 |
// #define PROBE_SERVO_DEACTIVATION_DELAY 300
Re: auto bed leveling e marlin Risolto May 07, 2014 12:18PM |
Registered: 10 years ago Posts: 6,409 |
Re: auto bed leveling e marlin Risolto May 07, 2014 12:33PM |
Registered: 10 years ago Posts: 6,409 |