Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!Gelöst!!

geschrieben von Azurewrath2k 
Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!Gelöst!!
23. June 2017 10:27
Hallo an alle! =)

Hab mich eben angemeldet und brauch dringend Eure Hilfe.

Habe einen selbstgebauten Prusa i3 Reprap und will seit wochen Auto Bed Leveleing verwirklichen.

Mein Problem :Ich habe einen Induktivsensor lj12a3-4-z/bx mir gekauft und auch wie auf zb 3D-Proto verlötet mit 15k und 10k Wiederständen.
Der Sensor leuchtet auch und hat seine 5V wenn er nicht Triggert und 0V wenn ich ihn an Metall halte.
Laut Repetier Host Triggert er auch und zeigt Open wenn kein Metall da ist.

Ich denke ich habe ein Software Problem mit den Endstoppullups evtl. Denn wenn ich Home fährt x gegen Endstop,Y gegen endstop dann der Extruder in mitte Druckbett aber dann---> Z immer tiefer und tiefer bis in das Druckbett. Also kommt irgendwie das Signal nicht an das er den Sensor als Endstopp erkennt oder?
Habe schon alles ausprobiert auch nach der Anlöeitung von Youtube von Tom's Guide.

Hier ein ausschnitt aus meinem Marlin

// coarse Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED (ENDSTOPPULLUPS)
// fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN

#endif





// @section bedlevel
//#define ENABLE_AUTO_BED_LEVELING
#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
//#define DEBUG_LEVELING_FEATURE
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.

#if ENABLED(AUTO_BED_LEVELING_FEATURE)



Ps. das ist normal das es Auto Bed Leveling Feature heißt oder? weil das darüber das normale kann ich nicht Aktivieren dann kommt ein Fehler.


Hoffe das Ihr mir weiter helfen könnt das wär der hammer!

Grus Tim

1-mal bearbeitet. Zuletzt am 24.06.17 08:15.
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 10:43
// coarse Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED (ENDSTOPPULLUPS)
// fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN

#endif

Herzl. Grüße
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 11:35
@ Alter Bastler

wie meinst du das? so?

// coarse Endstop Settings
// #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED (ENDSTOPPULLUPS)
// fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN

sollte ich meine gesammte Configuration H mal posten?
da gibt es ja so viele sachen wie zb #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
usw viell ist da ja noch etwas falsch sad smiley
Also so wie ichs eben gepostet habe klappt es auch nicht.

Ich habe den Sensor angeschlossen,die Configs geändert und gehe dann an mein Display direkt am drucker und drücke Home, oder muss ich vorher etwas mit dem Offset machen oder sonst etwas?

gruß Tim

1-mal bearbeitet. Zuletzt am 23.06.17 11:37.
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 12:12
Beim ABL im Repetier FW muß erst einmel das ABL gemacht werden, damit der Endpunkt von Z bestimmt ist. Vielleicht die Logik vom Z umwechseln.


Liebe Grüße aus Kaltenkirchen.
Frithjof
Meine Seite
[www.facebook.com]
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 12:18
Er nutzt ja Marlin und nicht Repetier.
Und du meinst wohl nicht das ABL machen sondern den Z-Max Endstop anfahren damit Z-Max Length gespeichert ist. Danach folgt das ABL bei Repetier oder halt das MABL.


Hier mal ein Link, hoffe er hilft dir weiter den eventuellen Fehler zu finden: instructables.com - Marlin - ABL

2-mal bearbeitet. Zuletzt am 23.06.17 12:21.
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 12:25
Genau ich nutze Marlin und Slicer, habe mir nur Repetier Host runtergeladen weil ich sonst nirgens was gefunden habe um zb M119 befehl zu testen, ob der Sensor Triggert oder nicht.
Den Max Z Endstop? aber habe doch garkeinen mehr habe meinen Z Endstop Mechanisch ja weggebaut^^
okay danke ich werde mir den Link mal genau anschauen smiling smiley
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 12:39
Moin Tim,
löst denn der Sensor aus bevor er ans Bett kommt? Also geht die LED am Sensor an/aus bevor die Düse das Bett berührt?
Evtl. hilft es die Logik vom Endstop zu ändern
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
Also von false auf true oder andersrum.


Gruß
Siggi


Geeetech I3 Pro B 8mm Acryl - Mega 2560 - Ramps 1.4 - TMC2100 - MK42 - E3DV6-Clone 0,4 - SSR 522-1dd60-40 (A-Senco) - Marlin RC8Bugfix 26.12.2016 - Repetier Host - Windows 7 64 Bit
Vulcanus mit Linearschienen
Anycubic i3 Mega
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 12:46
Hey vielen dank ich habe nun mal probiert

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR 1

