Supercharge Your Innovation With Domain-Expert AI Agents!

Numerical control machine control software interface message transmitting mechanism established based on MFC (Micro Function Circuit)

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: 2012-05-30
DALIAN ZHAOYANG SOFTWARE TECH
View PDF1 Cites 0 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
  • Numerical control machine control software interface message transmitting mechanism established based on MFC (Micro Function Circuit)
  • Numerical control machine control software interface message transmitting mechanism established based on MFC (Micro Function Circuit)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] 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.

[0018] Such as figure 1 Shown, a kind of embodiment of the CNC machine tool control software interface message delivery mechanism based on MFC 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; Enter CWnd::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.

[0019] Processed messag...

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 a numerical control machine control software interface message transmitting mechanism established based on an MFC (Microsoft Foundation Class). A message is processed by an MFC-based message processing mechanism: the message enters a function window processing function AfxWndProc, then enters a window recall function AfxCallWnd-Proc, then enters a recall function CWnd::Window-Proc of sending the message, then enters a message mapping function CWnd::OnWndMsg, then enters a CWnd::OnCommand for calling a super source class from a foundation class, wherein a message passing OnCm-dMsg function in a message mapping CCmdTarget class is called; and the processed message passes through a message route mechanism. According to the method provided by the invention, one set of message mechanism is established based on the MFC, various different message classes are responded, thus a function of starting an inner core by using a numerical control machine control software interface message is realized, and variable interfaces of different models of numerical control machines are mutually associated with the fixed inner core.

Description

technical field [0001] The invention belongs to the application field of numerical control machine tool software, and in particular relates to a message transmission mechanism of a control software interface of a numerical control machine tool established based on MFC. 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 softwar...

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): G06F9/44G05B19/18
Inventor 栾晓健
Owner DALIAN ZHAOYANG SOFTWARE TECH
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