Machine tool, brake abnormality determination method and computer program

By conducting brake tests on machine tools while the spindle is in the machining area, the method addresses the inefficiencies of existing brake testing methods, enabling quicker and more reliable brake abnormality determination.

JP2024121610APending Publication Date: 2024-09-06BROTHER KOGYO KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023028804
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing machine tools require a prolonged time to complete brake tests due to the need for the spindle to move to the tool exchange area, which complicates the process and increases the risk of interference and spatial constraints.

Method used

The machine tool performs brake abnormality tests by applying a load to the motor brakes while the spindle is in the machining area, allowing simultaneous testing of multiple brakes without the need for additional movement, thus reducing interference and spatial constraints.

Benefits of technology

This approach allows for a rapid completion of brake tests, minimizing interference and spatial issues, and ensuring efficient operation by performing tests in a more accessible and safer environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024121610000001
    Figure 2024121610000001
Patent Text Reader

Abstract

To provide a machine tool, a brake abnormality determination method and a computer program that can quickly finish a braking test.SOLUTION: A machine tool according to the present disclosure includes: a main spindle which holds a tool for processing a workpiece in a detachable manner; a tool exchanger which has a tool holding part that can hold the tool to be fitted to the main spindle; a first motor which drives the tool exchanger so that the tool holding part is moved; a first brake which brakes the rotation of the first motor; and a test part which performs a first load application test that applies a load to the first motor under the condition that the first brake is activated in order to determine the presence / absence of an abnormality in the first brake when the main spindle is located in a processing area for processing the workpiece.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a machine tool, a brake abnormality determination method, and a computer program. [Background technology]

[0002] The machine tool described in Patent Document 1 includes a spindle and a tool magazine (tool changer). The spindle holds a tool removably and can move up, down, forward, backward, left and right. In the machining area for machining the workpiece, the tool held by the spindle machines the workpiece. The tool magazine has a plurality of tool holders. Each tool holder can hold a tool, and the magazine motor drives the tool magazine to move in a circulating manner along a predetermined path. In a tool exchange area for changing tools, a tool held by the spindle is attached to one tool holder, and a tool held by another tool holder is attached to the spindle, thereby changing the tools.

[0003] The brake applies a brake to the magazine motor while it is stopped, thereby reliably bringing the tool holder to a standstill. To prevent the tool holder from shifting out of position due to a brake malfunction, the machine tool performs a brake test to determine whether or not there is a brake malfunction. In the brake test, the machine tool applies a load to the magazine motor with the brake activated, and determines whether or not the amount of rotation of the magazine motor is within the allowable range. If the amount of rotation of the magazine motor is outside the allowable range, there is an abnormality in the brake, and the machine tool notifies the user of an error. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2019-67152 A Summary of the Invention [Problem to be solved by the invention]

[0005] In the case of the machine tool described in Patent Document 1, a load is applied to the magazine motor after the spindle has moved to the tool change area, so the brake test cannot be completed quickly.

[0006] An object of the present disclosure is to provide a machine tool, a brake abnormality determination method, and a computer program that can quickly complete a brake test. [Means for solving the problem]

[0007] The machine tool disclosed herein is characterized in that it comprises a spindle that detachably holds a tool for machining a workpiece, a tool exchange device provided with a tool holding portion capable of holding the tool to be attached to the spindle, a first motor that drives the tool exchange device so as to move the tool holding portion, a first brake that brakes the rotation of the first motor, and a test unit that performs a first load application test in which a load is applied to the first motor with the first brake activated when the spindle is positioned in a machining area for machining the workpiece in order to determine whether or not there is an abnormality in the first brake.

[0008] In the present disclosure, a spindle removably holds a tool for machining a workpiece. A tool holding unit is provided in the tool changer. The tool holding unit is capable of holding a tool to be attached to the spindle. A first motor drives the tool changer so as to move the tool holding unit. A first brake brakes the rotation of the first motor. The test unit performs a first load application test when the spindle is located in the machining area in order to determine whether or not there is an abnormality in the first brake. In the first load application test, the test unit applies a load to the first motor in a state in which the first brake is braking the rotation of the first motor.

[0009] Since the machining area is an area for machining a workpiece, the spindle located in the machining area is located away from the tool holder, so there is no risk of interference between the tool holder, the spindle, and the tool. Since the spindle located in the machining area does not need to move to an area outside the machining area, the movement time of the spindle can be shortened, and the brake test can be completed quickly.

[0010] The machine tool according to the present disclosure is characterized in that the test unit reports an error when the spindle is positioned in a tool exchange area for exchanging the tool attached to the spindle with the tool holding unit.

[0011] In the present disclosure, when the spindle is located in the tool change area, the test unit notifies an error. For example, the test unit obtains the current position of the spindle before the execution of the first load application test, and notifies an error if the current position is in the tool change area. Since the tool changing area is an area for changing the tool attached to the spindle between the tool holder and the tool changing area, the spindle located in the tool changing area is located close to the tool holder. Also, the tool changing area may have a limited space. By notifying the user of the error, it is possible to prevent the brake test from being performed under undesirable conditions.

[0012] The machine tool disclosed herein further comprises a cover covering the tool exchange device and having an opening, and a shutter for opening and closing the opening, the shutter opens the opening when a tool is exchanged and closes the opening when a workpiece is machined, and the test section performs the first load application test when the shutter is closed.

[0013] In the present disclosure, a cover covers the tool changer, and a shutter opens and closes an opening in the cover. The shutter opens the opening in the cover when changing tools and closes it when machining a workpiece. Therefore, when the spindle is located in the machining area, the shutter is likely to be closed. The test section performs the first load application test when the shutter is closed. In other words, it is not necessary to open a closed shutter for the brake test, and it is not necessary to close an open shutter again. Therefore, the brake test can be completed quickly.

[0014] The machine tool disclosed herein further comprises a second motor for moving the spindle and a second brake for braking the rotation of the second motor, and the test section is characterized in that when the spindle is located in the machining area, a second load application test is performed to apply a load to the second motor with the second brake activated in order to determine whether or not there is an abnormality in the second brake.

[0015] In the present disclosure, the second motor is driven to move the main shaft, and the second brake applies a brake to the rotation of the second motor. The test unit performs a second load application test when the spindle is located in the machining area in order to determine whether or not there is an abnormality in the second brake. In the second load application test, the test unit applies a load to the second motor in a state in which the second brake is braking the rotation of the second motor. After the second load application test is completed, the test unit can determine whether or not there is an abnormality in the second brake.

[0016] Depending on the configuration of the machine tool, if the spindle becomes misaligned, the user must return the misaligned spindle to its original position. In this case, if there is not enough space around the spindle, there is a concern that the task of returning the misaligned spindle to its original position will become difficult. Since the machining area is an area for machining the workpiece, the machining area has a larger spatial margin than the tool exchange area. Therefore, even if the spindle is displaced due to the rotation of the second motor caused by the load as a result of the second load application test, there is a low possibility that the spindle or the tool held by the spindle will interfere with other members when returning the displaced spindle to its original position. Therefore, since the operation of returning the displaced spindle to its original position is easy, it is easy to return the spindle to its original position after the brake test.

[0017] The machine tool according to the present disclosure is characterized in that the testing section performs the first load application test and the second load application test together.

[0018] In the present disclosure, the testing section performs the first load application test and the second load application test together, so that the brake test can be completed quickly. Here, performing multiple load tests together means, for example, performing multiple load tests in parallel, or performing multiple load tests in sequence without performing other work between one load test and the other load tests.

[0019] The machine tool according to the present disclosure is characterized in that the test section determines whether or not there are abnormalities in the first brake and the second brake together after completion of the first load application test and the second load application test.

