The upper limit value for the axis feeding speed is set to the maximum speed that can secure the safety in a wire electrical discharge machine. In the case where the level of the process liquid is higher than a predetermined height, however, the upper limit value is made smaller. In order to prevent the process liquid from spilling to the outside of the process tank, the acceleration or the jerk may be changed instead of the axis feeding speed. In the case where the process liquid level is high, it is difficult for the process liquid to spill when the speed is adjusted slowly. In addition, the time constant may be increased or the instruction for speed may be changed from the linear type to the S shape type.