Machine tool, machine tool control method, and computer readable storage medium

By integrating the detection part and the driving mechanism in the machine tool, the user is allowed to manually or automatically set the door leaf position, which solves the problem of complex and unintuitive door leaf position setting in the existing technology, and improves the flexibility and ease of use of the door leaf position.

CN113994280BActive Publication Date: 2024-09-20DMG MORI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080045394.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-10-02
Filing Date
2020-06-16
Publication Date
2024-09-20
Estimated Expiration
2040-06-16

AI Technical Summary

Technical Problem

It is difficult to intuitively set and understand the opening and closing position of the machine door leaf with the existing technology, and professional knowledge is required for setting.

Method used

By arranging the detection part and the driving mechanism in the machine tool, combined with the control of the operating console, the user is allowed to move the door leaf manually or automatically to set its opening and closing position, and the actual position is obtained through the detection part for storage and control.

Benefits of technology

This enables users to intuitively set and store the opening and closing positions of the door leaf without having to rewrite the program, which improves the flexibility and ease of use of the door leaf position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113994280B_ABST
    Figure CN113994280B_ABST
Patent Text Reader

Abstract

The machine tool (100) includes: a cover having an opening; a door leaf (136) covering the opening; a drive mechanism (137) driving the door leaf (136); a detector (138) detecting the actual position of the door leaf (136); and an operation console (140) receiving an operation on the machine tool (100). The control device (40) of the machine tool (100) performs the following processing: based on the operation console (140) receiving a first opening operation, controlling the drive mechanism (137) so that the door leaf (136) is opened; based on the operation console (140) receiving a position determination operation, acquiring the actual position from the detector (138) and storing the actual position as the opening position of the door leaf (136); and based on the operation console (140) receiving a second opening operation, controlling the drive mechanism (137) so that the door leaf (136) is located at the opening position. The opening speed of the door leaf (136) during the first opening operation is slower than the opening speed of the door leaf (136) during the second opening operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a technology for controlling the driving of a door leaf included in a machine tool. Background Art

[0002] Machine tools with door leaves are becoming more and more popular. The door leaves are closed when the workpiece is being processed and opened when the workpiece is not being processed. This prevents the scattering of processed pieces generated during processing.

[0003] Regarding the drive control of the door leaf, Japanese Patent Publication No. 2009-214214 (Patent Document 1) discloses a machine tool for the purpose of shortening the time required to close the door leaf. The machine tool drives the door leaf to a fixed open position when opening the door leaf, and drives the door leaf to a fixed closed position when closing the door leaf.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2009-214214 Summary of the invention

[0007] Problem that the invention aims to solve

[0008] In order to stop a door leaf at an arbitrary position, it is usually necessary to specify the opening and closing position of the door leaf in a program or change the settings related to the opening and closing position. However, in order to specify the opening and closing position by these methods, professional knowledge is required. In addition, it is difficult to intuitively understand the opening and closing degree of the door leaf. Therefore, a technology that can easily set the opening and closing position of the door leaf is desired.

[0009] Solutions for solving problems

[0010] In one example of the present disclosure, a machine tool includes: a cover having an opening, the cover being used to divide a processing area for forming a workpiece; a door leaf being used to cover the opening; a drive mechanism that drives the door leaf to change the degree of the opening; a detector for detecting an actual position of the door leaf; an operation console for accepting an operation on the machine tool; and a control device for controlling the machine tool. The control device performs the following processing: based on the operation console accepting a first opening operation of the door leaf, controlling the drive mechanism so that the door leaf is opened; based on the operation console accepting a position determination operation of the door leaf, acquiring the actual position from the detector and storing the acquired actual position as an opening position of the door leaf; and based on the operation console accepting a second opening operation of the door leaf, controlling the drive mechanism so that the door leaf is located at the opening position. The opening speed of the door leaf during the first opening operation is slower than the opening speed of the door leaf during the second opening operation.

[0011] In another example of the present disclosure, a control method for a machine tool is provided. The machine tool includes: a cover having an opening, the cover being used to divide a processing area for forming a workpiece; a door leaf being used to cover the opening; a drive mechanism that drives the door leaf to change the degree of the opening; a detector for detecting the actual position of the door leaf; and an operating table for accepting an operation on the machine tool. The control method includes the following steps: based on the operating table accepting a first opening operation of the door leaf, controlling the drive mechanism so that the door leaf is opened; based on the operating table accepting a position determination operation of the door leaf, acquiring the actual position from the detector, and storing the acquired actual position as the opening position of the door leaf; and based on the operating table accepting a second opening operation of the door leaf, controlling the drive mechanism so that the door leaf is located at the opening position. The opening speed of the door leaf during the first opening operation is slower than the opening speed of the door leaf during the second opening operation.

[0012] In another example of the present disclosure, a control program for a machine tool is provided. The machine tool includes: a cover having an opening, the cover being used to divide a processing area for forming a workpiece; a door leaf being used to cover the opening; a drive mechanism that drives the door leaf to change the degree of the opening; a detector for detecting the actual position of the door leaf; and an operation console for accepting an operation on the machine tool. The control program causes the machine tool to perform the following steps: based on the operation console accepting a first opening operation of the door leaf, controlling the drive mechanism so that the door leaf is opened; based on the operation console accepting a position determination operation of the door leaf, acquiring the actual position from the detector and storing the acquired actual position as the opening position of the door leaf; and based on the operation console accepting a second opening operation of the door leaf, controlling the drive mechanism so that the door leaf is located at the opening position. The opening speed of the door leaf during the first opening operation is slower than the opening speed of the door leaf during the second opening operation.

[0013] According to the present disclosure, it is possible to provide a machine tool or the like in which the opening and closing positions of a door can be easily set. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a figure which shows the external appearance of a machine tool.

[0015] Figure 2 This is a diagram showing the machine tool from two directions.

[0016] Figure 3 It is a diagram showing the teaching process according to the embodiment in time series.

[0017] Figure 4This is a diagram showing the opening action of the door leaf in time series.

[0018] Figure 5 This is a diagram showing an example of the device configuration of a machine tool.

[0019] Figure 6 This is a diagram showing the teaching process according to Modification Example 1 in time series.

[0020] Figure 7 This is a diagram showing the teaching process according to Modification Example 1 in time series.

[0021] Figure 8 This is a diagram showing the opening and closing settings stored as a result of the teaching process according to Modification 1.

[0022] Fig. 9 This is a diagram showing the movement of the door leaf when opening and closing level "A".

[0023] Fig.10 This is a diagram showing the operation of the door leaf when the switch is at level "B".

[0024] Fig.11 It is a diagram showing screen transition of the setting screen when the opening and closing levels capable of setting the opening and closing positions are increased.

[0025] Fig.12 It is a diagram showing screen transition of the setting screen when the opening and closing levels at which the opening and closing positions can be set are reduced.

[0026] Fig.13 This is a diagram showing the teaching process according to Modification Example 3 in time series.

[0027] Fig.14 This is a diagram showing a setting screen according to Modification 4.

[0028] Fig.15 This is a diagram showing an example of a processing program.

[0029] Fig.16 It is a diagram showing a database of opening and closing positions.

[0030] Fig.17 This is a diagram showing an example of the hardware configuration of a CPU (central processing unit).

[0031] Fig.18 This is a diagram showing an example of the hardware configuration of a machine tool.

[0032] Fig.19 This is a flowchart showing the flow of the teaching process.

[0033] Fig. 20This is a flowchart showing the process of automatic opening and closing of a door leaf. Detailed implementation manners

[0034] Hereinafter, each implementation manner in accordance with the present invention will be described with reference to the drawings. In the following description, the same reference numerals are given to the same components and structural elements. Their names and functions are also the same. Therefore, detailed descriptions of these components and structural elements will not be repeated. In addition, each implementation manner and each modification example to be described below can be appropriately and selectively combined.

[0035] <A. Appearance of machine tool 100>

[0036] Refer to Figure 1 and Figure 2 The machine tool 100 in accordance with the implementation manner will be described. Figure 1 This is a view showing the appearance of the machine tool 100.