#define Z_HOME_DIR war vorher auf -1

nun hat er zwar voll in der Luft gehomet aber danach hat das ABL geklappt JUHUUUU =)) nun noch das Z-Offset einstellen dann sollte das klappen.

vielen dank an alle schonmal wenn alles funktioniert melde ich mich nochmal smiling smiley

gruß Tim


@ Siggi habe den Sensor immer mit einer Zange aktiviert also habe ihn noch garnicht am drucker befestigt bisher^^
habe nun alle auf TRUE stehen
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 13:41
Ps: weiß noch jemand was man machen muss wenn ich Home drücke fährt er X Home und Y Home aber Z bleibt er immer auf der letzten Position.und danach macht er sein Auto Bed Leveling in der Luft eben..
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 13:51
Du hast ja für Z keinen Endstop mehr. Der Sensor wird ja nur fürs leveln genommen. Also wirst du wenn einen Z-Max Endstop brauchen.
Man korrigiere mich falls ich falsch liege.
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:06
Ich glaube ich muss eher bei diesem Z Probe Pin sachen umstellen, irgendwie steht da was das man den Zmin Pin für Homing und Probing benutzen kann, verstehe nur noch nicht wie grinning smiley
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:08
Bei Marlin kannst du den Sensor als Z-Min nehmen..
So wie du den Endstop jetzt hast, hast du den als Z-Max definiert. -1 bedeutet hier gegen Min homen und 1 eben gegen Max homen

Edit: #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

1-mal bearbeitet. Zuletzt am 23.06.17 14:10.


Gruß
Siggi


Geeetech I3 Pro B 8mm Acryl - Mega 2560 - Ramps 1.4 - TMC2100 - MK42 - E3DV6-Clone 0,4 - SSR 522-1dd60-40 (A-Senco) - Marlin RC8Bugfix 26.12.2016 - Repetier Host - Windows 7 64 Bit
Vulcanus mit Linearschienen
Anycubic i3 Mega
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:12
Nein braucht er nicht. Homing passiert gegen den MIN-Endstop der gleichzeitig Probeing-Endstop ist. Das dürfte bei den meisten Prusa so verwendet werden.

#define Z_HOME_DIR 1
Bedeutet eigentlich, dass er gegen MAX-Endstop fahren soll. Das ist natürlich falsch und deshalb fährt er auch nach oben, statt nach unten. Der Sensor ist ja an MIN.

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
Zeigt an das der Probe auch den MIN-Endstop benutzt.

Mit
M119
Sollte der dann auch korrekt auslösen (TRIGGERED).

#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.
Anpassen, falls er verkehrt herum auslöst.


#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG
Gibt an welche Endstops verwendet werden sollen. Also auch hier ZMIN.

Wenn dann noch SAFE_HOMING korrekt konfiguriert ist, sollte er bei G28 auch korrekt homen. Und G29 funktioniert ja schon, hat nur eben gar nichts mit Homing zu tun.

Quote
Ethador
Du hast ja für Z keinen Endstop mehr. Der Sensor wird ja nur fürs leveln genommen. Also wirst du wenn einen Z-Max Endstop brauchen.
Man korrigiere mich falls ich falsch liege.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:21
Hey schonmal vielen dank @Pieps

was meinst du mit Z Safe Homing korrekt konfiguriert? muss man es nicht nur aktivieren?
also wenn ich wieder #define Z_HOME_DIR 1 reinmache bewegt sich garnichts,also Z bewegt sich beim Homen weder hoch noch runter
und wenn ich #define Z_HOME_DIR -1 mache fährt es ohne zu Stoppen nach unten

1-mal bearbeitet. Zuletzt am 23.06.17 14:22.
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:28
/**
 * Choose one of the options below to enable G29 Bed Leveling. The parameters
 * and behavior of G29 will change depending on your selection.
 *
 *  If using a Probe for Z Homing, enable Z_SAFE_HOMING also!
 *
...
*/

/ Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
//
// With this feature enabled:
//
// - Allow Z homing only after X and Y homing AND stepper drivers still enabled.
// - If stepper drivers time out, it will need X and Y homing again before Z homing.
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
// - Prevent Z homing when the Z probe is outside bed area.
#define Z_SAFE_HOMING

PS: Achso: Configuration.h