[0020] In the present disclosure, after the first load application test and the second load application test are completed, the testing section determines whether or not there are any abnormalities in the first brake and the second brake together, so that the brake test can be completed quickly. Here, judging whether or not there are abnormalities in multiple brakes at the same time means, for example, judging in parallel or succession whether the rotation amount of each motor in a load application test is within a predetermined tolerance range.

[0021] The machine tool disclosed herein further comprises a machining table for fixing the workpiece, a oscillating table on which the machining table is attached, a third motor for oscillating the oscillating table, a third brake for braking the rotation of the third motor, and a reception unit for receiving a movement command for commanding the movement of the spindle to a predetermined position in the machining area, and the test unit performs a third load application test in which a load is applied to the third motor with the third brake activated in order to determine whether or not there is an abnormality in the third brake, and the order of execution of the first load application test, the second load application test, and the third load application test when the reception unit receives the movement command is different from the order of execution when the reception unit does not receive the movement command.

[0022] In the present disclosure, the processing table fixes the workpiece. The processing table is attached to the oscillating table. The oscillating table oscillates when driven by the third motor. The third brake brakes the rotation of the third motor. The testing unit performs a third load application test to determine whether or not there is an abnormality in the third brake. In the third load application test, the testing unit applies a load to the third motor in a state in which the third brake is braking the rotation of the third motor.

[0023] As a result of the third load application test, it was found that the rotation of the third motor caused by the load could cause the oscillation table to shift in position. If the oscillation table shifts in position, the processing table (and the workpiece on the processing table) also shifts in position. Since the tool held by the spindle machines the workpiece on the processing table, at least the workpiece on the processing table is located in the processing area. Since the processing table is attached to the oscillating table, if the spindle located in the processing area is close to the workpiece on the processing table, there is a risk that the oscillating table, the processing table, or the workpiece on the processing table that has shifted in position as a result of the third load application test may interfere with the spindle.

[0024] The receiving unit receives a movement command for moving the spindle to a predetermined position in the machining area. This predetermined position is preferably a position where no interference occurs between the oscillating table, the machining table, or the workpiece and the spindle. For example, a user determines whether or not it is necessary to move the spindle to a predetermined position, and if necessary, issues a movement command to the reception unit. If the reception unit receives the movement command, there is a risk of the above-mentioned interference occurring, and if the reception unit does not receive the movement command, there is no risk of the above-mentioned interference occurring. Therefore, by changing the execution order of the first load application test, the second load application test, and the third load application test depending on whether the reception unit receives a movement command or not, it is possible to effectively prevent the above-mentioned interference from occurring.

[0025] The machine tool disclosed herein is characterized in that, if the receiving unit does not receive the movement command, the testing unit performs the first load application test, the second load application test, and the third load application test all at once.

[0026] In the present disclosure, when the receiving unit does not receive a movement command, the testing unit performs the first load application test, the second load application test, and the third load application test all at once. Since the reception unit did not receive a movement command, there is no risk of the above-mentioned interference occurring, and therefore there is no need to move the spindle to a predetermined position for the brake test. As a result, the brake test can be completed quickly.

[0027] The machine tool disclosed herein is characterized in that, if the receiving unit does not receive the movement command, the testing unit collectively determines whether or not there are abnormalities in the first brake, the second brake, and the third brake after completion of the first load application test, the second load application test, and the third load application test.

[0028] In the present disclosure, if the reception unit does not receive a movement command, after the first load application test, the second load application test, and the third load application test are completed, the test unit collectively determines whether or not there are abnormalities in the first brake, the second brake, and the third brake. Therefore, the brake test can be completed quickly.

[0029] The machine tool disclosed herein further includes a fourth motor for moving the spindle in a direction intersecting the vertical direction, and a judgment unit for judging whether the spindle is located at the predetermined position, wherein the first motor causes the tool holding unit to rotate about a rotation axis extending in a direction intersecting the vertical direction, and the second motor causes the spindle to move in the vertical direction, and when the receiving unit receives the movement command, the testing unit performs the first load application test and the second load application test together, and after the first load application test and the second load application test are completed, when the judgment unit determines that the spindle is not located at the predetermined position, controls the operation of the second motor or the fourth motor so that the spindle moves to the predetermined position, and after the first load application test and the second load application test are completed, when the judgment unit determines that the spindle is located at the predetermined position, performs the third load application test.

[0030] In the present disclosure, the first motor drives the tool changer, causing the tool holding unit to rotate around the pivot axis. Since the pivot axis extends in a direction intersecting the vertical direction, the tool holding unit changes its vertical position due to the rotation around the pivot axis. Therefore, if there is an abnormality in the brake, the tool holding unit is likely to become misaligned due to the action of gravity. Similarly, since the main spindle moves in the vertical direction by being driven by the second motor, it is likely to become misaligned if there is an abnormality in the brake. For these reasons, the first load application test and the second load application test are particularly important. The fourth motor drives the spindle to move in a direction intersecting the up-down direction. The determination unit determines whether the spindle is at a predetermined position.

[0031] When the reception unit receives a movement command, the test unit performs the first load application test and the second load application test together. Since the third load application test is not performed when these tests are being performed, there is no risk of the above-mentioned interference occurring. Therefore, there is no need to move the spindle to a specified position. In other words, since multiple load application tests related to particularly important brakes are performed together as a priority, the brake test can be completed quickly.

[0032] If the determination unit determines that the spindle is not located at the predetermined position after the first load application test and the second load application test are completed, the test unit controls the operation of the second motor or the fourth motor so that the spindle moves to the predetermined position. If the determination unit determines that the spindle is located at the predetermined position after the first load application test and the second load application test are completed, the test unit performs a third load application test. In other words, if the spindle is not located at the predetermined position before the third load application test is performed, the spindle moves to the predetermined position. As a result of the above, the occurrence of the above-mentioned interference can be prevented.

[0033] The machine tool disclosed herein is characterized in that, when the receiving unit receives the movement command, the testing unit, after completion of the third load application test, collectively determines whether or not there are abnormalities in the first brake, the second brake, and the third brake.

[0034] In the present disclosure, when the receiving unit receives a movement command, after the third load application test is completed, the testing unit collectively determines whether or not there are abnormalities in the first brake, the second brake, and the third brake, so that the brake test can be completed quickly.

[0035] The machine tool according to the present disclosure is characterized in that the axial direction of the spindle is horizontal.

[0036] In the present disclosure, the axial direction of the spindle is horizontal, that is, the machine tool according to the present disclosure is a so-called horizontal machine tool.

[0037] The brake abnormality determination method of the present disclosure is characterized in that, in order to determine whether or not there is an abnormality in a brake that brakes the rotation of a motor that drives a tool changer provided with a tool holding part so that a tool holding part capable of holding a tool that is attached to a spindle that detachably holds a tool for machining a workpiece moves, a load application test is performed when the spindle is positioned in a machining area for machining the workpiece, in which a load is applied to the motor with the brake activated.

[0038] In the present disclosure, a load application test can be performed in a machine equipped with a spindle, a tool changer, a motor, and a brake when the spindle is located in the machining area, and therefore the brake test can be completed quickly.

[0039] The computer program of the present disclosure is characterized in that it causes a computer to execute a process for performing a load application test in which a load is applied to a motor with the brake activated, in order to determine whether or not there is an abnormality in a brake that brakes the rotation of a motor that drives a tool changer provided with a tool holding part, so that a tool holding part capable of holding a tool to be attached to a spindle that detachably holds a tool for machining a workpiece moves, when the spindle is positioned in a machining area for machining the workpiece.

[0040] A computer-readable storage medium having the above computer program stored thereon is also novel and useful.

[0041] In the present disclosure, the brake abnormality determination method according to the present disclosure can be realized by having a computer execute the above-mentioned processing in an apparatus equipped with a spindle, a tool changer, a motor, and a brake. Effect of the Invention

[0042] According to the machine tool, brake abnormality determination method, and computer program disclosed herein, brake testing can be completed quickly. [Brief description of the drawings]

[0043] [Figure 1] 1 is a perspective view of a machine tool according to an embodiment, as viewed from above and from the front side; [Diagram 2] FIG. 2 is a perspective view of the machine tool as seen from the lower front side. [Diagram 3] FIG. 2 is a perspective view of the machine tool as seen from above and rear. [Figure 4] FIG. [Diagram 5] FIG. [Figure 6] FIG. 11 is an explanatory diagram showing the operation of the spindle during tool replacement (from the machining area to the tool replacement area). [Figure 7] FIG. 11 is an explanatory diagram showing the operation of the spindle during tool change (from the tool change area to the machining area). [Figure 8] FIG. 2 is a block diagram showing the configuration of a control system of the machine tool. [Figure 9] 10 is a flowchart showing the steps of a brake abnormality determination process executed by the machine tool. [Figure 10] 10 is a flowchart showing the steps of a brake abnormality determination process executed by the machine tool. [Figure 11] 10 is a flowchart showing the steps of a brake abnormality determination process executed by the machine tool. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0044] Hereinafter, an embodiment of the present disclosure will be described. In the following description, up and down, front and back, and left and right as indicated by arrows in the drawings will be used. Also, "NC" described in the embodiment is an abbreviation for "Numerical Control."

[0045] FIG. 1 is a perspective view of a machine tool 1 according to an embodiment, as viewed from the upper front side. The machine tool 1 includes a base 10. The base 10 is made of iron, for example, and is placed on a factory floor. The base 10 has a rectangular shape in a plan view. The X-axis direction of the machine tool 1 is aligned along the short side of the upper surface of the base 10 and corresponds to the left-right direction. The Y-axis direction of the machine tool 1 is aligned along the long side of the upper surface of the base 10 and corresponds to the front-back direction.

[0046] FIG. 2 is a perspective view of the machine tool 1 as seen from the lower front side. FIG. 3 is a perspective view of the machine tool 1 as viewed from above and rear. FIG. 4 is a right side view of the machine tool 1. FIG. As shown in FIGS. 1 to 4, the machine tool 1 includes an X-axis movement mechanism 11, a Z-axis movement mechanism 12, and a Y-axis movement mechanism 13. The X-axis movement mechanism 11 is provided at the rear of the upper surface of the base 10. The X-axis movement mechanism 11 has a moving body 111. The moving body 111 is movable along a guide rail (not shown) that extends in the left-right direction. The Z-axis movement mechanism 12 is provided on the upper part of the moving body 111. The Z-axis movement mechanism 12 has a column 121. The column 121 is in the form of a pillar extending vertically, and is movable along a guide rail (not shown) extending in the front-rear direction. The column 121 has a through hole 122 (see FIG. 3) that passes through the column 121 from front to rear. The through hole 122 has a rectangular shape that is long in the vertical direction.

[0047] The machine tool 1 is equipped with a spindle head 2. The spindle head 2 is columnar and passes through a through hole 122 from front to rear. The front end of the spindle head 2 protrudes forward from the through hole 122, and the rear end of the spindle head 2 protrudes rearward from the through hole 122. The Y-axis moving mechanism 13 is provided on the front surface of the column 121, and supports the spindle head 2 so that the spindle head 2 is movable along a guide rail (not shown) that extends in the vertical direction.

[0048] The machine tool 1 is equipped with a workpiece supporting device 14. The workpiece supporting device 14 is provided at the front part of the upper surface of the base 10. As shown in FIG.

[0049] The oscillating table 141 can be oscillated around an oscillating axis (hereinafter referred to as the A-axis) extending in the left-right direction (not shown). The processing table 142 has a fixing surface 14a for fixing the workpiece W using a jig (not shown). The fixing surface 14a is parallel to the A-axis, and the inclination of the fixing surface 14a with respect to the horizontal plane changes as the oscillating table 141 oscillates around the A-axis. The fixing surface 14a never faces vertically or downward. The processing table 142 is attached to the oscillating table 141 so as to be rotatable around a rotation axis (not shown) perpendicular to the fixing surface 14a. The work support device 14 further includes a motor for driving the processing table 142, but detailed description thereof will be omitted.

[0050] As shown in Figures 1 to 3, one front support column 101 is erected on each of the left and right ends of the upper surface of the base 10. The front-to-rear position of the front support column 101 is rearward of the work support device 14 and forward of the column 121 (see Figure 4). The upper part of the front support column 101 is positioned above the spindle head 2 in the vertical direction. The upper parts of the two front support columns 101 are connected to each other by a connecting part 102 extending in the left-right direction (see Figure 3).

[0051] 1 to 4, the machine tool 1 has a box-shaped cover 31. The cover 31 is fixed to the front surface of the connecting portion 102. As shown in Fig. 2, the cover 31 has an opening 311. The opening 311 extends from the bottom wall 31a to the rear wall of the cover 31 (see Figs. 6 and 7 described below). The machine tool 1 includes a shutter 32. The shutter 32 can open and close an opening 311. Inside the cover 31, there is an actuator (for example, an air cylinder) that drives the shutter 32 so that the shutter 32 opens and closes, but a detailed description of this will be omitted.

[0052] Fig. 5 is an enlarged perspective view of the machine tool 1. Fig. 5 shows the configuration in the vicinity of the connecting portion 102 with the cover 31 omitted. The spindle head 2 has a spindle motor 21 at its rear end (see Figs. 1 to 4) and a spindle 22 at its front end. The spindle 22 moves as the spindle head 2 moves. The spindle 22 is rotatable around its axis. The spindle motor 21 drives the spindle 22 so that the spindle 22 rotates. The axial direction of the spindle 22 runs along the front-rear direction. The machine tool 1 according to this embodiment is a horizontal machine tool having a column traverse structure in which the spindle 22 extends in the front-rear direction and the column 121 moves in the front-rear and left-right directions.

[0053] 6 and 7 are explanatory views showing the operation of the spindle 22 during tool replacement. The spindle 22 detachably holds a tool T for machining the workpiece W. The tool T is, for example, rod-shaped and has a tool body with a cutting blade at its tip, and a holder that holds the base end of the tool body. The spindle 22 has a hole 221 into which the holder of the tool T can enter, and the hole 221 of the spindle 22 opens forward at the front end of the spindle head 2. The spindle 22 holds the holder of the tool T that has entered the hole 221 of the spindle 22 from the front side of the spindle 22 relative to the spindle 22. The tool T held by the spindle 22 rotates with the rotation of the spindle 22. Meanwhile, the spindle 22 moves backward relatively from the tool T, causing the tool T to come off the spindle 22.

[0054] The machine tool 1 is equipped with a tool changer 4 , and a cover 31 covers the tool changer 4 . 5, the tool exchange device 4 includes a tool magazine 41 and an M-axis motor 42 (first motor). The tool magazine 41 includes a magazine base 411 and a plurality of grip arms 412 (tool holding portions). Each grip arm 412 removably holds a tool T.

[0055] The magazine base 411 is disk-shaped, with its axial direction aligned in the front-rear direction. The multiple grip arms 412 are evenly spaced on the outer periphery of the magazine base 411, and extend radially outward from the magazine base 411. The tool magazine 41 has a rotation axis (hereinafter referred to as the M-axis) (not shown) at the center of the magazine base 411. The M-axis extends in the front-rear direction, and is located at the center of the connecting part 102 in the left-right direction. The connecting part 102 supports the magazine base 411 so that the magazine base 411 can rotate in the circumferential direction around the M-axis.

