<font face="Arial, Verdana">Nevermind, I must have something that is burn because it is actually the Z endstop that is triggered when it want so not a firmware issue, The endstop work like it should, so I change the Z pin of the Z min for the Z max one it the firmware, plug the Min endstop in the normally Z max and it all work.</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">Thanks anyhow</font>