1-mal bearbeitet. Zuletzt am 23.06.17 14:29.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:38
Okay nun fährt er ca in die mitte vom Druckbett nach dem er X und Y gehomet hat und fährt nach unten OHNE zu STOPPEN wie vorher,auch wenn ich Metall an den Sensor halte (der ja beim ABL funktioniert) stopt das die Z Achse leider nicht.

das ich das #define ENDSTOPS_ONLY_FOR_HOMING // If defined the endstops will only be used for homing so habe ist ja Korrekt oder?

hier mal meine CFG

// coarse Endstop Settings
// #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED (ENDSTOPPULLUPS)
// fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN

#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.

//===========================================================================
//============================= Z Probe Options =============================
//===========================================================================

// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
//
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
// Example: To park the head outside the bed area when homing with G28.
//
// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
//
// For a servo-based Z probe, you must set up servo support below, including
// NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES.
//
// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
// - Use 5V for powered (usu. inductive) sensors.
// - Otherwise connect:
// - normally-closed switches to GND and D32.
// - normally-open switches to 5V and D32.
//
// Normally-closed switches are advised and are the default.
//
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
//
// WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework.
//
//#define Z_MIN_PROBE_ENDSTOP

//Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
// The Z_MIN_PIN will then be used for both Z-homing and probing.
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

// To use a probe you must enable one of the two options above!

// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
// :{0:'Low',1:'High'}
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0 // For all extruders

// Disables axis stepper immediately when it's not being used.
// WARNING: When motors turn off there is a chance of losing position accuracy!
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
// Warn on display about possibly reduced accuracy
//#define DISABLE_REDUCED_ACCURACY_WARNING

// @section extruder

#define DISABLE_E false // For all extruders
#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled

// @section machine

// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false

// @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_E2_DIR false
#define INVERT_E3_DIR false

// @section homing
//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
// Be sure you have this distance over your Z_MAX_POS in case.

// ENDSTOP SETTINGS:
// Sets 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 min_software_endstops false // If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.

// @section machine

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 195
#define Y_MAX_POS 195
#define Z_MAX_POS 195

//===========================================================================
//========================= Filament Runout Sensor ==========================
//===========================================================================
//#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament
// In RAMPS uses servo pin 2. Can be changed in pins file. For other boards pin definition should be made.
// It is assumed that when logic high = filament available
// when logic low = filament ran out
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
#define FILAMENT_RUNOUT_SCRIPT "M600"
#endif

//===========================================================================
//============================ Mesh Bed Leveling ============================
//===========================================================================

//#define MESH_BED_LEVELING // Enable mesh bed leveling.

#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X))
#define MESH_MIN_Y 10
#define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y))
#define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited.
#define MESH_NUM_Y_POINTS 3
#define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0.

//#define MANUAL_BED_LEVELING // Add display menu option for bed leveling.

#if ENABLED(MANUAL_BED_LEVELING)
#define MBL_Z_STEP 0.025 // Step size while manually probing Z axis.
#endif // MANUAL_BED_LEVELING

#endif // MESH_BED_LEVELING

//===========================================================================
//============================ Bed Auto Leveling ============================
//===========================================================================

// @section bedlevel
//#define ENABLE_AUTO_BED_LEVELING
#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
//#define DEBUG_LEVELING_FEATURE
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.

#if ENABLED(AUTO_BED_LEVELING_FEATURE)

// 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 collinear)
// You specify the XY coordinates of all 3 points.

// 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

#if ENABLED(AUTO_BED_LEVELING_GRID)

#define LEFT_PROBE_BED_POSITION 10
#define RIGHT_PROBE_BED_POSITION 170
#define FRONT_PROBE_BED_POSITION 20
#define BACK_PROBE_BED_POSITION 180

#define MIN_PROBE_EDGE 10 // The Z probe minimum 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 3

#else // !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

#endif // AUTO_BED_LEVELING_GRID

// Z Probe to nozzle (X,Y) offset, relative to (0, 0).
// X and Y offsets must be integers.
//
// In the following example the X and Y offsets are both positive:
// #define X_PROBE_OFFSET_FROM_EXTRUDER 10
// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
//
// +-- BACK ---+
// | |
// L | (+) P | R <-- probe (20,20)
// E | | I
// F | (-) N (+) | G <-- nozzle (10,10)
// T | | H
// | (-) | T
// | |
// O-- FRONT --+
// (0,0)
#define X_PROBE_OFFSET_FROM_EXTRUDER -20 // X offset: -left +right [of the nozzle]
#define Y_PROBE_OFFSET_FROM_EXTRUDER 10 // Y offset: -front +behind [the nozzle]
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1 // Z offset: -below +above [the nozzle]

