| In order to meet the need of the market, the numerical control system is developed towards the open structure, the secondary development carrying on the open computer numerical control(CNC) system is another brilliant point of the current numerical control technology. SINUMERIK 840D numerical control system that Siemens Company offered has offered the better platform for our secondary development. The secondary development of every function module become inevitable,too.The users, in order to integrate ones' own function module into the system, must undergo the secondary development.In this paper,we choose SINUMERIK 840D numerical control system as the developing platform, regarding M84125 rolling grinding machine as the research object, develop operation system under the environment of Visual Basic, utilize VC++ to establish Dynamic Link Library at the same time, realize the communication with 840D numerical control system. Among them we make use of VB to design the man-machine interface(HMI), and utilize NCDDE server, the language form offered by OEM software development bag in the procedure codes carries on the visit to data in NCK, PLC in 840D numerical control system and access, thus realize the control and operation of the numerical control machine. The function of Dynamic Link Library of language is to realize the transfering of the text, the text of appearance on the interface can be read from the language Dynamic LinkLibrary.For M84125 rolling grinding machine, this paper has carry on the design about the interface, and realized the communication, and has put forward the scheme to the whole systematic structure. Programming system with friendship, integrated and systematical interface, integrates numerical control system with peculiar function module. It provides a friendly.integrated system interface in which inter-consultation can be done in Chinese in the computer environment. |