Auto Bed Leveling Prusa i3 Hephestos 15. February 2016 13:46 |
Registrierungsdatum: 8 Jahre zuvor Beiträge: 2 |
#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)auskommentiere macht er 3 Messpunkte. Soweit so gut.
#define AUTO_BED_LEVELING_GRIDaus.
CXX qr_solve.cpp CXX ConfigurationStore.cpp CXX Action.cpp CXX GuiAction.cpp GuiAction.cpp: In function 'void action_level_plate()': GuiAction.cpp:144:21: error: 'ABL_MANUAL_PT_1_X' was not declared in this scope target[X_AXIS] = ABL_MANUAL_PT_1_X; ^ GuiAction.cpp:145:21: error: 'ABL_MANUAL_PT_1_Y' was not declared in this scope target[Y_AXIS] = ABL_MANUAL_PT_1_Y; ^ GuiAction.cpp:169:21: error: 'ABL_MANUAL_PT_2_X' was not declared in this scope target[X_AXIS] = ABL_MANUAL_PT_2_X; ^ GuiAction.cpp:170:21: error: 'ABL_MANUAL_PT_2_Y' was not declared in this scope target[Y_AXIS] = ABL_MANUAL_PT_2_Y; ^ GuiAction.cpp:194:21: error: 'ABL_MANUAL_PT_3_X' was not declared in this scope target[X_AXIS] = ABL_MANUAL_PT_3_X; ^ GuiAction.cpp:195:21: error: 'ABL_MANUAL_PT_3_Y' was not declared in this scope target[Y_AXIS] = ABL_MANUAL_PT_3_Y; ^ GuiAction.cpp: In function 'void set_bed_level_equation_3pts(float, float, float)': GuiAction.cpp:261:29: error: 'ABL_PROBE_PT_1_X' was not declared in this scope vector_3 pt1 = vector_3(ABL_PROBE_PT_1_X, ABL_PROBE_PT_1_Y, z_at_pt_1); ^ GuiAction.cpp:261:47: error: 'ABL_PROBE_PT_1_Y' was not declared in this scope vector_3 pt1 = vector_3(ABL_PROBE_PT_1_X, ABL_PROBE_PT_1_Y, z_at_pt_1); ^ GuiAction.cpp:262:29: error: 'ABL_PROBE_PT_2_X' was not declared in this scope vector_3 pt2 = vector_3(ABL_PROBE_PT_2_X, ABL_PROBE_PT_2_Y, z_at_pt_2); ^ GuiAction.cpp:262:47: error: 'ABL_PROBE_PT_2_Y' was not declared in this scope vector_3 pt2 = vector_3(ABL_PROBE_PT_2_X, ABL_PROBE_PT_2_Y, z_at_pt_2); ^ GuiAction.cpp:263:29: error: 'ABL_PROBE_PT_3_X' was not declared in this scope vector_3 pt3 = vector_3(ABL_PROBE_PT_3_X, ABL_PROBE_PT_3_Y, z_at_pt_3); ^ GuiAction.cpp:263:47: error: 'ABL_PROBE_PT_3_Y' was not declared in this scope vector_3 pt3 = vector_3(ABL_PROBE_PT_3_X, ABL_PROBE_PT_3_Y, z_at_pt_3); ^ GuiAction.cpp: In function 'void action_get_plane()': GuiAction.cpp:403:136: error: 'qr_solve' was not declared in this scope double *plane_equation_coefficients = qr_solve(AUTO_BED_LEVELING_GRID_POINTS*AUTO_BED_LEVELING_GRID_POINTS, 3, eqnAMatrix, eqnBVector); ^ GuiAction.cpp:413:57: error: 'set_bed_level_equation_lsq' was not declared in this scope set_bed_level_equation_lsq(plane_equation_coefficients); ^ GuiAction.cpp: In function 'void action_offset()': GuiAction.cpp:845:29: error: 'ABL_PROBE_PT_1_X' was not declared in this scope float z_at_pt_1 = probe_pt(ABL_PROBE_PT_1_X, ABL_PROBE_PT_1_Y, Z_RAISE_BEFORE_PROBING); ^ GuiAction.cpp:845:47: error: 'ABL_PROBE_PT_1_Y' was not declared in this scope float z_at_pt_1 = probe_pt(ABL_PROBE_PT_1_X, ABL_PROBE_PT_1_Y, Z_RAISE_BEFORE_PROBING); ^ GuiAction.cpp:847:29: error: 'ABL_PROBE_PT_2_X' was not declared in this scope float z_at_pt_2 = probe_pt(ABL_PROBE_PT_2_X, ABL_PROBE_PT_2_Y, current_position[Z_AXIS] + Z_RAISE_BETWEEN_PROBINGS); ^ GuiAction.cpp:847:47: error: 'ABL_PROBE_PT_2_Y' was not declared in this scope float z_at_pt_2 = probe_pt(ABL_PROBE_PT_2_X, ABL_PROBE_PT_2_Y, current_position[Z_AXIS] + Z_RAISE_BETWEEN_PROBINGS); ^ GuiAction.cpp:849:29: error: 'ABL_PROBE_PT_3_X' was not declared in this scope float z_at_pt_3 = probe_pt(ABL_PROBE_PT_3_X, ABL_PROBE_PT_3_Y, current_position[Z_AXIS] + Z_RAISE_BETWEEN_PROBINGS); ^ GuiAction.cpp:849:47: error: 'ABL_PROBE_PT_3_Y' was not declared in this scope float z_at_pt_3 = probe_pt(ABL_PROBE_PT_3_X, ABL_PROBE_PT_3_Y, current_position[Z_AXIS] + Z_RAISE_BETWEEN_PROBINGS); ^ Makefile:385: recipe for target 'bin/GuiAction.o' failed make: *** [bin/GuiAction.o] Error 1
Re: Auto Bed Leveling Prusa i3 Hephestos 16. February 2016 02:29 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 4.398 |
Re: Auto Bed Leveling Prusa i3 Hephestos 16. February 2016 03:07 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 4.977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: Auto Bed Leveling Prusa i3 Hephestos 16. February 2016 11:47 |
Registrierungsdatum: 8 Jahre zuvor Beiträge: 2 |
Re: Auto Bed Leveling Prusa i3 Hephestos 21. August 2016 16:01 |
Registrierungsdatum: 7 Jahre zuvor Beiträge: 1 |
const bool Z_MIN_ENDSTOP_INVERTING = false;Aktivierung von AUTO BED LEVELING:
#define ENABLE_AUTO_BED_LEVELINGMesspunkte und Sensor Offset
#define ABL_PROBE_PT_1_X X_MIN_POS + 15 #define ABL_PROBE_PT_1_Y Y_MIN_POS + 15 #define ABL_PROBE_PT_2_X X_MAX_POS - 40 #define ABL_PROBE_PT_2_Y Y_MIN_POS + 15 #define ABL_PROBE_PT_3_X (ABL_PROBE_PT_1_X+ABL_PROBE_PT_2_X)/2 #define ABL_PROBE_PT_3_Y Y_MAX_POS - 20 + Y_PROBE_OFFSET_FROM_EXTRUDER #define X_PROBE_OFFSET_FROM_EXTRUDER 0 #define Y_PROBE_OFFSET_FROM_EXTRUDER -70 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0Diese Werte sollten entsprechend der Position vom Sensor zur Düse angepasst werden ... In meinem Beispiel ist der Sensor 7cm (also auf der Y-Achse) hinter der Düse montiert.
#define Z_SAFE_HOMING_X_POINT 0 #define Z_SAFE_HOMING_Y_POINT 0Unbedingt aufpassen, dass Düse bzw. Sensor beim Homing nicht irgendwo (z.B. an den Klammern) hängen bleibt!
#define ENDSTOPS_ONLY_FOR_HOMINGSonst lässt sich Z-Achse (für die Düse) im Kernel (mit M851) nicht nachjustieren. Marlin stoppt die Z-Bewegung beim Trigger - die Düse sitzt aber höher als der die Höhe wo der Sensor auslöst - daher muß es möglich sein den Kopf auch dann abzusenken, auch wenn der Sensor ausgelöst hat.
G28 ; HOMING G29 ; AUTOLEVELDruckkopf sollte dabei während bzw. nach keinem der Aktionen auf dem Druckbett aufliegen ...
G1 Z0Wenn der Druckkopf zu hoch ist ... z.B. 0.5mm zu hoch ... die Nachjustierung mit M851 vornehmen - und Leveling Vorgang wiederholen, bis es passt ...
M851 Z-.5Vorsichtig an dem optimalen Wert rantasten ... Druckkopf sollte eigentlich nie zu nieder sein - würde ja bedeuten, dass der Druckkopf auf dem Glas aufsetzt - wäre nicht gesund - in diesem Fall müsste man einen Positiven Wert für M851 einsetzten.
M500Eine Nachjustierung sollte im Betrieb normalerweise nicht notwendig sein, sofern am Sensor bzw Düse nichts verändert wird.
G21 ;metric values G90 ;absolute positioning M82 ;set extruder to absolute mode M107 ;start with the fan off G28 X0 Y0 ;move X/Y to min endstops G28 Z0 ;move Z to min endstops G1 Z15.0 F9000 ;move the platform down 15mm G92 E0 ;zero the extruded length G1 F200 E3 ;extrude 3mm of feed stock G92 E0 ;zero the extruded length again G1 F9000 ; Put printing message on LCD screen M 117 Printing...... und drucken.
Re: Auto Bed Leveling Prusa i3 Hephestos 17. September 2016 13:04 |
Registrierungsdatum: 8 Jahre zuvor Beiträge: 1 |