General CNC milling machine for special transformation in the middle and low numerical control system of internal control software does not change under the premise of achieving the original system does not have the linear movement and rotary movement of the operating linkage function. The numerical control system of linear movement into rotary movement of the operation, and expansion of two straight line linkage CNC system functions, cleverly converted to a straight line movement control of a rotary movement of the linkage, thereby achieving the surface of the cylinder rotating cam track surface CNC machining. CNC Milling through the difficult parts of the application examples to explain the design principles of transformation CNC milling machine, design approach,As well as the design parameters in the programming of data conversion. And data conversion processing errors resulting from the measures and the elimination of error analysis.