When delivered, the Panasonic A5B has 2 features set; the Positive Over Travel Input (POT) and the Negative Over Travel input (NOT). If these are connected to limit switches then the system will work in the usual way until the limit switch is triggered. If limit switches are not connected, then the servo drive must have the POT and NOT functions disabled.
The document gives an example on how to set this limits within a trioBASIC program

The example program here must be adjusted to suit the actual application. It is supplied “as is” and no guarantee of correct function is given. The programmer must check and de-bug as necessary.