Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Spiegelverkehrter Druck

geschrieben von Wollez 
Spiegelverkehrter Druck
19. July 2014 06:21
Hallo zusammen,

bevor man mich jetzt zerpflückt, ich soll doch die Suche verwenden, dass habe ich gemacht! Dadurch wurde ich gerade noch mehr verwirrt.

Mein Prusa druckt auf der X-Achse spielgelverkehrt. Um so mehr ich an der Firmware (Marin) versuche das anzupassen, um so mehr klappt es nicht mehr.

Den "Y" Motor und "Min" Endschalter habe ich vorne und den X Motor und "Min" Endschalter habe ich links montiert.


(Nicht auf den Kabelsalat achten! Wird noch alles sauber verlegt cool smiley )

//===========================================================================
//=============================Mechanical Settings===========================
//===========================================================================

// Uncomment the following line to enable CoreXY kinematics
// #define COREXY

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

#ifndef 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
#endif

#ifdef ENDSTOPPULLUPS
  #define ENDSTOPPULLUP_XMAX
  #define ENDSTOPPULLUP_YMAX
  #define ENDSTOPPULLUP_ZMAX
  #define ENDSTOPPULLUP_XMIN
  #define ENDSTOPPULLUP_YMIN
  #define ENDSTOPPULLUP_ZMIN
#endif

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_MIN_ENDSTOP_INVERTING = false; //true; // set to true to invert the logic of the endstop.
const bool Y_MIN_ENDSTOP_INVERTING = false; //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 = false; // set to true to invert the logic of the endstop.
//#define DISABLE_MAX_ENDSTOPS
//#define DISABLE_MIN_ENDSTOPS

// Disable max endstops for compatibility with endstop checking routine
#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
  #define DISABLE_MAX_ENDSTOPS
#endif

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#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 when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false // For all extruders
#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled

#define INVERT_X_DIR true    // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR true //false    // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR true     // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR true //false   // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false

// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

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

// Travel limits after homing
#define X_MAX_POS 200 //205
#define X_MIN_POS 0
#define Y_MAX_POS 300 //205
#define Y_MIN_POS 0
#define Z_MAX_POS 162 //200
#define Z_MIN_POS 0

#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)

Kann mir bitte jemand sagen was ich umstellen muß?


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
Re: Spiegelverkehrter Druck
19. July 2014 06:26
Re: Spiegelverkehrter Druck
19. July 2014 06:46
Quote
jsturm
[forums.reprap.org]
[forums.reprap.org]
[forums.reprap.org]

Diese Beiträge habe ich vorher schon gelesen.

Zum ersten Beitrag:
Wenn ich die Motoranschlüsse drehe, läuft er wirklich in die andere Richtung, doch das mit den Endstop klappt dann nicht.

Zum zweiten Beitrag:
Auch dies habe ich versucht, doch dann hat dass mit den Endstopp gar nicht mehr geklapp.

Zum dritten Betrag:
Tolle Hilfe sad smiley

Wenn ich Repetier Host offen habe und auf X0 und Y0 fahre, sollte doch das Bett so positoniert sein, dass der Extruder links vorne (von mir aus gesehen) ist, oder?
Um so mehr ich daran rummache, um so mehr blick ich nicht mehr durch. Sorry, bin kein Mechaniker confused smiley


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
Re: Spiegelverkehrter Druck
19. July 2014 06:52
Das mit dem Endstop wird in der FW doch hier eingestellt:

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_MIN_ENDSTOP_INVERTING = false; //true; // set to true to invert the logic of the endstop.
const bool Y_MIN_ENDSTOP_INVERTING = false; //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 = false; // set to true to invert the logic of the endstop.

und die Motorrichtung doch hier:
#define INVERT_X_DIR true    // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR true     // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR true //false   // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false

oder?

1-mal bearbeitet. Zuletzt am 19.07.14 06:54.


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
Re: Spiegelverkehrter Druck
19. July 2014 07:01
Der Y-Motor ist andersherum eingebaut, als bei "Standard" I3. Daher wird der Y-Motor sich anders verhalten, als geplant


