The present invention relates to a control method for a machine tool and a control apparatus for the machine tool.
Background of the Invention In a conventional technique, machine tools are known that move tools relative to workpieces in order to perform machining such as cutting. In addition, among such machine tools, a machine tool of a numerical control type that designates a path of the tool on the basis of coordinates or the like of a predetermined feed axis and performs machining while moving the tool with respect to the workpiece is known. By moving at least one of the workpiece and the tool according to an operation command from a control apparatus, the machine tool can automatically perform machining while changing a relative position of the tool with respect to the workpiece.
In the machine tool of the numerical control type, a machining program in which the relative movement of the tool with respect to the workpiece is set, tool information, and the like is inputted to the control apparatus. The machine tool can automatically perform machining of the workpiece on the basis of such information. An operator needs to set or check information on machining such as the machining program. A display part that displays the information on machining is arranged in the machine tool. The operator can set information on the tool and check a progress status of the machining while watching the display part.
The machine tool of the numerical control type may also be driven manually. For example, when performing replacement of the tool, the workpiece or the tool may be manually moved in order to keep a main spindle head to which the tool is fixed away from the workpiece. In this case, the operator can manually drive the machine tool by driving the feed axis by means of using a jog button or a manual pulse generator while watching the machine tool, or by creating and executing a machining program on the spot by means of using a manual data input (MDI) function.
Japanese Patent No. 5391675B discloses a control apparatus that divides a series of operation performed at the time of automatic operation of a machine tool into individual operations, and displays operation order in a three-dimensional shape model. The control apparatus displays menus for operating parts corresponding to the three-dimensional shape model. When any of the displayed menus is selected, it is disclosed that the control apparatus executes operation corresponding to the selected menu.
Japanese Unexamined Patent Publication No. 2000-305614A discloses a control apparatus that can generate manual pulses by software. The control apparatus includes a touch panel on which an input operation part for a manual operation is displayed. A plurality of touch switches are displayed on the input operation part that is formed such that an input operation can be continuously performed by tracing the touch switches by a finger. It is disclosed that the control apparatus gives a movement command to a servo mechanism of a machine according to the operation of the input operation part.
Patent Literature 1: Japanese Patent No. 5391675
Patent Literature 2: Japanese Unexamined Patent Publication No. 2000-305614A
In recent years, a progress has been made in machine tool technique, and now the machine tool is provided with many functions. Along with the increase of machine tool functions, the machine tool operation has become complex and difficult. In addition, even when the functions and the operation method of one machine tool are fully posted, the type of the machine tool may be changed, or the machine tool may be changed to a machine tool made by a different manufacturer. In such a case, the functions and the operation method needs to be learned again in order to master the machine tool.
For example, feed axes such as the X axis and the Y axis are set in the machine tool. The directions of a positive side and a negative side are set for each feed axis. When the workpiece or the tool is manually moved, the workpiece or the tool can be moved along a desired feed axis by pressing the jog button on an operation panel. At this time, the operator needs to select a feed axis to be moved, and further select the positive side or the negative side. However, when the type of the machine tool changes, it is difficult for the operator to identify a feed axis or a direction of a movement in order to perform desired movement. When a feed axis or the direction of the movement is erroneously selected, the machine tool may be driven in an unintended direction so as to cause malfunction. For example, when the tool is separated from the workpiece, the machine tool may be driven in a direction opposite to a desired direction and the tool may collide with the workpiece. Thus, the operator needs to operate the switches on the operation panel while referring to the operation manual of the machine tool or the nameplate of the feed axis of the machine.
In a machine tool having a rotation feed axis, a machining surface of the workpiece may be directed to the tool by a rotation movement. In this case, a machining program for moving along the rotation feed axis is generated by the MDI function. However, in the machining program including rotation operation, a rotation feed axis needs to be selected, and further a rotation angle of the rotation feed axis needs to be set.
In addition, the machine tool may include an auxiliary apparatus such as a tool replacement apparatus or a cooling liquid supply apparatus. When controlling such an auxiliary apparatus, a machining program for driving the auxiliary apparatus also needs to be generated.
It is necessary to describe command codes in the machining program. Arguments need to be set in the command codes. There are many types of command codes, and it is difficult to memorize all the command codes. A machining program needs to be generated only for directing the machining surface of the workpiece to the tool or driving the auxiliary apparatus, and a high level of knowledge and skill are required for the operator.
The present invention has an object to provide a control method for a machine tool and a control apparatus for the machine tool, which facilitate an operation of the machine tool and suppress an erroneous operation of the operator.
A control method for a machine tool according to the present invention is the control method for the machine tool that machines a workpiece by moving a tool relative to the workpiece, and includes displaying an image of the machine tool on a display part, storing operation of the machine tool corresponding to the operation of the operator with respect to the image of the machine tool in advance, obtaining content of an operation of the operator with respect to the image of the machine tool, generating an operation command for operating the machine tool corresponding to the content of the operation, and operating the machine tool on the basis of the operation command.
In the above invention, the image of the machine tool displayed on the display part can be a three-dimensional image.
In the above invention, an image in which the workpiece is arranged on a table of the machine tool can be displayed on the display part, the content of the operation can be an operation in which one surface of the workpiece is selected as a designated surface by an operator, the rotation angle of a rotation feed axis for directing the designated surface in a predetermined direction can be calculated, and the operation command for rotation along the rotation feed axis on the basis of the rotation angle can be generated.
In the above invention, when a part of the image of the machine tool is moved while maintaining a selected state by the operator, a feed axis and a movement amount corresponding to a movement direction in the image of the machine tool can be set, and the operation command can be generated on the basis of the movement amount in the feed axis.
In the above invention, an image of an auxiliary apparatus of the machine tool can be displayed on the display part, the content of the operation can be an operation with respect to the image of the auxiliary apparatus, the operation command can be a command for operating the auxiliary apparatus, and the auxiliary apparatus can be operated on the basis of the operation command.
A control apparatus for a machine tool according to the present invention is the control apparatus for the machine tool that machines a workpiece by moving a tool relative to the workpiece, and includes a display part that displays an image of the machine tool, a storage part that stores information on machining of the machine tool, and an information control part that controls the image of the machine tool displayed on the display part, and obtains the content of the operation of the operator with respect to the image of the machine tool. The storage part stores operation of the machine tool corresponding to the operation of the operator with respect to the image of the machine tool. The information control part generates an operation command for operating the machine tool corresponding to the content of the operation. The control apparatus operates the machine tool on the basis of the operation command.
According to the present invention, the control method for the machine tool and the control apparatus for the machine tool can be provided, that enable the machine tool to be intuitively and easily operated in place of the operation by using the conventional jog button or manual pulse generator, and the erroneous operation of the operator to be suppressed.
Referring to
The machining program 76 is inputted to the input part 71. The machining program 76 includes information on a relative movement of the tool with respect to the workpiece and information on control of an auxiliary apparatus. In the machining program 76, for example, an operation command to the machine tool is described by a command code such as a G code or an M code. Note that a machining program newly created by an operator in an information control part 20 may be inputted to the input part 71.
The reading interpretation part 72 reads the machining program 76 from the input part 71. The reading interpretation part 72 transmits a movement command to the arithmetic interpolation part 73. The arithmetic interpolation part 73 calculates a position command value for each interpolation period. For example, the arithmetic interpolation part 73 calculates a movement amount for each time interval set on the basis of the movement command. The arithmetic interpolation part 73 transmits the position command value to the servo control part 74. The servo control part 74 drives a servo motor 75 of each feed axis such as X axis, Y axis, Z axis or A axis on the basis of the position command value.
The control apparatus 70 includes the information control part 20 that controls machining information relating to machining of the workpiece, an operation part 30 that is used by the operator in order to input the machining information or the like, and a display part 28 that displays the machining information. The information control part 20 includes an arithmetic processing part 25 that calculates or determines a predetermined variable on the basis of the machining information.
The information control part 20 includes a program creation part 21. The program creation part 21 can create a numerical control program. The program creation part 21 creates a new machining program or edits the machining program after the machining program 76 is read from the input part 71. In addition, the program creation part 21 can create a movement program for driving a movement apparatus of each feed axis or the auxiliary apparatus, and a measurement program for performing measurement of the workpiece or the like on the basis of an operation of the operator with respect to a screen as described below. The information control part 20 includes a display control part 22 that controls an image displayed on the display part 28.
The operation part 30 includes a manual input part 29 that includes a keyboard or the like for inputting the machining information by the manual operation of the operator. The operation part 30 according to the present embodiment includes the display part 28. For the display part 28, a touch panel type that enables selection of a desired part by touching a screen is employed. The operator can input the machining information by operating an image displayed on the display part 28. The operation part 30 is not limited to this form, but an arbitrary apparatus that enables the operator to input the machining information can be employed.
The control apparatus 70 includes a storage part 26 that stores the machining information. The storage part 26 may be a storage apparatus such as a memory card or a hard disk coupled via a communication interface, in addition to the abovementioned ROM or RAM. The information control part 20 stores the machining information in the storage part 26, or reads the machining information stored in the storage part 26.
The control apparatus 70 includes an operation state detection apparatus 36 that detects the operation state of the machine tool. The operation state detection apparatus 36 may be exemplified by a sensor fitted to the machine tool 1. Various sensors may be exemplified by a sensor fitted to an each-axis servo motor 75 for detecting a rotation speed, a sensor that detects a load of a main spindle, and a sensor that detects the operation state of the auxiliary apparatus or the like. The arithmetic processing part 25 can determine the presence or absence of an abnormality of the operation state by receiving a signal from the operation state detection apparatus 36. For example, the arithmetic processing part 25 obtains the load of the main spindle from the operation state detection apparatus 36, and can determine that an abnormality occurs when the load of the main spindle is larger than a determination value.
The control apparatus 70 includes a position detection apparatus 34 that detects a position of each feed axis. The position detection apparatus 34 includes, for example, a linear encoder or a rotary encoder. The position detection apparatus 34 detects a coordinate value of each feed axis. The arithmetic processing part 25 obtains the coordinate value of each feed axis from the position detection apparatus 34.
The control apparatus 70 includes a work measurement apparatus 35 that measures a shape of the workpiece before machining or the shape of the workpiece after machining. The work measurement apparatus 35 includes, for example, a touch probe 19. The arithmetic processing part 25 detects contact with a workpiece W when the touch probe 19 moves. For example, the arithmetic processing part 25 can calculate the size of the workpiece W by obtaining a coordinate value when the touch probe 19 comes into contact with the workpiece W.
The machine tool 1 includes an auxiliary apparatus 33 that assists machining of the workpiece. The auxiliary apparatus 33 may be exemplified by a tool replacement apparatus that automatically replaces a tool, a work replacement apparatus that automatically replaces the workpiece, a cooling liquid supply apparatus that supplies a cooling liquid to the machining part of the workpiece, a chip conveyor, and the like that conveys chips generated at the time of machining.
An information control part 20 includes an operation command generation part 27 that outputs an operation command for driving the auxiliary apparatus 33. The control apparatus 70 includes an auxiliary apparatus control part 32 that includes a driving circuit for driving the auxiliary apparatus 33. The auxiliary apparatus control part 32 operates the auxiliary apparatus 33 on the basis of an operation command from a reading interpretation part 72 or the operation command generation part 27.
The machine tool 1 includes a bed 11 that is a base, and a column 12 erected on the upper surface of the bed 11. The machine tool 1 includes a main spindle head 14 that rotatably supports a main spindle 13, and a saddle 15 that supports the main spindle head 14 in front of the column 12. The main spindle head 14 supports the main spindle 13 downward so that a tip of the main spindle 13 may be opposed to the table 16. A tool is mounted to the tip of the main spindle 13.
The machine tool 1 includes the table 16 on which the workpiece is arranged, and a swing support member 18 in a U-shape that supports the table 16. The machine tool 1 includes a carriage 17 in a U-shape that supports the swing support member 18. The carriage 17 supports the swing support member 18 by a pair of struts separated from each other in the direction of the X axis. The swing support member 18 is supported so as to swing around an axis line of the A axis.
The machined tool 1 includes a movement apparatus that moves the tool relative to the workpiece on the basis of each feed axis. The movement apparatus includes the each-axis servo motor 75 that drives along each feed axis. The movement apparatus moves the saddle 15 in the direction of the Y axis with respect to the column 12. The movement apparatus moves the carriage 17 in the direction of the X axis with respect to the bed 11. In the column 12, a cavity part 12c is formed so as to enable the carriage 17 to partially enter. The movement apparatus moves the main spindle head 14 in the direction of the Z axis with respect to the saddle 15. The movement apparatus rotates the table 16 around the axis line of the C axis. In addition, the movement apparatus rotates the swing support member 18 around the axis line of the A axis with respect to the carriage 17. Thus, the machine tool 1 according to the present embodiment has three linear motion axes of the X axis, the Y axis and the Z axis orthogonal to one another, and two rotation feed axes to rotate of the A axis and the C axis. The machine tool may be in other forms. For example, the machine tool may be a main spindle turning type that has the A axis and the C axis on a main spindle side. The machine tool may be a mixed type that has the C axis on a table side and the A axis on the main spindle side, or a type of which main spindle may be a horizontal type, or a type without a rotation feed axis.
The operation panel 41 includes a keyboard part 42. A predetermined numeral or letter can be inputted by pressing a key switch of the keyboard part 42. The operation panel 41 includes an operation switch part 44 that performs selection of a predetermined operation. The operation panel 41 includes jog buttons 46a and 46b for manually driving the machine tool in a positive direction or a negative direction, and an override setting part 43 that performs setting of an override value. In addition, the operation panel 41 includes buttons such as an emergency stop button 48 for immediately stopping the machine tool at the time of an abnormality or the like, and an execution button 47 for starting driving of the machine tool.
A manual pulse generator 40 is connected to the operation panel 41. The manual pulse generator 40 is formed to be compact so as to be held and operated by the operator. An axis selection button 40b for selecting a feed axis used to drive and a dial 40a for adjusting a pulse generation amount are arranged in the manual pulse generator 40.
The keyboard part 42, the operation switch part 44, the override setting part 43, and various buttons arranged on the operation panel 41 function as the manual input part 29 of the operation part 30. The manual pulse generator 40 also functions as the manual input part 29 of the operation part 30.
When operating the machine tool, the operator selects an operation mode of the machine tool. Operation mode selection buttons 49a to 49d for selecting operation modes of the machine tool are arranged in the operation switch part 44. The operator sets a type of an operation as an operation mode in the machine tool. The operation mode of the machine tool can be changed by pressing the desired operation mode selection buttons 49a to 49d.
For example, when performing editing of a machining program, the machine tool is set to an edit mode by pressing the operation mode selectin button 49a. When driving the machine tool on the basis of the machining program, the machine tool is set to an execution mode by pressing the operation mode selectin button 49b. When manually operating the machine tool, the machine tool is set to a manual operation mode by pressing the operation mode selectin button 49c.
The control apparatus 70 for the machine tool according to the present embodiment can display a three-dimensional image of its own machine tool on the display panel 45. In other words, a stereoscopic image can be displayed on the display panel 45. The images of the machine tool include an image of the auxiliary apparatus 33 in addition to those of the workpiece and the tool. A preparation operation for displaying the three-dimensional image on the display panel 45 will be described.
Referring to
The model data 39 includes model data relating to a shape of the workpiece. The model data of the workpiece includes model data of the workpiece before machining. In other words, model data of a blank is included. The model data of the workpiece includes model data of the workpiece after machining. The model data of the workpiece can be generated by, for example, a CAD apparatus or a CAM apparatus 77. The model data of the workpiece includes information on a position of arrangement on the table 16 of the machine tool 1 in addition to the information on the shape of the workpiece. When the information on the position of the workpiece on the table 16 is not included, setting is carried out so as to arrange the workpiece in the center of the table 16. In addition, the model data of the workpiece can include model data of a work mounting tool.
Further, the model data 39 includes model data relating to a shape of the tool. For the model data of the tool, model data supplied by the manufacturer of the tool can be used. The operator can input the model data of the workpiece and the model data of the tool to the information control part 20, and store the model data in the storage part 26.
In the control apparatus 70 according to the present embodiment, a part of the machine tool 1 can be designated in the image of the machine tool displayed on the display part 28 as described below. The display control part 22 detects a pressed position on the display panel 45, and specifies a part of the machine tool selected by the operator on the basis of the pressed position. For example, the table 16 can be selected by pressing an image of the table 16 of the machine tool 1 by a finger.
However, since the operator machines various workpieces, misalignment may occur between a position of the workpiece displayed on the display part 28 and an actual position of the workpiece. Thus, the position of the workpiece on the table 16 needs to be calibrated before machining of the workpiece. Calibration of the position of the workpiece on the table 16 will now be described.
Referring to
The arithmetic processing part 25 calculates a coordinate value of the reference point 301 of the workpiece W by using the coordinate values of the plurality of measurement points 302. Then, the arithmetic processing part 25 calculates an amount of misalignment between the reference point 301 and the original point of the work coordinates G54. The operator can adjust the position of the workpiece W on the table 16 as indicated by the arrow 201 on the basis of the calculated amount of the misalignment. The operator can adjust the position by using, for example, a dial gauge. Thus, the calibration for aligning the actual position of the workpiece W with the position of the model data of the workpiece can be executed.
The calibration of the position of the workpiece is not limited to this form, but the position of the workpiece on the table in the model data may be calibrated. For example, in the example illustrated in
In step 132, the display control part 22 displays a three-dimensional image on the display part 28 on the basis of the model data.
A program edit screen can be displayed by pressing a selection part 51a for program edit among the selection parts 51a to 51e. The program edit screen is a screen for creating or displaying a machining program for machining the workpiece. A tool information screen for inputting, displaying or editing information on the tool can be displayed by pressing a selection part 51b for tool information. A coordinate information screen for inputting, displaying or editing coordinate information can be displayed by pressing a selection part 51c for coordinate information. A screen for showing a state of the machine tool during execution of a program is displayed by pressing a selection part 51d. A measurement result or the like of the workpiece after machining is displayed by pressing the selection part 51e.
Referring to
Referring to
In this example, the selection part 62c is selected.
On the manual operation screen 60a, a main spindle head 14, a tool T, a table 16, and a workpiece W arranged on the table 16 are displayed by a three-dimensional image. The operator can designate a measurement point 302 for performing calibration of the position of the workpiece on the table in the three-dimensional image. As described below, the display control part 22 according to the present embodiment can magnify or reduce the three-dimensional image. The display control part 22 can move the three-dimensional image in a desired direction. For example, a part to be displayed can be changed by linearly moving the image, or the direction of displaying can be changed by rotating the image.
Referring to
In step 134, a program creation part 21 creates a measurement program. Referring to
Then, in step 135, measurement of the workpiece is executed. In other words, referring to
Referring to
In step 137, the actual position of the workpiece W is aligned with the position of the workpiece in the model data. In the present embodiment, the operator adjusts the actual position of the workpiece W on the table 16.
Thus, the calibration of the position of the workpiece can be performed. The three-dimensional image of the workpiece can be accurately displayed on the display part. For example, when the operator designates a specific part of the image of the workpiece, the control apparatus can correctly recognize the designated part of the actual workpiece.
Note that on a manual operation screen 60a, measurement of a size of the workpiece can be performed in addition to calibration of the position of the workpiece by the same operation as described above. For example, a size of the workpiece after machining can be measured by bringing a probe into contact with a predetermined part of the workpiece after machining in order to obtain data about machining accuracy.
However, in such a method of manual operation, the operator may not be certain of which feed axis corresponds to a direction of operation desired by the operator. The operator may not be certain of whether a positive side or a negative side is a direction of a movement. In case of a large machine tool, the jog button needs to be pressed continuously for a long time, or the dial needs to be rotated continuously for a long time in order to move for a long distance, and thus labor is greater.
The control apparatus 70 according to the present embodiment enables the operator to manually drive the machine tool by operating the three-dimensional image displayed on the display panel 45. Operation of the machine tool corresponding to an operation of the operator with respect to the image of the machine tool is stored in the storage part 26 in advance. The control apparatus 70 obtains content of an operation of the operator with respect to the image of the machine tool, and generates an operation command for driving the machine tool corresponding to the content of the operation. The machine tool is driven on the basis of the operation command.
Referring to
First, a method for moving or rotating the three-dimensional image will be described. By moving the image in a desired direction indicated by an arrow 203 while pressing an area in which the image of the machine tool is not displayed by a finger 105a, the image can be linearly moved within the screen or can be rotationally moved so that a back side can be displayed. For example, the image linearly moves when moved by touching the screen by two fingers, and the screen rotationally moves when moved by touching the screen by one finger.
Further, a displayed part can be magnified by pressing an area by two fingers in which the image of the machine tool is not displayed and by widening a gap between the fingers. The image can be reduced by narrowing the gap between two fingers. Magnification, a reduction, the linear movement and the rotation movement of the three-dimensional image facilitate viewing of a desired part of the machine tool or the workpiece. For example, when a recessed part is formed in the workpiece, a shape inside the recessed part can be checked.
The display control part 22 recognizes a motion of a finger after pressing the display panel 45 by the finger, and moves or magnifies the image. Thus, a desired part can be displayed from a desired angle on the display panel 45 according to the present embodiment. In addition, the desired part can be displayed with a desired magnification on the display part.
Next, a direct mode among manual operation modes for manually driving the machine tool will be described. The direct mode is an operation mode for moving the image by a finger and driving the actual machine tool as indicated by the image. In the button area 61, a button 61c for the direct mode is pressed and selected. In this example, a carriage 17 is moved to a positive side of the X axis. A button 61e for a linear motion axis is selected. The carriage 17 is pressed and selected by a finger 105b. The finger 105b is moved in a direction indicated by an arrow 204 while maintaining the carriage 17 in the pressed state.
When rotationally moving a predetermined part of the machine tool along the rotation feed axis, a button 61f for a rotation axis in the button area 61 is selected. A part to be rotated is pressed by a finger, and can be rotationally moved by moving the finger in a direction to be rotated while maintaining a state of pressing by the finger. For example, by moving the finger in a desired rotation direction while pressing the swing support member 18, the swing support member 18 can be rotationally moved in the direction of the A axis in the image of the machine tool and the actual machine tool.
Thus, in the present embodiment, the part displayed on the screen can be moved in the direction of the feed axis. The actual machine tool can be manually driven by operating the three-dimensional image displayed on the display part 28. The operator can intuitively drive the machine tool while watching the three-dimensional image, and can easily drive the machine tool accordingly. In addition, an erroneous operation can be suppressed. For example, a movement of the workpiece or the tool to a side opposite the desired direction can be suppressed.
Then, in step 143, the display control part 22 displays an image of the machine tool during movement. The display control part 22 moves the image displayed on the display part 28 in accordance with a motion of the finger. In step 144, the program creation part 21 creates a movement program for moving a part selected by the finger. The arithmetic processing part 25 calculates the movement amount in the direction of a corresponding feed axis on the basis of the movement direction and the movement amount of the finger. The movement amount is calculated so that the movement amount in the image corresponds to the actual movement amount of the machine tool. The program creation part 21 creates the movement program on the basis of the selected feed axis and the calculated movement amount. Thus, the program creation part 21 creates the movement program for instantaneously moving the selected part of the machine tool.
In step 145, an information control part 20 transmits the movement program to a reading interpretation part 72. The each-axis servo motor 75 is driven by the servo control part 74. As a result, the selected part of the machine tool 1 moves in the direction of a predetermined feed axis similarly to the motion of the image displayed on the display part 28. In place of creating the movement program according to the operation of the operator in the screen, selection of a feed axis, a feeding direction, and a feeding amount according to the operation of the operator in the screen may be converted into signals of the axis selection button 40b and a direction for rotating a dial 40a and a signal of a pulse generation amount in a manual pulse generator 40. The signals may be transmitted to the servo control part 74.
Next, in step 146, it is determined whether or not the operation of the operator with respect to the image is ended. The arithmetic processing part 25 determines whether or not the movement of the pressed part on the display part 28 is ended. In other words, it is determined whether the motion of the finger is stopped or whether the finger is moved away from the screen. When the movement of the pressed part on the display part 28 continues, the process returns to step 142 so as to continue the movement of the image and the driving of the machine tool. When the movement of the pressed part on the display part 28 is ended, the control is finished. By repeating the control within a short time, the machine tool can be continuously driven in accordance with the image. In this case, for safety, even when an instruction of a large movement by an finger of the operator is issued, a limit can be added in such a manner that the movement along the feed axis is performed only by a predetermined movement amount, for example, 50 mm, for one finger movement. The arithmetic processing part 25 determines whether or not the model data of the machine tool, the model data of the tool, and the model data of a workpiece, which mutually move, interfere with each other. When the model data interfere with each other, the motion of the image on the screen is stopped, and the movement along the feed axis of the machine tool is stopped. As such interference check is performed in this way, even when the operator carelessly operates the image, collision of the tool with the workpiece or exceeding of a stroke end in the feed axis can be prevented.
Next, a normal mode among the manual operation modes will be described. In the normal mode, a part selected in the image is moved, and a movement state including the feed axis and the movement amount are stored in the storage part 26. In this case, the machine tool is stopped. After all desired movements are ended on the screen, the stored movements are executed all at once.
Referring to
Referring to
Thus, in the present embodiment, when a movement is executed while maintaining the selected state of a part of the image of the machine tool by the operator, the feed axis corresponding to the movement direction and the movement amount in the image of the machine tool are set. The operation command of the machine tool is generated on the basis of the movement amount of the feed axis. In the present embodiment, the movement program corresponding to the operation of the operator with respect to the screen is created. The machine tool can be driven in accordance with the image by driving the movement apparatus of each feed axis on the basis of the movement program.
Next, an index control for directing one surface of the workpiece in a desired direction will be described. In the manual operation, a predetermined surface of the workpiece may be directed in a desired direction. For example, the predetermined surface of the workpiece may be directed toward the tool, and a hole may be made in this surface by a drill. In such a case, the workpiece needs to be rotated in a predetermined direction so as to adjust the direction of the workpiece. In the present embodiment, the index control for adjusting the direction of the workpiece so that a predetermined surface of the workpiece is perpendicular to an axis line of the main spindle will be exemplified.
A surface for performing indexing of the workpiece W can be selected by pressing a button 61g for surface designation in a button area 61. The operator presses a desired surface by a finger by rotating or magnifying the image as needed. In the present embodiment, the selected surface is referred to as a designated surface. The designated surface, for example, is emphasized so as to be distinguished from other surfaces. In an example illustrated in
Referring to
Then, the display control part 22 displays an image in which the machine tool is driven along the selected feed axis. The program creation part 21 creates a movement program for driving the machine tool. The movement program created by the program creation part 21 is transmitted to the reading interpretation part 72. Then, the each-axis servo motor 75 is driven so as to enable to perform indexing of the designated surface.
Thus, the control apparatus 70 obtains content of the operation in which one surface of the workpiece is selected as the designated surface by the operator, calculates the rotation angle in the rotation feed axis for directing the designated surface in the predetermined direction, and generates the operation command for rotating the table on the basis of the rotation angle. The designated surface for performing indexing can be designated easily, since the control apparatus 70 can designate the designated surface in the three-dimensional image. In addition, the complex calculation of the rotation angle or the like is not necessary, and a desired surface can be easily indexed.
Referring to
In the present embodiment, a surface perpendicular to a work mounting surface of the table 16 is set as the designated surface of the workpiece.
However, an inclined surface neither parallel nor perpendicular to the work mounting surface can be set as the designated surface. The machine tool 1 according to the present embodiment is a table turning type having the A axis and the C axis on the side of the table 16. In case of the machine tool of a main spindle turning type having the A axis and the C axis on a main spindle side, the main spindle side rotates along the A axis or the C axis, and the axis line of the main spindle can be perpendicular to the designated surface. In case of a machine tool of a mixed type having the A axis on the main spindle side and the C axis on a table side, the main spindle side and the table side rotate and the axis line of the main spindle can be perpendicular to the designated surface. Further, in the present embodiment, the control for directing the designated surface selected by the operator toward the main spindle is described.
The embodiment is not limited to this, and can be applied to control for directing the designated surface in a predetermined direction. For example, the control apparatus can be formed so as to be able to set a direction in which the designated surface is directed.
On the manual operation screen 60d, the tool replacement apparatus is selected from a menu displayed by pressing a button 61b for display switching. The tool replacement apparatus according to the present embodiment includes a tool magazine 93 for storing a plurality of tools T, a replacement arm 96 for fitting or removing the tool to or from the main spindle, and a conveyance apparatus 94 for conveying the tool between the tool magazine 93 and the replacement arm 96. A plurality of tools are arranged in the tool magazine 93. Positions of the tools T are replacement positions for taking out the tools from the tool magazine 93, or storing the tools in the tool magazine 93.
The operator moves, for example, a tool T2 to a replacement position along an extension direction of the tool magazine 93 as indicated by an arrow 205 while a state of the tool T2 being pressed by a finger is maintained. By this operation, in the image of the machine tool and the actual machined tool, the tool magazine 93 rotates and the tool T2 can be arranged at the replacement position. Thus, a movement amount of the tool magazine 93 is determined according to the movement amount of the finger. By manually moving the tool magazine 93, types of the tools arranged in the tool magazine 93 can be checked. In addition, for example, by operating an image of the conveyance apparatus 94, the tool arranged at the replacement position can be manually moved to the replacement arm 96. Note that when driving the auxiliary apparatus 33, a direct mode or a normal mode can be selected by the button 61c or 61d.
Referring to
As a manual operation of the auxiliary apparatus 33, in addition to the movement of the part designated by the operator, a designated part of the auxiliary apparatus 33 can be activated or stopped. Next, a cooling liquid supply apparatus will be described as an example of the auxiliary apparatus 33.
The operator presses the cooling liquid spray nozzle 95 on the manual operation screen 60e. By pressing the cooling liquid spray nozzle 95, the cooling liquid supply apparatus is started and the cooling liquid can be sprayed from the cooling liquid spray nozzle 95. Alternatively, by pressing the cooling liquid spray nozzle 95 when spraying the cooling liquid, the spraying of the cooling liquid can be stopped. In the present embodiment, when the auxiliary apparatus is operated, the auxiliary apparatus is highlighted so that the operated state of the auxiliary apparatus may be clear. In this example, the color of the cooling liquid spray nozzle 95 changes. Alternatively, an image that displays driving or a stop of the auxiliary apparatus may be displayed so that the driven state or the stopped state of the auxiliary apparatus may be clear.
Next, in step 153, the arithmetic processing part 25 determines whether or not the selected auxiliary apparatus is in a stopped state. When the auxiliary apparatus 33 is in a stopped state in step 153, the process proceeds to step 154. In step 154, the auxiliary apparatus 33 is activated. When the auxiliary apparatus 33 is in an activated state in step 153, the process proceeds to step 155. In step 155, the auxiliary apparatus 33 is stopped. Next, in step 156, an operation state of the auxiliary apparatus is displayed. In the present embodiment, the display control part 22 changes a color of the auxiliary apparatus 33 according to the operation state or the stopped state.
In the manual operation of the auxiliary apparatus 33 according to the present embodiment, the operation command generation part 27 of an information control part 20 transmits the operation command to the auxiliary apparatus control part 32. The embodiment is not limited to this, and a program creation part 21 may create a program for moving the auxiliary apparatus 33. For example, the program creation part 21 can create a program including an M code for spraying the cooling liquid from the cooling liquid spray nozzle 95. In this case, the program creation part 21 creates a program on the basis of an operation of the image by the operator, and transmits the program to the reading interpretation part 72. The reading interpretation part 72 transmits the operation command of the auxiliary apparatus 33 to the auxiliary apparatus control part 32. The auxiliary apparatus control part 32 drives the auxiliary apparatus 33 on the basis of the operation command.
Next, a support function for facilitating creation of a program such as a machining program for driving the machine tool will be described. In the creation of the machining program, a command code such as a G code or an M code is frequently used. The tool is moved relative to the workpiece, or the auxiliary apparatus is controlled on the basis of the command code.
After machining the workpiece, the machining program may be corrected by checking a machining result. Alternatively, the machined part of the workpiece in relation to the command code may be checked. However, there are so many command codes that it is difficult for the operator to remember numbers of all the command codes. Thus, in the conventional technique, a search for a relevant part relies on the memory of the operator. Alternatively, a search for a relevant part by the operator relies on referring to reference literature. Thus, the operator needs to have a high level of knowledge or a judgment. In addition, there may be a case of taking a long time or an occurrence of errors.
In the control apparatus according to the present embodiment, the position of the machining program can be specified while watching the three-dimensional image, or the part of the workpiece to be machined can be specified on the basis of the command code of the machining program.
The program edit screen 55a according to the present embodiment includes a display area 81a and a display area 81b. The machining program is displayed in the display area 81a. The machining program can be created in the display area 81a. A plurality of selection parts 85a and 85b are arranged in the display area 81a. A user can select a machining program to be created by pressing either one of the selection part 85a or the selection part 85b. Here, the selection part 85b is selected.
In addition, information displayed in the right display area 81b can be selected by pressing a button 59a arranged in a button area 59. In this example, the three-dimensional image of the workpiece after machining is displayed in the display area 81b.
In the program edit screen 55a, a desired part of the image displayed in the display area 81b can be selected by pressing the image by a finger. A relevant place of the machining program for machining the selected part of the image can be displayed in the display area 81a. For example, one hole 103a is selected in the image of the workpiece of the display area 81b. The relevant part of the machining program is displayed in the display area 81a by pressing a button 59b for a display of the corresponding part in the button area 59. Further, a mark 103b is displayed in the relevant part. The mark 103b indicates the command code for machining the hole 103a of the workpiece.
Next, in step 163, the arithmetic processing part 25 calculates a coordinate value of the selected part of the workpiece. For example, the coordinate value of work coordinates is calculated. In step 164, the arithmetic processing part 25 performs analysis of the machining program. The arithmetic processing part 25 extracts the command code for machining a part of the calculated coordinate value from the machining program. When there is a plurality of corresponding parts in the machining program, the last command code is selected. Alternatively, when there is a plurality of corresponding parts in the machining program, all may be extracted.
Next, in step 165, the display control part 22 displays the corresponding part of the machining program. For example, when the machining program is very long, a range of displaying the machining program is selected so as to display the corresponding part. Then, in step 166, the display control part 22 displays the mark 103b for the corresponding command code of the machining program.
Thus, a control apparatus 70 can extract the relevant part of the machining program on the basis of the operation of the image of the machine tool. The operator can omit time and labor for searching for the relevant part of the machining program, and can easily check and correct the relevant part of the machining program.
Further, a mark 104b is displayed in a part corresponding to the image of the machine tool. In this case, the three-dimensional image is displayed in a magnified or moved state so as to be easily seen by the operator. Thus, an image of a machining part of the workpiece can be displayed by selecting an arbitrary part of the machining program.
In step 175, the display control part 22 displays the corresponding part of the three-dimensional image. The display control part 22 displays the image of the workpiece in a magnified or moved state so as to make the corresponding part easier to be seen. Next, in step 176, the display control part 22 displays the mark 104b for the corresponding part of the image.
Thus, the control apparatus 70 can easily specify the part of the workpiece to be machined at one part of the machining program. Thus, the machining program can be easily confirmed, and errors can be easily corrected.
Note that in the program edit screen, control for automatically inserting the command code for activating or stopping the auxiliary apparatus into the machining program can be executed by displaying the image of the auxiliary apparatus and pressing the image of the auxiliary apparatus. Executing this control enables the operator to easily create a machining program without memorizing a command code or an argument relating to the auxiliary apparatus. In addition, an erroneous operation such as input error of the command code can be reduced.
Next, a control for detecting a state of the machine tool and notifying the state of the machine tool or a warning to the operator will be described.
In an example illustrated in
When the operator presses the icon 86a, the display control part 22 displays the diagnosis screen 63 including information on a warning or a notification of the machine tool 1. The display control part 22 first displays the three-dimensional image in a display area 87a. In this case, an image including a part in which the abnormality has occurred is displayed. The display control part 22 displays the machine tool from a direction for displaying the part in which the abnormality has occurred. In the example illustrated in
Next, when the operator presses the mark 100 by a finger, the display control part 22 displays a display area 87b and 87c superimposed on the image of the machine tool. The type of a warning is displayed in the display area 87b. A content of a detail relating to a cause of the warning, a restoration method or the like is displayed in the display area 87c.
Thus, since the control apparatus according to the present embodiment displays the place in which the warning has occurred in the three-dimensional image, the operator can intuitively recognize the place of the abnormality. In addition, the operator can easily check detailed information on the warning by pressing the mark 100 displayed in the place of the abnormality.
In the present embodiment, the example of the warning when the abnormality occurs in the machine tool has been described. The embodiment is not limited to this, and a notification of the state of the machine tool may be employed. For example, a notification of arrival of repair timing of the machine tool or the like may be employed.
The mark that displays a part relating to a warning or a notification such as an abnormal part can be displayed by changing a display form according to a degree of importance. For example, when the operation is not possible to be continued due to damage or the like of the machine tool, the mark can be changed red to be flashed. In case of a minor warning which allows the operation to be continued, the mark can be changed yellow to be lit. In case of the notification of the repair timing of the machine tool, the mark can be changed blue to be lit.
Then, in step 183, the display control part 22 selects the three-dimensional image. Types of images displayed when abnormalities occur have been stored in the storage part 26. For example, when an abnormality occurs in the tool measurement apparatus 92, an image including the parts of the carriage 17 and the main spindle head 14 in which an image of the tool measurement apparatus 92 is included is selected.
Next, in step 184, the display control part 22 displays the three-dimensional image. In this case, the display control part 22 displays the image by selecting a direction for displaying the part in which the abnormality has occurred to be easily noticed by the operator. In step 185, the display control part 22 specifies a position of the part in which the abnormality has occurred in the image. The display control part 22 displays a mark in the part in which the abnormality has occurred in the image of the machine tool.
Then, the control apparatus 70 according to the present embodiment continuously checks whether or not the generated abnormality has been removed. The operator can remove a cause of the abnormality while watching the diagnosis screen 63. In step 186, the arithmetic processing part 25 receives a signal in respect of the operation state of the machine tool from the operation state detection apparatus 36. The arithmetic processing part 25 determines whether or not there is an abnormality.
In step 187, the arithmetic processing part 25 determines whether or not the abnormality of the apparatus has been removed. When the abnormality of the apparatus is not yet to be removed, the process returns to step 186. In other words, the determination as to presence of abnormalities is continued. When it is determined in step 187 that the abnormality of the apparatus has been removed, the process proceeds to step 188. In step 188, the mark 100 displayed on the diagnosis screen 63 is deleted. The icon 86a displayed in the information display area 86 on the main screen is deleted.
Thus, in the control apparatus according to the present embodiment, it is automatically monitored whether or not the abnormality has been removed. The control executed when the abnormality has been removed is not limited to this form, but an arbitrary control can be employed. For example, a reset button is provided in the button area on the diagnosis screen. When the abnormality has been removed, the warning or the notification can be released by pressing the reset button.
The machine tool according to the present embodiment is the machine tool of 5-axis control. The embodiment is not limited to this, and the present invention can be applied to a machine tool having an arbitrary feed axis. The image of the machine tool displayed on the display part according to the present embodiment is a stereoscopic image based on a three-dimensional solid model. However, the image may be based on a surface model or a wire frame model. Alternatively, the embodiment is not limited to this, and the image may be a two-dimensional planar image.
The abovementioned embodiments can be appropriately combined. In the abovementioned control, the order of steps can be appropriately changed within a range in which the functions and the operations are not changed. Throughout the drawings, similar and equivalent portions are assigned similar reference signs. The abovementioned embodiments are exemplary, and thus in no way limitative of the present invention. In the embodiments, changes of the embodiments described within the appended claims are included.
This application is a U.S. National Stage Patent Application of International Application No. PCT/JP2014/078519, filed Oct. 27, 2014, which is hereby incorporated by reference in the present disclosure in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2014/078519 | 10/27/2014 | WO | 00 |