[0056] The M-axis motor 42 drives the magazine base 411 so that the magazine base 411 rotates in a circumferential direction about the M-axis. As the magazine base 411 rotates, each of the multiple grip arms 412 (and the tools T held by the grip arms 412) rotates (pivots) in a circumferential direction about the M-axis.

[0057] As shown in Figures 6 and 7, at least a part of the opening 311 of the cover 31 is located directly below the grip arm 412 at the lowest part of the magazine base 411 (hereinafter referred to as the tool change position). Only the grip arm 412 at the tool change position is shown in each of Figures 6 and 7. The tip of the grip arm 412 at the tool change position faces downward. When the tip of the grip arm 412 faces downward, the grip arm 412 holds the tool T by attaching the tool T facing upward to the tip of the grip arm 412. When the tip of the grip arm 412 faces downward, the tool T held by the grip arm 412 is pulled downward, and the tool T is released from the grip arm 412.

[0058] The area for machining the workpiece W fixed to the machining table 142 is called the machining area AW. As shown in Figures 4, 6, and 7, the machining area AW is an area below the lower surface of the bottom wall 31a of the cover 31. The tool T held by the spindle 22 located in the machining area AW machines the workpiece W. The area for tool replacement between the spindle 22 and the grip arm 412 is referred to as the tool replacement area AT. The tool replacement area AT is an area above the lower surface of the bottom wall 31a of the cover 31, and includes a lower part of the internal space of the cover 31. The tool replacement area AT is located in the left-right center of the machining area AW in a plan view, and is located at the rear of the machining area AW (at least the part behind the machining table 142) in a side view.

[0059] When the shutter 32 is opened, the machining area AW and the tool exchange area AT communicate with each other through the opening 311 . The tool change is performed between the spindle 22 located in the tool change area AT and the grip arm 412 located at the tool change position. The tool T held by the spindle 22 is attached to the grip arm 412 that is not holding a tool T, and the tool T held by the grip arm 412 is attached to the spindle 22 that is not holding a tool T, thereby completing the tool change.

[0060] When machining using the tool T held by the spindle 22 is completed, the spindle 22 moves from the machining area AW through the opening 311 to the tool change area AT for tool change, and after the tool change, moves from the tool change area AT to the machining area AW through the opening 311.

[0061] For example, as shown in Fig. 6, the spindle 22 moves backward to sufficiently separate from the workpiece W, and then moves backward and upward to the opening 311 of the cover 31. The spindle 22 located in the opening 311 moves upward to enter the tool change area AT and approach the grip arm 412 at the tool change position. At the tool change position, a grip arm 412 not holding a tool T is previously arranged. The raised spindle 22 attaches the tool T it is holding to the grip arm 412 at the tool change position. After the grip arm 412 holds the tool T, the spindle 22 moves backward. As the spindle 22 moves backward, the tool T is released from the spindle 22 and the spindle 22 moves sufficiently away from the tool magazine 41.

[0062] After the tool T is released from the spindle 22, the grip arm 412 rotates, and the grip arm 412 holding the next tool T to be used moves to the tool exchange position. 7, the spindle 22 moves forward to approach the grip arm 412 at the tool changing position. As the spindle 22 moves forward, the tool T held by the grip arm 412 enters the hole 221 of the spindle 22. After the spindle 22 holds the tool T, the spindle 22 moves downward to remove the tool T from the grip arm 412 and moves to the opening 311 of the cover 31. The spindle 22 positioned in the opening 311 moves downward and forward to enter the machining area AW and position itself behind the workpiece W, and then moves forward to approach the workpiece W.

[0063] After the spindle 22 approaches the workpiece W, machining of the workpiece W with the tool T held by the spindle 22 begins. The shutter 32 opens the opening 311 when changing a tool and closes the opening 311 when machining the workpiece W. More specifically, the shutter 32 opens the opening 311 when the spindle 22 moves from the machining area AW to the tool change area AT for tool change, and closes the opening 311 when the spindle 22 moves from the tool change area AT to the machining area AW for machining the workpiece W. By closing the shutter 32, communication between the tool change area AT and the machining area AW is cut off, and the cover 31 and the shutter 32 protect the tool changer 4 and the tool T held by the grip arm 412 from cutting fluid, chips, and the like that are scattered during machining of the workpiece W.

[0064] During tool change, the spindle 22 moves along a fixed path, so there is no need to provide extra space in the tool change area AT. By minimizing the area of ​​the tool change area AT, the machine tool 1 can be made more compact.

[0065] 1 to 4, two rear support columns 103 each extend upward from the rear of the base 10. The two rear support columns 103 are spaced apart from each other in the left-right direction. The machine tool 1 is equipped with a control device 5. The control device 5 is fixed to the upper part of each of the two rear support columns 103.

[0066] FIG. 8 is a block diagram showing the configuration of a control system of the machine tool 1. The control device 5 includes a control unit 51, a volatile main memory unit 52, and a non-volatile auxiliary memory unit 53. The control unit 51 has one or more processors such as a CPU, an MPU, or a GPU. The control unit 51 is connected to a main memory unit 52 and an auxiliary memory unit 53 via, for example, a bus (not shown). The control unit 51 uses the main memory unit 52 as a working area, and executes various types of arithmetic processing, control processing, and the like in accordance with a computer program 5a (program product) stored in the auxiliary memory unit 53. The main memory unit 52 is, for example, a RAM.

[0067] The auxiliary storage unit 53 has a recording medium such as an EEPROM, a Flash ROM, or a hard disk. The auxiliary storage unit 53 stores a computer program 5a including an NC program for machining the workpiece W, a program for performing a brake test, and the like. The computer program 5a stored in the auxiliary storage unit 53 may be downloaded from a server via a network, for example, or may be read from a portable recording medium 50 (such as a CD-ROM or a flash memory). The auxiliary storage unit 53 may have the portable recording medium 50. In this case, the control unit 51 reads out the computer program 5a from the portable recording medium 50 and executes it.

[0068] The machine tool 1 is equipped with an operation panel 6 . Operation panel 6 has a display unit that displays information, and an operation unit that the user operates when inputting a predetermined command to machine tool 1. Control unit 51 controls operation panel 6 to display predetermined information (e.g., an error message) on the display unit of operation panel 6. When the user operates the operation unit of operation panel 6, control unit 51 receives the predetermined command (e.g., a movement command described below).

[0069] The machine tool 1 includes an X-axis motor 112 (fourth motor), a Z-axis motor 123 (fourth motor), a Y-axis motor 131 (second motor), and an A-axis motor 143 (third motor). The X-axis motor 112 constitutes the X-axis movement mechanism 11, and when the X-axis motor 112 is driven, the moving body 111 moves left and right. The X-axis motor 112 drives the moving body 111 via a ball screw (not shown). The Z-axis motor 123 constitutes the Z-axis movement mechanism 12, and when the Z-axis motor 123 is driven, the column 121 moves back and forth. The Z-axis motor 123 drives the column 121 via a ball screw (not shown). The Y-axis motor 131 constitutes the Y-axis movement mechanism 13, and when the Y-axis motor 131 is driven, the spindle head 2 moves up and down. The Y-axis motor 131 drives the spindle head 2 via a ball screw (not shown). The A-axis motor 143 constitutes the workpiece supporting device 14, and when the A-axis motor 143 drives the oscillating table 141, the oscillating table 141 oscillates in the circumferential direction around the A-axis.

[0070] The movable body 111 moves left and right when driven by the X-axis motor 112, the column 121 moves back and forth when driven by the Z-axis motor 123, and the spindle head 2 moves up and down when driven by the Y-axis motor 131. As a result, the spindle 22 (and the tool T held by the spindle 22) moves up and down, front and back, left and right. When the A-axis motor 143 is driven to oscillate the oscillating table 141, the inclination angle of the workpiece W fixed to the processing table 142 changes.

[0071] By driving the M-axis motor 42, the magazine base 411 rotates (and each grip arm 412 pivots) around the M-axis, and the grip arm 412 not holding a tool T or the grip arm 412 holding a specified tool T moves to the tool change position.

[0072] The M-axis motor 42 has a brake 421 (first brake) that brakes the rotation of the M-axis motor 42. By operating the brake 421 while the M-axis motor 42 is stopped, if there is no abnormality in the brake 421, the grip arm 412 (and the tool T held by the grip arm 412) is reliably stopped and will not shift in position in the rotation direction. The Y-axis motor 131 has a brake 132 (second brake) that brakes the rotation of the Y-axis motor 131. By operating the brake 132 while the Y-axis motor 131 is stopped, if there is no abnormality in the brake 132, the spindle 22 (and the tool T held by the spindle 22) is reliably stopped at least in the vertical direction and is not displaced in the vertical direction.

[0073] The A-axis motor 143 has a brake 144 (third brake) that brakes the rotation of the A-axis motor 143. By operating the brake 144 while the A-axis motor 143 is stopped, if there is no abnormality in the brake 144, the oscillating table 141 (and the processing table 142 and the workpiece W to which the oscillating table 141 is directly or indirectly fixed) is reliably stopped and will not shift in position in the oscillating direction. The X-axis motor 112, the Z-axis motor 123, and the spindle motor 21 each have a brake, but a detailed description of these brakes will be omitted. The motors and the brakes may be separate entities.

[0074] The control unit 51 controls the operations of the X-axis motor 112, the Z-axis motor 123, the Y-axis motor 131, the A-axis motor 143, the main shaft motor 21, the M-axis motor 42, and the brakes 132, 144, and 421, respectively.

[0075] Since the M-axis of the tool magazine 41 extends in a non-vertical direction, the vertical position of the grip arm 412 that rotates around the M-axis changes. If there is an abnormality in the brake 421 of the M-axis motor 42, the grip arm 412 may be displaced downward along the circumferential direction of the magazine base 411 due to the weight of the grip arm 412 (or the grip arm 412 and the tool T). In order to prevent the grip arm 412 from being displaced due to an abnormality in the brake 421, the control unit 51 performs a first brake test to determine whether or not there is an abnormality in the brake 421.

[0076] In the first brake test, the control unit 51 performs a first load application test in which a predetermined load is applied to the M-axis motor 42 with the brake 421 in operation. That is, the control unit 51 controls the M-axis motor 42 so that the M-axis motor 42 rotates while the brake 421 is braking the rotation of the M-axis motor 42. If the brake 421 is normal, the amount of rotation of the M-axis motor 42 caused by the load is within a predetermined allowable range. If there is an abnormality in the brake 421, the amount of rotation of the M-axis motor 42 caused by the load exceeds the allowable range, and the grip arm 412 is displaced. If the grip arm 412 is displaced as a result of the first load application test, the user returns the displaced grip arm 412 to its original position (the current position immediately before the start of the first load application test).

[0077] Similarly, if there is an abnormality in the brake 132 of the Y-axis motor 131, there is a risk that the spindle 22 will be displaced downward due to its own weight (or the spindle 22 and the tool T). In order to prevent the spindle 22 from being displaced due to an abnormality in the brake 132, the control unit 51 performs a second brake test to determine whether or not there is an abnormality in the brake 132.

[0078] In the second brake test, the control unit 51 performs a second load application test in which a predetermined load is applied to the Y-axis motor 131 with the brake 132 activated. If the brake 132 is normal, the amount of rotation of the Y-axis motor 131 caused by the load is within a predetermined tolerance range. If there is an abnormality in the brake 132, the amount of rotation of the Y-axis motor 131 caused by the load exceeds the tolerance range, causing the main shaft 22 to shift out of position. If the main shaft 22 shifts out of position as a result of the second load application test, the user returns the shifted main shaft 22 to its original position (the current position immediately before the start of the second load application test).

[0079] It is desirable to perform the first load application test when the spindle 22 is located in the machining area AW, because even if the grip arm 412 is displaced as a result of the first load application test, the grip arm 412 (or the tool T held by the grip arm 412) cannot interfere with the spindle 22 (or the tool T held by the spindle 22) located in the machining area AW.

[0080] When the spindle 22 is located in the machining area AW, the shutter 32 is closed. Since it is inefficient to open the shutter 32 just to perform the first load application test, it is preferable to perform the first load application test with the shutter 32 closed. In this case, it is preferable that the load applied to the M-axis motor 42 is such that the grip arm 412 (or the tool T held by the grip arm 412) does not interfere with the shutter 32 even if the grip arm 412 is displaced as a result of the first load application test.

[0081] It is desirable to perform the second load application test when the spindle 22 is located in the machining area AW. This is because, even if the spindle 22 is displaced as a result of the second load application test, the spindle 22 (or the tool T held by the spindle 22) cannot interfere with the grip arm 412 when the user returns the displaced spindle 22 to its original position. In addition, a spatial margin is provided in the machining area AW since the spindle 22 moves along various paths when machining the workpiece W.

[0082] However, if the spindle 22 is displaced near the work support device 14 as a result of the second load application test, there is a risk that the spindle 22 (or the tool T held by the spindle 22) will interfere with the oscillating table 141, the processing table 142, or the work W fixed to the processing table 142. In addition, if the spindle 22 is displaced near the base 10, there is a risk that the spindle 22 (or the tool T held by the spindle 22) will interfere with the base 10.

[0083] Therefore, it is preferable to perform the second load application test when the spindle 22 is located in the machining area AW and is sufficiently away from the base 10 and the work support device 14. The control unit 51 of this embodiment performs the second load application test when the spindle 22 is located in the machining area AW and is located at a predetermined Z-axis implementation position and Y-axis implementation position. The Z-axis implementation position is a position sufficiently away from the work support device 14 rearward. The Y-axis implementation position is, for example, a position sufficiently away from the upper surface of the base 10 upward. Note that the Z-axis implementation position and the Y-axis implementation position may be set by the manufacturer or may be set by the user. In the following, the Z-axis origin is exemplified as the Z-axis implementation position. The Z-axis origin is, for example, equal to the front-rear position of the tool change position.

[0084] The A-axis of the oscillating table 141 extends in a non-vertical direction. Therefore, if there is an abnormality in the brake 144 of the A-axis motor 143, there is a risk that the oscillating table 141 will be displaced downward along the oscillating direction due to the weight of the oscillating table 141 and the processing table 142 (and the workpiece W to which the processing table 142 is fixed). In order to prevent the oscillating table 141 from shifting position due to an abnormality in the brake 144, the control unit 51 performs a third brake test to determine whether or not there is an abnormality in the brake 144.

[0085] In the third brake test, the control unit 51 performs a third load application test in which a predetermined load is applied to the A-axis motor 143 with the brake 144 activated. If the brake 144 is normal, the amount of rotation of the A-axis motor 143 due to the load applied is within a predetermined tolerance range. If there is an abnormality in the brake 144, the amount of rotation of the A-axis motor 143 due to the load applied exceeds the predetermined tolerance range, causing the oscillating table 141 to shift out of position. If the oscillating table 141 shifts out of position as a result of the third load application test, the user returns the shifted oscillating table 141 to its original position.