Achim
Re: Spiegelverkehrter Druck
19. July 2014 09:34
Sodele, jetzt habe ich den Motor der Y-Achse und den Endstop umgebaut. Die Einstellungen in der FW auf die Standards gesetzt und siehe da, es klappt jetzt.

Ein Problem habe ich jedoch noch. Die Endstops und der Sensor sind wie auf dem Bild angeschlossen:



Das heißt der Endschalter (Min) für die Z-Achse auf den Z-Min Anschluß und den Sensor für Probe auf den Z-Max.
Beim Z-Home reagiert er aber auf den Probe Sensor und nicht auf den Z-Endschalter.

Was habe ich da im Code schon wieder falsch gemacht?

//===========================================================================
//=============================Mechanical Settings===========================
//===========================================================================

// Uncomment the following line to enable CoreXY kinematics
// #define COREXY

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

#ifndef 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
#endif

#ifdef ENDSTOPPULLUPS
  #define ENDSTOPPULLUP_XMAX
  #define ENDSTOPPULLUP_YMAX
  #define ENDSTOPPULLUP_ZMAX
  #define ENDSTOPPULLUP_XMIN
  #define ENDSTOPPULLUP_YMIN
  #define ENDSTOPPULLUP_ZMIN
#endif

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_MIN_ENDSTOP_INVERTING = false; //true; // set to true to invert the logic of the endstop.
const bool Y_MIN_ENDSTOP_INVERTING = false; //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; //false; // set to true to invert the logic of the endstop.
//#define DISABLE_MAX_ENDSTOPS
//#define DISABLE_MIN_ENDSTOPS

// Disable max endstops for compatibility with endstop checking routine
#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
  #define DISABLE_MAX_ENDSTOPS
#endif

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#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 when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false // For all extruders
#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled

#define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR true    // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR false     // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false

// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#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.

// Travel limits after homing
#define X_MAX_POS 200 //205
#define X_MIN_POS 0
#define Y_MAX_POS 300 //205
#define Y_MIN_POS 0
#define Z_MAX_POS 162 //200
#define Z_MIN_POS 0

#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
//============================= Bed Auto Leveling ===========================

#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)

#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 5
    #define RIGHT_PROBE_BED_POSITION 200
    #define BACK_PROBE_BED_POSITION 190
    #define FRONT_PROBE_BED_POSITION 29

     // 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 10
      #define ABL_PROBE_PT_1_Y 5
      #define ABL_PROBE_PT_2_X 190
      #define ABL_PROBE_PT_2_Y 10
      #define ABL_PROBE_PT_3_X 100
      #define ABL_PROBE_PT_3_Y 160

  #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 0
  #define Y_PROBE_OFFSET_FROM_EXTRUDER -30
  #define Z_PROBE_OFFSET_FROM_EXTRUDER -0.65

  #define Z_RAISE_BEFORE_HOMING 5       // (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 3000         // X and Y axis travel speed between probes, in mm/min

  #define Z_RAISE_BEFORE_PROBING 5    //How much the extruder will be raised before traveling to the first probing point.
  #define Z_RAISE_BETWEEN_PROBINGS 5  //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


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
Re: Spiegelverkehrter Druck
19. July 2014 10:15
Wenn ich das richtig sehe, ist da ein Näherungsschalter dran. Wie ist der angeschlossen?
Der hängt an Z-Min ( siehe ->Detail)
Also nach deinem Schema:
Sensor = Z-Min
Schalter = Z-Max -> Hast du wirklich einen Endstopp, der die Fahrt nach oben begrenzt?


Achim
Re: Spiegelverkehrter Druck
19. July 2014 10:40
Hallo,

ich habe einen Sensor. Der hängt an Z-Min und ich habe eine "Min" Endschalter, der hängt an Z-Max.
Einen Z-Max habe ich nicht.

