This application is based on and claims the benefit of priority from Japanese Patent Application No. 2018-067266, filed on 30 Mar. 2018, the content of which is incorporated herein by reference.
The present invention relates to a program creation device that creates programs for controlling machine tools.
Conventionally, lathe processing in which cutting is performed by pressing a tool attached to a cutter holder against a work rotating in a state of being attached to a spindle is known (see Patent Documents 1 to 4, for example). In order to execute such lathe processing, a composite fixed cycle is used in which cycles of the respective steps of approaching, cutting, escaping, and returning are repeated multiple times.
However, when a tool is pressed against a work from one side, a deflection may occur in the work and it may be unable to process the work with high accuracy. In contrast, according to lathe processing called balance cut, since a pair of tools are pressed against the work from both sides, no deflection occurs in the work and it is possible to process the work with high accuracy.
Patent Document 1: Japanese Unexamined Patent Application, Publication No. H04-000606
Patent Document 2: Japanese Unexamined Patent Application, Publication No. S63-184803
Patent Document 3: PCT International Publication No. WO2014/128916
Patent Document 4: Japanese Unexamined Patent Application, Publication No. 2007-34002
The balance cut may use a first method in which a pair of tools performs cutting in synchronization and a second method in which one tool performs cutting and the other tool performs cutting while following the one tool and cutting deeper into a work. However, since the second method uses two systems that perform machining and move differently, it is not possible to use a composite fixed cycle.
The present invention has been made in view of the above-described problem, and an object thereof is to provide a program creation device that creates a program enabling balance cut in which one tool performs cutting and the other tool performs cutting while following the one tool and cutting deeper into a work to be executed using a composite fixed cycle.
(1) A program creation device (for example, a program creation device 1 to be described later) according to the present invention is a program creation device that creates a control program for a machine tool that performs balance cut in which one tool (for example, a tool CU1 to be described later) among a plurality of tools (for example, tools CU1 and CU2 to be described later) performs cutting and another tool (for example, a tool CU2 to be described later) performs cutting while following the one tool and cutting deeper into a rotating work (for example, a work W to be described later), the program creation device including: an analysis unit (for example, an analysis unit 21 to be described later) that analyzes a composite fixed cycle (for example, a composite fixed cycle CCY to be described later) in which a predetermined cycle (for example, a cycle CY to be described later) for causing the tool to perform cutting deeper into the work and feeding the tool is repeated multiple times to create a plurality of command blocks (for example, command blocks CB1 to CB4 to be described later) for each of the cycles for executing the cycle; a distribution unit (for example, a distribution unit 23 to be described later) that distributes the plurality of command blocks created by the analysis unit sequentially as a command program for each of the plurality of tools; and a command adding unit (for example, a command adding unit 22 to be described later) that adds a first command word indicating a delay amount of delaying a start timing of the cycle of the other tool from a start timing of the cycle of the one tool on the basis of an analysis result obtained by the analysis unit to the command block.
(2) In the program creation device according to (1), the command adding unit preferably adds a second command word that waits for the start timing of the cycle of the one tool and the start timing of the cycle of the other tool on the basis of the analysis result obtained by the analysis unit and then adds the first command word to the command block.
According to the present invention, it is possible to provide a program creation device that creates a program enabling balance cut in which one tool performs cutting and the other tool performs cutting while following the one tool and cutting deeper into a work to be executed using a composite fixed cycle.
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
First, a configuration of a program creation device 1 will be described with reference to
The program creation device 1 illustrated in
The CPU 2 is a processor that controls the program creation device 1 in an integrated manner. The CPU 2 is connected to the memory 3, the display 4, the input unit 5, and the interface 6 via the bus 7. The memory 3 includes a ROM 31, a RAM 32, and a nonvolatile memory 33. The display 4 displays information necessary for an operator when creating the command programs P1 and P2 (see
The CPU 2 functions as an analysis unit 21, a distribution unit 23, and a command adding unit 22. The analysis unit 21 analyzes a composite fixed cycle CCY (see
The command adding unit 22 adds various command words to the command blocks CB1 to CB4. Hereinafter, adding of various command words will be described.
First, the command adding unit 22 adds a second command word that waits for a start timing of the cycle CY of the first tool CU1 and a start timing of the cycle CY of the second tool CU2 on the basis of an analysis result obtained by the analysis unit 21 to each of the command blocks CB1 to CB4. With the waiting for the start timings by the second command word, the start timing of the cycle of the first tool CU1 and the start timing of the cycle of the second tool CU2 are rearranged to the same timing, and after that, a delay amount resulting from adding of a first command word to be described later is set.
Waiting for the start timings by the second command word is effective when the length of the cycle CY of the first tool CU1 is different from the length of the cycle CY of the second tool CU2. For example, when a machining shape of the rotating work W is a shape (for example, such a tapered shape as illustrated in
Specifically, waiting M codes are used as the second command word (see
The command adding unit 22 adds a first command word indicating a delay amount for delaying the start timing of the cycle CY of the second tool CU2 from the start timing of the cycle CY of the first tool CU1 to the command blocks (CB2, CB4, and the like in
Here, a delay amount of half the rotation of a spindle is set as the delay amount. In the present embodiment, since the pair of tools CU1 and CU2 are disposed at symmetrical positions with respect to the work W so as to sandwich the rotating work W, if the delay amount is smaller than half the rotation of the spindle, a portion which has not been cut by the first tool CU1 may be cut abruptly by the second tool CU2, the cutting depth may become too large, and the cutting volume may become excessively large. For example, a delay amount of one or two rotations of the spindle is set as the delay amount.
Specifically, a dwell command G04 is used as the first command word (see
The command adding unit 22 adds a command word for doubling the amount of an approach CY1 (see
The distribution unit 23 distributes the plurality of command blocks (CB1 to CB4 in
Next, the composite fixed cycle CCY analyzed by the program creation device 1 will be described with reference to
In
The composite fixed cycle CCY illustrated in
As illustrated in
Next, a machine tool control program created by the program creation device 1 will be described with reference to
When the analysis unit 21 analyzes the composite fixed cycle CCY, the plurality of command blocks CB1 to CB4 and the like are created as illustrated in
As illustrated in
As illustrated in
As shown in
Next, the moving paths of the tools CU1 and CU2 will be described with reference to
As illustrated in
The relation between the command blocks CB1, CB3, and CB5 of the first tool CU1 which is the first system and the command blocks CB2, CB4, and CB6 of the second tool CU2 which is the second system will be described.
As illustrated in
Similarly, the same waiting M code M102 is added to the command block CB3 of the first system (the first tool CU1) and the command block CB4 of the second system (the second tool CU2), and waiting is performed. A dwell command G04X2.0 indicating a delay amount is added to the command block CB4 of the second system (the second tool CU2) immediately after a waiting M code command, and the second system performs machining with the delay amount set from the first system.
The same relation is applied to the command blocks CB5 and CB6, and delayed machining after waiting can be executed between both systems.
Next, a flow in which the program creation device 1 distributes the plurality of command blocks CB1 to CB4 and the like will be described with reference to
The distribution unit 23 distributes the plurality of command blocks CB1 to CB4 and the like created by the analysis unit 21, to which an M code command indicating waiting and a dwell command indicating a delay amount are added by the command adding unit 22, alternately to the two systems of the first and second tools CU1 and CU2.
Specifically, as illustrated in
After that, the flow proceeds to step S13, and the amount of the approach CY1 (see
When a determination result in step S11 is NO, the flow proceeds to step S14 and it is determined whether it is an operation of the cutting CY2 (see
Specifically, as described above, when the machining shape of the rotating work W is a shape (for example, such a tapered shape as illustrated in
Subsequently, in step S18, it is determined whether a command block is of the delaying-side system. When a determination result is YES, since the command block is of the delaying-side system, the flow proceeds to step 19, a dwell command is added to the command block and the flow proceeds to step S20. When a determination result is NO, since the command block is not of the delaying-side system, the flow proceeds to step S20 without adding a dwell command to the command block.
In step S20, the command blocks CB1 to CB4 and the like to which the waiting command and the dwell command are added as described above are distributed to the respective subject systems, and the present process ends. Specifically, since the pair of tools CU1 and CU2 is used in the present embodiment, the command blocks CB1 to CB4 are alternately distributed to the first and second tools CU1 and CU2.
In the present embodiment, a command for performing balance cut may be added to a command format of the composite fixed cycle CCY (see
“B2.0” meaning delaying the spindle by two rotations may be added immediately after “G71U5.0R2.0”, for example, as a command word (a first command word) indicating a delay amount between systems that perform balance cut to create “G71U5.0R2.0B2.0”.
As described above, according to the program creation device 1 according to the present embodiment, it is possible to create the program P1 and P2 for executing balance cut in which one tool CU1 or CU2 performs cutting and the other tool CU2 or CU1 performs cutting while following the one tool and cutting deeper into a work using a composite fixed cycle.
A program creation device according to the second embodiment has a similar configuration to the program creation device 1 according to the first embodiment except that the command adding unit has a different configuration from that of the first embodiment. Specifically, the program creation device according to the present embodiment is different from that of the first embodiment in that the command adding unit adds a dwell command indicating a delay amount without adding a waiting M code as the second command word.
The program creation device according to the present embodiment is effective when a machining shape is a shape such as a cylindrical shape in which the diameter does not change in an axial direction. That is, in this case, since the cutting lengths of the respective cycles CY that form the composite fixed cycle CCY are equal, when these cycles are distributed, the lengths of the cycles performed alternately by the first and second tools CC1 and CU2 are equal, and the periods required for the respective cutting steps are equal. As a result, a timing deviation does not occur. Therefore, when an initial delay amount is set, since no deviation occurs, it is not necessary to wait.
While the embodiments of the present invention have been described, the present invention is not limited to the above-described embodiments. The advantageous effects described in the embodiments of the present invention are only exemplary ones of most preferable effects produced by the present invention, and the advantageous effects of the present invention are therefore not limited to those described in the above embodiments of the present invention.
As described above, according to the program creation device according to the present embodiment, it is possible to create the program P1 and P2 for executing balance cut in which one tool CU1 or CU2 performs cutting and the other tool CU2 or CU1 performs cutting while following the one tool and cutting deeper into a work using a composite fixed cycle depending on a machining shape.
In the above-described embodiments, although a case in which the first and second tools CU1 and CU2 are disposed at symmetrical positions with respect to the work W to perform balance cut has been described as an example, the present invention is not limited thereto. The present invention can be applied to a case of performing balance cut using three or more tools. In this case, it is preferable to arrange a plurality of tools at equal intervals in a circumferential direction and a delay amount and a waiting amount are set appropriately on the basis of an arrangement of the tools and a shape of the work W.
Number | Date | Country | Kind |
---|---|---|---|
JP2018-067266 | Mar 2018 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4631684 | Akasofu | Dec 1986 | A |
5225989 | Kawamura | Jul 1993 | A |
Number | Date | Country |
---|---|---|
59-33509 | Feb 1984 | JP |
59-232745 | Dec 1984 | JP |
63-184803 | Jul 1988 | JP |
4-606 | Jan 1992 | JP |
H07-178645 | Jul 1995 | JP |
2007-234002 | Sep 2007 | JP |
2014128916 | Aug 2014 | WO |
Entry |
---|
Notification of Reasons for Refusal dated Oct. 27, 2020 in Japanese Patent Application No. 2019-056608. |
Number | Date | Country | |
---|---|---|---|
20190302726 A1 | Oct 2019 | US |