NC Program Analysis for Automatic Stop After Specific Part Machining
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing numerical control devices require manual modification of machining programs or macro computation to stop automatic operation after machining a specific part, especially when multiple subprograms are called, leading to complex and inefficient processing.
Innovation Solution
A numerical control device with a program analysis section, program stop condition setting section, program stop determining section, and program stop requesting section that automatically sets and enforces program stop conditions based on user-defined machining stop conditions, allowing for automatic operation termination without manual program modification.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If manual modification of machining programs or macro computation is used to stop automatic operation after machining a specific part, then the program can be stopped at the desired block, but the processing becomes complex and inefficient
Solution Approach 1:
The numerical control device automatically analyzes the machining program structure and determines stop points without requiring manual intervention. The program analysis section autonomously identifies subprogram calls and calculates appropriate stop blocks, enabling the system to serve itself rather than requiring operator modification of programs or macro computations
Solution Approach 2:
The patent replaces manual mechanical operations (program modification, macro computation) with automated information processing. The program analysis section uses algorithmic analysis to automatically determine stop points based on program structure, substituting human-operated mechanical processes with automated computational methods
2Productivity
If the program stop function pauses execution after subprogram call or macro call, then validation can be performed smoothly, but it can only handle the first time of subprogram call and requires manual setting for subsequent calls
Solution Approach 1:
The program analysis section performs preliminary analysis of the entire machining program structure before execution, identifying all subprogram calls and calculating appropriate stop blocks in advance. This preliminary action enables the system to automatically handle multiple subprogram calls without requiring manual reconfiguration for each call instance
Solution Approach 2:
The program stop determining section provides a universal solution that handles both first-time and subsequent subprogram calls through a single automated mechanism. Rather than requiring different manual settings for different call instances, the system universally applies program structure analysis to determine appropriate stop points for any number of subprogram calls
3Ease of operation
If sequence number comparison function is used to stop automatic operation at specified blocks, then stopping at desired blocks is possible, but manual setting of complicated processing is required
Solution Approach 1:
The patent replaces manual sequence number comparison setup with automated program structure analysis. Instead of manually configuring stop conditions based on sequence numbers, the program analysis section automatically analyzes the program hierarchy and determines stop blocks, substituting time-consuming manual configuration with rapid automated computation
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Provided is a numerical control device that can stop automatic operation after machining of a specific part without the need to manually modify a machining program or to perform macro computation. A numerical control device 1 includes: a program analysis section 111 that, upon executing a command program for continuously machining a plurality of parts, analyzes the command program; an analyzed program execution unit 13 that executes the command program analyzed; a program stop condition setting section 121 that sets a program stop condition in the command program on a basis of a machining stop condition for stopping the continuous machining specified by a user; a program stop determining section 122 that determines whether an execution block of the command program satisfies the program stop condition on a basis of an analysis result of the command program; and a program stop requesting section 123 that, in a case in which it is determined that the execution block of the command program satisfies the program stop condition, outputs an execution block stop request of the command program to the analyzed program execution unit 13.