This application is based on and claims the benefit of priority from Japanese Patent Application 2019-222314, filed on 9 Dec. 2019, the content of which is incorporated herein by reference.
BACKGROUND OF THE INVENTION
The present disclosure relates to a control device and a recording medium encoded with a program.
Conventionally, a machine tool has been known which machines a workpiece placed on a table using a tool. In the machine tool, the tool and the table are moved to machine a workpiece into a predetermined shape. The control device controls the movement of the machine tool.
Shortening of the cycle time for machining is important for the machine tool. Therefore, the speed of the movement of the table, exchange of tools, etc. is often set so as to be the fastest. For example, a tool holder which shortens the tool exchange time has been proposed (for example, refer to Patent Document 1).
Patent Document 1: Japanese. Unexamined Utility Model Application, Publication No. S62-153029
In relation to shortening of the cycle time, for example, it is useful to move the table in advance to the next machining position while exchanging tools. After exchanging tools, it is thereby possible to start machining of the workpiece immediately. On the other hand, rapid traversing the table at maximum speed may lead to heat generation of the motor. Since time is required to naturally cool the heat generation of the motor, it is desirable to avoid the heat generation. Therefore, it is suitable if possible to optimize the movement speed of the table during tool exchange.
A first aspect of the present disclosure relates to a control device which controls a machine tool so as to move a table during exchange of tools, the control device including: a movement distance acquisition unit which acquires a movement distance of the table during tool exchange; a movement time calculation unit which calculates a fastest movement time from an acquired movement distance, and a speed at which the table is caused to move fastest; a tool exchange time calculation unit which calculates a tool exchange time; a comparison unit which compares the tool exchange time calculated and the fastest movement time calculated; and a speed changing unit which changes the movement speed of the table, in a case of the fastest movement time being shorter than the tool exchange time, so that the movement time of the table becomes longer than the fastest movement time.
In addition, a second aspect of the present invention relates to a recording medium encoded with a program for causing a computer to function as a control device which controls a machine tool so as to move a table during exchange of tools, the program causing the computer to function as: a movement distance acquisition unit which acquires a movement distance of the table during tool exchange; a movement time calculation unit which calculates a fastest movement time from an acquired movement distance, and a speed at which causing the table to move fastest; a tool exchange time calculation unit which calculates a tool exchange time; a comparison unit which compares the tool exchange time calculated and the fastest movement time calculated; and a speed changing unit which changes the movement speed of the table, in a case of the fastest movement time being shorter than the tool exchange time, so that the movement time of the table becomes longer than the fastest movement time.
According to the present disclosure, it is possible to provide a control device and a recording medium encoded with a program which can optimize the movement speed of a table during tool exchange.
Hereinafter, a control device 1 and program according to each embodiment of the present disclosure will be explained with reference to
The machine tool 2 is included in a machining system 100, as shown in
Next, the control device 1 and program according co the first embodiment of the present disclosure will be explained with reference to
The machining program storage unit 11 is a secondary storage medium such as a hard dish, for example. The machining program storage unit 11 stores a machining program indicating the movements of the tool 21 and table 22. In addition, the machining program storage unit 11 stores various setting information such as the movement speed of the axes of the table 22, or retaining positions of tools 21 in the magazine 23.
The detection unit 12, for example, is realized by a CPU operation. The detection unit 12 detects commands for conducting tool exchange and movement of the table 22 simultaneously, in relation to a machining program stored in the machining program storage unit 11. The detection unit 12 causes the movement distance acquisition unit 13 and tool exchange time calculation unit 15 to move according to the detection.
The movement distance acquisition unit 13 is realized by the CPU operation, for example. The movement distance acquisition unit 13 acquires the movement distance of the table 22 during tool exchange. The movement distance acquisition unit 13 acquires the movement distances of the X axis and Y axis from the start to the end of tool exchange, from the machining program storage unit 11, for example. In addition, the movement distance acquisition unit 13 acquires the highest speed of each of the X axis and Y axis, from the machining program storage unit 11.
The movement time calculation unit 14 is realized by a CPU operation, for example. The movement time calculation unit 14 calculates the fastest movement time, from the acquired movement distance, and the speed at which the table 22 is caused to move fastest. The movement time calculation unit 14, for example, calculates the fastest movement time, based on the movement distance, and the highest speed of each axis.
The tool exchange time calculation unit 15 is realized by a CPU operation, for example. The tool exchange time calculation unit 15 calculates the exchange time of the tools 21. The tool exchange time calculation unit 15, for example, acquires the retaining position of the tools 21 in the magazine 23, from the machining program as setting information. The tool exchange time calculation unit 15 calculates the tool exchange time based on the retaining position of the acquired tool 21.
The comparison unit 16 is realized by a CPU operation, for example. The comparison unit 16 compares the calculated tool exchange time with the calculated fastest movement time. More specifically, the comparison unit 16 compares whether the calculated tool exchange time is longer than the calculated fastest movement time.
The speed chancing unit 17 is realized by a CPU operation, for example. In the case of the fastest movement time being shorter than the tool exchange time, the speed changing unit 17 changes the movement speed of the table 22, so that the movement time of the table 22 is longer than the fastest movement time, with the tool exchange time being made as the limit. The speed changing unit 17, for example, recalculates the rapid-traverse time constant of the X axis and Y axis, and changes the movement time during tool exchange to be longer. The speed changing unit 17, for example, changes the movement speed of the table 22, so that the movement time becomes 95% relative to the tool exchange time.
The control execution unit 18 is realized by a CPU operation, for example. The control execution unit 18 causes the table 22 to actually move at the changed movement speed of the table 22. In addition, the control execution unit 18 causes the tool 21 to be exchanged in accordance with the machining program.
Next, operation of the control device 1 of the present embodiment will be explained using the flowchart of
Next, the movement distance acquisition unit 13 acquires the movement distance of the table 22 (Step S2). The movement distance acquisition unit 13, for example, acquires the movement distance of the table 22 included in the detected machining program.
Next, the movement time calculation unit 14 calculates the movement time from the movement distance of the table 22 and the fastest movement speed of each axis (Step S3). Next, the tool exchange time calculation unit 15 calculates the exchange time of the tool 21 (Step S4).
Next, the comparison unit 16 compares the tool exchange time with the movement time of the table 22 (Step S5). In the case of the tool exchange time being longer than the movement time of the table 22 (Step S5: YES), the processing advances to Step S6. On the other hand, in the case of the tool exchange time being shorter than the movement time of the table 22 (Step S5: NO), the processing advances to Step S7.
In Step S6, the speed changing unit 17 changes the movement speed of the table 22. The speed changing unit 17, for example, changes so as to make the movement speed of the table 22 longer, with the tool exchange time being made as a limit.
Next, in Step S7, the control execution unit 18 actually executes the exchange of tools 21 and the movement of the table 22. The processing according to the present flow thereby ends.
Next, the program of the present disclosure will be explained. Each configuration included in the control device 1 can be realized by way of hardware, software or a combination thereof. Herein, being realized by software means being realized by a computer reading and executing a program.
The program can be stored using various types of non-transitory computer readable media, and supplied to the computer. Non-transitory computer readable medium includes various types of tangible storage media. Examples of non-transitory computer readable media include magnetic recording media (e.g., flexible disk, magnetic tape, hard disk drive), magneto-optical recording media (e.g., magneto-optical disk), CD-ROM (Read Only Memory), CD-R, CD-R/W and semiconductor memory (e.g., mask ROM, PROM (programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)). In addition, the display program may be supplied to the computer by way of various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals and electromagnetic waves. Transitory computer readable media can supply programs to the computer via wired communication paths such as electric wires and optical fiber, or wireless communication paths.
Next, Examples of the present embodiment will be explained with reference to
According to the control device 1 and program in the first embodiment above, the following effects are obtained. (1) The control device 1 which controls the machine tool 2 so as to make the table 22 move during exchange of the tools 21, includes: the movement distance acquisition unit 13 which acquires the movement distance of the table 22 during tool exchange; the movement time calculation unit 14 which calculates the fastest movement time from the acquired movement distance and the speed at which the table 22 is caused to move the fastest; the tool exchange tool calculation unit 15 which calculates the exchange time of the tool 21; the comparison unit 16 which compares the calculated tool exchange time with the calculated fastest movement time; and the speed changing unit 17 which changes the movement speed of the table 22, in a case of the fastest movement time being shorter than the tool exchange time, so that the movement time of the table 22 becomes longer than the fastest movement time, with the tool exchange time being made as a limit. In addition, a program causes a computer to function as the control device 1 which controls the machine tool so as to move the table 22 during exchange of the tools 21, the computer being caused to function as: the movement distance acquisition unit 13 which acquires the movement distance of the table 22 during tool exchange; the movement time calculation unit 14 which calculates the fastest movement time from the acquired movement distance and the speed at which the table 22 is caused to move the fastest; the tool exchange tool calculation unit 15 which calculates the exchange time of the tool 21; the comparison unit 16 which compares the calculated tool exchange time with the calculated fastest movement time; and the speed changing unit 17 which changes the movement speed of the table 22, in a case of the fastest movement time being shorter than the tool exchange time, so that the movement time of the table 22 becomes longer than the fastest movement time, with the tool exchange time being made as a limit. It is thereby possible to change the movement speed of the table 22 during the tool exchange. Therefore, it is possible to suppress heat generation of the axis moving the table 22. In addition, it is possible to suppress electrical consumption, and suppress operating costs. In other words, it is possible to optimize the movement speed of the table 22.
Next, a control device 1 and program according to a second embodiment of the present disclosure will be explained with reference to
More specifically, the control device 1 and program according to the second embodiment differ from the first embodiment in that the movement time calculation unit 14 adds the clamping time and unclamping time of the table 22 to the fastest movement time to calculate the actual movement time. In addition, the control device 1 and program according to the second embodiment differ from the first embodiment, in that the speed changing unit 17 changes the movement speed of the table 22 in order to make the actual movement time of the table 22 longer than the fastest movement time, with the tool exchange time being made as a limit, in the case of the actual movement time being shorter than the tool exchange time.
Next, Examples of the control device 1 and program according to the second embodiment will be explained with reference to
In contrast, in the case of slowing the movement speed of the table 22 according to the tool exchange time, the table 22 moves to the target position (two-dot dashed line M4 in
According to the control device 1 and program in the second embodiment above, the following effects are obtained. (3) The movement time calculation unit 14 adds the clamping time and unclamping time of the table 22 to the fastest movement time to calculate the actual movement speed. Even if being an axis having a brake mechanism, it is thereby possible to realize a change in speed. Therefore, it is possible to improve the versatility of the control device 1.
(4) The speed changing unit 17, in the case of the actual movement time being shorter than the tool exchange time, changes the movement speed of the table 22, so that the actual movement time of the table 22 becomes longer than the fastest movement time, with the tool exchange time being made as a limit. It is thereby possible to improve the versatility of the control device 1, by changing the actual speed.
Although the respective preferred embodiments of the control device and program of the present disclosure have been explained above, the present disclosure is not to be limited to the aforementioned embodiments, and modifications are possible as appropriate. For example, in the above embodiments, the speed changing unit 17 may store the changed movement speed of the table 22 as an item among the various settings in the machining program storage unit 11. The control execution unit 18 may be configured so as to control movement of the table 22, by reading a stored item, upon executing a machining program.
In addition, in the above embodiments, the speed changing unit 17 is not limited to a change in speed, and may be configured so as to change the acceleration of the axis. In addition, the speed changing unit 17 may be configured so as to change the movement speed of the table 22, by adopting the time constant of the speed by a sequence decided in advance.
In addition, in the above embodiments, the control device 1 is explained as being independent from the machine tool 2; however, it is not limited thereto. The control device 1 may be configured integrally with the machine tool 2.
Number | Date | Country | Kind |
---|---|---|---|
2019-222314 | Dec 2019 | JP | national |