I configured my corexy in a correct orientation and moving direction. But now is about homing direction problem.
For some reason, I want to set my homing direction for x to be x-max. so all my homing position will be x-max y-min z-min.
I change my x homing direction to max
// 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
But marlin disable max-endstop once you choose corexy mechanism. The following is where it disable the max endstop:
// Disable max endstops for compatibility with endstop checking routine
#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
#define DISABLE_MAX_ENDSTOPS
#endif
So if I choose corexy, it will just disable the max endstop.
in order to use x-max for homing, I have to enable max endstop, I comment the disable statement
#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
//#define DISABLE_MAX_ENDSTOPS
#endif
So now max switch is working. When I use M119 on printrun, all max and min endstop works fine. But when I'm homing, the x-axis never hit the endstop ( it just stay there and skipped homing x-axis)
I checked is not about circuit problem or switch logic. I tried different switch logic and M119 shows the endstop is working. It doesn't matter if the switch is triggered.
So after I home the printer, y go to 0, but x stay where it is before homing, not moving at all. But the screen shows the x position is 205 (x-max possition) and it does move in the correct direction when I move the x-axis.
So here is the conclusion of the problem: I enable the max switch but it doesn't work. No matter if the max switch is triggered or not, the printer just consider it is triggered and skip the homing process of that axis. After homing, The axis that didn't move but it shows it is in the max position.
I believe it is a solvable problem. It should be able to solve by correcting the firmware. Does anyone did this (using max switch for corexy) before or has any clue?
Thanks
For some reason, I want to set my homing direction for x to be x-max. so all my homing position will be x-max y-min z-min.
I change my x homing direction to max
// 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
But marlin disable max-endstop once you choose corexy mechanism. The following is where it disable the max endstop:
// Disable max endstops for compatibility with endstop checking routine
#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
#define DISABLE_MAX_ENDSTOPS
#endif
So if I choose corexy, it will just disable the max endstop.
in order to use x-max for homing, I have to enable max endstop, I comment the disable statement
#if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
//#define DISABLE_MAX_ENDSTOPS
#endif
So now max switch is working. When I use M119 on printrun, all max and min endstop works fine. But when I'm homing, the x-axis never hit the endstop ( it just stay there and skipped homing x-axis)
I checked is not about circuit problem or switch logic. I tried different switch logic and M119 shows the endstop is working. It doesn't matter if the switch is triggered.
So after I home the printer, y go to 0, but x stay where it is before homing, not moving at all. But the screen shows the x position is 205 (x-max possition) and it does move in the correct direction when I move the x-axis.
So here is the conclusion of the problem: I enable the max switch but it doesn't work. No matter if the max switch is triggered or not, the printer just consider it is triggered and skip the homing process of that axis. After homing, The axis that didn't move but it shows it is in the max position.
I believe it is a solvable problem. It should be able to solve by correcting the firmware. Does anyone did this (using max switch for corexy) before or has any clue?
Thanks