[0086] Hereinafter, when there is no need to distinguish between the first brake test, the second brake test, and the third brake test, they will simply be referred to as brake tests. Furthermore, the first load application test, the second load application test, and the third load application test will be collectively referred to as the first to third load application tests, and the first load application test and the second load application test will be collectively referred to as the first and second load application tests.

[0087] Control unit 51 starts executing a brake test at a predetermined timing. The predetermined timing is, for example, when power is turned on for machine tool 1 or before starting machining of workpiece W. It is also possible to execute the brake test repeatedly at a predetermined time interval (for example, every 8 hours when a user works together with machine tool 1, or every 48 hours when a robot works). If there is a brake abnormality, gravity may constantly cause positional deviations of the oscillating table 141, the main shaft 22, and the grip arm 412. In order to quickly complete the brake test, it is desirable to perform the first to third load application tests together.

[0088] However, even if the spindle 22 is located at the Z-axis origin and the Y-axis execution position in the machining area AW, there is a risk that interference will occur between the workpiece W and the spindle 22 (or the tool T held by the spindle 22) when the third load application test is performed, depending on the shape or size of the workpiece W. In this case, before the start of the third load application test, it is necessary to move (retract) the spindle 22 to a position where no interference will occur between the members.

[0089] The user determines whether or not interference between the components may occur when the third load application test is performed, and if it is determined that interference between the components may occur, inputs a movement command to the operation panel 6 to command the retraction of the spindle 22 (movement of the spindle 22 to a predetermined position in the machining area AW). The control unit 51 accepts the movement command input by the user. At this time, the control unit 51 functions as the reception unit in the embodiment. Hereinafter, the predetermined position in the machining area AW is referred to as the retract position.

[0090] Meanwhile, the workpiece supporting device 14 is equipped with a clamping mechanism (not shown), and the control unit 51 controls the operation of the clamping mechanism. For example, two members that become the A-axis of the oscillating table 141 are fixed coaxially to each other, one on each side of the oscillating table 141, and the clamping mechanism clamps the A-axis of the oscillating table 141 to prevent the oscillating table 141 from swinging. Only when it is necessary for the oscillating table 141 to swing, does the clamping mechanism release (unclamp) the A-axis. Therefore, the third load application test is less important than the first and second load application tests. For the above reasons, when the control unit 51 receives a movement command, it is desirable to first carry out the first and second load application tests together, and then carry out the third load application test.

[0091] 9 to 11 are flowcharts showing the procedure of brake abnormality determination processing executed by machine tool 1. The brake abnormality determination method according to the present disclosure can be realized by control unit 51 performing brake abnormality determination processing in accordance with computer program 5a. Control unit 51 that performs the brake abnormality determination processing functions as a test unit in the embodiment.

[0092] 9, the control unit 51 determines whether the spindle 22 is located in the machining area AW (S11). In S11, the control unit 51 obtains the current vertical position of the spindle 22 based on the detection value of an encoder (not shown) provided on the Y-axis motor 131, for example, and determines whether the current vertical position of the spindle 22 is equal to or lower than a predetermined Y-axis origin. Here, the Y-axis origin is equal to the vertical position of the boundary between the machining area AW and the tool change area AT.

[0093] If the spindle 22 is not located in the machining area AW (S11: NO), the spindle 22 is located in the tool change area AT, so the control unit 51 notifies the user of an error (S12). In S12, the control unit 51 displays a predetermined error message on the operation panel 6, for example, and sounds a buzzer (not shown). After completing the process of S12, the control unit 51 ends the brake abnormality determination process. As a result of the process in S12, the user visually checks the error message displayed on the operation panel 6 and investigates the cause of the abnormality.

[0094] If the spindle 22 is located in the machining area AW (S11: YES), the control unit 51 controls the operation of the Z-axis motor 123 so that the spindle 22 moves to the Z-axis origin (S13). Before performing the process of S13, the control unit 51 may write the current position (original position) of the spindle 22 in the main memory unit 52. For this purpose, the control unit 51 obtains the current position of the spindle 22 in the Z-axis direction based on, for example, the detection value of an encoder (not shown) provided on the Z-axis motor 123. Similarly, the control unit 51 obtains the current positions of the spindle 22 in the X-axis direction and the Y-axis direction based on, for example, the detection value of an encoder (not shown) provided on each of the X-axis motor 112 and the Y-axis motor 131.

[0095] The control unit 51 determines whether or not a movement command has been received (S14). The timing when the user inputs the movement command to the operation panel 6 may be before or after the brake abnormality determination process starts to be executed. If a movement command is received (S14: YES), the control unit 51 executes the processes from S21 described below in order to carry out the first and second load application tests together and then the third load application test. If a movement command is not received (S14: NO), the control unit 51 executes the processes from S15 described below in order to carry out the first to third load application tests together. In other words, the execution order of the first to third load application tests differs between when a movement command is received and when a movement command is not received.

[0096] If a movement command has not been received (S14: NO), the control unit 51 controls the operation of the Y-axis motor 131 so that the spindle 22 moves to the Y-axis execution position, and unclamps the A-axis of the rocking table 141 (S15). After the A-axis is unclamped, the control unit 51 controls the operation of the A-axis motor 143 so that the oscillating table 141 oscillates to the A-axis implementation angle (S16). The A-axis implementation angle is, for example, an angle at which the fixed surface 14a becomes horizontal. Before performing the process of S16, the control unit 51 may write the original angle of the oscillating table 141 to the main memory unit 52. The control unit 51 uses, for example, the rotation angle of the A-axis as the angle of the oscillating table 141, and obtains the original rotation angle of the A-axis based on the detection value of an encoder (not shown) provided on the A-axis motor 143.

[0097] Next, the control unit 51 controls the brake 421 of the M-axis motor 42, the brake 132 of the Y-axis motor 131, and the brake 144 of the A-axis motor 143 to operate (S17). In the drawing, the brakes 421, 132, and 144 are represented as the "M-axis brake," the "Y-axis brake," and the "A-axis brake."

[0098] Next, the control unit 51 applies a load to each of the M-axis motor 42, the Y-axis motor 131, and the A-axis motor 143 (S18), and detects the amount of rotation of each motor. In S18, the control unit 51 detects the amount of rotation of the M-axis motor 42 based on the amount detected by an encoder (not shown) provided on the M-axis motor 42, for example. Similarly, the control unit 51 detects the amount of rotation of each motor based on the amount detected by an encoder provided on the Y-axis motor 131 and the A-axis motor 143, respectively.

[0099] In S17 and S18, the control unit 51 simultaneously turns on the brakes 421, 132, 144 and simultaneously applies loads to the M-axis motor 42, the Y-axis motor 131, and the A-axis motor 143, thereby simultaneously executing the first to third load application tests.

[0100] When a movement command is received (S14: YES), the control unit 51 controls the operation of the Y-axis motor 131 so that the spindle 22 moves to the Y-axis execution position as shown in Fig. 10 (S21). The control unit 51 controls the brake 421 of the M-axis motor 42 and the brake 132 of the Y-axis motor 131 so as to operate (S22). Next, the control unit 51 applies a load to each of the M-axis motor 42 and the Y-axis motor 131 (S23), and detects the amount of rotation of each motor.

[0101] After the process of S23 is completed, the control unit 51 controls the operation of the X-axis motor 112 and the Y-axis motor 131 so that the spindle 22 moves to the retracted position, and unclamps the A-axis of the rocking table 141 (S24). Note that the retraction of the spindle 22 is not limited to the movement in the up-down direction and the left-right direction. For example, the retraction of the spindle 22 may be movement in only one of the up-down direction and the left-right direction, or may be movement in the up-down direction, the front-rear direction, and the left-right direction.