Mein Problem ist wohl (Mal den "Min Endschalter" nicht beachten), dass mein Sensor auserhalb des Bett liegt. Deshalb kann ich auch kein Z-Home machen.
Das müßte man doch irgendwo einstellen können, oder?


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
Re: Spiegelverkehrter Druck
19. July 2014 10:46
Du willst also 2 Z-Min Schalter einbauen? Ob das Sinn macht?
Die Sensor Meßpunkte kannst du doch in der FW unter "set the rectangle in which to probe" einstellen. Dann bist du immer auf dem Druckbett.


Achim
Re: Spiegelverkehrter Druck
19. July 2014 10:59
Ich hatte das auch nie so richtig verstanden. Irgendwo hatte ich das gelesen, doch den lasse ich mal jetzt auser acht winking smiley

Wenn ich das unter "set the rectangle in which to probe" einstelle, was ich auch auch gemacht habe, fährt er nicht auf Z-Home, wenn X und Y auf Home sind. Dann ist ja der Sensor "out of bed".


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
Re: Spiegelverkehrter Druck
19. July 2014 11:15
das hatten wir doch schon am telefon smiling smiley

zuhören und mitdenken smiling smiley

du musst jetzt deinen sensor mit G1 Y30 z.B. reinfahren damit er im Bett liegt
dann geht G28 Z0 auch

Dein Startcode sieht da so aus

G28 X0
G28 Y0
G1 Y30
G28 Z0
G29


Commercium ----> Ramps, RADDS, e3d-Hotends und Filament kauft man hier.. und neu auch Schrauben,Muttern und Unterlegscheiben
Probleme mit dem e3d und bei mir gekauft? Schickt es ein, ich teste es für euch ob es wirklich defekt ist smiling smiley
Print Quality Troubleshooting Guide hier lang..
Re: Spiegelverkehrter Druck
19. July 2014 11:46
Quote
Le-Seaw
das hatten wir doch schon am telefon smiling smiley

zuhören und mitdenken smiling smiley

du musst jetzt deinen sensor mit G1 Y30 z.B. reinfahren damit er im Bett liegt
dann geht G28 Z0 auch

Dein Startcode sieht da so aus

G28 X0
G28 Y0
G1 Y30
G28 Z0
G29

Hallo Axel,

das war mir so weit schon auch klar winking smiley hab ich jetzt ja auch gemacht. Dies betrifft jedoch nur den G-Code, der vom Slicer erzeugt wird. Bei der manuellen Steuerung (war ich bisher so gewohnt) macht er das nicht, wenn man Z-Home drückt. Da muss ich jetzt immer dran denken, dass ich erst Y30 fahre.

Kann man das evtl. bei Repetier Host eingeben? Ich hab da nix gefunden.

Jetzt macht er auf jedenfall, was er soll. Der Druck wird gerade getestet. Wenn dieser jetzt richtig rum ist, bin ich ja zufrieden smileys with beer


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
Re: Spiegelverkehrter Druck
19. July 2014 12:28
Er homt dann nicht egal ob manuell oder automatisch
Jedenfalls in Marlin und bei mir


Commercium ----> Ramps, RADDS, e3d-Hotends und Filament kauft man hier.. und neu auch Schrauben,Muttern und Unterlegscheiben
Probleme mit dem e3d und bei mir gekauft? Schickt es ein, ich teste es für euch ob es wirklich defekt ist smiling smiley
Print Quality Troubleshooting Guide hier lang..
Re: Spiegelverkehrter Druck
19. July 2014 12:59
Quote
Le-Seaw
Er homt dann nicht egal ob manuell oder automatisch
Jedenfalls in Marlin und bei mir

Ja, bei mir jetzt auch spinning smiley sticking its tongue out

Jetzt druckt er auch nicht mehr spiegelverkehrt thumbs up


Gruß Wolfgang

PRUSA i3 | RAMPS 1.4 | Repetier-Host V0.95F | Marlin | E3D-v5 All metal HotEnd - 3mm Direct Extrusion | Heizmatte 230V von Stud54 mit SSR und FI | Aluminium Dauerdruckplatte von Stud54
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen