Very simple but its often done wrong.
Assuming your max speed is set to 600U/sec and you are scripting the endpoints to the fitting frame when motion ends or changes direction.
This is too fast (lilac) the machine can not keep up.
Slow yellow then fast red, very likely you missed a motion pause you should script if movement is constant.
To this