[0037] The "machine tool" referred to in this specification is a concept including various devices having a function of machining a workpiece. In this specification, as an example of the machine tool 100, a vertical machining center in which a workpiece to be machined is mounted on a fixed surface extending in the horizontal direction is taken as an example for description, but the machine tool 100 is not limited to a vertical machining center. For example, the machine tool 100 may be a horizontal machining center in which a workpiece to be machined is mounted on a fixed surface extending in the vertical direction. Or, the machine tool 100 may be a lathe, or other cutting machines or grinding machines.

[0038] As Figure 1 shown, the machine tool 100 includes an operation console 140. The operation console 140 is a general-purpose computer and has a display 142 for displaying various information related to machining. The display 142 is, for example, a liquid crystal display, an organic EL (ElectroLuminescence) display, or other display devices. In addition, the display 142 is constituted by a touch panel and accepts various operations on the machine tool 100 through touch operations.

[0039] <B. Door leaf of machine tool 100>

[0040] Figure 2 This is a view showing the machine tool 100 from two directions. Hereinafter, with reference to Figure 2 the door leaf 136 provided on the machine tool 100 will be described.

[0041] For easy understanding, hereinafter, the opening and closing direction of the door leaf 136 is referred to as the "X-axis direction", the horizontal direction orthogonal to the X-axis direction is referred to as the "Y-axis direction", and the direction orthogonal to both the X-axis direction and the Y-axis direction (i.e., the gravity direction) is referred to as the "Z-axis direction".

[0042] In Figure 2 (A) shows the machine tool 100 viewed from the Z-axis direction. Figure 2 (B) shows the machine tool 100 viewed from the Y-axis direction.

[0043] like Figure 2 As shown, the machine tool 100 includes a control device 40 , a spindle 115 , a table 116 , a cover 131 , a door 136 , a drive mechanism 137 , and a detector 138 .

[0044] The spindle 115 is configured to be movable within the processing area AR1 of the workpiece. In addition, the spindle 115 is configured to be movable in the Z-axis direction. In addition, the spindle 115 is configured to be rotatable around a central axis AX parallel to the Z-axis by a motor drive. A clamping mechanism for detachably holding various tools is provided on the spindle 115.

[0045] The workbench 116 is configured to be movable within the processing area AR1. The workbench 116 is configured to be movable within a plane (XY plane) including the X-axis direction and the Y-axis direction. A workpiece mounting fixture (not shown) for detachably holding the workpiece is provided on the workbench 116. The workpiece to be processed is fixed to the workpiece mounting fixture via the opening 132.

[0046] The cover 131 is also called a splash plate, and defines and forms the machining area AR1 while forming the appearance of the machine tool 100. The cover 131 has an opening 132. The opening 132 opens from the front surface to the upper surface of the cover 131 and communicates with the machining area AR1.

[0047] The door leaf 136 is configured to cover the opening 132 and is configured to be able to slide in the X-axis direction. The door leaf 136 is opened and closed, and the opening 132 is in a state where it is not covered by the door leaf 136 (open state) or in a state where the opening 132 is covered by the door leaf 136 (closed state). When in the closed state, the door leaf 136 and the cover 131 divide and form the processing area AR1. The door leaf 136 is provided with a transparent window (not shown) for the operator to peek into the processing area AR1. In addition, Figure 2 , the door leaf 136 is shown to be slidably driven in the horizontal direction, but the door leaf 136 may also be slidably driven in the gravity direction (Z-axis direction). In addition, the door leaf 136 may also be a structure driven to slide and move on an arc.

[0048] Hereinafter, the movement of the door leaf 136 when the opening area of the opening 132 is increased is referred to as an "opening movement". The movement of the door leaf 136 sliding in the negative direction of the X-axis corresponds to the "opening movement". In addition, the movement of the door leaf 136 when the opening area of the opening 132 is decreased is referred to as a "closing movement". The movement of the door leaf 136 sliding in the positive direction of the X-axis corresponds to the "closing movement".

[0049] The drive mechanism 137 is connected to the door leaf 136. The drive mechanism 137 opens and closes the door leaf 136 to any position on the X-axis according to a drive instruction from the control device 40 to change the degree of the opening 132. The type of the motor included in the drive mechanism 137 is not particularly limited. As an example, it is a servo motor, a stepping motor, or a linear motor.

[0050] The detection unit 138 is a sensor for detecting the actual position of the door leaf 136 based on the drive amount of driving the door leaf 136 by the drive mechanism 137. The type of the detection unit 138 is not particularly limited. The detection unit 138 is, for example, an encoder. The actual position of the door leaf 136 detected by the detection unit 138 is output to the control device 40.

[0051] A handle 139 is provided on the door leaf 136. When power supply to the drive mechanism 137 is stopped, the driving force does not act on the door leaf 136. At this time, the user can grasp the handle 139 to manually move the door leaf 136 in the X-axis direction.

[0052] <C. Teaching Function>

[0053] The door leaf 136 can be driven by the drive mechanism 137 to any opening and closing position on the X-axis. In order to stop the door leaf 136 at an arbitrary position, it is usually necessary to specify the opening and closing position of the door leaf 136 in a program or change the setting related to the opening and closing position of the door leaf 136. To specify the opening and closing position by these methods, professional knowledge is required. In addition, it is also difficult to intuitively understand the opening and closing degree of the door leaf.

[0054] Therefore, in the machine tool 100, a function is provided that allows the user to specify the opening and closing position of the door leaf 136 by manually moving the door leaf 136. Since the user can actually move the door leaf 136 to set the opening and closing position, the opening and closing position can be intuitively understood. In addition, the user does not need to rewrite the program or the setting during this setting process.

[0055] Hereinafter, refer to Figure 3 A teaching function for manually setting the opening and closing position of the door leaf 136 will be described. Figure 3 It is a diagram showing the teaching process in time series.

[0056] In step S1, it is assumed that the user U switches the operation mode of the machine tool 100 to the teaching mode (first mode). Based on this, the control device 40 of the machine tool 100 executes a process for prompting the user U to manually move the door leaf 136 (hereinafter also referred to as "manual request process"). The manual request process can be implemented in various ways. As an example, the manual request process can be implemented by displaying a message on the display 142, by emitting a sound, or by making a light source such as an LED (Light Emitting Diode) emit light. Figure 3 In the example of , the manual request process is implemented by displaying a message 145 “Please manually specify the opening and closing position.” on the setting screen 143 .

[0057] In addition, the control device 40 stops supplying power to the above-mentioned drive mechanism 137 (see Figure 2 ) supplies power. More specifically, a power source (not shown) for supplying power is connected to the drive mechanism 137. When power is supplied from the power source to the drive mechanism 137, the driving force of the drive mechanism 137 acts on the door leaf 136. On the other hand, when power is not supplied from the power source to the drive mechanism 137, the driving force of the drive mechanism 137 does not act on the door leaf 136. The control device 40 stops supplying power from the power source during the execution of the manual request processing. As a result, the driving force does not act on the door leaf 136, and the user U can manually move the door leaf 136.

[0058] In step S2, the user U grasps the handle 139 to move the door leaf 136 so that the door leaf 136 stops at any position in the X-axis direction. Figure 3 In the example, the user U moves the door leaf 136 from the opening and closing position "x0" and stops the door leaf 136 at the opening and closing position "x1".

[0059] In step S3, it is assumed that the control device 40 receives a position determination instruction of the door leaf 136 from the user U during the execution of the manual request process. The position determination instruction can be input in various ways. For example, the position determination instruction can be input by the user U pressing a specific button or by the user U making a predetermined sound. The specific button can be a software button displayed on the display 142 or a hardware button provided on the machine tool 100.

[0060] As an example, the user U presses the confirmation button 147 displayed on the setting screen 143 to issue a position confirmation instruction. Based on this, the control device 40 obtains the actual position of the door leaf 136 from the above-mentioned detection unit 138, and stores the obtained actual position as the setting position related to the opening and closing of the door leaf 136. Figure 3In the example of , the setting position “x1” is stored. The setting position “x1” may be stored in a memory in the machine tool 100 or in a memory in an external device such as a server.

[0061] Furthermore, when the user U presses the cancel button 146 displayed on the setting screen 143 , the control device 40 ends the teaching mode without storing the actual position of the door 136 .

[0062] Next, refer to Figure 4 The operation mode of the door 136 when the machine tool 100 receives an opening operation of the door 136 from the user U will be described. Figure 4 It is a diagram showing the opening operation of the door 136 in time series.

