Welcome! Log In Create A New Profile

Advanced

Y axis crashing into endstop?

Posted by matrix4721 
Y axis crashing into endstop?
October 01, 2013 07:43PM
Hey everyone, having issues with my newly built i3, when i click home for the Y axis the bed moves in the direction of the endstop but doesnt stop when it hits the endstop, i can see that it has clicked the swtich but simply doesnt stop. My marlin settings as a follow:
// corse Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#ifndef ENDSTOPPULLUPS
// fine Enstop settings: Individual Pullups. will be ignord 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_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
//#define DISABLE_MAX_ENDSTOPS
#define INVERT_X_DIR false // 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 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 205
#define X_MIN_POS 0
#define Y_MAX_POS 205
#define Y_MIN_POS 0
#define Z_MAX_POS 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)

// The position of the homing switches
//#define MANUAL_HOME_POSITIONS // If defined, MANUAL_*_HOME_POS below will be used
//#define BED_CENTER_AT_0_0 // If defined, the center of the bed is at (X=0, Y=0)

//Manual homing switch locations:
#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 0
#define MANUAL_Z_HOME_POS 0

Here are the results using m119
(with the switch not pressed)
SENDING:M119
Reporting endstop status
x_min: open
x_max: open
y_min: open
y_max: open
z_min: open
z_max: open

(with the switch pressed)
SENDING:M119
Reporting endstop status
x_min: open
x_max: open
y_min: TRIGGERED
y_max: open
z_min: open
z_max: open

Any ideas what the problem is?
Thanks
Chris
Re: Y axis crashing into endstop?
October 02, 2013 05:54AM
Not to familiar with marlin or the i3 but noticed you have the Y home direction set at 1. Should this be -1?


_______________________________________
Waitaki 3D Printer
Re: Y axis crashing into endstop?
October 04, 2013 11:04AM
right, ive managed to get it working by changing the Y axis home direction to -1 and inverting the direction of the Y axis. i think it had something to do with min / max endstop. My only worry now is that since ive inverted the direction of the Y axis will it cause issues when printing with it being in reverse? also when i load pronterface and press + on the wire axis it moves away from the endstop? is this correct?
Re: Y axis crashing into endstop?
October 05, 2013 09:14PM
Its not actually in reverse - it has to be viewed from the hotend point of view, i.e. when you click "+", the hotend "appears" to move away from you in the negative direction relative to the build table.


_______________________________________
Waitaki 3D Printer
Re: Y axis crashing into endstop?
October 05, 2013 11:59PM
To put it another way, when you move the y axis in a positive direction, the bed should move forward. This essentially "moves" the head to the back of the print bed
Sorry, only registered users may post in this forum.

Click here to login