CNC Program Execution Analysis for Subprogram Call Tracking
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing numerical controllers lack the ability to dynamically analyze machining programs, making it difficult to determine which subprograms are actually executed, leading to inefficiencies in storage and potential testing omissions, especially in multi-user environments where numerous programs are registered.
Innovation Solution
A numerical controller equipped with a program interpretation unit, program calling information storage unit, program execution unit, and program execution information storage unit, along with a program calling information display unit that visualizes the calling structure and outputs lists of executed and non-executed subprograms, enabling dynamic analysis and efficient resource utilization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple subprograms are registered in the numerical controller to support multiple users, then the adaptability and versatility of the system is improved, but it becomes difficult to track which subprograms are actually executed, leading to testing omissions and inefficient storage utilization
Solution Approach 1:
The patent implements a feedback mechanism by introducing a program calling information storage unit that records which subprograms are actually called during execution. The program interpretation unit notifies this storage unit whenever a subprogram is called, creating a feedback loop that tracks execution status. This allows the system to maintain adaptability for multiple users while gaining visibility into actual program usage patterns.
2Ease of operation
If static analysis is used to analyze program structure, then the device complexity is reduced and ease of operation is improved, but the measurement precision of actual program execution behavior deteriorates
Solution Approach 1:
The patent applies preliminary action by setting up the program calling information storage unit and execution information storage unit before program execution begins. These storage units are prepared in advance to capture execution data as it occurs, allowing the system to maintain simple operation through static analysis capabilities while also capturing precise dynamic execution behavior when needed.
Data Source
AI summary
Provided is a numerical controller having a function for dynamically analyzing a machining program.The numerical controller provided with a subprogram calling function that calls a subprogram in a machining program includes: a program interpretation unit that notifies information related to the call of the subprogram when the subprogram is called; a program calling information storage unit that aggregates and stores the information related to the call of the subprogram that is notified by the program interpretation unit; a program execution unit that notifies information related to execution of a subprogram when executing the subprogram; and a program execution information storage unit that aggregates and stores the information related to the execution of the subprogram that is notified by the program execution unit.


