Welcome! Log In Create A New Profile

Advanced

Endstops working but doesn't stop the carriage/ can't set home position

Posted by AmonTheGod 
Endstops working but doesn't stop the carriage/ can't set home position
April 29, 2018 11:36AM
Hi everyone, just finished building my first 3d printer (cartezian) and now I'm calibrating it to start print something. I have endstops on X and Y axes and they work fine, but they do not stop the hotend carriage when homing, it just crashes into the endstop and continues to move.
I tried setting the 0,0 center bed manually with G92, M206, M428 with EEPROM on, M500/M501/M502 over and over and over again but it doesn't remember the position. tried make the left down corner home position doesn't want that either, can someone tell me what am I doing wrong?
Attachments:
open | download - Configuration.h (64.8 KB)
Re: Endstops working but doesn't stop the carriage/ can't set home position
April 29, 2018 10:51PM
Unless your running a Mendel90 on default firmware 0,0 should be front left or back right.

You say you have a Cartesian but have #define COREXY

your config says
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR 1

But you have not told us where on the machine your endstops are.

If for some really strange reason you are determined to put 0,0 in the centre
you need to change the following.

#define X_MIN_POS -97.5
#define Y_MIN_POS -97.5
#define Z_MIN_POS 0
#define X_MAX_POS 97.5
#define Y_MAX_POS 97.5
#define Z_MAX_POS 142.5

Also check with M119 that your endstops are working. Just seeing a LED go on or off is not enough.
Re: Endstops working but doesn't stop the carriage/ can't set home position
April 30, 2018 01:24AM
The axes are positioned in form of H, 2 endstops at both ends of the left line of the H and 2 endstops at both ends of the horizontal line of the H.
The endstops aren't with the built in circuits with leds, they are home-made 2 wires NC endstops. All 4 report open when not triggered and triggered when triggered (using the M119), but i do not receive any message that are triggered on the command window ( i did receive echo: endstop hit like 2 months ago when the printer was in the same state).
I'm using OctoPi and Ramps1.4/ArduinoMega.

Tried every combination of
#define X_HOME_DIR -1/1
#define Y_HOME_DIR -1/1
#define Z_HOME_DIR 1/-1
to home in each corner, but the endstops are triggered(M119) but don't stop motors from movement when they reach them.
Also tried to home in the center with
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 200
#define Y_MAX_POS 200
#define Z_MAX_POS 142.5
with same result, endstops invisible for motors.

Xmax endstop
l
l-Ymin endstop------HOTEND------Ymax endstop-l
l
Xmin endstop

Edited 6 time(s). Last edit at 04/30/2018 03:03AM by AmonTheGod.
Re: Endstops working but doesn't stop the carriage/ can't set home position
April 30, 2018 01:56PM
if its a standard corexy

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

X endstop should be on left of left/right gantry
Y enstop should be at the front of front/back gantry
Z endstop should be at top of movement of up/down gantry

This defines 0,0,0 as front,left and up position

so the following is correct
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0

If a axis moves wrong way when homing you need to fix it elsewhere.. (swapping X and Y motors on the controller and/or inverting axis in firmware)

Most common isses that stop endstops working is simply having the wrong endstops triggered, ie having Y endstop plugged into X or the max plug
So double check that X-min is triggered when X endstop at left is activated and Y-min endstop is triggered when it is activated (just use M119, not actual homing)

Remove the raspberry pi for now and use pronterface on a pc... making things more complicated before your up and running is just confusing.
Sorry, only registered users may post in this forum.

Click here to login