In this paper, we proposed a method to determine the acceleration/deceleration time of the motion for reducing the residual vibration caused by the resonance of the robot in the high-speed motion. The relationship between the acceleration/deceleration time and the residual vibration was discussed for the trapezoidal velocity profile by analyzing the time when the jerk happens. The natural frequency of the robot can be estimated in advance through the dynamics simulation. The simulation and experiment for both cases where the moving distance of the robot is long enough and the distance is short, are implemented in the 1-DOF linear robot. Simulation and experimental results show that when the acceleration/deceleration time is a multiple of the vibration period, the settling time and the amplitude of the residual vibration become less than when the time is not a multiple.