GIVES ME DIFFERENT STATES WITH THE SAME SENSOR CONNECTED ON THE SAME PIN
I HAVE CHANGED CLOSED, OR OPEN BUT ALWAYS GIVES ME THE SAME STATE
I HAVE THIS SENSOR
... I have tested these two Z-min and Z-probe systems separately. using the same sensor / probe on the same pin.
first enabling one and the other disabled. and they work separately. the states of the signal change well.
now when I enable the two systems
z-min and z-probe, only changes the state of the signal from the z-probe.
so I started to play a little bit with your code.
commenting on these lines, they work
all right. the readings.Endstops.cpp#if FEATURE_Z_PROBE#if Z_PROBE_PIN == Z_MIN_PIN && MIN_HARDWARE_ENDSTOP_Z if(newRead & ENDSTOP_Z_MIN_ID) // prevent different results causing confusion newRead |= ENDSTOP_Z_PROBE_ID;// if(!Printer::isHoming())// newRead &= ~ENDSTOP_Z_MIN_ID; // could cause wrong signals depending on probe position#else if(Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN)) newRead |= ENDSTOP_Z_PROBE_ID;#endif#endif
Now, when I do home all.
The printer behaves strangely. I'm going to detail what I do to make home all. AND START MY SENSOR.
M340 P0 S2200
M340 P0 S700
THE PRINTER, after g28, the low z-axis is detecting the signal from the probe / z-min. , then go up to 20mm. then it moves to the endstops of the x and y axes (0,0), then moves to the center of the bed (350,350,20), the z-axis goes down again until the z-min is detected, goes up 20mm and then turns to the point (0,0), while the z-axis progressively decreases, from 20mm to 0mm.
first should not stay in the point (350,350.20) ??
second, by moving back to the point (0,0), the z-axis, the tip of the extrude is dragged across the bed.
ANOTHER THING THAT I SEE IF THE PROBE, ZMIN IS ACTIVATED IN HIGHT, because it allows me to move the z axis downwards ??
post your configuration.h pls