Overshoot tuning is an art. Start by reducing position loop gain (Kp) by 20% from default. If overshoot improves but settling time gets worse, increase velocity loop gain instead. The goal is to get the velocity loop tight enough that the position loop doesn't have to work as hard. On Yaskawa, Pn100 and Pn101 are your main knobs.