Machine tool

The machine tool addresses the complexity of managing robot points by using a control device to detect and display only necessary points, simplifying coordinate management and enhancing operational efficiency.

WO2024180619A1PCT designated stage expired Publication Date: 2024-09-06FUJI CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/007100
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional machine tools face complexity in managing and displaying robot points, leading to cluttered screens when the number of registered robot points increases, making it difficult to efficiently manage coordinates for different operation programs.

Method used

A machine tool with a control device that detects and displays only the necessary robot points associated with an operation program, allowing for coordinate changes on a common robot point screen, thereby simplifying the display and management of coordinates across multiple motion programs.

Benefits of technology

This approach enables efficient management and display of coordinates for different operation programs, reducing clutter and allowing for easy adjustments, thus improving operational efficiency by focusing on only the required robot points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023007100_06092024_PF_FP
    Figure JP2023007100_06092024_PF_FP
Patent Text Reader

Abstract

The present invention provides a machine tool in which display of a robot point screen for receiving a change in coordinate of a robot point can be changed to a display according to an operating program. The machine tool comprises: a robot that transports a workpiece; a display device; and a control device that changes a display content on the display device. The control device executes: a detection process for detecting, for robot points each associating a position and coordinates to which the robot moves with each other, a robot point included in an operating program used to machine the workpiece; and a display process that, when a robot point screen for changing the coordinates of the robot point is displayed, displays, on the robot point screen, only the robot point detected by the detection process from among a plurality of robot points registered to the machine tool.
Need to check novelty before this filing date? Find Prior Art

Description

machine tools

[0001] The present disclosure relates to a machine tool capable of registering a destination of a robot.

[0002] Various technologies for controlling the operation of robots have been proposed in the past. For example, Patent Document 1 below describes a robot control device that controls an industrial robot driven by multiple axes. The robot control device in Patent Document 1 includes a main body controller that executes a robot operation program and controls the robot main body, and a program display panel connected to the main body controller. The main body controller displays the name of an operation program specified by an operator and the movement trajectory of the operation program on the program display panel.

[0003] Japanese Patent Application Publication No. 09-230917

[0004] Incidentally, the destinations of robots used in machine tools vary depending on the type of workpiece, the configuration of the machine tool, and the like. Therefore, the coordinates of the destinations set in the operation program that controls the robot vary depending on the type of workpiece, etc. If the coordinates of the destinations are called robot points and managed on the machine tool side, by associating coordinates set in different operation programs with the robot points, the coordinates can be changed from the operation panel of the machine tool, etc. However, if the number of registered robot points is increased to increase the number of compatible operation programs, there is a risk that the display of the robot point screen that accepts changes to the robot point coordinates will become complicated.

[0005] The present disclosure has been made in consideration of the above-mentioned problems, and aims to provide a machine tool that can change the display of a robot point screen that accepts changes to the coordinates of the robot point to a display that corresponds to the operating program.

[0006] In order to solve the above problems, this specification discloses a machine tool that includes a robot that transports a workpiece, a display device, and a control device that changes the display content of the display device, wherein the control device performs a detection process that detects robot points that are included in an operation program used to process the workpiece, and the robot points are associated with coordinates of positions to which the robot moves, and a display process that, when displaying a robot point screen that changes the coordinates of the robot points, displays only the robot points detected by the detection process, out of multiple robot points registered in the machine tool, on the robot point screen.

[0007] According to the machine tool disclosed herein, by registering multiple robot points in the machine tool, information including coordinates set in different operation programs can be managed in the machine tool as robot points, and the coordinates can be changed. In other words, coordinate changes can be accepted using a common robot point for different operation programs. The control device then detects the robot points included in the operation programs and displays only the detected robot points from among the robot points registered in the machine tool on the robot point screen. This allows only the necessary robot points from the multiple registered robot points to be displayed on the robot point screen, and changes to their coordinates can be accepted. Therefore, the display on the robot point screen can be changed to match the operation program.

[0008] FIG. 1 is a front view of a machine tool according to the present embodiment; FIG. 2 is a block diagram of the machine tool; FIG. 3 is a diagram showing data registered in point data; FIG. 4 is a diagram showing a robot point screen displayed on a touch panel in full display mode; FIG. 5 is a diagram showing a part of an NC program; FIG. 6 is a diagram showing a robot point screen displayed on a touch panel in limited display mode; FIG. 7 is a diagram showing a robot point screen in limited display mode of another example, in which an entrance device is not installed as an optional device.

[0009] An embodiment of a machine tool according to the present disclosure will be described in detail below with reference to the drawings. FIG. 1 is a front view of a machine tool 10 according to this embodiment. FIG. 2 is a block diagram of the machine tool 10. As shown in FIGS. 1 and 2, the machine tool 10 according to this embodiment can be equipped with optional devices, such as an entrance device 15, an exit device 17, and a workpiece stage (hereinafter referred to as the "stage") 18, in addition to a main body device 11 and a robot 13. FIG. 1 also shows some of the devices and equipment (e.g., a rail base 26) installed within each device in a see-through manner. In the following description, the direction of the machine tool 10 viewed from the front as shown in FIG. 1 will be used as a reference, and the left-right direction, which is the machine width direction and parallel to an installation surface 19 of the device, will be referred to as the X-axis direction. The front-rear direction, which is parallel to the installation surface 19 of the device and perpendicular to the left-right direction, will be referred to as the Y-axis direction. The up-down direction perpendicular to the X-axis and Y-axis directions will be referred to as the Z-axis direction.

