Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!

geschrieben von TheRebell 
Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 06:03
Hallo Forum-Leute!

hab ein Problem mit meinem selbstgebauten Drucker RepRap!
Meine Zusammensetzung:
- Atmega Ramps 1.4
- Marlin 1.1.0-RC8
- Arduino die 1.8.1
- Endstops mechanisch

Folgendes Problem stellt sich dar:

Meine Endstops stoppen nicht wenn Druckkopf gegenfährt, rotes Led leuchtet und beim Code M119 "triggered"!
Wenn ich jetzt in die andere Richtung fahren möchte bewegt er sich nicht!
Stoppt die falsche Seite.
Wie kann ich das lösen in der Marlin Config?


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

// 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 endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
//#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 false // set to true to invert the logic of the endstop.

// Enable this feature if all enabled endstop pins are interrupt-capable.
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
//#define ENDSTOP_INTERRUPTS_FEATURE

Bitte um Mithilfe!
Herzlichen Dank!!!
Lg
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 06:24
Du solltest uns auch noch erklären wo du die Endstops angebracht hast.

Meine erste Vermutung ist, dass du MIN und MAX vertauscht hast.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 07:41
Danke, für die schnelle Nachricht!
Hier anbei ein Foto, wo sich die Endstops befinden...
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 07:45
sorry hier mit Bild!
Anhänge:
Öffnen | Download - 3D Drucker Endstops.jpg (450.3 KB)
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 08:57
Wenn ich es richtig sehe, hast du die Endstops für X links, für Y hinten (vermutlich) und Z unten. Das wäre dann an X=0, Y=0, Z=0.

Du hast angegeben mit deinem Codeschnipsel, dass du die Endstops jeweils an den Min-Steckern stecken sollen. Da du ja schreibst, dass mit M119 dann auch das Auslösen sichtbar ist, ist das soweit erst mal ok.

Es fehlen aber noch ein paar Parameter. Homedir zeigt an in welche Richtung das Homing laufen soll. Da du immer MIN-Endstops hast immer -1 angeben.

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

Mit (Console)
G28 X
G28 Y
G28 Z
kannst du jeweils einzeln Testen, ob die Fahrtrichtung beim Homen stimmt. Übrigens nur beim Homen wird der Nullpunkt neu gesetzt.

Nun kann es sein, dass deine Motoren falsch herum laufen. Mach den Drucker aus und fahre per Hand alle Achsen in etwa kurz vor dem Endstop. Nun Einschalten. Nach dem Einschalten wird automatisch 0,0,0 angenommen. Jetzt fahre in Richtung "+". Fährt er gegen den Endstop, kannst du entweder den Motorstecker am Board drehen oder die Richtung in der Configuration.h umändern.

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

1-mal bearbeitet. Zuletzt am 02.03.17 08:59.


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 09:59
Also bei mir steht das Homing bei x, y und z schon auf -1.
Ist der Homing 0.0.0 entgegengesetzt?

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

1-mal bearbeitet. Zuletzt am 02.03.17 10:02.
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 10:15
Nein 0,0,0 entspricht ja alles MIN. Soweit also richtig alles.

Quote
TheRebell
Also bei mir steht das Homing bei x, y und z schon auf -1.
Ist der Homing 0.0.0 entgegengesetzt?

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


Piepiep (CoreXY) 290x300x205, ArduinoDUE, RADDS, TMC2100, Z-Riemenantrieb, Raspi3
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 10:51
und diese sind auch so richtig?

#define min_software_endstops true // 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.
Re: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
02. March 2017 11:14
Invertiere mal den bzw. die Endstops in diesem Bereich
// 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 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 true // 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 endstop.

Nach dem erneuten hochladen sollte es dann funktionieren.

Gruß
Siggi

P.S. Die Software Endstops sollen nur verhindern dass du in den Minusbereich fährst bzw über den Bereich hinaus.


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: Endstop stoppt nicht trotz "triggered", jedoch stoppt zur anderen Seite!
03. March 2017 03:50
Ja sind richtig. Hier wird anhand des Min-Endstops über den MAX-Y und MAX-Y per Software berechnet wo ende ist. So fährt er auch auf der anderen Seite nicht über das Ende hinaus.

Quote
TheRebell
und diese sind auch so richtig?

#define min_software_endstops true // 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.


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

Klicke hier, um Dich einzuloggen