[0102] After unclamping the oscillating table 141, the control unit 51 controls the operation of the A-axis motor 143 so that the oscillating table 141 oscillates to the A-axis implementation angle (S25). Next, the control unit 51 determines whether the spindle 22 is located at the retracted position (S26). The control unit 51 in S26 functions as a determination unit in the embodiment. If the spindle 22 is not located at the retracted position (S26: NO), the control unit 51 executes the process of S26 again. If the spindle 22 is located at the retracted position (S26: YES), the control unit 51 controls the brake 144 of the A-axis motor 143 to operate (S27), applies a load to the A-axis motor 143 (S28), and detects the amount of rotation of the A-axis motor 143.

[0103] In S22 and S23, the control unit 51 executes the first and second load application tests together. In S26 to S28, if the control unit 51 determines that the spindle 22 is not at the retracted position, it continues to retract the spindle 22, and if it determines that the spindle 22 is at the retracted position, it executes the third load application test. Note that the control unit 51 determines whether the spindle 22 is at the retracted position before starting the process of S24, and if the spindle 22 is at the retracted position at this point, the process of retracting the spindle 22 in S24 may be omitted.

[0104] After the process of S28 is completed, or after the process of S18 shown in Fig. 9 is completed, the control unit 51 judges whether the rotation amount of each of the M-axis motor 42, the Y-axis motor 131, and the A-axis motor 143 is within a predetermined allowable range (S31) as shown in Fig. 11. For example, the control unit 51 compares the rotation amount θ1 with an allowable value θ2 (θ2>0) for each motor, and judges that the rotation amount is within the allowable range if |θ1|≦θ2, and judges that the rotation amount exceeds the allowable range if |θ1|>θ2. The allowable range for each motor may be set by the manufacturer or may be set by the user.

[0105] In S31, the control unit 51 collectively determines whether or not there is an abnormality in the brakes 421, 132, and 144 of the M-axis motor 42, the Y-axis motor 131, and the A-axis motor 143. The control unit 51 may sequentially compare the rotation amount of each motor with the allowable amount, or multiple operators included in the control unit 51 may simultaneously compare the rotation amount of each of the multiple motors with the allowable amount.

[0106] If at least one of the rotation amounts of the M-axis motor 42, the Y-axis motor 131, and the A-axis motor 143 exceeds the allowable range (S31: NO), a brake abnormality occurs, and the control unit 51 notifies the user of the error (S32). In S32, the control unit 51 displays a predetermined error message on the operation panel 6, for example, and sounds a buzzer (not shown). After completing the process of S32, the control unit 51 ends the brake abnormality determination process.

[0107] As a result of the processing of S32, the user visually checks the error message displayed on the operation panel 6 and arranges for repair or replacement of the motor having the brake abnormality. In addition, the user returns the rocking table 141, the spindle 22, or the grip arm 412, which have shifted in position due to the brake abnormality, to their normal positions.

[0108] If the rotational amounts of the M-axis motor 42, the Y-axis motor 131, and the A-axis motor 143 are all within the allowable range (S31: YES), no brake abnormality has occurred. The control unit 51 controls the operation of the A-axis motor 143 so that the oscillating table 141 oscillates to the original angle before the start of the brake test (so that the A-axis returns to the original rotation angle) (S33). The control unit 51 also controls the operation of the X-axis motor 112 and the Y-axis motor 131 so that the spindle 22 returns to the original position before the start of the brake test in the X-axis and Y-axis directions, and clamps the A-axis of the oscillating table 141 (S34). Furthermore, the control unit 51 controls the operation of the Z-axis motor 123 so that the spindle 22 oscillates to the original position before the start of the brake test in the front-rear direction (S35), and ends the brake abnormality determination process.

[0109] In the case where the brake abnormality determination process is executed before the start of machining of the workpiece W, the control unit 51 may automatically start machining of the workpiece W when the brake abnormality determination process is completed via the process of S35. By the processing of S34 and S35, the spindle 22 may be moved to a predetermined position or a machining start position of the workpiece W, instead of returning to the original position before the start of the brake test. By the processing of S33, the oscillating table 141 may be oscillated to a predetermined angle or an angle at which machining of the workpiece W starts, instead of returning to the original angle before the start of the brake test. The load applied to each motor in the brake test may be set by the manufacturer of the machine tool 1 or by the user.

[0110] According to the machine tool 1, brake abnormality determination method, and computer program 5a described above, the control unit 51 performs at least the first load application test and the second load application test together when the spindle 22 is located in the machining area AW. Since the spindle 22 located in the machining area AW does not need to move to the tool change area AT, the movement time of the spindle 22 can be shortened. In addition, the control unit 51 does not open or close the shutter 32 while the brake abnormality determination process is being executed. Before the start of the first load application test and the second load application test, the spindle 22 moves to the Z-axis origin and the Y-axis execution position. As a result of the above, the brake test can be completed quickly.

[0111] The spindle 22 located in the machining area AW is located far from the grip arm 412. Therefore, there is no risk of interference between the grip arm 412, the spindle 22, and the tool T. In addition, the machining area AW has a larger spatial margin than the tool exchange area AT. Therefore, even if the spindle 22 is displaced as a result of the second load application test, there is a low possibility that the spindle 22 or the tool T held by the spindle 22 will interfere with other members (such as the work support device 14 or the workpiece W) when returning the displaced spindle 22 to its original position. Therefore, since the operation of returning the displaced spindle 22 to its original position is easy, the original state after the brake test can be easily restored.

[0112] When the spindle 22 is located in the tool change area AT, the control unit 51 notifies the user of an error. By notifying the user of the error, it is possible to prevent the brake test from being performed under undesirable circumstances.

[0113] Since the order in which the first load application test, the second load application test, and the third load application test are executed changes depending on whether or not the control unit 51 receives a movement command, interference between components can be effectively prevented from occurring as a result of the third load application test. Specifically, if a movement command is not received, the control unit 51 performs the first to third load application tests all at once. Therefore, there is no need to move the spindle 22 to the retracted position, and since the three types of load application tests are performed all at once, the brake test can be quickly completed.

[0114] When a movement command is received, the control unit 51 performs the first and second load application tests together. Since the third load application test is not performed when these tests are being performed, there is no need to move the spindle 22 to the retracted position. In other words, the two types of load application tests related to the brakes, which are particularly important, can be performed together as a priority and completed quickly.

[0115] After the first and second load application tests are completed, if it is determined that the spindle 22 is not in the retracted position, the control unit 51 controls the operation of the X-axis motor 112 and the Y-axis motor 131 so that the spindle 22 moves to the retracted position. After the first and second load application tests are completed, if it is determined that the spindle 22 is in the retracted position, the control unit 51 performs a third load application test. Therefore, it is possible to effectively prevent interference between members as a result of the third load application test. Regardless of whether a movement command is received or not, the control unit 51 collectively determines whether or not there are any abnormalities in the brakes of the M-axis motor 42, the Y-axis motor 131, and the A-axis motor 143, so that the brake test can be completed quickly.

[0116] In this embodiment, multiple load application tests are performed simultaneously by the control unit 51 turning on multiple brakes simultaneously and applying loads to multiple motors simultaneously. After detecting the rotation amount of each motor, it is preferable that the control unit 51 simultaneously stops applying loads to the multiple motors and simultaneously turns off the multiple brakes. However, executing a plurality of load application tests collectively is not limited to simultaneously performing the same control process (processing in which the control unit 51 controls turning on / off the brake, application of a load to the motor, etc.). Executing a plurality of load application tests collectively may mean that at least a part of the period from start to finish of one load test is simultaneous with at least a part of the period from start to finish of another load test. For example, the control unit 51 may turn on a plurality of brakes in sequence.

