Using Rumba32 and repetier dev2 I have the following Problem:
I move somewhere in the center of my bed. Using M119 I get something like
endstops hit: x_min:L y_max:L z_max:H
Which ist correct, because z is at maximum and hits the end stop.
When I move by hand to the x-axis min hard stop I get
endstops hit: x_min:H y_max:L z_max:H
makes sense.
When
I press homing while position is somewhere in the center, it moves
correctly towards x-axis min, but it does not stop. I cannot read the
endstop value by M119, because during homing the communication seems to
be blocked (makes sense).
I press either reset or wait till it stops the homing without result. Using M119 I get the result
endstops hit: x_min:H y_max:L z_max:H
For noise supression I added some capacitors parallel to the switch.
Am
I doing something wrong? The endstops for x, y and z are the same type.
So I do not understand, why this homing does not work.
Every movement is done using repetier server.
My main configuration of the endtsops is the following:
configuration.h
// ################ Endstop configuration #####################
#define DOOR_PIN -1
#define DOOR_PULLUP 1
#define DOOR_INVERTING 1
#define ENDSTOP_X_BACK_MOVE 5
#define ENDSTOP_Y_BACK_MOVE 5
#define ENDSTOP_Z_BACK_MOVE 5
#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 5
#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 5
#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 5
#define ENDSTOP_X_BACK_ON_HOME 0
#define ENDSTOP_Y_BACK_ON_HOME 0
#define ENDSTOP_Z_BACK_ON_HOME 0
#define ALWAYS_CHECK_ENDSTOPS 1
#define MOVE_X_WHEN_HOMED 0
#define MOVE_Y_WHEN_HOMED 0
#define MOVE_Z_WHEN_HOMED 0
configuration_io.h
// Define your endstops inputs
IO_INPUT_INVERTED_PULLUP(IOEndstopXMin, ORIG_X_MIN_PIN)
// IO_INPUT_INVERTED(IOEndstopXMin, ORIG_X_MIN_PIN)
IO_INPUT_INVERTED_PULLUP(IOEndstopYMax, ORIG_Y_MAX_PIN)
IO_INPUT_INVERTED_PULLUP(IOEndstopZMax, ORIG_Z_MAX_PIN)
ENDSTOP_SWITCH_HW(endstopXMin, IOEndstopXMin, X_AXIS, true)
ENDSTOP_NONE(endstopXMax)
ENDSTOP_NONE(endstopYMin)
ENDSTOP_SWITCH_HW(endstopYMax, IOEndstopYMax, Y_AXIS, true)
ENDSTOP_SWITCH_HW(endstopZMax, IOEndstopZMax, Z_AXIS, true)
ENDSTOP_NONE(endstopZMin)