Welcome! Log In Create A New Profile

Advanced

endstop dissapears

Posted by Pekkie85 
endstop dissapears
January 12, 2015 10:48AM
i have an x min an y min and an z max endstop
they are as such defined in the firmware;
#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
they are mechanical, so endstop inversings are on false
DisableMax/Min endstops is undefined

and here comes the riddle;

// 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

when i define Z @ -1(min), it shows up in Pronterface with the m119 check endstops command as triggered, only, it says; Zmin triggerred.
-1= min pos, so i tell the firmware its at the other side; @1.
as defined above.
and my Z endstop is gone.

so the prob is that i can only define a Zmin endstop.
anyone know why?
Re: endstop dissapears
January 13, 2015 05:25AM
did you move your z endstop onto the zmax endstop connector?
Re: endstop dissapears
January 13, 2015 05:32PM
board has -stop connectors, no min- max connectors...
so firmware should do that.
Re: endstop dissapears
January 18, 2015 06:26AM
what board?

I suspect the board has max endstop pins set to -1, ie diabled.

You may need to swap pin definition between z min endstop and z max endstop making z min -1 and z max what ever value z min had.
Re: endstop dissapears
January 22, 2015 07:34PM
i solved it, but don't get it.
all Max endstops were gone if defined, they didnt show up upon testing. min stops were ok.
i had to uncomment
// Disable max endstops for compatibility with endstop checking routine
//#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
// #define DISABLE_MAX_ENDSTOPS
//#endif
despite the fact that
//#define DISABLE_MAX_ENDSTOPS
//#define DISABLE_MIN_ENDSTOPS
was uncommented.
i now have all my endstops as they should be.
but.
when starting the printer up
i have to quickly command 3diffrent directions after each other,
otherwise he goes with the first command without stopping, even ignoring his endstop for a couple slips.
it seems there is indeed some incompatibility with core xy and endstops, but i cannot find why anywhere.
and if i cannot locate the problem, its hard to try and fix it..
Sorry, only registered users may post in this forum.

Click here to login