Invert-Problem (Marlin) 27. January 2019 10:57 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 5 |
Quote
Code
#define INVERT_X_DIR true
#define INVERT_Y_DIR true
#define INVERT_Z_DIR true
Quote
Code
#define INVERT_X_DIR true
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true
Quote
Code
#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_MKS_GEN_L
#endif
......
// @section machine
#define COREXY
//#define COREXZ
//#define COREYZ
//#define COREYX
//#define COREZX
//#define COREZY
.....
// @section homing
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG
.....
/**
* Stepper Drivers
*
*/
#define X_DRIVER_TYPE TMC2208_STANDALONE
#define Y_DRIVER_TYPE TMC2208_STANDALONE
#define Z_DRIVER_TYPE TMC2208_STANDALONE
//#define X2_DRIVER_TYPE A4988
//#define Y2_DRIVER_TYPE A4988
//#define Z2_DRIVER_TYPE A4988
#define E0_DRIVER_TYPE TMC2208_STANDALONE
//#define E1_DRIVER_TYPE A4988
//#define E2_DRIVER_TYPE A4988
//#define E3_DRIVER_TYPE A4988
//#define E4_DRIVER_TYPE A4988
.....
// 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 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 // Keep only the 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 true
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true
// @section extruder
// For direct drive extruder v9 set to true, for geared extruder set to false.
#define INVERT_E0_DIR true
#define INVERT_E1_DIR true
#define INVERT_E2_DIR false
#define INVERT_E3_DIR false
#define INVERT_E4_DIR false
// @section homing
//#define NO_MOTION_BEFORE_HOMING
//#define UNKNOWN_Z_NO_RAISE
//#define Z_HOMING_HEIGHT 4
// 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
// @section machine
// The size of the print bed
#define X_BED_SIZE 340
#define Y_BED_SIZE 380
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 350
Re: Invert-Problem 27. January 2019 13:31 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 300 |
Re: Invert-Problem 27. January 2019 15:43 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 1.610 |
Re: Invert-Problem 27. January 2019 15:56 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 5 |
Re: Invert-Problem 27. January 2019 15:57 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 5 |
Re: Invert-Problem 27. January 2019 16:47 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 300 |
Dann nimmt man ein stück ParpierQuote
"drücken" wird schwierig bei optischen Endstops.....
Es kann ja sein das deine Endstops bei nicht ausgelösten zu stand TRIGGERED anzeigt, ich würde mal sagen das währe mal Blöd.Quote
Aber mal dumm gefragt. Was haben die Endstops damit zu tun? Ich kann aktuell kein Homing durchführen......
// 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.
Re: Invert-Problem 27. January 2019 17:05 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 1.610 |
// 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 Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.Herzl. Grüße
Re: Invert-Problem 27. January 2019 17:16 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 1.197 |
Re: Invert-Problem 28. January 2019 15:24 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 5 |
Re: Invert-Problem 28. January 2019 17:23 |
Registrierungsdatum: 6 Jahre zuvor Beiträge: 5 |
Re: Invert-Problem (Marlin) 28. January 2019 19:13 |
Registrierungsdatum: 9 Jahre zuvor Beiträge: 300 |
Das hätte ich wohl als nächstes gefragt ob dein X-Motor.Links und dein Y-Motor-Rechts an geschlossen hast.Quote
Sobald man die beiden Motoren korrekt anschließt - sprich den Min-Motor an X und den Max-Motor an Y geht alles wunderbar....