Machining Program Restart Control Using Subsequence Execution Flags
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
It is challenging to determine whether a machining program has completed its subsequence execution correctly, leading to potential incorrect restart positions and machining defects when interrupted.
Innovation Solution
A control device and method that utilize flags to track the execution status of subsequences within a machining program, suspending or alerting on restarts if a subsequence is not terminated, ensuring correct restart positions and preventing defects.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If the machining program is restarted from the interrupted position without checking subsequence execution status, then the restart operation is simple and quick, but the machining precision deteriorates due to potential incorrect restart positions
Solution Approach 1:
The control device performs preliminary checking of subsequence execution status before allowing program restart. The execution control unit checks whether a subsequence called from the block preceding the restart position has been terminated, and only permits restart if the subsequence is complete. This preliminary verification ensures machining precision without requiring complex real-time monitoring during restart operations.
2Manufacturing precision
If the execution status of subsequences is monitored to ensure correct restart positions, then the machining precision is improved, but the device complexity increases due to additional monitoring requirements
Solution Approach 1:
The control device implements a feedback mechanism where the execution control unit continuously monitors the execution status of subsequences and provides feedback information about their completion state. When a restart is requested, the system checks the feedback status of the subsequence executed from the preceding block, and only allows restart when the feedback indicates proper termination. This feedback-based approach ensures accurate restart positioning through a relatively simple check mechanism.
Data Source
AI summary
To provide a control device, a control method and a control program that enables normal restart of the execution of a machining program. A numerical controller includes an execution control unit configured to execute a machining program for controlling operation of a machine tool from a designated block, a start processing unit configured to set, when a subsequence called from a predetermined block in the machining program is started, a flag indicating that the subsequence is under execution, and a termination processing unit configured to reset the flag following termination of the subsequence. When the execution control unit is instructed, following interruption of execution of the machining program, to restart the machining program from a block succeeding the predetermined block, if the flag is set, the execution control unit suspends the execution of the machining program.