[0063] In step S4, the user U switches the operation mode of the machine tool 100 to the automatic opening and closing mode (second mode), and performs an opening operation on the operating table 140 for the door leaf 136. Based on this, in step S5, the control device 40 of the machine tool 100 controls the drive mechanism 137 to drive the door leaf 136 to the set position "x1" stored in step S3.

[0064] As described above, the machine tool 100 has a teaching function that can manually specify the opening and closing position of the door leaf 136. The user can actually move the door leaf 136 to set the opening and closing position, so the user can set the opening and closing position while visually confirming the opening and closing degree. In addition, the user can set the opening and closing position only by moving the door leaf 136, so the opening and closing position of the door leaf 136 can be easily set without rewriting the program or opening and closing settings.

[0065] In addition, the teaching function described above does not exclude the function of changing the opening and closing position by rewriting the program or the opening and closing setting. That is, the machine tool 100 may also have a function of changing the opening and closing position of the door leaf 136 according to the change of the program or the opening and closing setting in addition to the teaching function described above.

[0066] In addition, in the above teaching process, Figure 3In step S1, a process for prompting user U to manually move the door leaf 136 (i.e., a manual request process) is executed, but the manual request process does not necessarily need to be executed. In this case, the machine tool 100 receives an indication for determining the position of the door leaf 136 at an arbitrary timing. As an example, the user manually or automatically moves the door leaf 136 to an arbitrary position to change the degree of opening, and the machine tool 100 receives an indication for determining the position of the door leaf 136 during the operation of the user moving the door leaf 136. Based on this, the machine tool 100 obtains the actual position of the door leaf 136 from the above-mentioned detection unit 138, and stores the obtained actual position as the open position of the door leaf 136 that opens the opening. This "open position" refers to the opening and closing position of the door leaf 136 when an open indication of the door leaf 136 is received from the user. The machine tool 100 controls the drive mechanism 137 based on an indication to open the door leaf 136 received in the automatic opening and closing mode (for example, an operation to open the door leaf 136 on the operation panel 140), so that the door leaf 136 is located at the open position stored in the teaching process.

[0067] <D. Device Structure of Machine Tool 100>

[0068] Next, refer to Figure 5 to describe the device structure of the machine tool 100. Figure 5 is a diagram showing an example of the device structure of the machine tool 100.

[0069] The machine tool 100 includes a control device 40, a door leaf 136, a drive mechanism 137, and a detection unit 138.

[0070] In this specification, the "control device 40" refers to a device that controls the machine tool 100. The device structure of the control device 40 is arbitrary. The control device 40 can be composed of a single control unit or multiple control units. In Figure 5 the example, the control device 40 is composed of a CPU unit 50 as a PLC (Programmable Logic Controller), a CNC unit 51, and an I / O (Input Output) unit 52. These units are connected to the field bus B and communicate with each other via the field bus B.

[0071] The CPU unit 50 controls various units constituting the machine tool 100 according to a pre-prepared control program. This control program is described, for example, in a ladder diagram program.

[0072] The CNC unit 51 starts executing a pre-prepared machining program based on a machining start instruction received from the CPU unit 50. This machining program is described, for example, by an NC (Numerical Control) program. In addition, the CNC unit 51 outputs to the CPU unit 50 the progress status of machining such as machining stopped, machining in progress, or machining completed.

[0073] The I / O unit 52 is an interface for connecting various input / output devices. In Figure 5 this example, the drive mechanism 137 is connected to the I / O unit 52. The CPU unit 50 sends a control instruction to the drive mechanism 137 via the I / O unit 52.

[0074] The drive mechanism 137 includes a servo driver 61 and a servo motor 62. The servo driver 61 successively receives the input of the target opening / closing position from the CPU unit 50 to control the servo motor 62. The servo motor 62 drives the door leaf 136 via a ball screw (not shown), and drives the door leaf 136 to an arbitrary opening / closing position in the X-axis direction.

[0075] More specifically, the servo driver 61 calculates the actual opening / closing position of the door leaf 136 based on a feedback signal from a detection unit 138 for detecting the rotation angle of the servo motor 62. The detection unit 138 is, for example, an encoder. When the calculated actual opening / closing position is at a position on the positive side relative to the target opening / closing position, the servo driver 61 rotationally drives the servo motor 62 to move the door leaf 136 to the negative side. On the other hand, when the calculated actual opening / closing position is at a position on the negative side relative to the target opening / closing position, the servo driver 61 rotationally drives the servo motor 62 to move the door leaf 136 to the positive side. In this way, the servo driver 61 makes the actual opening / closing position of the servo motor 62 approach the target opening / closing position while successively receiving the feedback of the actual opening / closing position of the servo motor 62. Thereby, the servo driver 61 drives the door leaf 136 to an arbitrary position in the X-axis direction.

[0076] <E. Variant Example 1 of the Teaching Function>

[0077] Next, with reference to Figure 6 to Figure 10 a variant example 1 of the teaching function will be described. Figure 6 and Figure 7 are diagrams showing the teaching process following variant example 1 in time series.

[0078] In the teaching function shown above Figure 3 the user can only specify one opening / closing position of the door leaf 136. In contrast, in the teaching function following variant example 1, the user can set multiple opening / closing positions of the door leaf 136 at different opening / closing levels.

[0079] More specifically, it is assumed that in step S11 , the user U switches the operation mode of the machine tool 100 to the teaching mode. In response to this, the control device 40 of the machine tool 100 displays the setting screen 143A of the opening and closing position on the display 142 .

[0080] The setting screen 143A includes a setting field 150. The setting field 150 displays a list of the open / close levels that can be set. Figure 6 In the example of , the opening and closing levels "A" to "C" are displayed in the setting column 150. The names of the opening and closing levels can be arbitrarily changed by the user. The user can select the opening and closing level of the setting object from the displayed opening and closing levels "A" to "C". In step S11, for example, it is assumed that the opening and closing level "A" is selected.

[0081] In step S12, the user U grasps the handle 139 to move the door leaf 136 so that the door leaf 136 stops at any position in the X-axis direction. Figure 6 In the example, the user U moves the door leaf 136 from the opening and closing position "x0" and stops the door leaf 136 at the opening and closing position "x1".

[0082] In step S13, it is assumed that the user U presses the confirmation button 147 on the setting screen 143A. Based on this, the control device 40 uses the above-mentioned detection unit 138 (see Figure 2 ) to obtain the actual position of the door leaf 136. Then, the control device 40 stores the obtained actual position in association with the currently selected opening and closing level. Figure 6 In the example of , the set position "x1" is stored in association with the opening and closing level "A".

[0083] Preferably, the control device 40 displays the actual position of the door leaf 136 acquired from the detector 138 in real time in the opening and closing position column corresponding to the opening and closing level "A" being selected before the confirmation button 147 is pressed. Then, after the confirmation button 147 is pressed, the control device 40 stops the real-time display of the opening and closing position, and at the timing when the confirmation button 147 is pressed, the actual position of the door leaf 136 acquired from the detector 138 is fixedly displayed.

[0084] In step S14 , it is assumed that the user U has selected the opening / closing level “B” in the setting screen 143A. As a result, the machine tool 100 is in a state of accepting the opening / closing position related to the opening / closing level “B”.

[0085] In step S15, the handle 139 is grasped to move the door leaf 136 so that the door leaf 136 stops at any position in the X-axis direction. Figure 7 In the example, user U stops the door leaf 136 at the open / closed position "x2".

[0086] In step S16, it is assumed that the user U has pressed the confirmation button 147 on the setting screen 143A. Based on this, the control device 40 detects the above-mentioned detection unit 138 (see Figure 2 ) obtains the actual position of the door leaf 136. Thereafter, the control device 40 stores the obtained actual position in association with the currently selected opening and closing level "B".

[0087] By repeating the above process, the user sequentially sets the opening and closing positions according to different opening and closing levels. As described above, in the teaching process of this example, the control device 40 prompts the user U to move the door leaf 136 according to different opening and closing levels. After receiving the prompt, the user U moves the door leaf 136 according to different opening and closing levels. Then, the control device 40 sequentially receives position determination instructions from the user U according to different opening and closing levels, and stores the opening and closing positions of the door leaf 136 specified by the user U as set positions according to different opening and closing levels.

