The new generation system can be processed in the first round mode, and suddenly it can't be used. What happened?
With the improvement of machining accuracy and speed, the functions of numerical control system are required to be continuously expanded, improved and perfected. Especially, in order to meet the requirements of high-speed and high-precision machining, a high-speed and high-precision control system is produced, including fast input, high-speed and high-precision interpolation, control and output of programs. In addition, the simplification and improvement of mechanical structure and the perfection of new machining functions require the software functions of numerical control to be more and more complex. In addition, the continuous operation and coordination of machining require the continuous improvement of the reliability of the numerical control system, and the machining and information system can not only be controlled, processed, transmitted and managed, but also enjoyed through the network. It is precisely because of the above reasons that the open CNC unit based on PC has been widely used in the field of CNC. 1. Open CNC system The open system structure is defined as a module that allows multiple manufacturers to exchange and operate with each other in a competitive environment. Machine tool manufacturers can add some hardware and software to the platform of open system to form their own control system. At present, there are two popular open CNC structures: 1, CNC+PC motherboard: a PC motherboard is inserted into a traditional CNC machine tool, which mainly runs non-real-time control, and CNC mainly runs real-time control based on coordinate axes. 2.PC+ professional motion control card: the motion control card is inserted into the standard slot of the computer for manual real-time control, and the PC is mainly used to handle non-real-time control. Especially scheme 2, which can give full play to its characteristics of fast computer processing speed and friendly man-machine interface, is increasingly welcomed by machine tool manufacturers and has become the mainstream of domestic open CNC development in recent years. 2. Hardware structure of open CNC system: Taking MPC0 1 motion control card independently developed by Step Electromechanical Company as an example, this paper introduces the open CNC system with the structure mode of "PC+ professional motion control card". The system adopts the master-slave control structure: the PC is responsible for the management of man-machine interface and the real-time monitoring of the control system (such as the display of system status and the sending of control instructions). ); The lower computer uses MPC0 1 series motion control cards of Step Electromechanical Company to complete all the details of control, including the output of pulse and direction signals, the processing of automatic lifting, the detection of origin and limit signals, and so on. The CPU of the industrial computer and the special motion control chip on the MPC0 1 control card constitute the hardware structure of "PC+MPC0 1" with DOS or Windows as the operating system. 2. 1 MPC0 1 Series Motion Control Card Control Mode and Features Step Servo Co., Ltd. is a professional motion control company based on technology. MPC0 1 series sports cards are one of the main manufacturers of sports control cards in China at present, with high integration, stability and reliability. At the same time, it is equipped with a rich and powerful motion function library, which can be called in C/C++ or VB environment and communicate with the computer through the bus. Moreover, due to the adoption of VXD virtual driver technology, it makes good use of the interrupt call at the bottom of Windows, and can perform real-time multi-task processing, greatly reducing the burden of host and programming on processing time and task switching, and improving the running speed and control accuracy of the whole control system. 2.2 The control structure of the system is based on industrial computer MPC0 1, and Panasonic digital AC servo system is adopted to form an open CNC system. Using the multi-axis motion control function of MPC0 1, the AC servo system is connected with the pulse output channel of DMC to realize the output of motor speed signal. At the same time, it can also accept the sampling of the feedback signal of photoelectric encoder to realize full closed-loop control. In addition, through the DB 15 interface of DMC, some IO inputs related to motion control can be received. Such as detecting switch signals such as the origin and limit of the machine tool. The motion control card must communicate with PC to complete the control task of machine tool. Through the peripherals of PC, input, editing, parameter setting and real-time running status of machine tools can be realized. In addition, with the powerful graphics data processing function of PC, the DNC function of the system can be easily realized. 3. Software composition of open CNC system: This system gives full play to the advantages of rich PC software resources and fast data processing, and absorbs the characteristics of CAD/CAM. After the part drawing is generated by modeling software, the DXF format file of the drawing is converted into machining G code. Then the G code is interpreted as the motion control function of the board. Finally, the purpose of machine tool control is achieved by calling the interpolation motion function in MPC0 1 motion function library. 4. Conclusion: "PC+ motion control card" CNC system will be a milestone of open CNC system. The system supports the customization of motion control strategy, which embodies an open mind at the core level. Starting from this system, the numerical control system will enter a "completely open" era.