Finally I use the endstop reassignment with M574 and i can read the status with M119 command
Thank for your help!