[0010] The machine tool 10 is arranged, in order from right to left in the X-axis direction, with an entrance device 15 for carrying in the workpiece W, a main body 11, a table 18 on which the workpiece W is placed so that the machined workpiece W can be checked, and an exit device 17 from which the workpiece W is discharged. The main body 11 includes, for example, a turret device 21 (see FIG. 2) and a workpiece spindle device 22 (see FIG. 2) therein, and processes the workpiece W chucked on the workpiece spindle device 22 with tools (such as cutting tools and rotary tools) of the turret device 21. A sliding door 24 and an operation panel 25 are provided on the front of the main body 11. A machining space in which the turret device 21 and the workpiece spindle device 22 are arranged is provided behind the sliding door 24. The operation panel 25 includes, for example, a touch panel 20 (see FIG. 2) and operation switches 23 (see FIG. 2), and displays information about the machine tool 10, accepts operational instructions, and the like. In particular, in this embodiment, machine tool 10 accepts changes to the coordinates of a robot point RP, which will be described later, via touch panel 20 (see FIG. 4).

[0011] The robot 13 transfers the workpiece W between the entrance device 15, the workpiece spindle device 22 of the main body device 11, and the exit device 17. The robot 13 is, for example, a gantry-type workpiece transport device (which may also be called a loader) and moves a movable part 27 in the left-right direction along a rail base 26 provided on the upper part of the main body device 11. The robot 13 slides the movable part 27 in the X-axis direction by, for example, engaging a pinion fixed to the output shaft of a travel motor 28 (see FIG. 2) built into the movable part 27 with teeth of a travel rack provided on the rail base 26. The robot 13 also includes an elevator device (e.g., a motor and a rack mechanism) 29 (see FIG. 2) that moves the movable part 27 up and down. Driving the elevator device 29 moves the movable part 27 in the Z-axis direction. For example, a pair of chuck mechanisms 31 (see FIG. 2) are attached to the lower end of the movable part 27. Each of the pair of chuck mechanisms 31 has claws for clamping the workpiece W and transfers the workpiece W to and from other devices. In the following description, the destination or position of the chuck mechanisms 31 of the movable part 27 may be simply referred to as the destination or position of the robot 13.

[0012] Furthermore, the robot 13 is an example of a robot disclosed herein. The configuration of the robot 13 described above is merely an example. For example, the axes along which the robot 13 (chuck mechanism 31) moves are not limited to the X-axis and Z-axis directions. The axes along which the robot 13 moves may be, for example, three axes, i.e., the X-axis, Y-axis, and Z-axis directions. Furthermore, the moving axis is not limited to a slide axis (a linear drive axis), but may be the so-called A-axis that rotates around the X-axis, the so-called B-axis that rotates around the Y-axis, or the so-called C-axis that rotates around the Z-axis. Therefore, a combination of various slide axes and rotation axes that move the robot 13 may be used as the axis that accepts changes in coordinates in the present disclosure.

[0013] The entrance device 15 also includes a transfer device 32 that grips the workpiece W and moves left and right. The transfer device 32 can receive the workpiece W from, for example, a workpiece stocker (not shown), a device in a previous process (not shown), a user, or the like at a receiving position provided behind the door 33. The transfer device 32 moves leftward from the receiving position and delivers the workpiece W to the robot 13 at the leftmost transfer position (the receiving position for the robot 13 in FIG. 3 ). The exit device 17 also includes a receiving device 35 that grips the workpiece W and moves left and right. The receiving device 35 receives the workpiece W from the robot 13 at the rightmost receiving position (the receiving position for the robot 13 in FIG. 3 ) moved rightward from the transfer position behind the door 36. After receiving the workpiece W at the receiving position, the receiving device 35 moves leftward and delivers the workpiece W to a device in a subsequent process (not shown) or the like at the transfer position behind the receiving door 36. The stand 18 is located on the left side of the main body device 11 and has a slide member 39 exposed through an opening 38A in the fence 38. By pulling the slide member 39 downward toward the front side, the temporarily placed workpiece W can be checked.

[0014] The entrance device 15 equipped with the transfer device 32, the exit device 17 equipped with the receiving device 35, the stand 18, and the like are optional devices that can be attached to the machine tool 10. The optional devices are devices that can be added to the basic configuration, for example, the main body device 11 equipped with the turret device 21 and workpiece spindle device 22 that machine the workpiece W, depending on the required functions. The user selects optional measures depending on the production volume, production efficiency, costs, etc. required in the machining process of the workpiece W. Furthermore, the optional devices disclosed herein are not limited to the types described above. For example, optional devices may include a measuring device that measures the outer diameter of the machined workpiece W, a cleaning device that cleans the workpiece W, and the like.

[0015] (Control device 41) Next, the control device 41 provided in the main unit 11 will be described with reference to Fig. 2. As shown in Fig. 2, the machine tool 10 is provided with a plurality of drive circuits 43 that connect the control device 41 to each of the above-mentioned devices (robot 13, entrance device 15, exit device 17, stand 18, turret device 21, workpiece spindle device 22, and operation panel 25). The connection configuration shown in the block diagram of Fig. 2 is one example. For example, all of the drive circuits 43 connected to each device may be installed within the main unit 11.

[0016] The control device 41 includes a numerical control device 45 and a PLC 46. The numerical control device 45 includes a CPU 47 and a storage device 48. The PLC 46 includes a CPU 51 and a storage device 52. The storage devices 48 and 52 include, for example, RAM, ROM, flash memory, etc. The configuration of the storage devices 48 and 52 is not limited to the above-described configuration, and may include an HDD or SSD, an external storage device such as a USB memory, or a storage medium such as a DVD-RAM, or a combination of these.