[0088] Figure 8 1 is a diagram showing the open / close settings 124 stored as a result of the teaching process. Figure 8 As shown, the opening and closing positions set in the teaching mode are associated with different opening and closing levels in the opening and closing setting 124. The opening and closing setting 124 may be stored in a memory in the machine tool 100 or in a memory in an external device such as a server.

[0089] Next, refer to Fig. 9 and Fig.10 The operation of the door 136 when the user U performs an opening operation of the door 136 will be described. In the following description, it is assumed that the opening and closing positions "x1" to "x3" are set for the opening and closing levels "A" to "C" in the above-mentioned teaching process.

[0090] Fig. 9 1 is a diagram showing the operation mode of the door leaf 136 when the door leaf 136 is opened and closed at the level "A". Based on the user's operation of switching the operation mode of the machine tool 100 to the automatic opening and closing mode on the operation console 140, the control device 40 displays an opening and closing operation screen 144 on the display 142. The opening and closing operation screen 144 includes, for example, open buttons 152A to 152C, a close button 153, and a cancel button 154.

[0091] Typically, the number of open buttons displayed on the opening and closing operation screen 144 is the same as the number of the opening and closing levels for which the opening and closing positions are set during the teaching process. In this example, since the opening and closing positions are set for the opening and closing levels "A" to "C" during the teaching process, three open buttons 152A to 152C are displayed on the opening and closing operation screen 144.

[0092] Typically, the names assigned to the open buttons 152A to 152C are the same as the names of the opening / closing levels displayed during the teaching process. In Fig. 9 the example of, the open button 152A represents the opening / closing level "A". The open button 152B represents the opening / closing level "B". The open button 152C represents the opening / closing level "C".

[0093] As Fig. 9 shown, it is assumed that the user has pressed the open button 152A. Based on this, the control device 40 refers to the above-mentioned opening / closing setting 124 (refer to Figure 8 ) to obtain the opening / closing position "x1" corresponding to the opening / closing level "A". Thereafter, the control device 40 controls the drive mechanism 137 to drive the door leaf 136 to the opening / closing position "x1".

[0094] Fig.10 is a diagram showing the operation mode of the door leaf 136 when the opening / closing level is "B". As Fig.10 shown, it is assumed that the user has pressed the open button 152B. Based on this, the control device 40 refers to the above-mentioned opening / closing setting 124 (refer to Figure 8 ) to obtain the opening / closing position "x2" corresponding to the opening / closing level "B". Thereafter, the control device 40 controls the drive mechanism 137 to drive the door leaf 136 to the opening / closing position "x2".

[0095] In addition, when the user presses the close button 153, the control device 40 controls the drive mechanism 137 to close the door leaf 136. Further, when the user presses the cancel button 154, the control device 40 closes the opening / closing operation screen 144 and ends the automatic opening / closing mode.

[0096] As described above, the control device 40 drives the door leaf 136 to the set position corresponding to the input opening / closing level received as the opening / closing instruction from the user. Since the user can set the opening / closing positions for multiple opening / closing levels, the opening / closing degree can be changed according to the usage.

[0097] <F. Variation 2 of the teaching function>

[0098] Next, refer to Fig.11 and Fig.12 to illustrate Variation 2 of the teaching function.

[0099] In the teaching function following the above-mentioned Variation 1, the number of opening / closing levels for which the opening / closing positions can be set is fixed. In contrast, in the teaching function following this variation, the number of opening / closing levels for which the opening / closing positions can be set can be arbitrarily changed.

[0100] Fig.11It is a diagram showing the screen transition of the setting screen 143B in the case where the opening and closing levels capable of setting the opening and closing positions are increased. Fig.12 It is a diagram showing the screen transition of the setting screen 143B when the opening and closing levels at which the opening and closing positions can be set are reduced.

[0101] Fig.11 and Fig.12 The setting screen 143B shown includes: an add button 156 (first receiving unit) that receives an instruction to increase the number of display levels of the opening and closing levels displayed on the setting screen 143B by a predetermined number; and a delete button 157 (second receiving unit) that receives an instruction to decrease the number of display levels of the opening and closing levels displayed on the setting screen 143B by a predetermined number. Figure 6 The setting screen 143A shown is the same, so their description will not be repeated below.

[0102] like Fig.11 As shown, when the user presses the add button 156, a row including a display field for the opening and closing level and a display field for the opening and closing position is added to the setting field 150. Fig.11 In the example, a row for opening and closing level "C" is added.

[0103] The number of opening and closing levels added by pressing the add button 156 does not necessarily need to be one. As an example, the control device 40 may increase the display of two or more opening and closing levels based on the pressing of the add button 156 .

[0104] The method for increasing the number of displayed opening and closing levels is not limited to the addition button 156, and the display of the opening and closing levels can be added in various ways. As an example, the number of displayed opening and closing levels can be increased by voice input.

[0105] like Fig.12 As shown in FIG. 1 , when the user presses the delete button 157, the row selected in the setting field 150 is deleted. Fig.12 In the example of FIG. 1 , the delete button 157 is pressed with the row of the opening and closing level “B” selected, thereby deleting the row of the opening and closing level “B”.

[0106] The number of opening and closing levels deleted by pressing the delete button 157 does not necessarily need to be one. As an example, the control device 40 may reduce the display of two or more opening and closing levels based on the deletion button 157 being pressed.

[0107] The method of reducing the number of displayed opening and closing levels is not limited to the delete button 157, and the display of the opening and closing levels can be deleted by various methods. As an example, the number of displayed opening and closing levels can be reduced by voice input.

[0108] By using the above teaching function, the user can set the opening and closing positions of the door leaf 136 for each opening and closing level displayed on the setting screen 143B.

[0109] As described above, in this modification example, the user can arbitrarily change the number of opening and closing levels for setting the opening and closing positions. Thus, the user can set the opening and closing positions according to various uses and can change the opening and closing settings of the door leaf 136 more flexibly.

[0110] <G. Modification Example 3 of the Teaching Function>

[0111] Next, refer to Fig.13 to clearly show Modification Example 3 of the teaching function. Fig.13 FIG. is a diagram showing the teaching process following Modification Example 3 in time series.

[0112] In the above teaching function, the user sets the opening and closing positions by manually moving the door leaf 136. In contrast, in the teaching function following this modification example, the user can set the opening and closing positions by automatically moving the door leaf 136. The automatic driving of the door leaf 136 is achieved by the above driving mechanism 137 (refer to Figure 2 ).

[0113] More specifically, in step S21, it is assumed that the user switches the operation mode of the machine tool 100 to the teaching mode. Based on this, the control device 40 of the machine tool 100 displays the opening and closing position setting screen 143C on the display 142.

[0114] The setting screen 143C following this modification example is different from the above setting screen 143A (refer to Figure 7 ) in that it also has a manual button 160, an automatic button 161, an open button 162, a close button 163, and an opening and closing position display area 165. Hereinafter, the same matters as those of the above setting screen 143A will not be repeatedly described.

[0115] The teaching mode in this modification example has the above manual teaching mode for manually specifying the opening and closing positions of the door leaf 136 and an automatic teaching mode for automatically specifying the opening and closing positions of the door leaf 136 using the driving mechanism 137. When the user presses the manual button 160, the teaching mode is switched to the manual teaching mode. On the other hand, when the user presses the automatic button 161, the teaching mode is switched to the automatic teaching mode.

[0116] The configuration is such that one of the manual button 160 and the automatic button 161 can be selected. That is, when the manual button 160 is pressed, the manual button 160 becomes selected and the automatic button 161 becomes unselected. On the other hand, when the automatic button 161 is pressed, the automatic button 161 becomes selected and the manual button 160 becomes unselected. Fig.13 In the example of , the automatic button 161 is in a selected state, thereby selecting the automatic teaching mode.

[0117] Preferably, the control device 40 changes the content of the message 145 according to the current teaching mode. More specifically, when the current teaching mode is the manual teaching mode, the control device 40 displays a message for prompting the user to manually move the door leaf 136. On the other hand, when the current teaching mode is the automatic teaching mode, the control device 40 displays a message for prompting the user to automatically move the door leaf 136.

