NC Program Editing Apparatus Maintaining CAM Data Correspondence
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional NC program editing processes discard CAM data, making it impossible to display and regenerate the edited NC program from the original CAM data, leading to difficulties in understanding and maintaining the correspondence between NC programs and CAM data, especially when editing involves tool path changes.
Innovation Solution
An NC program generating and editing apparatus that updates basic data when editing involves only preset NC codes, using a change checker to determine if changes are related to preset codes, allowing the corresponding CAM data to be updated and maintained, enabling the display of both the edited NC program and CAM data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the NC program is edited by changing CAM data, then the correspondence relationship between CAM data and NC program is maintained, but it is very difficult to change data that influences tool path
Solution Approach 1:
The patent segments the NC code into two categories: preset NC codes (M codes, S codes, F codes) that affect cutting conditions and can be safely updated in CAM data, and other NC codes that affect tool path and should not be updated. This segmentation allows selective updating of CAM data based on the type of editing performed, resolving the contradiction between maintaining correspondence and enabling flexible tool path changes.
2Reliability
If the NC program is edited by changing CAM data, then the correspondence relationship is maintained, but the editing flexibility is reduced
Solution Approach 1:
The patent implements a dynamic updating mechanism where the system automatically determines whether to update CAM data based on the type of NC code being edited. When preset NC codes (M, S, F) are edited, CAM data is automatically updated to maintain correspondence. When other NC codes are edited, CAM data is not updated, preserving editing flexibility. This dynamic approach resolves the contradiction between reliability and adaptability.
3Ease of operation
If the CAM data is discarded when NC program is edited, then the NC program can be freely edited, but the CAM data and graphic cannot be displayed after editing
Solution Approach 1:
The patent implements a selective discarding and recovering mechanism. Instead of discarding CAM data completely when editing occurs, the system recovers and updates only the necessary portions (preset NC codes) while preserving the overall CAM data structure. This allows the CAM data and graphics to be displayed after editing while still permitting free editing of the NC program.
4Reliability
If the CAM data is updated automatically when preset NC codes are edited, then the correspondence relationship is maintained, but additional processing steps are required
Solution Approach 1:
The patent implements a self-service mechanism where the system automatically detects when preset NC codes are edited and performs the necessary CAM data updates without requiring manual intervention. The control device monitors NC program edits, identifies preset NC codes, and automatically updates the corresponding CAM data, reducing the perceived complexity for the user while maintaining reliability.
Data Source
AI summary
An NC program generating and editing apparatus 2 includes an interactive input module 9, a first memory 10, an NC program generator 11, a second memory 12, a program editor 13, a change checker 14 and a data updater 15. The change checker 14 determines whether a changed portion of an edited NC program consists of only a change related to a preset NC code, and when the changed portion consists of only a change related to the NC code, corresponding basic data is updated by the data updater 15.


