So I have this strange glitch with my Y Endstop homing not always working. Copied and pasted below is my homey.g file (350mm Y-axis)
G91 ; relative mode
G1 Z2 F1800 ; raise head to avoid dragging nozzle over the bed
G1 Y-355 F3000 S1 ; move up to 240mm in the -Y direction, stopping if the homing switch is triggered
G1 Y3 F600 ; move slowly 4mm in the +Y direction
G1 Y-10 S1 ; move slowly 10mm in the -Y direction, stopping at the homing switch
G1 Z-2 F1800 ; lower the head again
G90 ; back to absolute mode
If the bed is already close to the Y endstop, it homes fine, but if it's finished a print or moved too far away, it moves back slightly and acts like it's triggering the endstop when it is not near home.
My endstop is attached under the bed and the thermistor, bed heat, and endstop wiring runs together. Could there be some kind of interference causing a false trigger?
I've been disabling the motors, pushing the bed all the way to the home position where the switch triggers and then re-homing it (which does work). I can play with settings more if anyone has suggestions.
Update / Edit: I did this strange homey.g check using G92 to fake set Y350 and then move it back to home without relative positioning, but the false endstop trigger (or whatever seems to be happening) did the same or a similar thing.