[0017] The storage device 48 stores a plurality of NC programs 53 that numerically control the operations of the robot 13, turret device 21, workpiece spindle device 22, etc. in machining the workpiece W. In this embodiment, the NC program 53 that controls the robot 13 will be particularly described. Therefore, in the following description, when an NC program 53 is mentioned, it means the NC program 53 that controls the robot 13.

[0018] The control device 41 is electrically connected to each of the above-mentioned devices via a drive circuit 43 and is capable of controlling each device. For example, if the drive circuit 43 is connected to the operation panel 25, the drive circuit 43 is an amplifier circuit that amplifies signals input from the operation panel 25. For example, if the drive circuit 43 is connected to a motor such as the spindle motor (not shown) of the work spindle device 22 or the travel motor 28 of the robot 13, the drive circuit 43 is a driver circuit (servo amplifier) ​​that changes the power (e.g., three-phase AC current) supplied to each motor (e.g., servo motor) based on instruction signals (e.g., movement amount, destination position, movement speed, target torque) from the control device 41. The numerical control device 45 executes an NC program 53 in the CPU 47 and outputs instruction signals to the drive circuit 43 (driver circuit) in accordance with numerical commands described in the NC program 53 to control the drive circuit 43. The drive circuit 43 (driver circuit) executes feedback control to change the current of the three-phase AC based on, for example, encoder information from the encoders attached to each servo motor and instruction signals from the control device 41, and notifies the numerical control device 45 of the completion of processing, etc. In this way, the control device 41 slides the robot 13 (chuck mechanism 31) along the X-axis and Z-axis to a desired position based on the numerical control by the numerical control device 45. Note that the drive source for sliding each device is not limited to a servo motor, and other drive sources such as a stepping motor or a linear motor can also be used.

[0019] The PLC 46 is a programmable logic controller. The storage device 52 stores a ladder program 58 for constructing a ladder circuit that processes various signals. The PLC 46 executes the ladder program 58 on the CPU 51 and performs sequence processing based on the ladder program 58 to, for example, output signals to drive various elements such as lamps, relays, and solenoids provided in the machine tool 10, and to input input signals from elements such as limit switches and sensors. The PLC 46 is also connected to the numerical control device 45 via, for example, a communication bus 59, enabling communication with the numerical control device 45. The PLC 46 inputs and outputs signals to and from the numerical control device 45 using devices 61 constructed based on the ladder program 58. The devices 61 are, for example, storage areas constructed on the storage device 52 and are referenced when the CPU 51 executes the ladder program 58. Specifically, device 61 is a device that stores signal values ​​of external I / O (sensors, etc.) equipped in machine tool 10, a device (G device or F device) that stores signal values ​​for communication with numerical control device 45, a device that realizes a keep relay that stores setting values, etc. In this way, PLC 46 relays signals (input / output) between external I / O equipped in machine tool 10 and numerical control device 45.

[0020] For example, device 61 includes a plurality of keep relays 61A whose values ​​change depending on whether or not optional devices such as the entrance device 15 described above are installed. The worker installing machine tool 10 changes the value of these keep relays 61A depending on whether or not optional devices such as the entrance device 15 described above are installed. Therefore, whether or not each optional device is installed can be detected from the values ​​of the plurality of keep relays 61A. For example, if the target optional device is installed, keep relay 61A is set to a value indicating "1," and if it is not installed, a value indicating "0" is set. Note that a configuration in which only one optional device can be installed on machine tool 10 and only one keep relay 61A may also be used.

[0021] In addition to the NC program 53, the storage device 48 also stores a display control program 55 for changing the display content of the operation panel 25, point data 56, and various other data (not shown) required for machining. The display control program 55 is a program for changing the display content of the touch panel 20 of the operation panel 25. The display control program 55 executes a display process for displaying a robot point screen 68 (see FIG. 4) for changing the coordinate values ​​registered in the point data 56, and an acceptance process for accepting changes to the coordinates on the robot point screen 68. The point data 56 stores data related to the robot points.

[0022] (Regarding Point Data 56) Next, the point data 56 will be described. Fig. 3 shows data registered in the point data 56. As shown in Fig. 3, the point data 56 stores a point number 63, a position 64, an X-axis coordinate 65, and a Z-axis coordinate 66, all of which are associated with one another. The point data 56 is a database that associates information such as the point number 63 as one record and stores a record for each robot point RP.

[0023] One record corresponds to a robot point RP to which the robot 13 (chuck mechanism 31) moves. The robot point RP is, for example, information that associates the position to which the robot 13 moves with its coordinates. Note that the robot point RP is not limited to information that associates a position with its coordinates, and may be other information that associates coordinates with information that identifies those coordinates, such as information that associates a point number 63 with coordinates (X-axis coordinate 65, Z-axis coordinate 66).

[0024] The point number 63 is an identification number that identifies the position 64, i.e., a number that can identify the robot point RP, and a unique number is set for each position 64. For example, in the example shown in Fig. 3, the point numbers 63 are set in ascending order from top to bottom in Fig. 3, such as P01, P02, P03, .... The control device 41 is capable of registering, for example, 50 robot points RP, from P01 to P50, with point numbers 63. Note that the information that identifies the position 64 (robot point RP) is not limited to a number, and may also use letters such as the alphabet, or a combination of these.

[0025] Position 64 is the position and name of the robot point RP indicated by point number 63. Position 64 is, for example, a position where the workpiece W is handed over, such as the home position (P01) that is the initial position of the robot 13, or the receiving position (P02) where the workpiece W is received from the entrance device 15 to the robot 13. Position 64 may also be a stopping position where the robot 13 stops to change its direction of movement, or a rotation position where the orientation of the chuck mechanism 31 is changed. Therefore, position 64 can be any of various destination positions to which the robot 13 moves. Position 64 may also be a point with no name set, such as "point 6," where the specific name of the destination of the robot 13 has not yet been determined. Furthermore, as described above, when the robot 13 moves on the A-axis, B-axis, or the like, position 64 is the position when the robot 13 moves in the rotational direction.

