Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Endstops reagieren falsch

geschrieben von phyber 
Endstops reagieren falsch
12. October 2019 11:05
Hallo, ich bin ganz neu hier und habe heute meinen Mendel fertiggestellt und stehen nun bei der Einstellungen vor einem riesen Rätsel, Als Firmware dient Marlin und rum Testen Repetier. Nun habe ich es immerhin geschafft dass sich alle Achsen bewegen und das auch in die richtige Richtung, aber meine Endstops reagieren nicht ganz so wie sie sollen. Fahre ich die X-Achse nach rechts und der Endstop wird ausgelösst fährt er weiter, lasse ich aber nach links fahren und betätigen den Endstop bleibt er stehen. Das ist bei der X und Y Achse so, bei Z funktioniert es. Wer kann mir dazu helfen?
Gruß Stephan
VDX
Re: Endstops reagieren falsch
12. October 2019 15:36
... du mußt für jede Achse die Homing-Position (MAX oder MIN), Richtung und die Polarität der Endschalter korrekt festlegen ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Endstops reagieren falsch
12. October 2019 19:18
Und wo genau steht das in dem Code bzw wie sieht das aus?
Re: Endstops reagieren falsch
12. October 2019 19:48
@Hallo phyber

darf ich fragen was für ein Board du verbaut hast, davon hängen auch die Endstops Settings ab.


//===========================================================================
//============================== Endstop Settings ===========================
//===========================================================================

// @section homing

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

// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
  // Disable ENDSTOPPULLUPS to set pullups individually
  //#define ENDSTOPPULLUP_XMAX
  //#define ENDSTOPPULLUP_YMAX
  //#define ENDSTOPPULLUP_ZMAX
  //#define ENDSTOPPULLUP_XMIN
  //#define ENDSTOPPULLUP_YMIN
  //#define ENDSTOPPULLUP_ZMIN
  //#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_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.


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


MFG Stefan


Mein erster grinning smiley Drucker ein Prusa Mendel i2 + RAMPS 1.4 & LCD 12864 Graphic Smart Controller,
P3Steel Mein P3Steel noch im bau
Marlin 2.0
Re: Endstops reagieren falsch
13. October 2019 02:40
Guten Morgen,
Sorry ganz vergessen.
Ramps 1.4 mit Mega 2560 R3 Board
Gruß Stephan
Re: Endstops reagieren falsch
13. October 2019 04:53
@Hallo Stephan

So musst du das beim Ramps einstellen.
// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
  // Disable ENDSTOPPULLUPS to set pullups individually
  //#define ENDSTOPPULLUP_XMAX
  //#define ENDSTOPPULLUP_YMAX
  //#define ENDSTOPPULLUP_ZMAX
  #define ENDSTOPPULLUP_XMIN
  #define ENDSTOPPULLUP_YMIN
  #define ENDSTOPPULLUP_ZMIN
  #define ENDSTOPPULLUP_ZMIN_PROBE
#endif

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


Eventuell musst du die Axel noch mal Inventieren
// 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
#define INVERT_E4_DIR false
#define INVERT_E5_DIR false

Mit M119 kannst du die Endstops über prüfen.


MFG Stefan

1-mal bearbeitet. Zuletzt am 13.10.19 04:56.


Mein erster grinning smiley Drucker ein Prusa Mendel i2 + RAMPS 1.4 & LCD 12864 Graphic Smart Controller,
P3Steel Mein P3Steel noch im bau
Marlin 2.0
Re: Endstops reagieren falsch
14. October 2019 06:20
Hallo, ich habe es genau so geändert und es bleibt alles gleich. mit m119 zeigt es bei allen drei an minyawning smileypen. Aber es muss ja nur bei Z auf min sein, bei den beiden anderen Achsen sind die Endstops ja bei max

1-mal bearbeitet. Zuletzt am 14.10.19 06:35.
VDX
Re: Endstops reagieren falsch
14. October 2019 06:37
... ist die Config evtl. in einem EEPROM gespeichert? -- dann mußt du das ggf. überschreiben ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Endstops reagieren falsch
14. October 2019 06:48
Die config ist schon richtig gespeichert aber wenn ich das richtig verstehe ist das hier so geschrieben dass die Endstops auf der min Position sind oder denke ich da jetzt falsch?
// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.
Re: Endstops reagieren falsch
14. October 2019 06:49
Hallo phyber
Also grundsätzlich reicht doch ein Endstop pro Achse. Du musst nur das Homing entsprechend einstellen.
Wenn du es aber durchziehen möchtest, poste doch einmal was bei dir steht wenn du M119 eingibst. Stefan hat das nicht einfach so geschrieben. Danach löst du die nicht funktionierenden Endstops aus und gibst nochmals das M119 ein. Wenn sich nix ändert: schlecht.