[0118] In the automatic teaching mode, the control device 40 continues to open the door leaf 136 at a low speed while the open button 162 is pressed, and stops the opening of the door leaf 136 when the open button 162 becomes unpressed. On the other hand, the control device 40 continues to close the door leaf 136 at a low speed while the close button 163 is pressed, and stops the closing of the door leaf 136 when the close button 163 becomes unpressed. In this way, in the automatic teaching mode, the user can arbitrarily specify the opening and closing position without manually moving the door leaf 136.

[0119] The opening and closing position display area 165 displays the current opening and closing position of the door leaf 136. The opening and closing position is represented, for example, by the degree of opening of the door leaf 136 with the state of the door leaf 136 being fully closed as a reference (for example, 0 mm). The unit of the opening and closing position is, for example, "mm". Preferably, the opening and closing position displayed in the opening and closing position display area 165 is linked to the opening and closing action of the door leaf 136. Thus, the user can identify the current opening and closing position with a numerical value in real time.

[0120] In step S22 , it is assumed that the user operates the open button 162 and the close button 163 to move the door 136 from the open / closed position “ x0 ” and stops the door 136 at the open / closed position “ x1 ”.

[0121] In step S23, it is assumed that the user has pressed the confirmation button 147 on the setting screen 143C. Based on this, the control device 40 receives the signal from the above-mentioned detection unit 138 (see Figure 2 ) to obtain the actual position of the door leaf 136. Then, the control device 40 stores the obtained actual position in association with the currently selected opening and closing level. Fig.13In the example, the set position "x1" is stored in association with the opening / closing level "A". By repeating the above process, the user sets the opening / closing position in sequence for different opening / closing levels.

[0122] In addition, the above example in which the machine tool 100 has two modes, namely, the manual teaching mode and the automatic teaching mode, has been described. However, the machine tool 100 does not necessarily need to have both the manual teaching mode and the automatic teaching mode. It is sufficient for the machine tool 100 to have at least one of the manual teaching mode and the automatic teaching mode.

[0123] <H. Variant Example 4 of the Teaching Function>

[0124] Next, with reference to Fig.14 Variant example 4 of the teaching function will be clearly shown. Fig.14 FIG. is a diagram showing a setting screen 143D that follows variant example 4.

[0125] The setting screen 143D is displayed, for example, on the display 142 of the operation console 140. The operation console 140 accepts various operations on the door leaf 136 (for example, an opening operation of the door leaf 136, a closing operation of the door leaf 136, a position determination operation of the door leaf 136, etc.) via the setting screen 143D.

[0126] More specifically, the setting screen 143D includes a teaching enable button 170, a low-speed opening button 171, a low-speed closing button 172, a teaching execution button 173, an opening button 176, a closing button 177, a lock release button 178, and a door designation button 179.

[0127] The teaching enable button 170 is a button for switching the operation mode. Each time the user presses the teaching enable button 170, the state of the teaching enable button 170 alternates between the selected state and the unselected state. Based on the teaching enable button 170 changing from the unselected state to the selected state, the machine tool 100 switches the current operation mode to the above-mentioned teaching mode. This teaching mode is an operation mode capable of accepting the setting of the opening position of the door leaf 136. Based on the teaching enable button 170 changing from the selected state to the unselected state, the machine tool 100 switches the operation mode from the teaching mode to the above-mentioned automatic opening / closing mode. The automatic opening / closing mode is an operation mode capable of opening the door leaf 136 to the set opening position.

[0128] The machine tool 100 may also turn on a lamp (not shown) provided on the machine tool 100 based on the teaching enable button 170 changing from the unselected state to the selected state. Thus, the user can easily identify that the current operation mode is the teaching mode. The machine tool 100 turns off the lamp based on the teaching enable button 170 changing from the selected state to the unselected state. Alternatively, the machine tool 100 may turn off the lamp based on the end of the teaching of the opening position of the door leaf 136.

[0129] Preferably, teaching enable button 170 is configured to be operable only by a user who is assigned a predetermined access authority. The access authority is determined based on, for example, login information logged into machine tool 100 .

[0130] The low speed opening button 171 is a button for accepting the opening operation (first opening operation) of the door leaf 136 in the teaching mode. When the low speed opening button 171 is pressed, the control device 40 of the machine tool 100 controls the above-mentioned drive mechanism 137 (see Figure 2 ), the door leaf 136 starts to be opened. Then, the control device 40 continues to open the door leaf 136 while the low-speed opening button 171 is pressed, and stops the opening of the door leaf 136 when the low-speed opening button 171 becomes unpressed. The opening speed of the door leaf 136 in the teaching mode is slower than the opening speed of the door leaf 136 in the automatic opening and closing mode. That is, the opening speed of the door leaf 136 using the low-speed opening button 171 is slower than the opening speed of the door leaf 136 using the opening button 176 described later.

[0131] The low-speed closing button 172 is a button for accepting the closing operation of the door leaf 136 in the teaching mode. When the low-speed closing button 172 is pressed, the control device 40 of the machine tool 100 controls the above-mentioned drive mechanism 137 to start the closing operation of the door leaf 136. Then, the control device 40 continues the closing operation of the door leaf 136 at a low speed while the low-speed closing button 172 is pressed, and stops the closing operation of the door leaf 136 based on the low-speed closing button 172 becoming unpressed. The closing speed of the door leaf 136 in the teaching mode is slower than the closing speed of the door leaf 136 in the automatic opening and closing mode. That is, the closing speed of the door leaf 136 using the low-speed closing button 172 is slower than the closing speed of the door leaf 136 using the closing button 177 described later.

[0132] The teaching execution button 173 is a button for receiving the position determination operation of the door leaf 136. After the opening position of the door leaf 136 is adjusted by the low speed opening button 171 and the low speed closing button 172, if the teaching execution button 173 is pressed with the teaching enable button 170 selected, the control device 40 of the machine tool 100 receives the position determination operation of the door leaf 136 from the above-mentioned detection unit 138 (refer to Figure 2 ) obtains the actual position of the door leaf 136. Thereafter, the control device 40 stores the obtained actual position in the opening and closing setting 124 as the opening position of the door leaf 136.

[0133] Preferably, teaching execution button 173 is configured to be operable only by a user who is assigned a predetermined access authority. The access authority is determined based on, for example, login information logged into machine tool 100 .

[0134] The opening button 176 is a button for accepting the opening operation (second opening operation) of the door leaf 136 in the automatic opening and closing mode. When the opening button 176 is pressed, the control device 40 of the machine tool 100 controls the above-mentioned drive mechanism 137 (see Figure 2 ) so that the door leaf 136 is located at the set opening position. The opening speed of the door leaf 136 using the opening button 176 is faster than the opening speed of the door leaf 136 using the low-speed opening button 171.

[0135] The close button 177 is a button for accepting the closing operation of the door leaf 136 in the automatic opening and closing mode. When the close button 177 is pressed, the control device 40 of the machine tool 100 controls the above-mentioned drive mechanism 137 (see Figure 2 ) so that the door leaf 136 is located at a predetermined closing position. The closing speed of the door leaf 136 using the closing button 177 is faster than the closing speed of the door leaf 136 using the low-speed closing button 172.

[0136] The lock release button 178 is a button for releasing the lock of the door leaf 136. When the lock release button 178 is pressed, the machine tool 100 stops supplying power to the drive mechanism 137. More specifically, when power is supplied from the power supply to the drive mechanism 137, the driving force of the drive mechanism 137 acts on the door leaf 136. On the other hand, when power is not supplied from the power supply to the drive mechanism 137, the driving force of the drive mechanism 137 does not act on the door leaf 136. The control device 40 stops supplying power from the power supply to the drive mechanism 137 based on the lock release button 178 being pressed. As a result, the driving force does not act on the door leaf 136, and the user can manually move the door leaf 136. As a result, the user can manually fine-tune the position of the door leaf 136.

[0137] In addition, the above description is based on the premise that the machine tool 100 is composed of one door leaf 136, but the machine tool 100 may also be composed of two or more door leaves 136. That is, the door leaf 136 may be composed of two left and right door leaves, two upper and lower door leaves, or four upper, lower, left and right door leaves. In this case, the above-mentioned drive mechanism 137 (see Figure 2 ) and the detection unit 138 (refer to Figure 2 ) is set according to the number of door leaves 136, and the machine tool 100 is configured to accept the setting of the opening position of each door leaf. For example, the door designation button 179 accepts the designation operation of the door leaf 136 as the drive object.