[0026] The X-axis coordinate 65 is the coordinate in the X-axis direction of the robot point RP indicated by point number 63. The Z-axis coordinate 66 is the coordinate in the Z-axis direction of the robot point RP indicated by point number 63. The coordinate units may be, for example, mm. By changing the X-axis coordinate 65 and the Z-axis coordinate 66, the user can adjust the position after moving to each robot point RP. For example, the point data 56 is set by an operator at the manufacturer of the machine tool 10 when the machine tool 10 is installed, and is then adjusted by the user in accordance with the position of the robot 13, the shape of the workpiece W, and the like. The user may perform adjustments before machining the workpiece W (before the NC program 53 is loaded) or after starting machining (after the NC program 53 is loaded).

[0027] Here, the destination of the robot 13 varies depending on the type of workpiece W and the configuration of optional devices. Therefore, the coordinates of the destination set in the NC program 53 vary depending on the type of workpiece W and the configuration of optional devices. On the other hand, if the destinations of the robot 13 can be almost covered by, for example, 50 types of robot points RP for various types of workpieces W and configurations of optional devices, it is effective to manage the robot points RP on the machine tool 10 side. For example, by associating the robot point RP with a variable indicating the destination of the NC program 53, it is possible to collectively change the coordinates of various NC programs 53 by changing the coordinates of the robot point RP managed by the machine tool 10 on the operation panel 25 without directly changing the coordinates of the NC program 53.

[0028] The control device 41 of this embodiment has a full display mode and a limited display mode as modes for displaying the robot point screen for changing the X-axis coordinate 65 and the Z-axis coordinate 66. The control device 41 can switch between the two modes in response to, for example, a predetermined operation on the operation panel 25. The full display mode is a mode in which all robot points RP registered in the point data 56 are displayed on the robot point screen. FIG. 4 shows a screen displayed on the touch panel 20, that is, a robot point screen 68 displayed in the full display mode. The control device 41 executes the display control program 55 based on a predetermined operation input on the operation panel 25, and when the full display mode is set, causes the robot point screen 68 to be displayed on the touch panel 20.

[0029] 4, the control device 41 displays, for example, from the left on the robot point screen 68, a point number display field 71, a position display field 72, an X-axis coordinate input section 73, and a Z-axis coordinate input section 74. The control device 41 reads out the point data 56 from the storage device 48 and displays the point number 63, position 64, X-axis coordinate 65, and Z-axis coordinate 66 in the point number display field 71, the position display field 72, the X-axis coordinate input section 73, and the Z-axis coordinate input section 74, respectively, with each record displayed on a separate line. The control device 41 also displays each piece of data in the order of the point number 63, i.e., in the order shown in FIG. 3.

[0030] The control device 41 displays, for example, five robot points RP out of the robot points RP registered in the point data 56 on the robot point screen 68. The control device 41 appropriately displays the remaining robot points RP that could not be displayed in response to an operation on a scroll icon 75 displayed on the right side of the screen. The control device 41 accepts input of X and Z coordinate values ​​of each robot point RP in response to an operation on the X-axis coordinate input unit 73 or the Z-axis coordinate input unit 74. Operations on the scroll icon 75 and the X-axis coordinate input unit 73 can be performed, for example, by touching the touch panel 20 or operating the operation switches 23. Therefore, by operating the touch panel 20 or the operation switches 23, the user can select the scroll icon 75 to switch the point number display field 71, etc., or input values ​​into the X-axis coordinate input unit 73, etc. The same applies to operations on the execute button 79, register button 81, cancel button 82, etc., which will be described later.

[0031] As will be described later with reference to FIG. 5 , the coordinates of each robot point RP are associated with variables 69 of the NC program 53. Therefore, the user can change the coordinates of the robot point RP in the NC program 53 by appropriately changing the coordinates of the robot point RP that the user wants to use on the robot point screen 68. As a result, when using the same NC program 53 or similar NC programs 53 to machine workpieces W that have similar shapes, such as workpieces W that only differ in length, the change in workpiece W can be accommodated simply by adjusting the coordinates on the robot point screen 68. Furthermore, this change is applied to multiple NC programs 53 that use the same variables 69. In other words, the coordinates of the robot points RP for multiple NC programs 53 can be changed collectively on the robot point screen 68.

[0032] The control device 41 also displays a current position display field 77 above the X-axis coordinate input unit 73 and the Z-axis coordinate input unit 74. The control device 41 detects the current position (X and Z coordinates) of the robot 13 (chuck mechanism 31) using encoder information and sensors of the travel motor 28 and the lifting device 29, and displays the detected position in the position display field 77. The control device 41 also displays multiple execute buttons 79 between the Z-axis coordinate input unit 74 and the scroll icon 75 in the left-right direction. The execute buttons 79 are displayed corresponding to the respective rows of the robot point RP. When an execute button 79 is operated, the control device 41 sets the coordinates of the current position displayed in the position display field 77 in the X-axis coordinate input unit 73 and the Z-axis coordinate input unit 74 of the row on which the operated execute button 79 is displayed. As a result, after placing the robot 13 at a desired position, the coordinates of the desired position can be set as the robot point RP by operating the execute button 79.