Gruass us dr Schwiiz
Hansjürg
Re: Endstops reagieren falsch
14. October 2019 07:02
Es ist nur ein Endstop an der Achse aber dieser reagiert auf die Falsche richtung, Ich fahre die Achse auf max und die Achse würde am Endstop weiter fahren. Fahre ich die Achse auch min und löse den Endstop per Hand aus, bleibt die Achse stehen. Die Endstops sind ja an der Max Position angebracht und nicht an der min.
Re: Endstops reagieren falsch
14. October 2019 07:28
Ok, jetzt bin ich etwas verwirrt. Wenn ich die Achse per manuell fahre funktionieren die Endstops nicht, Wenn ich aber die Achsen in Homeposition fahren lasse funktionieren die Endstops
Re: Endstops reagieren falsch
14. October 2019 08:44
Verstehe ich das richtig, du hast einen Eigenbau bei denen du die insgesamt 3 Endstops einmal an Min und zweimal an MAX angeschlossen hast?
Wenn ja warum?
Oder hast du 6 Endstops angeschlossen?
Re: Endstops reagieren falsch
14. October 2019 13:37
@phyber

Verstehe ich das richtig , dein X_Endstop Rechts und dein Y_Endstop ist Vorne.

Sollte es so sein dann musst du das so einstellen.
// @section homing

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


// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
  // Disable ENDSTOPPULLUPS to set pullups individually
  #define ENDSTOPPULLUP_XMAX
  #define ENDSTOPPULLUP_YMAX
  //#define ENDSTOPPULLUP_ZMAX
  //#define ENDSTOPPULLUP_XMIN
  //#define ENDSTOPPULLUP_YMIN
  #define ENDSTOPPULLUP_ZMIN
  #define ENDSTOPPULLUP_ZMIN_PROBE
#endif

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


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

Bitte darauf achten das die X und Y Endstops auch auf MAX stecken.

MFG Stefan


Mein erster grinning smiley Drucker ein Prusa Mendel i2 + RAMPS 1.4 & LCD 12864 Graphic Smart Controller,
P3Steel Mein P3Steel noch im bau
Marlin 2.0
Re: Endstops reagieren falsch
15. October 2019 07:27
Ja, hab ich weil es so in der Bauanleitung stand
Anhänge:
Öffnen | Download - image0.jpeg (674.2 KB)
Öffnen | Download - image1.jpeg (820.1 KB)
Re: Endstops reagieren falsch
15. October 2019 14:54
Hallo

Wenn das zweite Bild ( image1.jpeg ) dein Drucker von zeigt dann ist der Y_Endstop falsch konfiguriert und elektrisch falsch gesteckt , du musst in als MIN_Endstop Einstellen und stecken .


MFG Stefan


Mein erster grinning smiley Drucker ein Prusa Mendel i2 + RAMPS 1.4 & LCD 12864 Graphic Smart Controller,
P3Steel Mein P3Steel noch im bau
Marlin 2.0
Re: Endstops reagieren falsch
16. October 2019 08:44
Y ist der einzelne auf dem Bild, der hinten am Drucker sitzt (max). die beiden rechts am Drucker sind oben für die X-Achse max und der untere ist die Z-Achse auf min.
Re: Endstops reagieren falsch
16. October 2019 10:17
Micro3D hat recht das ist der MIN-Endstop der Y-Achse und nicht der max. Der gehört an Y-MIN angeschlossen und in der Firmware aktiviert.
Re: Endstops reagieren falsch
18. October 2019 04:41
Also sehe ich das richtig, wenn das Druckbett (Y-Achse)nach hinten fährt ist es min und wenn es nach vorne fährt max? Oder war meine Anleitung ganz falsch? Y-Achse ist Druckbett, X-Achse links rechts und Z-Achse rauf runter?

1-mal bearbeitet. Zuletzt am 18.10.19 04:45.
Re: Endstops reagieren falsch
19. October 2019 02:19
Lade dir mal einen Slicer z.B. Cura und schau mal wo die Nullpunkte(Min) sind
und nun zum Gedanklichen Fehler dabei:
Wenn du jetzt auf deinen Drucker so schaust das der MIn der X-Achse links ist, muß das Heizbett sich ja nach hinten bewegen damit der Nullpunkt (=Nozzleposition) an der richtigen Stelle ist. Sonst druckst du Spiegelverkehrt.
Re: Endstops reagieren falsch
11. November 2019 13:01
Ganz ist mein Problem immernoch nicht gelöst. Drucker druckt und Endstops funktionieren, aber der Drucker druckt Spiegelverkehrt. Also läuft die X-Achse falsch. Finde den Fehler nur nicht. Sobald ich etwas änder geht der Endstop nicht mehr
Re: Endstops reagieren falsch
12. November 2019 03:52
Wie hast du denn alles inzwischen eingestellt?
Kannst du das nochmal posten?
Software und Hardware seitig, nicht nur wo die Endstops am Gerät angebaut sind sondern auch wo sie auf dem Ramps angeschlossen sind.
Sowie ein Foto von der Homingposition.

Nach deinen bisherigen Angaben sollte inzwischen Y-MIN sein und X-MAX sein sowie entsprechend am Board angeschlossen und in der
Firmware eingestellt sein.
Und das EEprom wird bei jedem Versuch vorher auf Werkseinstellung resettet.
Re: Endstops reagieren falsch
13. November 2019 13:44
Habe jetzt gegen die Anleitung gehandelt und meinen Endstop der X-Achse verlegt, dementsprechend angepasst und werde es nun einmal versuchen
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen