CONTROL DEVICE AND RECORDING MEDIUM ENCODED WITH PROGRAM
20210173382 ยท 2021-06-10
Assignee
Inventors
Cpc classification
G05B2219/37611
PHYSICS
International classification
Abstract
A control device which controls a machine tool so as to move a table during exchange of tools includes: 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 with 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.
Claims
1. A control device which controls a machine tool so as to move a table during exchange of tools, the control device comprising: 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 with 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.
2. The control device according to claim 1, wherein the movement time calculation unit adds a clamping time and an unclamping time of the table to the fastest movement time to calculate an actual movement time.
3. The control device according to claim 2, wherein the speed changing unit, in a case of the actual movement time being shorter than the tool exchange time, changes the movement speed of the table, so that the actual movement time of the table becomes longer than the fastest movement time, with the tool exchange time being made as a limit.
4. A recording medium encoded with a program which causes a computes to function as a control device that controls a machine tool so as to cause a table to move 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 as 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 with 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.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0011]
[0012]
[0013]
[0014]
[0015]
DETAILED DESCRIPTION OF THE INVENTION
[0016] Hereinafter, a control device 1 and program according to each embodiment of the present disclosure will be explained with reference to
[0017] The machine tool 2 is included in a machining system 100, as shown in
First Embodiment
[0018] Next, the control device 1 and program according co the first embodiment of the present disclosure will be explained with reference to
[0019] 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.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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.
[0027] Next, operation of the control device 1 of the present embodiment will be explained using the flowchart of
[0028] 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.
[0029] 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).
[0030] 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.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] Next, Examples of the present embodiment will be explained with reference to
[0036] 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.
Second Embodiment
[0037] Next, a control device 1 and program according to a second embodiment of the present disclosure will be explained with reference to
[0038] 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.
[0039] Next, Examples of the control device 1 and program according to the second embodiment will be explained with reference to
[0040] 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
[0041] 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.
[0042] (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.
[0043] 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.
[0044] 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.
[0045] 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.
EXPLANATION OF REFERENCE NUMERALS
[0046] 1 control device [0047] 2 machine tool [0048] 13 movement distance acquisition unit [0049] 14 movement time calculation unit [0050] 15 tool exchange time calculation unit [0051] 16 comparison unit [0052] 17 speed changing unit [0053] 21 tool [0054] 22 table