[0033] Furthermore, the control device 41 displays a register button 81 and a cancel button 82 at the bottom of the robot point screen 68. When the register button 81 is operated, the control device 41 registers the values ​​displayed in the X-axis coordinate input section 73 and the Z-axis coordinate input section 74 in the point data 56. This allows the coordinate changes to be registered. When the cancel button 82 is operated, the control device 41 discards the coordinate changes input on the robot point screen 68 and returns the screen to the initial screen or the like. Note that the control device 41 may also accept changes to the name of the position 64, in addition to the coordinates, on the robot point screen 68.

[0034] FIG. 5 shows an example of an NC program 53. In FIG. 5, an example of a G-code, such as "G0X#10101," is written. "G0X" is, for example, a code that instructs positioning of the G-code "00" and moves the robot 13 to a specified coordinate in the X-axis direction. The character string following the # (e.g., #10101) following the G-code is a variable 69 (argument). Two pieces of information can be set in the variable 69: information about the axis to move and information about the robot point RP. For example, in the variable 69 of #10△○○, △ indicates a numerical value indicating the axis to move, and ○○ indicates a numerical value indicating the point number 63. The numerical value indicating the axis of △ is "1" for the X-axis and "2" for the Z-axis. Therefore, the variable 69 can be set with information about the axis to move the robot 13 from among multiple axes, as well as the point number 63. Therefore, for example, "G0X#10101" indicates an instruction to move the robot 13 in the X-axis direction to the X-axis coordinate 65 where the point number 63 is "P01". Similarly, "G0Z#10201" indicates an instruction to move the robot 13 to the Z-axis coordinate 66 where the point number 63 is "P01". In this way, the robot point RP is associated with the variable 69. Note that the association described above is an example. For example, the robot point RP may be associated with the variable 69 using an alphabet other than a number, such as P01. Furthermore, if the Y-axis or the like is also used, the number "3" in the triangle can be assigned to the Y-axis.

[0035] For example, when executing the NC program 53, the numerical control device 45 of the control device 41 sets the coordinates of the robot point RP associated with the variable 69 included in the NC program 53 according to the above-described definition (rule), and executes the program. For example, in the case of "G0X#10101," the numerical control device 45 reads the X-axis coordinate 65 of the point number 63 "P01" from the point data 56, sets it as the variable 69, and executes the G-code "00" using the variable 69 as an argument. Therefore, in the NC program 53 of this embodiment, different variables 69 are set depending on the workpiece W to be machined. The robot point RP is associated with the variable 69. The control device 41 can register multiple robot points RP, and when executing the NC program 53, the control device 41 sets the coordinates of the robot point RP associated with the variable 69 set in the NC program 53 to the variable 69 and executes the NC program 53. This allows the user to change the coordinates of the robot point RP on the robot point screen 68, thereby changing the coordinates set in the NC program 53. The X and Z coordinates registered as the robot point RP can be reflected in the NC program 53 and reflected in the actual movement of the robot 13.

[0036] However, the NC program 53 is created according to the type of workpiece W and the configuration of optional devices. For this reason, the robot points RP required for machining the workpiece W will differ depending on the content of the NC program 53. For this reason, some of the 50 comprehensively registered robot points RP will not be used depending on the content of the NC program 53. Therefore, the control device 41 of this embodiment has a limited display mode that narrows down the robot points RP included in the NC program 53 to be displayed on the robot point screen.

[0037] 6 shows a robot point screen 85 in limited display mode. As in the full display mode, the control device 41 executes the display control program 55 based on a predetermined operation input to the operation panel 25, and when the limited display mode is set, causes the robot point screen 85 to be displayed on the touch panel 20. In the following explanation, details similar to those in the full display mode shown in FIG. 4 will be omitted as appropriate.

[0038] The control device 41 executes a detection process to detect the robot points RP set in the NC program 53, and as shown in FIG. 6, displays only the robot points RP detected by the detection process on the robot point screen 85. More specifically, as shown in FIG. 5, in this embodiment, the variable 69 associated with the robot point RP is described with the definition "#10△○○", for example. Therefore, when the control device 41 receives an operation to display the robot point screen 85, for example, it executes the display control program 55 to detect a character string corresponding to "#10△○○" from the NC program 53. This makes it possible to detect all the robot points RP set in the NC program 53.

[0039] The condition for starting a search for a robot point RP from the NC program 53 is not limited to a condition for accepting an operation to display the robot point screen 85, and may be, for example, the timing when the limited display mode is set or the timing when the workpiece W to be machined is changed and the NC program 53 is changed. The NC program 53 to be searched for is the NC program 53 that is used or planned to be used for the workpiece W under the current settings. Alternatively, the NC program 53 to be searched for may be the NC program 53 selected by the user from the NC programs 53 stored in the storage device 48. The character strings to be searched for, etc. are changed as appropriate depending on the format of the NC program 53, the definition of the variables 69, the association between the robot point RP and the variables 69, etc.

