Robot goes beyond joint limits

Is there a way to stop a robot from going outside its joint limits during simulation?
It sometimes happen that my robot executes a PTP/LIN motion and I can see one of joints turning red in the Jog menu, indicating it went beyond it’s min/max value. Why does this happen?
Please help,
Thanks

1 Like