Hi, can i get help from expect one regarding this alarm problems? i had done doing all i could yet the machine still cannot be function normally

PLC 261 : Limitswitch minus axis 2. Reset the machine and move off from limitswitch
PLC 431 : Error at reference. Axis 2 has reached wrong.....