#define XY_TRAVEL_SPEED 5000 // X and Y axis travel speed between probes, in mm/min.

#define Z_RAISE_BEFORE_PROBING 1 // How much the Z axis will be raised before traveling to the first probing point.
#define Z_RAISE_BETWEEN_PROBINGS 1 // How much the Z axis will be raised when traveling from between next probing points.
#define Z_RAISE_AFTER_PROBING 1 // How much the Z axis will be raised after the last probing point.

//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
// Useful to retract a deployable Z probe.

// Probes are sensors/switches that need to be activated before they can be used
// and deactivated after their use.
// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE

// A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER
// when the hardware endstops are active.
//#define FIX_MOUNTED_PROBE

// A Servo Probe can be defined in the servo section below.

// An Allen Key Probe is currently predefined only in the delta example configurations.

// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
//#define Z_PROBE_SLED
//#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.

// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment
// For example any setup that uses the nozzle itself as a probe.
#define MECHANICAL_PROBE

// If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,
// it is highly recommended you also enable Z_SAFE_HOMING below!

#endif // AUTO_BED_LEVELING_FEATURE


// @section homing

// 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:
// For deltabots this means top and center of the Cartesian print volume.
#if ENABLED(MANUAL_HOME_POSITIONS)
#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 0
#define MANUAL_Z_HOME_POS 0
//#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
#endif

// Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
//
// With this feature enabled:
//
// - Allow Z homing only after X and Y homing AND stepper drivers still enabled.
// - If stepper drivers time out, it will need X and Y homing again before Z homing.
// - Position the Z probe in a defined XY point before Z Homing when homing all axes (G28).
// - Prevent Z homing when the Z probe is outside bed area.
#define Z_SAFE_HOMING

#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28).
#endif

2-mal bearbeitet. Zuletzt am 23.06.17 14:43.
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:54
Mach mal bitte ein M119 mit und ohne auslösen des Sensors und poste was er dabei ausgibt.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 14:56
#define ENDSTOPS_ONLY_FOR_HOMING
Ist korrekt und besagt, dass er nicht anhalten soll wenn der Endstop später auslöst. Was ja sein wird, wenn du den ersten Layer druckst.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 15:02
ohne auslösen

20:59:02.092 : Begin file list
20:59:02.092 : End file list
20:59:02.123 : echogrinning smileyEBUG:INFO,ERRORS
20:59:02.123 : echo:Active Extruder: 0
20:59:03.591 : Reporting endstop status
20:59:03.591 : x_min: open
20:59:03.591 : y_min: open
20:59:03.591 : z_min: open


mit auslösen

21:00:52.320 : echogrinning smileyEBUG:INFO,ERRORS
21:00:52.320 : echo:Active Extruder: 0
21:00:55.334 : Reporting endstop status
21:00:55.334 : x_min: open
21:00:55.334 : y_min: open
21:00:55.334 : z_min: TRIGGERED


wie gesagt wenn ich #define Z_HOME_DIR auf 1 mache stats -1 bleibt er einfach stehen beim Homen aber bekommt einen Nullpunkt und danach macht er das Autobed Leveling das klappt. nur fährt er dann nicht nach unten zum Homen. und wenn ich #define Z_HOME_DIR -1 mache fährt er ohne zu Stoppen nach unten ins nirgendwo grinning smiley
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 15:21
Mhh... eigentlich dreht er beim HOME_DIR nur die Richtung. Lediglich den Teil habe ich in deiner Config nicht gefunden:
// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 15:29
// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG

// coarse Endstop Settings
// #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

habe ich genau wie du...
oh man das gibts doch nicht. so nah drann am Ziel
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 15:43
Er fährt aber vorher in die Mitte? Oder direkt nachdem Y gehomed ist? Er sollte eigentlich in die Mitte vom Bett fahren. Runter, danach etwas hoch und langsam wieder runter. Eben wie beim normalen homen nur in Bettmitte bzw. über dem Bett

PS: Hast du ja schon im ersten Post beantwortet.

Ich habe nur noch
/**
 * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
 *   (e.g., an inductive probe or a nozzle-based probe-switch.)
 */
#define FIX_MOUNTED_PROBE

aber das hat glaube ich nichts mit dem Homen zu tun.

1-mal bearbeitet. Zuletzt am 23.06.17 15:45.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 15:45
Vielleicht ist das der Fehler bei dir:
//#define ENDSTOPPULLUP_ZMIN


