In the CAM system, the five-axis workpiece contour surface is composed of high-order polynomials (free-form surfaces). Usually, a multi-line short block is used to approximate the curve. The poor machining path generated by the CAM may induce machine resonance, resulting in the workpiece exhibiting an irregular surface. In this study, the high-level functions of the five-axis controllers introduced by three foreign commercial controller manufacturers (FANUC, SIEMENS, HEIDENHIAN) are explored. The technology development is focused on the corner smoothing function of the controller, and improvment of the poor machining path by fitting and smoothing the tool path. By sharing with the industry, the Industrial Technology Research Institute has studied the theory and application of this function aiming to be capable of providing relevant information for domestic users who are engaged in five-axis machining.