[0138] The door designation buttons 179 include, for example, a button 179A for designating the left door leaf, a button 179B for designating the right door leaf, a button 179C for designating the upper door leaf, and a button 179D for designating the lower door leaf. A user can select one of the buttons 179A to 179D. If a selected button is pressed again, the buttons 179A to 179D all become unselected.

[0139] As an example, when the button 179A is selected, the left door leaf of the machine tool 100 is selected as the driving object. As another example, when the button 179B is selected, the right door leaf of the machine tool 100 is selected as the driving object. As another example, when the button 179C is selected, the upper door leaf of the machine tool 100 is selected as the driving object. As another example, when the button 179D is selected, the lower door leaf of the machine tool 100 is selected as the driving object.

[0140] When the low-speed opening button 171 is pressed, the control device 40 of the machine tool 100 causes the door leaf selected as the driving object by the door designation button 179 to start an opening operation. Then, while the low-speed opening button 171 is pressed, the control device 40 causes the door leaf as the driving object to continuously perform the opening operation at a low speed, and stops the opening operation of the door leaf based on the state that the low-speed opening button 171 is no longer pressed. After that, when the teaching execution button 173 is pressed, the control device 40 obtains the actual position of the door leaf 136 as the driving object from the above-described detection unit 138 (see Figure 2 ), and stores the actual position in the opening / closing setting 124 in association with the identification information of the door leaf as the driving object.

[0141] In a state where none of the buttons 179A to 179D is selected, when the low-speed opening button 171 is pressed, the machine tool 100 causes all the door leaves that can be designated as the driving object to simultaneously perform the opening operation at a low speed.

[0142] When the low-speed closing button 172 is pressed, the control device 40 of the machine tool 100 causes the door leaf selected as the driving object by the door designation button 179 to start a closing operation. Then, while the low-speed closing button 172 is pressed, the control device 40 causes the door leaf as the driving object to continuously perform the closing operation at a low speed, and stops the closing operation of the door leaf based on the state that the low-speed closing button 172 is no longer pressed.

[0143] In a state where none of the buttons 179A to 179D is selected, when the low-speed closing button 172 is pressed, the machine tool 100 causes all the door leaves that can be designated as the driving object to simultaneously perform the closing operation at a low speed.

[0144] <I. Opening Command for Door Leaf>

[0145] In the above description, an example is described in which the door leaf 136 is driven to the opening and closing position set in the teaching process based on the user pressing the open button, but the opening and closing position set in the teaching process can also be referred to by the command code of the program. Fig.15 An example of this command code is shown below.

[0146] Fig.15 1 is a diagram showing an example of a machining program 122. The machining program 122 includes various command codes related to machining of a workpiece. The machine tool 100 machines the workpiece according to the machining program 122.

[0147] The door leaf is opened and closed during the processing of the workpiece. As an example, in a processing system in which the workpiece is transported by an automatic transport device such as a robot, the machine tool 100 opens the door leaf 136 before the workpiece is moved into the machine tool 100 by the automatic transport device. Next, the automatic transport device moves the workpiece to be processed into the machine tool 100. Thereafter, the machine tool 100 closes the door leaf 136 and starts processing the workpiece. When the processing is completed, the door leaf 136 is opened, and the automatic transport device moves the processed workpiece out of the machine tool 100. Thereafter, the machine tool 100 closes the door leaf 136.

[0148] Such a process is carried out, for example, by Fig.15 The machining program 122 shown is implemented. The machining program 122 is specified by, for example, a G code. The machining program 122 includes a command code "GXX" for instructing the opening operation of the door leaf 136. "XX" is a predetermined constant. The user can specify the opening and closing level in the command code "GXX".

[0149] When the command code "GXX" is executed, the machine tool 100 determines the opening level specified in the command code "GXX" and acquires the opening and closing position corresponding to the opening level by referring to the opening and closing setting 124. Then, the machine tool 100 drives the door 136 to the acquired opening and closing position.

[0150] In addition, Fig.15 136 is shown in the example where the command code for opening the door leaf 136 is specified by the G code, but the command code does not necessarily need to be specified by the G code. As an example, the command code can also be specified in the ladder diagram program. In this case, in the above-mentioned CPU unit 50 (refer to Figure 5 ) on the control program 92 (refer to Fig.17 ) specifies the command code.

[0151] In addition, the above example of the opening command for the door leaf is specified by G-code, but the opening command for the door leaf can also be specified by M-code. As an example, the opening command is specified by "M85". When "M85" is executed, the machine tool 100 drives the door leaf 136 to the set opening position. This opening position can be specified in the machining program 122, can also be specified in the ladder diagram program (PLC program), or can be specified as a set parameter to be referred to in the machining program 122 or the ladder diagram program. In addition, when the current position of the door leaf 136 exceeds the specified opening position (that is, when the current opening area of the door leaf 136 is larger than the opening area after the movement of the door leaf 136), the machine tool 100 outputs a specified error code (for example, EX6042).

[0152] In addition, the above example of the opening command for the door leaf 136 is specified by G-code or M-code, but the closing command for the door leaf 136 can also be specified by G-code or M-code. As an example, the closing command for the door leaf 136 is specified by "M86". When "M86" is executed, the machine tool 100 drives the door leaf 136 to the set closing position. This closing position can be specified in the machining program 122, can also be specified in the ladder diagram program (PLC program), or can be specified as a set parameter to be referred to in the machining program 122 or the ladder diagram program.

[0153] <J. Automatic setting function of opening and closing positions>

[0154] In the above example, the teaching function for the user to manually set the opening and closing positions of the door leaf 136 is described, but the opening and closing positions of the door leaf 136 can also be set automatically. Next, refer to Fig.16 to describe the automatic setting function of the opening and closing positions.

[0155] The operation mode of the machine tool 100 includes a manual opening and closing mode for manually opening the door leaf 136 and an automatic opening and closing mode for automatically opening the door leaf 136.

[0156] When the operation mode of the machine tool 100 is the manual opening and closing mode, every time the door leaf 136 is manually opened, the control device 40 of the machine tool 100 obtains the opening and closing position of the door leaf 136 from the above-mentioned detection unit 138 (refer to Figure 2 ) and stores the opening and closing position. As an example, the opening and closing position is stored based on the fact that there is no change for more than a fixed time.

[0157] Fig.16It is a diagram of the database 96 showing the open / closed positions. In the database 96, the opening / closing times of the door leaf 136 are associated with the opening / closing positions of the door leaf 136. Preferably, identification information (such as an identification ID (Identification), etc.) of the user who performed the opening / closing operation is further associated in the database 96. For example, the identification information of the user is determined based on the login information logged in to the machine tool 100.

[0158] The control device 40 automatically calculates a set position related to the opening / closing of the door leaf 136 based on the opening / closing positions stored in the database 96. This set position is equal to or greater than the minimum value of the opening / closing positions stored in the database 96 and equal to or less than the maximum value of the opening / closing positions stored in the database 96.

[0159] In one aspect, this set position is the average value of the opening / closing positions stored in the database 96. In another aspect, this set position is the median value of the opening / closing positions stored in the database 96. In still another aspect, this set position is the maximum value or the minimum value of the opening / closing positions stored in the database 96.

[0160] In addition, multiple such set positions can also be calculated based on the database 96. As an example, this set position is calculated for each user.

[0161] When the operation mode of the machine tool 100 is the automatic opening / closing mode, the control device 40 controls the drive mechanism 137 based on receiving an instruction to open the door leaf 136 so that the door leaf 136 is located at the above-mentioned set position.

[0162] As described above, in this example, the control device 40 automatically sets the optimal opening / closing position of the door leaf 136 based on the past operation history. At this time, the user only needs to open and close the door leaf 136 as usual, and as a result, the opening / closing position of the door leaf 136 can be easily set.

[0163] <Hardware Structure of the CPU Unit 50>

[0164] Next, with reference to Fig.17 it will be described Figure 5 the hardware structure of the CPU unit 50 shown. Fig.17 It is a diagram showing an example of the hardware structure of the CPU unit 50.

[0165] The CPU unit 50 includes a processor 71, a ROM (Read Only Memory), a RAM (Random Access Memory) 73, a communication interface 74, a fieldbus controller 75, and a storage device 90. These components are connected to the internal bus 79.

