Supercharge Your Innovation With Domain-Expert AI Agents!

Implementation method for transmitting messages by numerical control machine control software interface

A technology of control software and message transmission, applied in the direction of digital control, program control device, electrical program control, etc., can solve the problem of high cost

Inactive Publication Date: 2009-12-30
上海奈凯电子科技有限公司 +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, different manufacturers and different types of CNC machine tools have different requirements for software functions and interfaces. If they are developed separately, the cost will be too high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementation method for transmitting messages by numerical control machine control software interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the technical means, creative features, goals and effects of the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.

[0017] Such as figure 1 Shown, the embodiment of the implementation method of a kind of CNC machine tool control software interface message transfer of the present invention, message passes through the message processing mechanism based on MFC: message enters function AfxWndProc; Enters AfxCallWndProc again; Enters CWnd::WindowProc again; Enters CWnd again ::OnWndMsg; then enter CWnd::OnCommand, and call the OnCmdMsg function in the CCmdTarget class. Looking at the CCmdTarget class, it is found that all classes derived from CCmdTarget can process command messages and OnCmdMsg is a virtual function, which means that derived classes can implement command messages serially in each class until they respond by rewriting this function.

[0018] Processed mess...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an implementation method for transmitting messages by a numerical control machine control software interface; the messages go through a message processing mechanism based on Microsoft Foundation Class Library (MFC): messages enter a function window to treat function AfxWndProc; then the messages enter the window to call back the function AfxCallWndProc; the messages enter callback function CWnd::WindowProc for sending messages; the messages enter message mapping function CWnd::OnWndMsg; the messages enter CWnd::OnCommand to call origin class from foundation class and call message transmission OnCmdMsg function from message mapping CCmdTarget class; and the processed messages go through a message routing mechanism. The method of the invention establishes a set of message mechanisms based on MFC, and responds to various classes of messages, thus realizing kernel function of message initiation of the numerical control machine control software interface and realizing associating the variable interfaces of numerical control machines of different models with a fixed kernel.

Description

technical field [0001] The invention belongs to the application field of numerical control machine tool software, and in particular relates to a method for realizing message transmission of a control software interface of a numerical control machine tool. Background technique [0002] Manufacturing is the basic industry of the national economy, and the level of manufacturing is an important indicator of a country's industrial development. The quality level of CNC machine tools is related to the level of the national manufacturing industry. As the core part of CNC machine tools, the quality of control software directly affects the performance and sales of CNC machine tools. [0003] However, different manufacturers and different types of CNC machine tools have different requirements for software functions and interfaces. If they are developed separately, the cost will be too high. Therefore, we need to separate the relatively fixed modules of the software from the changeabl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/18G06F9/44
Inventor 宋秀龙郑之开
Owner 上海奈凯电子科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More