Gruß
Siggi


Geeetech I3 Pro B 8mm Acryl - Mega 2560 - Ramps 1.4 - TMC2100 - MK42 - E3DV6-Clone 0,4 - SSR 522-1dd60-40 (A-Senco) - Marlin RC8Bugfix 26.12.2016 - Repetier Host - Windows 7 64 Bit
Vulcanus mit Linearschienen
Anycubic i3 Mega
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 15:51
@ Pieps
ja er Homet X dann Y und dann fährt er in die Mitte und dann nach Unten aber ohne zu stoppen

@ Siggi
hab ich probiert klappt leieder auch nicht.Laut jeder Online Anleitung für ABL soll man das auch machen da sonsz der Zmin nicht blickt das es ein Optischer Sensort ist und kein Mechanischer.

mh... naja viell fällt jemanden noch etwas auf die Tage ich hoffe weiterhin auf eure Hilfe grinning smiley
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 16:09
Quote
Azurewrath2k
@ Siggi
hab ich probiert klappt leieder auch nicht.Laut jeder Online Anleitung für ABL soll man das auch machen da sonsz der Zmin nicht blickt das es ein Optischer Sensort ist und kein Mechanischer.

mh... naja viell fällt jemanden noch etwas auf die Tage ich hoffe weiterhin auf eure Hilfe grinning smiley
Du hast einen NPN - Transistor dort drin. (Ich habe extra einen PNP genommen, weil ich das nicht ganz kapiert habe, warum die Beschattung so funktionieren soll).

Fridi hat es hier erklärt. Er schaltet gegen 0V. Weshalb lt. Schaltbild auch eigentlich gegen 12V der Verbraucher liegt. Mit Pullup sollte hier richtig sein.

Trotzdem. Es funktioniert ja - nur eben nicht beim Herunterfahren. Das ist komisch. Eigentlich sollte er bei HOME_DIR 1 einfach anhalten. Wenn du beim Hochfahren den Min-Endstop auslöst.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 16:12
// coarse Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
Der sollte aber einkommentiert sein, wenn du Pullups definierst.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 16:56
Hmmh, dann sollte doch eigentlich der Anschluß ohne Spannungsteiler richtig sein.
Ich finde es ja besser wenn ein Optokoppler benutzt wird smiling smiley

Noch ein Edit: Wieviel Volt liegen denn an im (un)getriggerten Zustand?

2-mal bearbeitet. Zuletzt am 23.06.17 16:59.


Gruß
Siggi


Geeetech I3 Pro B 8mm Acryl - Mega 2560 - Ramps 1.4 - TMC2100 - MK42 - E3DV6-Clone 0,4 - SSR 522-1dd60-40 (A-Senco) - Marlin RC8Bugfix 26.12.2016 - Repetier Host - Windows 7 64 Bit
Vulcanus mit Linearschienen
Anycubic i3 Mega
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 17:01
Ich habe auf beiden Druckern ohne Optokoppler angeschlossen (aber PNP). Der Optokoppler wäre auch für einen NPN falsch geschalten (LED nach12V wäre richtig)

Quote
siggi60
Hmmh, dann sollte doch eigentlich der Anschluß ohne Spannungsteiler richtig sein.
Ich finde es ja besser wenn ein Optokoppler benutzt wird smiling smiley

Noch ein Edit: Wieviel Volt liegen denn an im (un)getriggerten Zustand?


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 17:04
Ich meinte jetzt wegen Spannungsteiler. Denen traue ich nicht, auch wenn die sich schon öfters mal bewährt habensmiling smiley


Gruß
Siggi


Geeetech I3 Pro B 8mm Acryl - Mega 2560 - Ramps 1.4 - TMC2100 - MK42 - E3DV6-Clone 0,4 - SSR 522-1dd60-40 (A-Senco) - Marlin RC8Bugfix 26.12.2016 - Repetier Host - Windows 7 64 Bit
Vulcanus mit Linearschienen
Anycubic i3 Mega
Re: Auto Bed Leveling Prusa i3 Rep Rap Hilfe!!
23. June 2017 17:08
Der dürfte gar nicht notwendig sein. Die Diode im Sensor (siehe Link Fridi) verhindert eigentlich einen Stromfluß von 12V nach SIG. Somit wäre es ein Schalter nach GND und im Triggered Fall OPEN.
Quote
siggi60
Ich meinte jetzt wegen Spannungsteiler. Denen traue ich nicht, auch wenn die sich schon öfters mal bewährt habensmiling smiley


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen