check the "stroke end limit cancel" setting ( or /and tumbler ) first. The parameter is intended to use to move axis away from stroke end limit only. Try to move axis with manual knob to check if it is the case.
check the "stroke end limit cancel" switch.
Good ocassion to check stroke end limit switches - easy to do and gives important uderstanding what's .happening. Sometimes samurai is weared and chips collecting there and collection of dirt interferes with stroke end limit sensor. Must be mechanical swith with a little wheel at that machine. This is easy to check.
It's also good to check user stroke end limits in parameters and system stroke end limits in parameters also. Easy to check and narrows the circle of suspection.
If all hardware limit switches checked, parameter limits checked, there is still possibility for error to be in the settings. Check if you get this alarm in manual mode if it depends on axis position.
It's possible that the special parameter allowing to override the stroke end limit is active.