Simulating turning cycles on CNC lathe machines




contour turning, cutting control, modeling, cutting process optimization


It is shown that the turning of the contour shaped surfaces of parts is mainly carried out according to the cycles of rough turning G71, G72, G73 with a finishing pass according to the cycle G70. In any case, the cutting process is quasi-stationary, which determines the need to control the cutting mode to stabilize and optimize the process. It is proposed to use a special program for designing the control program of a CNC machine tool, which, based on a priori information about the technological machining system, performs the simulation of the process. During simulation, in the process of solving the optimization problem according to the criterion of maximum Material Removal Rate, all components of the cutting mode are automatically determined: depth, feed and spindle speed. The results are presented in the form of control files, according to which a control program in G-codes can be compiled to optimize the process. In addition, it is additionally possible to obtain a prediction about the actually machined contour, taking into account the elastic deformation during the cutting process, and data on the correction of the trajectory of the shaping movement in the last pass.


  1. CNC Programming Tutorials Examples G & M Codes (2022). CNC Programming Example with Fanuc G71 Rough Turn-ing Cycle and G70. [Online]. Available:
  3. manual&filetype=pdf&id=cec185b14ecaf5d106bb335e27ca239b
  4. Y.V. Petrakov, “Metodi upravlіnnya protsesami rіzannya”, Vіsnik ZhDTU, No. 2(80), pp. 124–134, 2017.
  5. Y.V. Petrakov and А.V. Myhovych, “IMachining technology analysis for contour milling”, Mech. Adv. Technol., No. 2(89), pp. 114–120, 2020.
  6. Yu.V. Petrakov and J. Yezenduka, “Controlling turning contouring of shaped parts”, in Proc XXII PROGRESSIVE TECHNICS, TECHNOLOGY AND ENGINEERING EDUCATION, 2021, pp. 111–114.
  7. N.A. Fountas et al., “Intelligent optimization for sculptured surface CNC tool-paths, 5th CIRP Global Web Conference Research and Innovation for Future Production”, Procedia CIRP 55, pp. 140–145, 2016.
  8. M.V. Satish Kumar et al., “Optimization of CNC Turning Parameters in Machining EN19 using Face Centered Central Composite Design Based RSM”, International Journal of Recent Technology and Engineering (IJRTE), ISSN: 2277–3878, Vol. 9 Issue-2, pp 889–896, 2020.
  9. A. Gjelaj, B. Berisha and F. Smaili, “Optimization of Turning Process and Cutting Force Using Multiobjective Genetic Algorithm”, Universal Journal of Mechanical Engineering, No. 7(2), pp. 64–70, 2019.
  10. L.V Borshova, V.F. Pegashkin and M.V. Mironova, “Optimizatsiya protsessa mekhanicheskoi obrabotki detalei slozhnogo profilya monografiya”, Nizhnii Tagil, NTI (filial) UrFU, 2019.
  11. Yu.V. Petrakov, O.I. Drachev, Modelirovanie protsessov rezaniya, Staryi Oskol: TNT, 2019.




How to Cite

Y. V. Petrakov and J. M. . Ezenduka, “Simulating turning cycles on CNC lathe machines”, Mech. Adv. Technol., vol. 6, no. 1, pp. 7–13, May 2022.



Up-to-date machines and the technologies of mechanical engineering