Numerical control device that can change a machining condition according to machining information.
Patent Information
- Application Number
- DE102017001654
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2016-02-29
- Filing Date
- 2017-02-21
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2037-02-21
Smart Images

Figure DE102017001654B4_0000_ABST
Abstract
Description
1. Field of the InventionThe present invention relates to numerical control devices, and more particularly, to a numerical control device that can change machining conditions according to machining information.2. Description of Related ArtAn end position and a speed of a tool are instructed in a machining program, and machining is performed based on a tool path. A general machining program does not describe additional information related to a target or situation of movement of the tool and a feature of the tool path, such as setting in program generation including blocks by a CAM in an instruction of each block.As for the conventional technology for instructing the details of tool movement in the instruction of each block in the machining program, JP 3 647 043 B2, for example, discloses a technology for performing acceleration / deceleration control. This uses an instruction program including, within a single block, a plurality of acceleration / deceleration start positions, time constants of the acceleration / deceleration control to be started at the acceleration / deceleration start positions, and target speeds by the acceleration / deceleration.According to the technique disclosed in JP 2009-076018 A, machining is enabled in the acceleration / deceleration setting suitable for a desired location, for example, by performing deceleration in a location with a required accuracy, by in turn adding an instruction for changing an acceleration / deceleration time constant.In a machining program shown as an example in FIG. 5, coordinate values are uniformly instructed in blocks N 1 to N 10, but each block is characterized by a movement target and a movement situation of the tool 3. For example, a path on a broken line is a cutting path in the air, so block N 1 is an approach portion in which the tool approaches a workpiece, and blocks N 7 to N 9 are pickup feed portions. There is a problem in detailed setting in the manipulated variables of the numerical control device, such as machining speed, according to the feature of the tool path, such as the movement target and the movement situation of the tool. However, according to the general machining program, it is not possible to determine, by the program alone, where to change the manipulated variable of the numerical control device. In addition, it is impossible to make a setting of the manipulated variable of the numerical control device collectively for locations having the same feature of the tool path.With regard to this problem, in the technology of JP 3 647 043 B2 and JP 2009-076018 A, the movement of the tool in each block can be instructed in detail to some extent. However, that instruction is limited to direct and specific facts and does not include information related to abstract features in the tool path, such as the movement destination and the situation of the tool. Therefore, even when these conventional technologies are used, it cannot be determined where to change the manipulated variable in the machining program according to the feature of the tool path such as the movement destination and the movement situation of the tool. In addition, the locations having the same feature of the tool path cannot be collectively set.DE 10 2013 010 853 A1 relates to a numerical control device having a program restart function with which command blocks of a specified machining area can be easily checked to set them as a start block or an end block for resuming a program. For this purpose, a passing block determination unit is provided for a specified area. This determines whether or not the movement path of a tool exceeds a limit of a machining area. The blocks at which the tool exceeds the machining range are set as the program restart blocks. A list of program restart block records may be displayed to a user. Further, an SRAM storing a decision table will be described. This is to decide whether or not a block of a machining program includes a non-cutting command. The machining programs can also be stored in this memory.DE 10 2009 045 333 A1 discloses an automatic programming device for generating an NC program for controlling an NC machine tool. A machining mode is determined from information about a tool used, and rounded tool paths are calculated. Several different tool paths with different rounding radii are produced and a suitable path is subsequently selected.DE 698 07 019 T2 relates to a numerical control device for controlling a machining device for performing a machining of a workpiece on a machining table by operation of a cutting tool and / or the machining table along a numerically specified operating path.EP 1 988 438 B1 describes a method for operating a machine tool, in which the motor output of the machine tool is monitored and parameters relating to the tool used and the machined material are calculated from the motor output. These parameters are then used to determine a speed and an engine output for engine control.DE 696 05 640 T2 relates to a computer-aided numerical acceleration / deceleration control device for controlling the acceleration and deceleration of the working speed of an industrial machine.Summary of the InventionTherefore, it is an object of the present invention to provide a numerical control device that can accurately control movement of a tool according to a feature of a tool path.This object is achieved by a numerical control device having the features of claim 1. Advantageous further developments of the invention are defined in the dependent claims.A numerical control device according to the present invention controls a machining machine equipped with a tool on the basis of a program including an instruction block that instructs movement of the tool, and includes: an instruction analysis unit configured to read out the instruction block and acquire machining information that is information indicating a feature of a tool path instructed by the instruction block; a machining condition storage unit configured to store a machining condition that is a condition related to the movement of the tool in association with the machining information; a machining information determination unit configured to determine the machining information acquired together with the instruction block; and a machining condition changing unit configured to change the machining condition in the movement of the tool instructed by the instruction block based on the machining information determined by the machining information determining unit and the machining condition stored in the machining condition storage unit.The numerical control device may further include a machining condition setting unit configured to set the machining condition stored in the machining condition storage unit.The feature of the tool path may include at least one of: a pickup feed as a target of the movement of the tool instructed by the instruction block; an approach as a target of the movement of the tool instructed by the instruction block; a retraction as a target of the movement of the tool instructed by the instruction block; a cutting situation in the air as the movement of the tool instructed by the instruction block; a machining movement in a corner portion as the movement of the tool instructed by the instruction block; a machining movement for a final shape of a workpiece as the movement of the tool instructed by the instruction block; a movement in a boundary portion between a curved surface and a planar surface as the movement of the tool instructed by the instruction block; and a machining accuracy and tolerance of a workpiece, a shape of a tool, or a type of a tool set in a CAM at the time of creating the program.The machining condition may include at least one of a cutting feed / fast motion condition, an override condition, an acceleration / deceleration parameter condition, an on / off condition for smoothing, a tolerance condition for smoothing, a compensation function condition of a tool, a change / compensation condition of an end position, an on / off condition of a lifetime counter, a spindle rotation speed, and a feed speed.The machining information may be directly described as a symbol in the program.Since it is possible to accurately perform the numerical control according to the machining feature by the present invention, the present invention can contribute to performing the machining at high speed and at the same time with high accuracy and a high throughput. In addition, since the manipulated variable of the numerical control device is adjustable for each feature, the movement of the tool instructed by each block can be flexibly and easily adjusted to avoid reuse of the CAM.Brief Description of the DrawingsThe following are shown: FIG. 1 is a diagram showing a method of changing a machining condition according to machining information of the invention; FIG. 2 is a functional block diagram of a numerical control device according to an embodiment of the present invention; FIG. 3 is a diagram showing an example of machining conditions stored in a machining condition storage unit in the numerical control device of FIG. 2 ; FIG. 4 is a diagram showing an example of a collected change in machining conditions in a machining condition setting unit in the numerical control device of FIG. 2 ; and FIG. 5 is a diagram showing an example of a machining program by the conventional technology.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTSA numerical control device of the present invention can change machining conditions according to a plurality of machining information acquired together with a machining program. The machining information presented by the present invention is not a G code or an M code, but is obvious information in the process of inspecting the tool path, and is information lost in the existing machining program at the time of converting the tool path to the machining program, and includes information representing features of the tool path, such as information indicating a destination of a movement instruction and a situation of the tool in each block included in the machining program or setting information of a CAM at the time of creating a machining program.FIG. 1 shows an example for describing a machining program shown in FIG. 5 together with the machining information included therein.In the machining program shown in FIG. 1, machining information App added to the block N 1 indicates that the block N 1 is an approach portion in which a tool 3 approaches a workpiece 4. In addition, machining information Ret added to the block N 3 indicates that the block N 3 is a retracting portion in which the tool 3 is separated from the workpiece 4. In addition to describing the machining information in the program as one-time instructions as described above, it is possible to describe the machining information as modal instructions that are a start instruction S and an end instruction E, so that the machining information can be described between the block N 2 and the block N 3, between the block N 5 and the block N 6, between the block N 6 and the block N 7, and between the block N 9 and the block N 10. In the modal instructions, the machining information is added to each block described between the start instruction and the end instruction. When the movement of the tool 3 is performed in each block, the machining condition is changed based on the machining information added to each block.FIG. 2 is a schematic functional block diagram of the numerical control device according to the embodiment of the present invention. The numerical control device 1 of the present embodiment includes an instruction analysis unit 10, an interpolation processing unit 11, a servo control unit 12, and a machining condition setting unit 15.The instruction block analysis unit 10 reads out blocks included in a machining program 20 stored in a memory (not shown), analyzes an instruction based on the block, and generates motion data for controlling a servo motor 2 that drives each axis provided in a machining machine as a control line, and outputs the generated motion data to the interpolation processing unit 11. The instruction block analysis unit 10 generates the motion data according to a machining condition changed by the machining information determination unit 13 and the machining condition change unit 14 described below, on the basis of machining information 21 acquired together with the block read by the instruction analysis unit 10.The interpolation processing unit 11 generates, based on motion data generated and output by the instruction block analysis unit 10, interpolation data as a point for each interpolation cycle in an instruction block by the motion data, and performs adjustment (acceleration / deceleration processing) of a speed of each axis for each interpolation cycle with respect to the generated interpolation data. The interpolation data set for each interpolation cycle is output to the servo control unit 12 as a position instruction instructing a position (movement amount) of a tool for each interpolation cycle. The servo control unit 12 controls a servo motor 2 that drives each axis provided in a processing machine (not shown) as a controlled path, based on the interpolation data output from the interpolation processing unit 11.The machining information determination unit 13 analyzes the machining information 21 acquired together when the instruction analysis unit 10 reads out blocks included in the machining program 20 stored in a memory (not shown), determines the feature of the tool path of each block by the machining information 21, and outputs the determined feature of the tool path to the machining condition change unit 14. The machining information 21 may be described as the unique instructions or the modal instructions in the machining program 20 as described above, or may be managed in the memory as various data including information associated with each block. In the middle of performing each block included in the machining program 20, machining information of the block may be instructed from the outside by another signal.The information indicating the feature of the tool path of each block determined based on the machining information 21 by the machining information determination unit 13 may i) indicate information indicating that the movement of the tool instructed by the block targets a pickup feed (feed of a tool through a cutting interval), targets an approach (approach of a tool to a workpiece), targets a retraction (separation of a tool from a workpiece), is in a cutting situation in which air (rough cutting by a tool) is in a machining movement in a corner portion, This includes information indicating a predetermined machining accuracy and tolerance of a workpiece, a shape of a tool, or a type of a tool set in a CAM at the time of creating a machining program including the block, and the like. The features of the tool path are not limited thereto, but may be defined as a controlled path or a feature of machining as needed according to a machine tool.The machining condition changing unit 14 refers to the machining condition storage unit 22 on the basis of the feature of the tool path indicated by the machining information of each block determined by the machining information determining unit 13, to in turn determine a machining condition at the time of execution of the block.FIG. 3 is a diagram showing an example of machining conditions stored in the machining condition storage unit 22.The machining condition is set in the machining condition storage unit 22 associated with a control mode in the feature of each tool path indicated by the machining information. In an example in FIG. 3, for easy understanding, the choices of machining conditions are limited to 4 conditions including a cutting feed / fast motion condition, an override condition, an on / off condition for smoothing, and an on / off condition for a lifetime counter. Regarding the machining conditions, for example, in a case where the feature of the tool path is the approach, the cutting feed / fast motion condition is set to "cutting", the on / off condition of the smoothing is set to "on", and the on / off condition of the lifetime counter is set to "off", and the change is not set to the override condition. An example of the machining conditions stored in the machining condition storage unit 22 may include an acceleration / deceleration parameter condition, a tolerance condition of smoothing, a compensation function condition of a tool, a change / compensation condition of an end position, a spindle rotation speed, a feed speed, and the like, in addition to the above-described points. However, this is not limiting, and the machining condition may be defined as a controlled route or a machining feature according to a machining machine as needed.In this manner, when the machining information 21 is instructed by the operations of the machining information determination unit 13 and the machining condition change unit 14, the control mode of the machining condition is automatically switched, and the machining condition stored for each of the control modes is applied. When the control mode ends, the machining condition set in the machining program 20 or the numerical control device 1 is applied again. Regarding the problem point, when the machining condition is not set, such as the override condition in a case where the feature of the tool path in FIG. 3 is the approximation when the control mode ends, the original machining condition is directly used.In a case where two or more different characteristics of a tool path are determined to be overlapped in a block by the machining information determination unit 13, the machining condition change unit 14 may determine the priority order based on a relationship of instructions in the machining information 21 in the machining program 20 to in turn determine a machining condition to be applied. For example, in the machining program of FIG. 1, the block N 3 may apply the machining condition determined based on the withdrawal that is the machining information instructed by the one-time higher priority instruction from the machining condition determined based on the air cutting that is the machining information instructed by the modal instructions. In a case where various features of a tool path instructed by the modal instructions overlap each other, the machining condition determined based on a machining condition to be instructed later may be applied with priority.As another operation example of the machining condition changing unit 14, in a case where two or more different features of a tool path are determined to overlap each other for one block by the machining information determining unit 13, a feature of the tool path to be prioritized by the setting of the numerical control device 1 may be designated. Regarding the numerical control device 1, for example, in a case where the priority order of the control modes is set as follows: 1. approach, 2. retraction, 3. pickup feed, 4. air cut..., a machining condition to be determined based on the pickup feed feature of the tool path may be prioritized in the blocks N 7 to N 9 in the machining program of FIG. 1.In a case where various features of a tool path overlap each other, setting of low-priority conditions regarding machining conditions that are not set in the prioritized feature of the tool path may be used.The machining condition setting unit 15 receives input from an operator or the like to set and change a machining condition to be stored in the machining condition storage unit 22.FIG. 4 shows an example in which an operator changes machining conditions of the pickup feed by the machining condition setting unit 15.As shown in FIG. 4, in a case where the same machining information 21 is set for each of a plurality of blocks in the machining program, an operator changes the machining conditions stored in the machining condition storage unit 22 by the machining condition setting unit 15, thereby making it possible to collectively change the respective machining conditions in the plurality of blocks for which the same machining information is set.As described above, the embodiment of the present invention has been described. However, the invention is not limited to the above-described examples of the embodiment, and may be embodied in various forms with optional changes.For example, two or more pieces of the same machining information may be formed so as to be distinguishable from each other. For example, even when the machining information indicates that the tool movement location is the same approach portion, in a case where different machining conditions are to be set in a case of approaching an X axis and in a case of approaching an Z axis, the numbers (for example, App 1 and App 2) for identification may be assigned to the pieces of the machining information at the time of creating the machining program. This in turn allows different machining conditions to be applied according to the numbers. In this case, the machining condition is set according to each approximation at the machining condition storage unit 22.
Claims
A numerical control device (1) for controlling a machining machine equipped with a tool (3) based on a program (20) including an instruction block that in turn instructs a movement of the tool (3), comprising: an instruction analysis unit (10) configured to read out the instruction block and acquire machining information (21) that is information indicating a feature of a tool path instructed by the instruction block; a machining condition storage unit (22) configured to store a machining condition that is a condition related to the movement of the tool (3) in association with the machining information; a machining information determination unit (13) configured to determine the machining information acquired together with the instruction block; and a machining condition changing unit (14) configured to change the machining condition in the movement of the tool (3) instructed by the instruction block based on the machining information determined by the machining information determining unit (13) and the machining condition stored in the machining condition storage unit (22).The numerical control device (1) according to claim 1, further comprising: a machining condition setting unit (15) configured to set the machining condition stored in the machining condition storage unit (22).The numerical control device (1) according to claim 1 or 2, wherein the feature of the tool path includes at least one of: a pickup feed as a target of the movement of the tool (3) instructed by the instruction block; an approach as a target of the movement of the tool (3) instructed by the instruction block; a retraction as a target of the movement of the tool (3) instructed by the instruction block; a cutting situation in the air as the movement of the tool (3) instructed by the instruction block; a machining movement in a corner portion as the movement of the tool (3) instructed by the instruction block; a machining movement for a final shape of a workpiece (4) as the movement of the tool (3) instructed by the instruction block; and a movement in a boundary portion between a curved surface and a flat surface as the movement of the tool (3) instructed by the instruction block.The numerical control device (1) according to at least one of claims 1 to 3, wherein the machining condition includes at least one of a cutting feed / fast motion condition, an override condition, an acceleration / deceleration parameter condition, an on / off condition of smoothing, a tolerance condition of smoothing, a compensation function condition of a tool (3), a change / compensation condition of an end position, an on / off condition of a lifetime counter, a spindle rotation speed, and a feed speed.The numerical control device (1) according to at least one of claims 1 to 4, wherein the machining information is directly described as a symbol in the program (20).
Citation Information
Patent Citations
Automatic programming apparatus for control apparatus of numerical control (NC) machine tool, has program generation unit that assigns several grades for processing workpiece according determined procession mode
DE102009045333A1
Numerical control device that has a program restart function
DE102013010853A1
NUMERICAL QUICK-RELEASE / DELAY CONTROL UNIT AND METHOD
DE69605640T2
numerical control device and tool device with a numerical control device
DE69807019T2
Method for operating a machine tool and machine tool
EP1988438B1
