Swapped out a MKS GEN L with this and fresh Marlin 2 bug fix. I’ve used Z_MIN_PROBE_PIN P0_10 and using M119 it shows proper triggering when metal close. But when I home Z, it ignores this sensor and is expecting Z_MIN. I do not have that pin used or defined in Marlin. If I // use_zmin_pin out, I get sanity errors “enable use_zmin_plug when homing to z to min”.
Did what you said but define Z_Min_pin P0_10 gave lots of compile errors, duplicate defines. I defined Z_STOP_PIN P0_10 and Z now homes and senses the bed.