[0040] As shown in FIG. 5 , in the NC program 53 of this embodiment, variables 69 are set to "#10101," "#10201," "#10102," "#10102," and "#10104," and robot points RP are set to "P01, P02, P04." In other words, this NC program 53 uses robot points RP "P01, P02, P04." On the other hand, robot point RP "P03" (#10103 and #10203) is not set. In other words, this NC program 53 does not use robot point RP "P03." Therefore, as shown in FIG. 6 , the control device 41 displays "P01, P02, P04" detected by the detection process, but does not display "P03." The control device 41 removes the row of "P3" that was not displayed in the order of point numbers 63, and closes the gap between P02 and P04 before and after it to display them. 6 shows a case where the NC program 53 shown in FIG. 5 includes robot points RP of "P05, P06" (not shown).

[0041] Therefore, in the detection process, the control device 41 detects the variables 69 set in the NC program 53 used to machine the workpiece W, and detects the robot points RP associated with the detected variables 69 as the robot points RP included in the NC program 53. This makes it possible to appropriately detect the robot points RP set in the NC program 53 based on the variables 69. It is possible to accurately execute display processing that displays only the detected robot points RP on the robot point screen 68.

[0042] In the NC program 53 shown in FIG. 5 , the X-axis coordinate 65 is set (G0X#10104) at sequence number N902, but the Z-axis coordinate 66 is not. In other words, in this NC program 53, only the X-axis coordinate is changed at robot point RP "P04." For example, if the robot point RP moves to "P4" by changing only the X-axis coordinate 65 without changing the Z-axis coordinate 66, the Z-axis coordinate 66 does not need to be changed when moving to "P4." Therefore, for such robot points RP where only one of the two axes is set in the NC program 53, the control device 41 displays only the input section that accepts changes to the set coordinates. As shown in FIG. 6 , for the robot point RP whose point number 63 is "P04," the control device 41 displays the X-axis coordinate input section 73 and hides the Z-axis coordinate input section 74. Therefore, the control device 41 displays only the input section (X-axis coordinate input section 73 in the examples of FIGS. 5 and 6 ) that accepts the coordinates of the axis set in the variable 69 for the robot point RP associated with the position 64 indicated by the point number 63 set in the detected variable 69. This makes it possible to prevent erroneous coordinate changes by hiding the input section for axes that do not require changes. Adjustments can be made by focusing on the necessary coordinates.

[0043] In addition, as shown in FIG. 4 , in the full display mode, the control device 41 displays the X-axis coordinate input section 73 and the Z-axis coordinate input section 74, which accept the coordinates of the robot point RP, in the order of the point number 63. In addition, as shown in FIG. 6 , in the limited display mode, the control device 41 hides the X-axis coordinate input section 73 and the Z-axis coordinate input section 74 of the robot point RP "P03" that was not detected, and displays the input sections (input sections P02 and P04) before and after the hidden input section in the order of the point number 63, with the spacing reduced. This allows the necessary input sections to be displayed more compactly. The robot point RP whose coordinates are to be changed can be found more quickly. The control device 41 may be configured to have only the limited display mode, without the full display mode.

[0044] The method of hiding undetected robot points RP is not limited to the display method of narrowing the gap described above. For example, the row of the undetected robot point RP (row P03) may be deleted, and the space between "P02" and "P04" may be left as "P03." The control device 41 may also gray out the row "P03" to indicate that it is not eligible for input (coordinates cannot be changed). Therefore, the control device 41 may execute a process that displays the undetected robot point RP but does not accept changes to its coordinates.

[0045] Furthermore, the operation settings of machine tool 10 in this embodiment can be changed by attaching various optional devices (such as entrance device 15 and stand 18). The operation settings of machine tool 10 are settings that change the operation of machine tool 10 by changing the settings, thereby switching the part of NC program 53 to be executed. NC program 53 is created taking into consideration whether or not optional devices are attached, and, for example, subprograms that can be used in conjunction with any optional devices are set so that NC program 53 can be used with all optional devices that can be attached to machine tool 10.

[0046] FIG. 5 shows three sequence numbers, "N900, N901, and N902," as an example. These sequence numbers not only serve as markers for program line numbers but also as transition (jump) destinations for "GOTO" statements. Therefore, the program from the line beginning with "N" to the "GOTO" line functions as a subprogram (a single program unit) called from the main program. For example, some of the subprograms included in the NC program 53 correspond to optional devices. Specifically, for example, if the entrance device 15 is installed as an optional device, the NC program 53 includes a subprogram for the entrance device 15 that moves the robot 13 to the entrance device 15 and transfers the workpiece W between the entrance device 15 and the robot 13. Similarly, the NC program 53 includes subprograms for each optional device that transfers the workpiece W between the exit device 17, the stand 18, and the robot 13.

[0047] However, if the inlet device 15 is not installed in the machine tool 10, the execution of the subprogram for the inlet device 15 becomes unnecessary. Therefore, in the machine tool 10 of this embodiment, by changing the value of the keep relay 61A (see FIG. 2) of the PLC 46, it is possible to change which subprograms are executed and which are not executed among the multiple subprograms included in the NC program 53. That is, it is possible to change the parts of the NC program 53 to be executed depending on the optional devices installed in the machine tool 10. As described above, the device 61 includes multiple keep relays 61A whose values ​​change depending on whether or not optional devices are installed. By checking the value of these keep relays 61A, the control device 41 can, for example, select which subprograms are executed and which are not executed among the three subprograms with sequence numbers N900, N901, and N902 shown in FIG. 5 . For example, when executing the NC program 53, the numerical control device 45 checks the keep relay 61A of the PLC 46 to determine which subprograms are executed and which are not executed. The method of indicating the part of the NC program 53 to be executed by the keep relay 61A is not limited to the above-described method of indicating it in subprogram units. For example, the number of lines (e.g., from which line to which line) in the NC program 53 not to be executed may be specified according to the value of any keep relay 61A.

[0048] Furthermore, the subprograms disclosed herein are not limited to programs separated by sequence numbers beginning with N and GOTO statements. For example, in the case of a PLC (PMC) manufactured by FANUC Corporation, if a subprogram (another NC program) written separately from the main program is called from the main program using M-codes M98 and M198, the NC program called by this M-code may be used as the subprogram. The keep relay 61A may then be used to switch whether or not the subprogram is being executed. Furthermore, the method of switching the execution of the subprogram is not limited to using the keep relay 61A, and may also be a method using another device 61, such as a D (data table) device.

[0049] Furthermore, the device that sets the information indicating whether or not an optional device is installed is not limited to the PLC 46, but may also be the numerical control device 45. Furthermore, the numerical control device 45 may be electrically connected to the optional device, detect the installed optional device by checking the connection signal, and switch the execution location of the NC program 53. Furthermore, the operation settings disclosed herein are not limited to information indicating the optional device installed on the machine tool 10. For example, various settings can be adopted as the operation settings, in which the execution location of the NC program 53 is changed by changing the setting. For example, if the optional device to be used or the robot point RP to be used is changed by changing the mode of the control device 41, the mode setting is an example of the operation setting disclosed herein.

[0050] As described above, the portion of the NC program 53 to be executed changes depending on the installation status of optional devices (the value of the keep relay 61A). In other words, the keep relay 61A includes a value that indicates whether execution of any of the subprograms included in the NC program 53 is enabled or disabled. Therefore, if the entire NC program 53 were targeted for detection in the detection process for detecting the variable 69, the variable 69 (robot point RP) would be detected from the entire range, including parts that are not actually executed when the NC program 53 is executed. As a result, for example, even if the entrance device 15 is not actually installed, the X-axis coordinate input section 73 and the Z-axis coordinate input section 74 that accept the coordinates of "P02" of the robot point RP of the entrance device 15 would be displayed on the robot point screen 85.

[0051] Therefore, the control device 41 checks the value of the keep relay 61A in the detection process for the variable 69, and performs detection of the variable 69 while excluding subprograms that are disabled by the keep relay 61A from the detection targets. Figure 7 shows another example of a robot point screen 85A in the limited display mode, showing the screen when the entrance device 15 is not installed as an optional device. As shown in Figure 7, if the value of the keep relay 61A corresponding to the entrance device 15 is a value indicating that it is not installed (e.g., "0"), the control device 41 deletes the row with the point number 63 of "P02" shown in Figure 6 and closes the space between "P01" and "P04" and displays them.

[0052] Therefore, in the detection process, the control device 41 acquires the operation settings of the robot 13 and detects only the robot points RP that correspond to the acquired operation settings from among the robot points RP included in the NC program 53. This makes it possible to display only the robot points RP that correspond to the operation settings on the robot point screen 85A. Unnecessary robot points RP that do not match the operation settings are hidden, thereby preventing erroneous changes to coordinates.

[0053] As described above, the robot point RP used when machining the workpiece W in the machine tool 10 changes depending on the installed optional equipment. For example, the movement destination of the robot 13 changes depending on whether or not optional equipment such as the entrance device 15 or the stand 18 is installed. The operation setting is information indicating whether or not such optional equipment is installed. The control device 41 then switches the execution portion of the NC program 53 depending on the operation setting. By creating an NC program 53 including subprograms that cover all the installable optional equipment, a common NC program 53 that can be used regardless of the configuration of the optional equipment can be prepared. Then, by switching the execution portion depending on the type of installed optional equipment, the robot 13 can be moved to a position corresponding to the installed optional equipment. This eliminates the need to create separate NC programs 53 for each configuration of the optional equipment, thereby reducing the burden of creating the NC program 53.

[0054] Furthermore, in the detection process, the control device 41 acquires a value indicating the operation setting from the keep relay 61A of the PLC 46, and detects only the robot points RP that correspond to the operation setting indicated by the keep relay 61A among the robot points RP included in the NC program 53 executed by the numerical control device 45. As a result, for example, during installation of the machine tool 10, the value of the keep relay 61A can be set according to the optional device to be installed, thereby appropriately setting the detection range (location) of the detection process. By checking the keep relay 61A, the control device 41 can appropriately narrow down the range of the NC program 53 to be detected.

[0055] Furthermore, the control device 41 executes the detection process by targeting the subprograms corresponding to the keep relays 61A set with a valid value (e.g., "1") as the detection targets for the robot point RP, and excludes the subprograms corresponding to the keep relays 61A set with an invalid value (e.g., "0") from the detection targets. This allows the detection range of the detection process to be appropriately set simply by setting one of the two values, valid or invalid, in the keep relay 61A.

[0056] Incidentally, in the above embodiment, the entrance device 15, the exit device 17, and the workpiece table 18 are examples of optional devices. The touch panel 20 is an example of a display device. The NC program 53 is an example of an operation program. The X-axis coordinate 65 and the Z-axis coordinate 66 are examples of coordinates. The X-axis coordinate input unit 73 and the Z-axis coordinate input unit 74 are examples of input units.

[0057] As described above, the present embodiment provides the following effects. The control device 41, which is one aspect of the present application, executes a detection process to detect robot points RP included in the NC program 53, and executes a display process to display, on the robot point screen 85, only the robot points RP detected by the detection process, out of the multiple robot points RP registered in the machine tool 10. As a result, of the multiple registered robot points RP, only the robot points RP required by the NC program 53 are displayed on the robot point screen 85, and changes to their coordinates can be accepted. Therefore, the display on the robot point screen 85 can be changed to a display that corresponds to the NC program 53.

[0058] The present disclosure is not limited to the above-described embodiments and can be embodied in various forms with various modifications and improvements based on the knowledge of those skilled in the art. For example, in the above-described embodiments, the display device of the present disclosure is a touch panel 20 capable of displaying and inputting data, but this is not limited thereto. The display device of the present disclosure may be a display-only device such as an LCD or organic EL panel. Furthermore, the operation program of the present disclosure is an NC program 53 that performs numerical control, but this is not limited thereto. Various types of programs capable of controlling the robot 13 can be used as the operation program. In the above-described embodiments, the control device 41 determines whether or not to display the input units (X-axis coordinate input unit 73 and Z-axis coordinate input unit 74) for each of the X and Z axes, but this is not limited thereto. For example, the control device 41 may determine whether or not to display the input units for each robot point RP. In this case, even when only the X axis is set, such as "P04" (#10104) shown in FIG. 5, the Z-axis coordinate input unit 74 may be displayed. Furthermore, in the above embodiment, the X-axis and Z-axis are targeted, but the Y-axis, A-axis, B-axis, C-axis, etc. may also be targeted, and input sections for these may be displayed on the robot point screen 85. Furthermore, the machine tool of the present disclosure is not limited to a lathe, and machine tools of various configurations, such as a machining center, a milling machine, and a drill press, can be used.

[0059] The contents of the present disclosure are not limited to the dependent relationships described in the claims. For example, this specification also discloses the technical idea of ​​changing "the machine tool according to claim 1 or claim 2" in claim 5 to "the machine tool according to any one of claims 1 to 4." For example, this specification also discloses the technical idea of ​​changing "the machine tool according to claim 1 or claim 2" in claim 6 to "the machine tool according to any one of claims 1 to 5." For example, this specification also discloses the technical idea of ​​changing "the machine tool according to claim 6" in claim 8 to "the machine tool according to claim 6 or claim 7."

[0060] 10 Machine tool, 13 Robot, 15 Entrance device (optional device), 17 Exit device (optional device), 18 Workpiece table (optional device), 20 Touch panel (display device), 41 Control device, 45 Numerical control device, 46 PLC, 53 NC program (operation program), 61 Device, 63 Point number, 64 Position, 65 X-axis coordinate (coordinate), 66 Z-axis coordinate (coordinate), 69 Variable, 73 X-axis coordinate input section (input section), 74 Z-axis coordinate input section (input section), 85, 85A Robot point screen, RP Robot point, W Work.

Claims

1. A machine tool comprising a robot for transporting a workpiece, a display device, and a control device for changing the display content of the display device, wherein the control device executes a detection process for detecting robot points, the coordinates of which are associated with the position to which the robot moves, that are included in an operation program used to machine the workpiece, and a display process for displaying, on the robot point screen, only the robot points detected by the detection process, out of a plurality of robot points registered in the machine tool, when displaying a robot point screen for changing the coordinates of the robot points.

2. A machine tool as described in claim 1, wherein the operation program has different variables set depending on the workpiece to be machined, the robot points are associated with the variables, the control device is capable of registering a plurality of the robot points, and when executing the operation program, the coordinates of the robot points associated with the variables set in the operation program are set to the variables and the operation program is executed.

3. A machine tool as described in claim 1 or claim 2, wherein the robot point is associated with a variable set in the operation program, the control device is capable of registering a plurality of the robot points, and in the detection process, detects the variable set in the operation program used for machining the workpiece, and detects the robot point associated with the detected variable as the robot point included in the operation program.

4. The machine tool of claim 3, wherein the robot is capable of moving on multiple axes, the variable is capable of setting information on an axis among the multiple axes along which the robot moves and a point number that identifies the position of the robot point, and the control device, in the display process, displays an input unit that accepts coordinates of the axis set in the variable for the robot point associated with the position indicated by the point number set in the variable detected in the detection process.

5. A machine tool as described in claim 1 or claim 2, wherein the robot points are assigned point numbers that identify their positions, and the control device has a full display mode in which all registered robot points are displayed on the robot point screen, and a limited display mode in which only the robot points detected by the detection process are displayed on the robot point screen, and in the full display mode, input sections that accept the coordinates of the robot points are displayed in the order of the point numbers, and in the limited display mode, the input sections are displayed in the order of the point numbers, and the input sections of the robot points not detected by the detection process are not displayed, and the input sections before and after the input sections that are not displayed in the order of the point numbers are displayed with the spaces between them narrowed.

6. A machine tool as described in claim 1 or claim 2, wherein the robot is capable of a plurality of operation settings, the operation program includes robot points corresponding to the plurality of operation settings, and the control device, in the detection process, acquires the operation settings of the robot and detects only the robot points among the robot points included in the operation program that correspond to the acquired operation settings.

7. The machine tool according to claim 6, wherein optional devices can be attached to the machine tool depending on the required functions, and the robot point used when machining the workpiece is changed depending on the attached optional device, the operation setting is information indicating the optional device attached to the machine tool, and the control device switches the part of the operation program to be executed depending on the operation setting.

8. The machine tool according to claim 6, wherein the control device comprises: a numerical control device that executes an NC program as the operation program; and a PLC having a device whose value is changed according to the operation setting, and wherein, in the detection process, the control device acquires a value indicating the operation setting from the device of the PLC, and detects only the robot points included in the NC program executed by the numerical control device that correspond to the operation setting indicated by the device of the PLC.

9. The machine tool according to claim 8, wherein the device indicates whether execution of any one of the subprograms included in the NC program is to be enabled or disabled, and the control device, when a value indicating enabled is set for the device, executes a detection process with the subprogram corresponding to the device as a detection target for the robot point, and when a value indicating disabled is set for the device, executes the detection process while excluding the subprogram corresponding to the device from the detection targets for the robot point.

Citation Information

Patent Citations

  • Confirming method for robot program

    JP1987060005A

  • Method for correcting variable of robot control program

    JP1987106507A

  • Loader control device

    JP1994134645A

  • Robot hand control method of numerically controlled machine tool

    JP1994134652A

  • Takeout device for molded product

    JP1999216693A