Problem with Z axis after print starts
Hi, I'm new here. I need help calibrating my Z axis. I tried everything but with no results. Clicking "Start Print" in Repetier homes my axis succesfully but after that Z axis goes all the way up until it starts grinding upper wall of printer. I tried using z offset in slic3r and Marlin but with no results.
Here are my configuration files:
/*----------------ENSTOP/PROBE----------------*/
Here are my configuration files:
/*----------------ENSTOP/PROBE----------------*/
#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
#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 true // 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.
/*----------------MOVEMENT----------------*/#define DEFAULT_AXIS_STEPS_PER_UNIT { 200, 80, 800, 100}
#define DEFAULT_MAX_FEEDRATE { 50, 50, 2, 10 }
#define DEFAULT_MAX_ACCELERATION { 100, 100, 25, 1000 }
#define DISABLE_E false // For all extruders
#define DISABLE_INACTIVE_EXTRUDER true // Keep only the active extruder enabled.
/*----------------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 false
// 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
/*----------------HOMING----------------*/
//#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed
//#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.
//#define MANUAL_X_HOME_POS 0
//#define MANUAL_Y_HOME_POS 0
//#define MANUAL_Z_HOME_POS 150
//#define Z_HOMING_HEIGHT -2 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define X_BED_SIZE 150
#define Y_BED_SIZE 150
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 150
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 0
Comments
What printer do you have ?
Where is the Z endstop located, top or bottom ?
Do you have a Z probe fitted ?
At the moment you have both min and max endstops configured,
Z_MIN_POS 150 this should be 0
Z_MAX_POS 0 this should be 150
Oh, BTW I'm using Marlin 1.1.9. with diy printrbot inspired printer.