Construction method of virtual simulation machining platform for CNC machine tools with multi-spindle heads
Aiming at the problem that current the CNC machine tools with multi-spindle heads cannot realize the multi-spindle head switching call in the virtual simulation process,a method of constructing a virtual simulation processing platform of the multi-spindle CNC machine tool is proposed.Firstly,as a multi-spindle head library for CNC machine tools with multi-spindle heads,the virtual axis are created,the topology of each motion axis is constructed,and the geometric model of virtual CNC machine tools is constructed.Secondly,the macro and variables of the CNC system are used for secondary development.By changing the position of the spindle head components in the virtual CNC machine tool structure project tree and the geometric model,the macro program is obtained,and by the macro calls instructions,it is used as a subroutine replace performing the functional instructions for changing the spindle head in the NC program.So that when the command to replace the spindle head is executed,the virtual CNC machine tool actually executes the macro program of changing the spindle head,and the dynamic switching call of the spindle head during the virtual simulation processing of the multi-spindle head CNC machine tool is realized.Finally,using this method,the virtual simulation processing platform of UniForce6 floor boring and milling machining center was constructed,and the simulation processing of a box part was completed.The results show that the virtual simulation processing platform can realize the continuous simulation of multiple spindle heads,which meets the actual processing conditions,and can check the interference and collision situation when changing the spindle head,which further improves the effectiveness of the virtual simulation processing of the CNC machine tool.