[0166] The processor 71 is, for example, composed of at least one integrated circuit. The integrated circuit can be, for example, composed of at least one CPU, at least one GPU (Graphics Processing Unit), at least one ASIC (Application Specific Integrated Circuit), at least one FPGA (Field Programmable Gate Array), or a combination thereof.

[0167] The processor 71 controls the operation of the CPU unit 50 by executing various programs such as the control program 92. The control program 92 defines commands for controlling various devices in the machine tool 100. The processor 71 reads the control program 92 from the storage device 90 or the ROM 72 to the RAM 73 based on the execution command of the control program 92 received. The RAM 73 functions as a working memory for temporarily storing various data required for executing the control program 92.

[0168] A LAN (local area network), an antenna, etc. are connected to the communication interface 74. The CPU unit 50 exchanges data with an external device (eg, a server) via the communication interface 74. The CPU unit 50 may be configured to be able to download the control program 92 from the external device.

[0169] The field bus controller 75 is an interface for realizing communication with various units connected to the field bus. Examples of the units connected to the field bus include the CNC unit 51 and the I / O unit 52.

[0170] The storage device 90 is a storage medium such as a hard disk or a flash memory. The storage device 90 stores the control program 92 and the above-mentioned database 96 (see Fig.16 ), the above-mentioned opening and closing setting 124 (refer to Figure 8 ) etc. These storage locations are not limited to the storage device 90, and may be stored in a storage area (eg, cache memory) of the processor 71, ROM 72, RAM 73, an external device (eg, a server), etc.

[0171] The control program 92 may also be provided not as a single program but as part of any arbitrary program. In this case, it cooperates with any arbitrary program to implement various processes in accordance with the present embodiment. Even a program that does not include some of the modules does not deviate from the gist of the control program 92 in accordance with the present embodiment. Also, part or all of the functions provided by the control program 92 may be implemented by dedicated hardware. Also, the CPU unit 50 may be configured in a so-called cloud service manner, that is, part of the processing of the control program 92 is executed by at least one server.

[0172] <Hardware Structure of Machine Tool 100>

[0173] Next, with reference to Fig.18 the hardware structure of the machine tool 100 will be described. Fig.18 FIG. is an example showing the hardware structure of the machine tool 100.

[0174] The machine tool 100 includes a CNC unit 51, servo drivers 111A to 111D, servo motors 112A to 112D, encoders 113A to 113D, ball screws 114A, 114B, and a spindle 115. The CNC unit 51 includes a processor 101, a ROM 102, a RAM 103, a communication interface 104, and an operation panel 140.

[0175] The processor 101 is composed of at least one integrated circuit. The integrated circuit is composed of, for example, at least one CPU, at least one MPU, at least one ASIC, at least one FPGA, or a combination thereof.

[0176] The processor 101 controls the operation of the CNC unit 51 by executing various programs such as the machining program 122. The machining program 122 defines various commands for implementing the machining of a workpiece. The processor 101 reads the machining program 122 from the storage device 120 into the ROM 102 based on the received execution command of the machining program 122. The RAM 103 functions as a working memory and is used to temporarily store various data required for executing the machining program 122.

[0177] The communication interface 104 is an interface for connecting to the field network NW (refer to Figure 6 ). The CNC unit 51 exchanges data with various devices (for example, the CPU unit 50 or the I / O unit 52, etc.) connected to the field network NW via the communication interface 104.

[0178] The operation panel 140 accepts various operations on the machine tool 100. In addition, the operation panel 140 includes a display 142 for displaying various information. The display is, for example, a liquid crystal display, an organic EL display, or other display devices.

[0179] The CNC unit 51 controls the servo drives 111A to 111D according to the machining program 122. The servo drive 111A, according to the control instruction from the CNC unit 51, causes the above-mentioned worktable 116 connected to the ball screw 114A to move in the X-axis direction (refer to Figure 2 ) and moves the worktable 116 to an arbitrary position in the X-axis direction. The servo drive 111B, according to the control instruction from the CNC unit 51, causes the worktable 116 connected to the ball screw 114B to move in the Y-axis direction (refer to Figure 2 ) and moves the worktable 116 to an arbitrary position in the Y-axis direction. The servo drive 111C, according to the control instruction from the CNC unit 51, causes the spindle 115 to move in the Z-axis direction (refer to Figure 2 ) and moves the spindle 115 to an arbitrary position in the Z-axis direction. The servo drive 111D controls the rotational speed of the spindle 115 according to the control instruction from the CNC unit 51.

[0180] The storage device 120 is, for example, a storage medium such as a hard disk or a flash memory. The storage device 120 stores the machining program 122 and the like. The storage location of the machining program 122 is not limited to the storage device 120 and can also be stored in the storage area (e.g., cache storage area, etc.) of the processor 101, the ROM 102, the RAM 103, an external device (e.g., a server), etc.

[0181] The processing program 122 can be provided not as a single program but as part of an arbitrary program. In this case, it cooperates with an arbitrary program to implement various processes in accordance with this embodiment. Even a program that does not include some modules does not deviate from the gist of the control program 122 in accordance with this embodiment. And, part or all of the functions provided by the control program 122 can also be implemented by dedicated hardware. And, the CNC unit 51 can also be configured in the form of a so-called cloud service, that is, at least one server executes part of the processing of the control program 122.

[0182] <Flowchart in the teaching mode>

[0183] Refer to Fig.19 to clarify the control flow in the teaching mode. Fig.19 is a flowchart showing the process of the teaching process. Fig.19 The process shown, for example, is executed by the control device 40 of the machine tool 100.

[0184] In step S110, the control device 40 determines whether the operation mode of the machine tool 100 is switched to the teaching mode by the user's operation on the operation console 140. If the control device 40 determines that the operation mode of the machine tool 100 is switched to the teaching mode ("Yes" in step S110), the control device 40 switches control to step S112. Otherwise ("No" in step S110), the control device 40 closes the setting screen 143B and ends. Fig.19 The teaching process shown.

[0185] In step S112, the control device 40 executes a process for prompting the user to move the door leaf 136. As an example, the control device 40 displays the above-mentioned setting screen 143B (see Fig.11 ). Thus, the user is prompted to manually move the door leaf 136 by displaying the setting screen 143B.

[0186] In step S120, the control device 40 determines whether an instruction to determine the position of the door leaf 136 is received. As an example, the control device 40 receives an instruction to determine the position of the door leaf 136 based on the user pressing the confirmation button 147 on the setting screen 143B. When the control device 40 determines that an instruction to determine the position of the door leaf 136 is received ("Yes" in step S120), the control device 40 switches control to step S124. Otherwise ("No" in step S120), the control device 40 switches control to step S122.

[0187] In step S122, the control device 40 determines whether a cancel instruction has been received. As an example, the control device 40 receives a cancel instruction based on the user pressing the cancel button 146 on the setting screen 143B. If the control device 40 determines that a cancel instruction has been received ("Yes" in step S122), it closes the setting screen 143B and ends. Fig.19 Otherwise ("No" in step S122), the control device 40 returns the control to step S120.

[0188] In step S124, the control device 40 obtains the current opening and closing position of the door leaf 136 from the above-mentioned detector 138. Then, the control device 40 associates the obtained opening and closing position with the opening and closing level selected on the setting screen 143B and stores it in the above-mentioned opening and closing setting 124 (refer to Figure 8 )middle.

[0189] In step S130, the control device 40 determines whether an end instruction for the teaching mode is received. For example, this end instruction is issued based on the user pressing the cancel button 146 on the setting screen 143B. When the control device 40 determines that the end instruction for the teaching mode is received (Yes in step S130), it closes the setting screen 143B and ends Fig.19 the processing therein. Otherwise (No in step S130), the control device 40 returns the control to step S112.

[0190] In addition, in Fig.19 the flowchart of the manual teaching mode in which the user manually sets the opening / closing position of the door leaf 136 has been described, but the user can also automatically set the opening / closing position of the door leaf 136. In this case, in step S112, the above-mentioned setting screen 143C is displayed (refer to Fig.13 ). More specifically, in step S112, when the manual button 160 on the setting screen 143C is pressed, the control device 40 prompts the user to manually move the door leaf 136. Or, when the automatic button 161 on the setting screen 143C is pressed, the control device 40 prompts the user to automatically (driven by a motor) move the door leaf 136.

[0191] <N. Flowchart in automatic opening / closing mode>