[0117] In this embodiment, the control unit 51 collectively determines whether or not there is an abnormality in the multiple brakes after all of the multiple load application tests are completed. However, the control unit 51 may start determining whether or not there is an abnormality in the brakes after detecting the amount of rotation of the motor and before turning off the brakes (i.e., before the load application tests are completed). Alternatively, when the control unit 51 receives a movement command in S14, it may collectively determine whether or not there is an abnormality in the brakes 421, 132 after all of the first and second load application tests are completed and before the third load application test is started. If the determination of whether or not there is an abnormality in multiple brakes is not performed simultaneously, the control unit 51 starts determining whether or not there is an abnormality in the brakes, for example, each time it detects the rotation amount of one motor, before detecting the rotation amount of another motor.

[0118] The tool holding unit is not limited to the grip arm 412. The tool exchanger 4 is not limited to a configuration in which the tool holding unit rotates along a circular ring centered on the M-axis. For example, the tool exchanger 4 may be configured such that the tool holding unit moves in a circular motion along a continuous path different from the circular ring, or may be configured such that the tool holding unit moves reciprocally in a straight line. The control unit 51 may perform the load application test for each of the X-axis motor 112 and the Z-axis motor 123 at the same timing as the third load application test. The control unit 51 may perform the load application test for other driving devices (for example, a motor that drives the machining table 142, an air cylinder that drives the shutter 32, or a motor of a device that loads and unloads the workpiece W) provided in the machine tool 1 at the same timing as the third load application test.

[0119] The order of execution of the first to third load application tests differs depending on whether a movement command has been received or not, but is not limited to the order of execution in this embodiment. The machine tool 1 is a horizontal machine tool whose axial direction runs along the front-to-back direction, but a vertical machine tool whose axial direction of the main spindle 22 runs along the up-down direction may also implement the brake abnormality determination method of the present disclosure, which performs at least a first load application test when the main spindle 22 is located in the machining area AW.

[0120] The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is intended to include not only the above-mentioned meaning, but also the meaning equivalent to the claims and all modifications within the scope of the claims. Independent claims and dependent claims described in the claims may be combined with each other in any and all combinations, regardless of the reference format. Furthermore, the claims may be written in a format in which a claim references two or more other claims (multiple claim format), but this is not limited to this format. A multiple claim that references at least one other multiple claim (multiple multiple claim format) may also be written. [Explanation of symbols]

[0121] 1 Machine tools 112 X-axis motor (fourth motor) 123 Z-axis motor (fourth motor) 131 Y-axis motor (second motor) 132 Brake (Second brake) 141 Rocking platform 142 Processing Table 143 A-axis motor (third motor) 144 Brake (Third brake) 22 Main axis 31 Cover 311 Aperture 32 Shutter 4 Tool changer 412 Grip arm (tool holding part) 42 M-axis motor (first motor) 421 Brake (First Brake) 5a Computer Programs 51 Control section (test section, reception section, judgment section) AT tool change area AW processing area T-tool Double work

Claims

1. A spindle that detachably holds a tool for machining a workpiece; a tool exchange device provided with a tool holding portion capable of holding the tool to be attached to the spindle; a first motor that drives the tool changer so as to move the tool holder; a first brake that brakes the rotation of the first motor; a test section that performs a first load application test in which a load is applied to the first motor in a state where the first brake is activated in order to determine whether or not there is an abnormality in the first brake, when the spindle is located in a machining area for machining the workpiece; A machine tool comprising:

2. 2. The machine tool according to claim 1, wherein the test unit reports an error when the spindle is located in a tool exchange area for exchanging the tool attached to the spindle with the tool holding unit.

3. a cover covering the tool changing device and having an opening; a shutter for opening and closing the opening; Further comprising: The shutter opens the opening during tool replacement and closes the opening during workpiece machining; 3. The machine tool according to claim 1, wherein the testing section performs the first load application test when the shutter is closed.

4. A second motor for moving the main shaft; a second brake that brakes the rotation of the second motor; Further comprising:

3. The machine tool according to claim 1 or 2, characterized in that the testing section performs a second load application test in which a load is applied to the second motor with the second brake activated when the spindle is located in the machining area, in order to determine whether or not there is an abnormality in the second brake.

5. 5. The machine tool according to claim 4, wherein the testing section performs the first load application test and the second load application test together.

6. 6. The machine tool according to claim 5, wherein the testing section determines whether or not there are any abnormalities in the first brake and the second brake collectively after the first load application test and the second load application test are completed.

7. A processing table for fixing the workpiece; a rocking table on which the processing table is mounted; a third motor for oscillating the oscillating table; a third brake that brakes the rotation of the third motor; a receiving unit that receives a movement command for instructing the movement of the spindle to a predetermined position in the machining area; Further comprising: the testing unit performs a third load application test in which a load is applied to the third motor in a state where the third brake is activated in order to determine whether or not there is an abnormality in the third brake, The machine tool according to claim 4, characterized in that an order of execution of the first load application test, the second load application test, and the third load application test when the reception unit receives the movement command is different from the order of execution when the reception unit does not receive the movement command.

8. 8. The machine tool according to claim 7, wherein when the reception unit does not receive the movement command, the test unit performs the first load application test, the second load application test, and the third load application test all at once.

9. The machine tool according to claim 8, characterized in that if the reception unit does not receive the movement command, the testing unit collectively determines whether or not there are abnormalities in the first brake, the second brake, and the third brake after completion of the first load application test, the second load application test, and the third load application test.

10. a fourth motor for moving the main shaft in a direction intersecting the up-down direction; a determination unit that determines whether the spindle is located at the predetermined position; Further comprising: When the first motor is driven, the tool holding portion rotates about a rotation axis extending in a direction intersecting with the up-down direction, The second motor is driven to move the main shaft in a vertical direction, When the reception unit receives the movement command, the test unit The first load application test and the second load application test are carried out together, when the determination unit determines that the spindle is not located at the predetermined position after the first load application test and the second load application test are completed, the determination unit controls an operation of the second motor or the fourth motor so that the spindle moves to the predetermined position; 8. The machine tool according to claim 7, wherein the third load application test is performed when the determination unit determines that the spindle is located at the predetermined position after the first load application test and the second load application test are completed.

11. The machine tool according to claim 10, characterized in that when the reception unit receives the movement command, the testing unit determines whether or not there are abnormalities in the first brake, the second brake, and the third brake collectively after the third load application test is completed.

12. 3. The machine tool according to claim 1, wherein the axial direction of the main spindle is horizontal.

13. A brake abnormality determination method, characterized in that a load application test is performed in which a load is applied to the motor with the brake activated, in order to determine whether or not there is an abnormality in a brake that brakes the rotation of a motor that drives a tool changer provided with a tool holding part so that a tool holding part capable of holding a tool that is attached to a spindle that detachably holds a tool for machining a workpiece moves, when the spindle is positioned in a machining area for machining the workpiece.

14. A load application test is performed in which a load is applied to the motor with the brake in operation so that a tool holder capable of holding a tool attached to a spindle that detachably holds the tool for machining a workpiece can move, in order to determine whether or not there is an abnormality in a brake that controls the rotation of a motor that drives a tool exchange device provided with a tool holder. The load application test applies a load to the motor with the brake in operation, when the spindle is located in a machining area for machining the workpiece. A computer program that causes a computer to execute a process.

Citation Information

Patent Citations

  • Automatic correction device and method for machine tool

    JP2013254319A

  • Method and device for diagnosing brake abnormality

    JP2014010546A

  • Rotary table including clamp torque measurement means

    JP2014213402A

  • Machining tool, brake defect determining method, and computer program

    JP2019067152A