[0192] Refer to Fig. 20 to illustrate the control flow in the automatic opening / closing mode. Fig. 20 is a flowchart showing the process of the automatic opening / closing process of the door leaf 136. Fig. 20 The processing shown, for example, is executed by the control device 40 of the machine tool 100.

[0193] In step S150, the control device 40 determines whether the operation mode of the machine tool 100 is switched to the automatic opening / closing mode by the user's operation on the operation console 140. When the control device 40 determines that the operation mode of the machine tool 100 is switched to the automatic opening / closing mode (Yes in step S150), it switches the control to step S152. Otherwise (No in step S150), the control device 40 closes the opening / closing operation screen 144 and ends Fig. 20 the processing therein.

[0194] In step S152, the control device 40 displays the above-mentioned opening / closing operation screen 144 on the display 142 (refer to Fig. 9 ).

[0195] In step S160, the control device 40 determines whether the opening / closing button displayed on the opening / closing operation screen 144 has been pressed. When the control device 40 determines that the opening / closing button displayed on the opening / closing operation screen 144 has been pressed (Yes in step S160), it switches the control to step S164. Otherwise (No in step S160), the control device 40 switches the control to step S162.

[0196] In step S162, the control device 40 determines whether the cancel button 154 displayed on the opening / closing operation screen 144 has been pressed. When the control device 40 determines that the cancel button 154 has been pressed (Yes in step S162), it closes the opening / closing operation screen 144 and ends Fig. 20 the processing in. Otherwise (No in step S162), the control device 40 returns the control to step S160.

[0197] In step S164, the control device 40 drives the door leaf 136 according to the type of the opening / closing button pressed in step S160. As an example, when any one of the open buttons 152A to 152C displayed on the opening / closing operation screen 144 is pressed, the control device 40 determines the opening / closing level corresponding to the pressed open button. Then, the control device 40 refers to the above-mentioned opening / closing setting 124 (refer to Figure 8 ) to obtain the opening / closing position corresponding to the determined opening / closing level. After that, the control device 40 controls the drive mechanism 137 to drive the door leaf 136 to the obtained opening / closing position. On the other hand, when the close button 153 displayed on the opening / closing operation screen 144 is pressed, the control device 40 controls the drive mechanism 137 to drive the door leaf 136 to a predetermined closed position.

[0198] In step S170, the control device 40 determines whether an end instruction for the automatic opening / closing mode has been received. For example, this end instruction is issued based on the user pressing the cancel button 154 on the opening / closing operation screen 144. When the control device 40 determines that the end instruction for the automatic opening / closing mode has been received (Yes in step S170), it closes the opening / closing operation screen 144 and ends Fig. 20 the processing in. Otherwise (No in step S170), the control device 40 returns the control to step S160.

[0199] <O. Summary>

[0200] As described above, the machine tool 100 has a teaching function that can manually specify the opening and closing position of the door leaf 136. The user can actually move the door leaf 136 to set the opening and closing position, so the user can set the opening and closing position while visually confirming the opening and closing degree. In addition, the user can set the opening and closing position only by moving the door leaf 136, so there is no need to rewrite the program or the opening and closing setting, and the opening and closing position of the door leaf 136 can be easily set.

[0201] The embodiments disclosed this time should be considered as illustrative in all aspects and not restrictive. The scope of the present invention is indicated by the claims rather than the above description, and is intended to include all modifications within the meaning and scope equivalent to the claims.

[0202] Description of Reference Numerals

[0203] 40: control device; 50: CPU unit; 51: CNC unit; 52: I / O unit; 61, 111A~111D: servo driver; 62, 112A~112D: servo motor; 71, 101: processor; 72, 102: ROM; 73, 103: RAM; 74, 104: communication interface; 75: field bus controller; 79: internal bus; 90, 120: storage device; 92: control program; 96: database; 100: machine tool; 113A~113D: encoder; 114A, 114B: ball screw; 115: spindle; 116: workbench; 122: machining program; 124: opening and closing setting; 131: cover; 132: opening; 136: door leaf; 137: drive machine Structure; 138: Detection unit; 139: Handle; 140: Operation panel; 142: Display; 143, 143A~143D: Setting screen; 144: Opening and closing operation screen; 145: Message; 146, 154: Cancel button; 147: Confirm button; 150: Setting bar; 152A~152C, 162: Open button; 153, 163: Close button; 156: Add button; 157: Delete button; 160: Manual button; 161: Automatic button; 165: Opening and closing position display area; 170: Teach enable button; 171: Low speed opening button; 172: Low speed closing button; 173: Teach execution button; 178: Lock release button; 179: Door designation button; 179A~179D: button.

Claims

1. A machine tool having: a cover having an opening, the cover being used to partition a processing area for forming a workpiece; a door leaf for covering the opening; a driving mechanism that drives the door leaf to change the degree of the opening; A detection unit, which is used to detect the actual position of the door leaf; An operating table, which is used to accept operations on the machine tool; as well as a control device for controlling the machine tool, The control device performs the following processing: Based on the operation console accepting the first opening operation of the door leaf, controlling the driving mechanism so that the door leaf opens; A storage process, based on the operation console accepting the position determination operation of the door leaf, acquiring the actual position from the detection unit, and storing the acquired actual position as the open position of the door leaf; and Based on the operation console accepting the second opening operation of the door leaf, the driving mechanism is controlled so that the door leaf is located at the open position, The opening speed of the door leaf during the first opening operation is slower than the opening speed of the door leaf during the second opening operation.

2. The machine tool according to claim 1, characterized in that: In the storage process, the operation station sequentially accepts the position determination operation according to different opening levels, and stores the open positions according to different opening levels. The control device performs the following processing: based on the reception of the input of the opening level as the second opening operation by the operation console, the drive mechanism is controlled to drive the door leaf to an open position corresponding to the input opening level.

3. The machine tool according to claim 2, characterized in that: The machine tool further includes a display unit. The control device executes processing for displaying a setting screen of the open position on the display unit, The setting screen includes: display of said opening level; a first receiving unit that receives an instruction to increase the number of displayed open levels displayed on the setting screen by a predetermined number; and a second receiving unit configured to receive an instruction to reduce the number of displayed open levels displayed on the setting screen by a predetermined number, The storage process includes a process of storing the open position for each open level displayed on the setting screen.

4. The machine tool according to any one of claims 1 to 3, characterized in that: The driving mechanism comprises a motor for driving the door leaf, The door leaf is provided with a handle.

5. The machine tool according to claim 3, characterized in that: The control device executes a process of displaying a message for urging a user to move the door on the setting screen.

6. A machine tool control method, The machine tool has: a cover having an opening, the cover being used to partition a processing area for forming a workpiece; a door leaf for covering the opening; a driving mechanism that drives the door leaf to change the degree of the opening; A detection unit, which is used to detect the actual position of the door leaf; as well as an operating table for accepting operations on the machine tool, The control method comprises the following steps: Based on the operation console accepting the first opening operation of the door leaf, controlling the driving mechanism so that the door leaf opens; Based on the operation console accepting the position determination operation of the door leaf, the actual position is acquired from the detection unit, and the acquired actual position is stored as the open position of the door leaf; and Based on the operation console accepting the second opening operation of the door leaf, the driving mechanism is controlled so that the door leaf is located at the open position, The opening speed of the door leaf during the first opening operation is slower than the opening speed of the door leaf during the second opening operation.

7. A non-transitory computer-readable storage medium storing a control program executed by a machine tool, The machine tool has: a cover having an opening, the cover being used to partition a processing area for forming a workpiece; a door leaf for covering the opening; a driving mechanism that drives the door leaf to change the degree of the opening; A detection unit, which is used to detect the actual position of the door leaf; as well as an operating table for accepting operations on the machine tool, The control program causes the machine tool to perform the following steps: Based on the operation console accepting the first opening operation of the door leaf, controlling the driving mechanism so that the door leaf opens; Based on the operation of determining the position of the door leaf being accepted by the operating console, the actual position is acquired from the detection unit, and the acquired actual position is stored as the opening position of the door leaf; as well as Based on the operation console accepting the second opening operation of the door leaf, the driving mechanism is controlled so that the door leaf is located at the open position, The opening speed of the door leaf during the first opening operation is slower than the opening speed of the door leaf during the second opening operation.