Working machinery
The robot's contact detection device simplifies and enhances transfer accuracy by setting reference positions based on contact signals, addressing assembly errors and eliminating the need for sensors on counterpart devices.
Patent Information
- Application Number
- JP2024508878
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-23
- Publication Date
- 2025-12-24
- Estimated Expiration
- 2042-03-23
Smart Images

Figure 0007791985000001 
Figure 0007791985000002 
Figure 0007791985000003
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a technique for setting a transfer position where a workpiece is transferred between a robot and a partner device. [Background technology]
[0002] Various techniques for setting a transfer position for transferring a workpiece have been proposed in the past. For example, Patent Document 1 listed below describes an industrial robot that transfers workpieces to and from a table. The industrial robot is an articulated robot that uses a hand to grasp and transport a workpiece placed on the table. The table is equipped with a work measurement sensor that measures the length of the workpiece. The industrial robot inputs a measurement signal from the work measurement sensor, calculates the center position of the workpiece in the longitudinal direction, and sets the gripping position of the hand based on the calculated value. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 02-243285 Summary of the Invention [Problem to be solved by the invention]
[0004] Furthermore, adjustment of the robot's position is necessary not only when the robot receives the workpiece as described above, but also when transferring the workpiece from the robot to a counterpart device such as a stand. Furthermore, there is a risk that the workpiece transfer control will not be able to execute with high accuracy due to errors in the assembly accuracy of parts on the robot and the counterpart device. The above-described industrial robot technology requires that a workpiece measurement sensor be installed on each counterpart device that receives the workpiece, which could complicate the entire device.
[0005] The present disclosure has been made in consideration of the above-mentioned problems, and aims to provide a machine tool that can set the transfer position for handing over the workpiece to the other device based on the measurement results while simplifying the structure of the device. [Means for solving the problem]
[0006] In order to solve the above-mentioned problems, this specification provides a robot including a contact detection device, a robot having a holding member and holding a workpiece with the holding member and transporting the workpiece, a counterpart device that receives the workpiece from the robot, and a control device, wherein the contact detection device outputs a contact detection signal in response to contact to the control device, and the control device controls the robot to bring the contact detection device into contact with the counterpart device, acquires the contact detection signal from the contact detection device when contact with the counterpart device is detected, and executes a reference position setting process that sets a position of the robot at the time of contact as a reference position based on the acquisition of the contact detection signal, and a position setting process that acquires a length of the workpiece as an input value, and sets a transfer position that is a position of the robot when transferring the workpiece having the length of the input value from the robot to the counterpart device based on the acquired input value and the reference position. the contact detection device is a touch probe that transmits the contact detection signal to the control device by wireless communication while being held by the holding member of the robot, and the control device, in the reference position setting process, sets the reference position based on the position of the robot at the timing when the contact detection signal is output from the contact detection device when the contact detection device is brought into contact with the counterpart device. A machine tool is disclosed.
[0007] The present specification also provides a robot having a holding member that holds a workpiece with the holding member and transports the workpiece, a counterpart device that receives the workpiece from the robot, and a control device, wherein the robot is capable of holding a contact detection device with the holding member, the contact detection device outputs a contact detection signal in response to contact to the control device, and the control device moves the robot with the contact detection device held by the holding member of the robot, brings the contact detection device into contact with the counterpart device, acquires the contact detection signal from the contact detection device when contact with the counterpart device is detected, and executes a reference position setting process that sets the position of the robot at the time of contact as a reference position based on the acquisition of the contact detection signal, and a position setting process that acquires the length of the workpiece as an input value, and sets a transfer position that is the position of the robot when transferring the workpiece having the length of the input value from the robot to the counterpart device based on the acquired input value and the reference position. the contact detection device is a touch probe that transmits the contact detection signal to the control device by wireless communication while being held by the holding member of the robot, and the control device, in the reference position setting process, sets the reference position based on the position of the robot at the timing when the contact detection signal is output from the contact detection device when the contact detection device is brought into contact with the counterpart device. A machine tool is disclosed. [Effects of the Invention]
[0008] According to the machine tool disclosed herein, the contact detection device of the robot is brought into contact with a mating device, and the robot's reference position is set based on the contact detection signal generated upon contact. This makes it possible to set a reference position that takes into account errors in the assembly accuracy of the parts of the robot and the mating device. The control device then sets a transfer position for transferring the workpiece from the robot to the mating device based on an input value indicating the length of the workpiece and the reference position. This eliminates the need to provide a sensor or the like on the mating device, simplifies the entire device, and allows the transfer position to be set with high accuracy based on the measurement results. [Brief explanation of the drawings]
[0009] [Figure 1] FIG. 1 is a front view of a machine tool according to an embodiment of the present invention. [Figure 2] Block diagram of a machine tool. [Figure 3] FIG. 2 is a perspective view showing a main body of the machine tool with the device cover removed. [Figure 4] FIG. 4 is a right side view of the machine tool in the state shown in FIG. 3 . [Figure 5] FIG. [Figure 6] 10A and 10B are diagrams showing the state of the left spindle device and the head when setting the reference position and when transferring the workpiece. [Figure 7] FIG. 10 is a diagram showing a reception screen of the operation panel. [Figure 8] 10A and 10B are diagrams showing the state of the stocker device and the head when the reference position is set and when the workpiece is transferred. DETAILED DESCRIPTION OF THE INVENTION
[0010] An embodiment of a machine tool according to the present disclosure will be described in detail below with reference to the drawings. FIG. 1 shows a front view of machine tool 1 according to this embodiment. FIG. 2 shows a block diagram of machine tool 1. FIG. 3 shows a perspective view of the main body of machine tool 1 with equipment cover 2 (see FIG. 1) removed. In the following description, the direction of machine tool 1 viewed from the front as shown in FIG. 1 will be used as a reference, and the rightward direction in the machine width direction and parallel to the installation surface of the equipment will be referred to as the Z direction, the forward direction parallel to the installation surface of the equipment and perpendicular to the Z direction will be referred to as the Y direction, and the upward direction perpendicular to the Z and Y directions will be referred to as the X direction. In the following description, the letter "L" will generally be added to the reference numerals of equipment located on the left side of machine tool 1, and the letter "R" will be added to the reference numerals of equipment located on the right side.
[0011] (Configuration of machine tool 1) As shown in Figures 1 and 2, the front of machine tool 1 is covered by equipment cover 2, and a movable operation panel 3 is provided on the front of the machine. The operation panel 3 is movable in the Z direction from the center of the front of the machine to the right edge along a rail 6 provided on the lower right of the front of equipment cover 2. The equipment cover 2 has a left front door 5L on the left side of the machine tool 1 and a right front door 5R on the right side. The left and right front doors 5L, 5R are, for example, sliding doors, and opening the doors allows access to the machining space behind the doors.
[0012] As shown in FIGS. 1 to 3, the machine tool 1 includes a control panel 3, a left-side machining device 11L, a right-side machining device 11R, a stocker device 9, a workpiece transport device 14, and a control device 15. A machining space for the left-side machining device 11L is provided behind the left-side front door 5L. The left-side machining device 11L is, for example, a turret-type lathe, and includes a left-side spindle unit 12L and a left-side turret 13L. The left-side spindle unit 12L has, for example, multiple child jaws for chucking a workpiece. The child jaws grip the workpiece and rotate the workpiece around a spindle parallel to the Z direction. The left-side turret 13L has a tool post to which multiple tools (rotary tools and cutting tools) can be attached, and performs tool indexing. The left-side turret 13L performs machining (such as cutting or drilling) on the workpiece gripped by the left-side spindle unit 12L using the indexed tools. A user can check the machining status of the workpiece or replace worn tools through the left-side front door 5L.
[0013] The right-side machining device 11R has the same configuration as the left-side machining device 11L, except for the orientation of the spindle (device). Therefore, the description of the right-side machining device 11R will omit the same details as those of the left-side machining device 11L. Behind the right-side front door 5R, a machining space for the right-side spindle device 12R and right-side turret 13R of the right-side machining device 11R is provided. The spindle of the right-side spindle device 12R is parallel to the Z direction and opposes (faces) the spindle of the left-side spindle device 12L of the left-side machining device 11L in the left-right direction. Therefore, the left-side and right-side machining devices 11L, 11R are so-called opposed two-spindle lathes, arranged symmetrically. The left-side and right-side machining devices 11L, 11R do not have to be symmetrical. Furthermore, the right-side machining device 11R does not have to have the same configuration as the left-side machining device 11L. For example, at least one of the left-side processing device 11L and the right-side processing device 11R may be another type of processing device such as a machining center.
[0014] Furthermore, the machine tool 1 is a multi-tasking machine equipped with the functions of both an NC lathe and a machining center. Fig. 4 is a right side view of the machine tool 1 in the state shown in Fig. 3. As shown in Figs. 2 to 4, a tool spindle unit 21 is provided approximately in the center of the machine tool 1 in the left-right direction. The tool spindle unit 21 performs machining that is difficult to perform with the left and right machining units 11L, 11R, which are lathes. For example, the tool spindle unit 21 can perform lathe machining as well as drilling on workpieces held by the left and right spindle units 12L, 12R, respectively, and enables workpiece machining at depths and angles that are difficult to perform with the left and right turrets 13L, 13R.
[0015] The machine tool 1 includes a multitasking machine equipped with left and right machining units 11L, 11R and a tool spindle unit 21 mounted on a single bed 22. The left and right spindle units 12L, 12R rotate a workpiece W (see FIG. 4) driven by spindle motors 14L, 14R mounted outside the units. The left and right spindle units 12L, 12R, including the spindle motors 14L, 14R, are slidable in a direction parallel to the Z direction along an inclined surface 23 on the bed 22, which has a slant-bed structure. The left and right spindle units 12L, 12R move in a direction parallel to the Z direction, for example, by driving a ball screw mechanism (not shown) by a Z-axis servo motor 17 (see FIG. 4) mounted below the bed. The left and right turrets 13L, 13R and the tool spindle unit 21 are all movable in the machine body's front-to-rear and up-to-down directions, which are perpendicular to the spindles. For example, the movement direction of the tool spindle device 21 is the horizontal Y direction and the vertical X direction, while the movement directions of the left and right turrets 13L, 13R are the YL direction and the XL direction, which are inclined 45 degrees from the Y direction and the X direction.
[0016] An automatic tool changer 25 is provided in front of the tool spindle unit 21. The tool spindle unit 21 is capable of exchanging tools T (spindle head tools) with the automatic tool changer 25. The automatic tool changer 25 has a tool magazine 25A storing multiple tools T at its top, and a tool changer 25B, located opposite the tool spindle unit 21, transports a tool T to be replaced from the tool magazine 25A to a tool changing position on the tool spindle unit 21. The machine tool 1 can also change tools on the tool spindle unit 21 while machining a workpiece W with each of the left and right machining devices 11L, 11R. The machine tool 1 is equipped with, for example, separation shutters (not shown) disposed on both the left and right sides of the tool spindle unit 21 in the Z direction. The machine tool 1 is capable of moving the two separation shutters individually in the Y direction by a drive mechanism (not shown). FIG. 3 shows the separation shutters in a retracted state. In the machine tool 1, two separation shutters separate the machining spaces of the left-side machining unit 11L and the right-side machining unit 11R from the tool changing space of the tool spindle unit 21. This prevents each unit from being affected by coolant or chips. Furthermore, by closing only one of the separation shutters, the space including the tool changing space can be expanded to include the machining space of one of the turrets or the tool spindle unit 21.
[0017] The workpiece transport device 14 transfers the workpiece W between the left and right processing devices 11L, 11R and each device for carrying in, discharging, inspecting, etc. the workpiece. The left and right processing devices 11L, 11R and each device that transfers the workpiece W are examples of counterpart devices of the present disclosure. The machine tool 1 is equipped with a stocker device 9 as one of the counterpart devices. As shown in FIG. 1, the stocker device 9 has a plurality of pallets 10 on which the workpieces W can be stacked, and swaps the pallets 10 at the work position based on the control of the control device 15. The workpiece transport device 14 receives the workpiece W before machining and transfers the workpiece W after machining between the pallets 10 at the work position. Details of the workpiece transport device 14 will be described later.
[0018] 1 and 2, the operation panel 3 is provided on the front surface of the device cover 2 and includes a touch panel 3A and an operating device 3B. The operating device 3B includes, for example, an operating switch, a push button, a dial, and an indicator lamp. The operation panel 3 receives operation input from the user via the touch panel 3A or the operating device 3B, and outputs a signal corresponding to the received operation input to the control device 15. The operation panel 3 also changes the display content of the touch panel 3A and the lighting state of the indicator lamps of the operating device 3B based on the control of the control device 15. A pendant 8 for operating the machine tool 1 can be suspended below the center of the device cover 2.
[0019] As shown in FIG. 2, the control device 15 of the machine tool 1 is a processing device that includes a CPU 15A and a storage device 15B and is primarily a computer. The storage device 15B includes, for example, RAM, ROM, and flash memory. The control device 15 is electrically connected to each device (such as the left-side machining device 11L and the workpiece transport device 14) and is capable of controlling each device. Various control programs 16 are stored in the storage device 15B. The control programs 16 include, for example, NC programs that control the operation of the left-side and right-side machining devices 11L and 11R when machining a workpiece, a program that controls the operation of the workpiece transport device 14, and ladder circuit programs that process various signals. The control program 16 also stores, in association with each other, the X, Y, and Z coordinates of the transfer position where the workpiece transport device 14 transfers the workpiece W, the name of the process to be performed at the transfer position, and identification information for identifying the process. In the following description, the coordinates in the X, Y, and Z directions will be referred to as the X coordinate, Y coordinate, and Z coordinate. This coordinate system is used for convenience of explanation and can be changed as appropriate. The setting of each coordinate is not limited to the above setting, and for example, the left-right direction (Z direction) may be set as the X coordinate, the front-back direction as the Y coordinate, and the up-down direction (X direction) as the Z coordinate.
[0020] (Regarding the workpiece transport device 14) Next, the workpiece transport device 14 will be described in detail. As shown in Figures 1, 3, and 4, the workpiece transport device 14 is, for example, a gantry-type transport device, and is capable of moving the gripped workpiece W in three directions, the X, Y, and Z directions. Note that Figure 1 shows in one diagram the workpiece transport device 14 moving to multiple positions.
[0021] The machine tool 1 includes a tower-shaped frame structure 31 having beams connected to front, rear, left, and right pillars erected to match the width of the bed 22. The front sides of the devices on the bed 22, such as the tool spindle device 21, the automatic tool changer 25, and the workpiece transportation device 14, are covered by a device cover 2 supported by the frame structure 31. As shown in FIGS. 3 and 4 , the workpiece transportation device 14 includes a rail base 32 and a traveling table 33. The rail base 32 is provided on the frame structure 31, on the front side of the device. Two traveling rails 34 parallel to the Z direction and one traveling rack 35 are provided on the rail base 32. The traveling table 33 is slidable along the traveling rails 34. A traveling motor 37 is fixed to the traveling table 33. The traveling table 33 is movable in the Z direction when a pinion fixed to the rotation shaft of the traveling motor 37 meshes with the traveling rack 35. The control device 15 controls the travel motor 37 to move the workpiece transport device 14 to any position in the Z direction.
[0022] A slide base 39 is provided on the upper surface of the traveling table 33 so as to be slidable in the Y direction. A rack is provided on the side of the slide base 39 for moving it in the Y direction. A front-rear motor 41 is fixed to the traveling table 33. A pinion fixed to the rotation shaft of the front-rear motor 41 is engaged with the rack of the slide base 39. The control device 15 can move the slide base 39 to any position in the Y-axis direction (front-rear direction) by controlling the front-rear motor 41. The slide base 39 protrudes forward from the frame structure 31, and a lifting arm 43 that moves up and down is provided at its tip.
[0023] A support column 45 equipped with a lifting rail is fixed to the front end of the slide base 39 in a position parallel to the X direction. A lifting arm 43 is provided in front of the support column 45. The lifting arm 43 is movable in the X direction along the lifting rail of the support column 45. A lifting motor 47 is provided at the top of the support column 45. A pulley is fixed to the rotation shaft of the lifting motor 47. A belt is stretched between the pulley of the lifting motor 47 and a pulley journaled at the bottom of the support column 45. The lifting arm 43 is connected to the belt, and its position in the X direction is changed in response to the driving of the lifting motor 47. The control device 15 controls the lifting motor 47 to change the position of the lifting arm 43 in the X-axis direction (up and down direction). A head 51 for gripping the workpiece W is provided at the lower end 43A of the lifting arm 43. Therefore, the control device 15 can move the head 51 to any position in the X, Y and Z directions by controlling the travel motor 37, the front-rear motor 41 and the lift motor 47.
[0024] The head 51 is attached to the rear surface of the lower end 43A and is positioned rearward relative to the lift arm 43. FIG. 5 shows a perspective view of the lift arm 43 and the head 51. The head 51 has two gripping portions: a first gripping portion 52 and a second gripping portion 53. The second gripping portion 53 has the same configuration as the first gripping portion 52. Therefore, in the following explanation, the explanation of the second gripping portion 53 will be omitted as appropriate.
[0025] As shown in FIG. 5, the head 51 includes a support member 56, a first claw member 57, and a second claw member 58. The support member 56 is attached to the rear of the lower end 43A of the lifting arm 43. The support member 56 is a generally rectangular plate having a predetermined thickness. A first gripper 52 and a second gripper 53 are provided on each side of the support member 56 that face each other in the thickness direction (from the front left to the rear right in FIG. 5). The support member 56 is rotatably attached to the lower end 43A. The control device 15 rotates the head 51 around a rotation axis 62 (see FIGS. 4 and 5) parallel to the Y direction, for example, by driving a rotation motor (not shown) provided in the lower end 43A. As a result, the support member 56 rotates in a rotation direction 61 (see FIGS. 4 and 5), causing the first and second grippers 52, 53 to face in different directions.
[0026] The head 51 rotates in a rotation direction 61 (clockwise or counterclockwise) by 90 degrees increments, for example, in response to the driving of the rotation motor. The head 51 rotates to a total of four rotation positions: a rotation position (two rotation positions including a position rotated 180 degrees) in which each of the first and second grippers 52, 53 faces both sides in the Z direction (left and right sides), and a rotation position (two rotation positions including a position rotated 180 degrees) in which each of the first and second grippers 52, 53 faces both sides in the X direction (up and down sides). In the following description, the rotation positions at which the first gripper 52 faces left, up, right, and down, respectively, are referred to as first to fourth rotation positions RP1 to RP4. For example, when transferring the workpiece W between the first gripper 52 and the left spindle unit 12L as shown in FIG. 6 (described later), the control device 15 sets the head 51 to the first rotation position RP1. Furthermore, when transferring the workpiece W between the first gripper 52 and the stocker device 9, for example, as shown in FIG. 8 (described later), the control device 15 rotates the head 51 to a fourth rotation position RP4 where the first gripper 52 faces downward. Note that the rotation angle and rotation position of the head 51 described above are merely examples. For example, the head 51 may be configured to rotate at intervals of an angle greater than 90 degrees (such as 180 degrees) or at intervals of a smaller angle (such as 45 degrees), or may be configured to rotate at any rotation angle.
[0027] For example, three first claw members 57 can be attached to the first gripping unit 52. Each of the three first claw members 57 has the same shape and is attached at positions offset from each other by 120 degrees in the circumferential direction. The three first claw members 57 are detachably attached to the support member 56 and can be replaced with different types of first claw members 57 depending on the type of workpiece W, etc. The three first claw members 57 slide radially (open and close) in response to the driving of a hydraulic cylinder (not shown) provided in the head 51. As a result, the control device 15 closes the three first claw members 57 to clamp the workpiece W, or opens the three first claw members 57 to release the clamping, by driving the hydraulic cylinder. Similarly, the second gripping unit 53 can detachably attach, for example, three second claw members 58, and the second claw members 58 can be opened and closed.
[0028] (Regarding reference position setting processing) Next, the process of setting the reference position of the head 51 will be described. The control device 15 performs machining on the workpiece W based on the control program 16. The workpiece W to be machined is transported, for example, from the stocker device 9 to the left spindle device 12L or the right spindle device 12R by the workpiece transport device 14. After transferring the workpiece W to each spindle device, the control device 15 performs predetermined machining using the left and right turrets 13L, 13R and the tool spindle device 21. The control device 15 receives the workpiece W for which machining has been completed from the left spindle device 12L etc. to the workpiece transport device 14, and transports it to the stocker device 9.
[0029] For example, the NC program of the control program 16 sets the XYZ coordinates of a transfer position, which is the position of the head 51 where the workpiece W is transferred between the workpiece transport device 14 and each counterpart device. The control device 15 positions the head 51 at the transfer position (XYZ coordinates) set in the NC program and rotates the head 51 to a predetermined rotation position to transfer the workpiece W between the head 51 and the counterpart device. The machine tool 1 of this embodiment can set a reference position, which serves as a reference for setting the transfer position, using a contact detection device. The control device 15 uses the length of the workpiece W input by the user as an input value and corrects each transfer position based on a preset reference position and the length of the input value. In the following description, as an example, the left spindle unit 12L is used as the counterpart device, and a case will be described in which the workpiece W is transferred from the first gripper 52 of the head 51 to the left spindle unit 12L. Note that, as will be described later with reference to FIG. 8, similar settings can be performed for other transfer positions.
[0030] In FIG. 6, the upper diagram shows the state of the left spindle unit 12L and head 51 when the reference position is set, and the lower diagram shows the state of the left spindle unit 12L and head 51 when a workpiece is transferred. As shown in the upper diagram of FIG. 6, when the reference position is set, a master workpiece 63 is attached to the left spindle unit 12L. This master workpiece 63 is used as a member that comes into contact with the contact detection device 65 when setting the reference position P1 and is also used as a member for checking misalignment of the spindle during spindle centering work. The master workpiece 63 has, for example, a disk-shaped clamped portion 63A and a generally cylindrical convex portion 63B that protrudes from the center of the clamped portion 63A. The shape of the master workpiece 63 shown in FIG. 6 is an example.
[0031] The left spindle unit 12L can be fitted with a plurality of (e.g., three) child jaws 67 that can clamp, for example, the workpiece W or the master workpiece 63. Each of the plurality of child jaws 67 has, for example, the same shape and is fitted at positions that are offset in the circumferential direction by a predetermined rotation angle (e.g., 120 degrees). Furthermore, the plurality of child jaws 67 move in the radial direction based on the drive of a drive source (e.g., hydraulic cylinder) provided in the left spindle unit 12L, and clamp the workpiece W or the master workpiece 63. Note that the member that holds the workpiece W or the master workpiece 63 is not limited to a jaw member such as the child jaw 67, and may be another member such as a collet chuck.
[0032] In the setting operation of the reference position P1 using the contact detection device 65, the master workpiece 63 is clamped by the multiple child jaws 67. For example, the user operates the operation panel 3 to open the child jaws 67 and seat the master workpiece 63 on the left spindle unit 12L. The user operates the operation panel 3 to close the child jaws 67 and clamp the clamped portion 63A of the master workpiece 63 between the child jaws 67. The master workpiece 63 contacts the abutment portion 67A formed on the child jaws 67 and is positioned in a state in which movement toward the base end side (the left side in FIG. 6 ) of the left spindle unit 12L is restricted. Furthermore, the centers of the clamped portion 63A and the convex portion 63B of the master workpiece 63 are aligned on the spindle 69. In other words, when the master workpiece 63 is positioned in the correct position for measurement, movement toward the base end side is restricted and the center of rotation is aligned on the spindle 69. The operation of placing the master workpiece 63 on the left spindle device 12L may be performed automatically by the head 51 of the workpiece transport device 14. For example, in response to an instruction to start measurement, the control device 15 may cause the head 51 to grip the master workpiece 63 placed on the stocker device 9, transport the master workpiece 63 to the left spindle device 12L, and hand over the master workpiece 63 from the head 51 to the left spindle device 12L.
[0033] When the user places the master workpiece 63 on the left spindle unit 12L, the user clamps the contact detection device 65 with the first gripping portion 52 of the head 51. As with the master workpiece 63, the user may operate the operation panel 3 to clamp the contact detection device 65 with the head 51, or the contact detection device 65 may be disposed in a stocker device 9, a workstation, or the head 51 may automatically grasp the contact detection device 65. In the example shown in FIG. 6, first jaw members 57 of different shapes are used when setting the reference position (upper diagram) and when transferring the workpiece (lower diagram). It is preferable that the first jaw members 57 be changed to ones suitable for clamping the contact detection device 65 and clamping the workpiece W, but the same type of first jaw members 57 may be used when setting the reference position and when transferring the workpiece.
[0034] The contact detection device 65 is, for example, a touch probe. When the tip of the stylus 65A comes into contact with another member, the contact detection device 65 transmits a contact detection signal indicating the occurrence of contact via wireless communication. As shown in FIG. 2, the control device 15 includes a wireless device 18 capable of wireless communication with the contact detection device 65. The control device 15 is capable of receiving the contact detection signal SI via wireless communication from the contact detection device 65 held by the first claw member 57 of the head 51. The contact detection method used by the contact detection device 65 (touch probe) is not particularly limited, and may be a movable contact method, a pressure sensor method, an optical sensor method, or the like. Therefore, the contact detection device of the present disclosure is not limited to a touch probe, and may also be one that uses a push button switch with a movable contact or a pressure sensor. The method of transmitting the contact detection signal SI to the control device 15 is not limited to wireless communication, and may also be a method using infrared rays or electromagnetic induction. The contact detection signal SI may also be transmitted via wired communication.
[0035] After clamping the contact detection device 65 to the head 51, the user operates the operation panel 3 to issue an instruction to start measuring the reference position P1. Upon receiving the instruction to start measurement, the control device 15 positions the head 51 at a predetermined measurement start position P2 (see FIG. 6 ). This measurement start position P2 is the position at which the head 51 is positioned when starting measurement of the reference position P1. For example, if a centering operation or the like is performed in advance and the head 51 is positioned at the measurement start position P2 in FIG. 6 , the X coordinate in the X direction and the Y coordinate in the Y direction of the head 51 at the measurement start position P2 will match the X and Y coordinates of the spindle 69 of the left spindle unit 12L. For example, based on the user's operation instruction, the control device 15 brings the stylus 65A of the contact detection device 65 into contact with multiple points on the convex portion 63B of the master workpiece 63, detects the center position of the convex portion 63B, and corrects the amount of misalignment with the spindle 69 to perform centering. After placing the head 51 at the measurement start position P2, the control device 15 moves the head 51 in the Z direction and sets the Z coordinate in the Z direction based on the detection of the contact detection device 65. The control device 15 can use the X and Y coordinates of the spindle 69 for the X and Y coordinates. Therefore, the control device 15 sets the X and Y coordinates of the spindle 69 determined by performing the centering operation (the X and Y coordinates of the measurement start position P2) as the X and Y coordinates of the reference position P1.
[0036] After positioning the head 51 at the measurement start position P2, the control device 15 keeps the X and Y coordinates constant and moves the head 51 toward the left spindle device 12L in a direction parallel to the Z direction (see the arrow indicating the measurement start position P2 in Figure 6). The control device 15 controls the travel motor 37 to move the head 51 in a direction parallel to the Z direction. The contact detection device 65 transmits a contact detection signal SI when the stylus 65A contacts the surface of the convex portion 63B facing the head 51. When the control device 15 receives the contact detection signal SI from the contact detection device 65, the control device 15 sets the Z coordinate of the reference position P1. For example, the control device 15 corrects the delay time required for transmitting the contact detection signal SI from the contact detection device 65 to the control device 15 relative to the time when the contact detection signal SI was received, and calculates the output time when the contact detection signal SI was output. The control device 15 then sets the Z coordinate at which the head 51 was positioned at the output time as the Z coordinate of the reference position P1. The Z coordinate of the head 51 can be detected based on the position information of the drive motor 37. The control device 15 does not need to perform the delay correction of the transmission time. For example, the control device 15 may set the Z coordinate of the head 51 at the time when the contact detection signal SI is input as the Z coordinate of the reference position P1.
[0037] The control device 15 sets the reference distance L1, for example, to the distance along the Z direction from the origin position P3 to the reference position P1 shown in FIG. 6. This origin position P3 is a reference (origin) position for determining the transfer position. The origin position P3 may be set to a position other than the left spindle unit 12L (such as a predetermined position on the frame structure 31). In other words, the origin position P3 is not limited to the position of the left spindle unit 12L and can be set to any position on the machine tool 1. When the control device 15 completes setting the reference distance L1, it displays on the operation panel 3 that the reference position setting process has been completed. After confirming the completion display, the user detaches the contact detection device 65 from the head 51, removes the master workpiece 63 from the left spindle unit 12L, and replaces the first jaw member 57 with one that matches the workpiece W to be machined.
[0038] (Position setting process, processing operation) Next, the position setting process and machining operation of the machine tool 1 will be described. Before machining the workpiece W, the control device 15 receives the length of the workpiece W to be machined. The control device 15 may perform the process of receiving this length as an input value before receiving an instruction to start machining. For example, the control device 15 displays on the touch panel 3A a reception screen for inputting the length of the workpiece W in response to a predetermined operation input on the touch panel 3A. Figure 7 shows an example of a reception screen 73 for inputting the length of the workpiece W. As shown in Figure 7, the control device 15 receives, as input values, information such as the position name, the weight of the workpiece W, the length of the workpiece W, the rotation position, and whether or not to transfer the workpiece. Note that the input values shown in Figure 7 are merely examples.
[0039] For example, consider a case where machining of a workpiece W held by the left spindle unit 12L (first machining process) and machining of a workpiece W held by the right spindle unit 12R (second machining process) are executed in that order as machining processes. In this case, the workpiece W is transferred, for example, six times. The control device 15 sets position names NO1 to NO6 as names of transfer positions for these six transfers and identifies the transfer positions. Specifically, the head 51 receives the workpiece W from the stocker device 9 to the first gripper 52 at position name NO1, and transfers the workpiece W from the first gripper 52 to the left spindle unit 12L at NO2. The head 51 also receives the workpiece W after the first machining process from the left spindle unit 12L to the first gripper 52 at NO3, and transfers the workpiece W from the first gripper 52 to the right spindle unit 12R at NO4. Then, the head 51 receives the workpiece W after the second machining process from the right spindle device 12R at NO5, and delivers the workpiece W to the stocker device 9 at NO6.
[0040] At the top of the reception screen 73 in FIG. 7, input value names 75 for explaining each input value are displayed. Below each input value name 75, an input field 76 is provided for inputting each input value for each position name (transfer position). In the example shown in FIG. 7, transfer positions NO1 to NO6 are set in order from top to bottom. The top position name NO1 is the transfer position where the unmachined workpiece W is transferred from the stocker device 9 to the first gripper 52. For this reason, the user inputs the weight of the unmachined workpiece W as the input value weight X1, and the length of the unmachined workpiece W as the input value length Y1 in the input field 76. Furthermore, for example, when inputting the weight X2 and length Y2 after the first processing step of NO3, the user inputs the weight X2 that has become lighter and the length Y2 that has become shorter due to the first processing step. Furthermore, the user inputs, for example, information on the rotation position of the head 51 for each position name (first to fourth rotation positions RP1 to RP4) and information on whether to transfer the workpiece W from the head 51 to the receiving screen 73. When the setting button 77 on the receiving screen 73 is touched, the control device 15 stores the input value on the receiving screen 73 in the storage device 15B and uses it for correcting the transfer position, which will be described later. In this way, the control device 15 accepts the length of the workpiece W as an input value for each transfer position. When the cancel button 78 on the receiving screen 73 is touched, the control device 15 discards the information accepted on the receiving screen 73. Note that the method for acquiring the weight input value is not limited to the method of inputting it via the operation panel 3 described above. For example, a setting file containing the input value may be loaded into the control device 15. Furthermore, the control device 15 may not accept the length input value on the receiving screen 73 in advance, but may accept the length input value after accepting a machining start instruction and before starting machining. Furthermore, the screen configuration of the reception screen 73 in FIG. 7 is an example, and the reception screen 73 does not necessarily need to include information such as weight, rotation position, and whether or not there is a transfer.
[0041] The following explanation will mainly focus on position No. 2 (see FIG. 7) where the workpiece W is transferred from the first gripper 52 of the head 51 shown in the lower diagram of FIG. 6 to the left spindle unit 12L. In this case, the control device 15 accepts the length L2 of the unmachined workpiece W (see FIG. 6) as the length Y1 of the workpiece W at position No. 2. The user may input, for example, a value on the drawing (design) of the unmachined workpiece W as length L2, or may input an actual measurement value of the workpiece W before machining. The control device 15 sets the transfer position for position No. 2 using the accepted length L2 of the workpiece W. For example, as shown in the lower diagram of FIG. 6, the control device 15 calculates a design position P5, which is the design position of the head 51 during transfer, based on the accepted length L2 of the workpiece W. The design position P5 is a calculated position that takes into account, for example, the design lengths of each component and does not include errors in the Z direction due to component assembly errors. As shown in the diagram below, the workpiece W transferred from the first gripping unit 52 is seated against the abutment portion 67A of the child jaws 67 and is clamped by the multiple child jaws 67. The X and Y coordinates of the design position P5 are the same as those of the reference position P1, for example, because they have been adjusted by a centering operation. Meanwhile, the distance L3 in the Z direction from the origin position P3 to the design position P5 is, for example, the sum of the distance L4 from the origin position P3 to the abutment portion 67A of the child jaw 67, the length L2 of the workpiece W, and the distance L5 from the workpiece W to the design position P5 (L3 = L4 + L2 + L5).
[0042] Distance L4 corresponds to the distance from the origin position P3 to the workpiece W held by the sub-jaw 67 of the left spindle unit 12L and can be set in advance depending on the structure of the sub-jaw 67, etc. Distance L5 is, for example, the distance from the end of the workpiece W held by the first jaw member 57 on the support member 56 side to the center of the head 51 and can be set in advance depending on the structure of the head 51, etc. After calculating distance L3, the control device 15 calculates a correction distance L6, which is the difference between distance L3 and the reference distance L1 calculated when setting the reference position. Here, there is a possibility that assembly errors of components specific to the device may occur in the workpiece transport device 14, the left spindle unit 12L, etc. As a result, there is a risk that the designed transfer position may deviate from the actual transfer position including the assembly error, making it difficult to perform the transfer operation with precision. Specifically, there may be chucking errors of the workpiece W or interference between the workpiece W and the sub-jaw 67.
[0043] In setting the reference distance L1 described above, the contact detection device 65 is used to set a distance that includes errors in the assembly accuracy of the components of the left spindle device 12L and the workpiece transportation device 14, i.e., an actually measured distance, as the reference distance L1. The control device 15 then sets the transfer position of the head 51 based on this reference distance L1, thereby enabling the transfer position to be set with the error corrected. Specifically, as shown in FIG. 6, for example, the control device 15 corrects the Z coordinate by setting the position obtained by adding a correction distance L6 to the reference distance L1 in the Z direction as the Z coordinate of the transfer position P6 of position name No. 2. In the example shown in FIG. 6, the transfer position P6 is located to the right of the reference position P1, but the positional relationship is changed depending on the contact detection device 65 and the length of the workpiece W.
[0044] The control device 15 then sets this transfer position P6 in the NC program, and sets it as the transfer position of position name No. 2 at which the workpiece W is transferred from the first gripper 52 to the left spindle device 12L. This makes it possible to set the transfer position P6 after correcting for component assembly errors and the like, thereby enabling the transfer of the workpiece W with high precision. The control device 15 then transfers the workpiece W from the head 51 to the left spindle device 12L using the set transfer position P6. Specifically, when the control device 15 positions the head 51 gripping the workpiece W at the transfer position P6, it causes the child jaws 67 to clamp the workpiece W. The control device 15 releases the chuck of the first jaw member 57, retracts the head 51, and then rotates the left spindle device 12L to start machining.
[0045] As described above, in the reference position setting process, the control device 15 of this embodiment sets the reference position P1 based on the origin position P3 of the left spindle device 12L. This allows the reference position P1 to be set with high accuracy using the measurement results of the contact detection device 65, with a predetermined position of the left spindle device 12L, which is the mating device, as the origin and the origin as the reference. Furthermore, in the position setting process, the control device 15 calculates the design position P5 of the head 51 based on the input length of the workpiece W and the origin position P3 of the left spindle device 12L. The control device 15 corrects the delivery position P6 based on the difference between the design position P5 and the reference position P1 (correction distance L6). This allows the correction distance L6 to be calculated with high accuracy using the reference distance L1, which is an actual measurement value, and the design distance L3. The method of calculating the correction distance L6 is not limited to the method using the origin position P3 described above, but may also use the initial position of the work transportation device 14 as a reference, for example.
[0046] Furthermore, in the reference position setting process, the control device 15 uses the contact detection device 65, which is a touch probe, to bring the stylus 65A into contact with the left spindle device 12L (master workpiece 63) and acquires the contact detection signal SI via wireless communication. The control device 15 sets the reference position P1 based on the position of the head 51 at the time when the contact detection signal SI is output. This eliminates the need for a cable connecting the contact detection device 65 to the control device 15 when measurements are performed with the head 51 holding the contact detection device 65. Furthermore, by providing a wireless device 18 to each of the multiple machine tools 1, the contact detection signal SI can be acquired from the contact detection device 65 at each machine tool 1, and the contact detection device 65 can be shared among the multiple machine tools 1. There is no need to provide a contact detection device 65 to every machine tool 1, which reduces the manufacturing cost of the machine tools 1.
[0047] Furthermore, in the position setting process, the control device 15 acquires, as an input value, the length of the workpiece W along the spindle 69 while it is held by the left spindle device 12L as the length L2 of the workpiece W. The control device 15 sets a delivery position P6 in the Z direction parallel to the spindle 69 based on the acquired input value and the reference position P1. This allows the error of the delivery position P6 in the direction along the spindle 69 of the left spindle device 12L to be corrected by the input value.
[0048] In the above example, the transfer position of position name No. 2 was described, but corrections can be made similarly for other transfer positions. For example, in the machining processes of position names No. 1 to No. 6 described above, two machining operations are performed, so the length of the workpiece W can change to three different lengths: the unmachined length Y1, the length Y2 after the first machining operation, and the length Y3 after the second machining operation. Therefore, the control device 15 receives the three lengths Y1, Y2, and Y3, as shown on the reception screen 73 in FIG. 7.
[0049] For example, based on user operation, the control device 15 uses the contact detection device 65 to set the reference position P1 and reference distance L1 required for other position names Nos. 1, 3, 4, 5, 6, similar to the above-mentioned position name No. 2. Furthermore, as shown in FIG. 7, the control device 15 accepts three lengths Y1, Y2, and Y3 as input values. The control device 15 may accept the length values themselves for the three lengths Y1, Y2, and Y3 as input values, or may accept the difference in length. For example, the control device 15 may accept the unprocessed length Y1 and the difference in length resulting from each processing step. For example, the control device 15 performs correction using the unprocessed length Y1 for position names Nos. 1 and 2, the length Y2 after the first processing step for position names Nos. 3 and 4, and the length Y3 after the second processing step for position names Nos. 5 and 6.
[0050] Therefore, in the position setting process, the control device 15 acquires, for example, the length Y1 of the workpiece W before machining as a first input value, the length Y2 of the workpiece W after machining by the left-side machining device 11L as a second input value, and the length Y3 of the workpiece W after machining by the right-side machining device 11R as a third input value. The control device 15 sets the transfer position P6 when transferring the workpiece W to the left-side machining device 11L based on the length Y1. The control device 15 also sets the transfer position when transferring the workpiece W to the right-side machining device 11R based on the length Y2. The control device 15 also sets the transfer position when transferring the workpiece W to the stocker device 9 based on the length Y3. As a result, similar to the transfer from the first gripper 52 to the left-side spindle device 12L described above, each transfer position can be set while correcting for component assembly errors, allowing for accurate transfer.
[0051] FIG. 8 illustrates an example in which a workpiece W is transferred between the head 51 and the stocker device 9. The pallet 10 in FIG. 8 is located at the work position of the stocker device 9. The pallet 10 of the stocker device 9 is provided with, for example, multiple positioning pins 10A. The workpiece W placed on the upper surface of the pallet 10 is placed with its axial direction aligned in the vertical direction by the multiple positioning pins 10A. The head 51 transfers the workpiece W to and from the pallet 10, for example, at a fourth rotation position RP4 in which the first gripper 52 faces downward. In this case, the control device 15 corrects the X coordinate in the X direction. As shown in the upper diagram of FIG. 8, the control device 15 sets a reference position P1 in the X direction based on the position of the head 51 when the contact detection device 65 held by the head 51 is brought into contact with, for example, the upper surface of the pallet 10. For example, the control device 15 receives the length of the unprocessed workpiece W (length Y1 of position name No. 1 on the reception screen 73) as the length of the workpiece W when it is received by the head 51 from the pallet 10. The control device 15 also receives the length after the second processing (length Y3 of position name No. 6 on the reception screen 73) as the length when the workpiece W is delivered to the pallet 10. Then, the control device 15 calculates the distance L3 and the correction distance L6 in the X direction based on the received lengths Y1 and Y3, and corrects the X coordinate of the delivery position P6 of the position names No. 1 and No. 6.
[0052] Therefore, the control device 15 can set the transfer position P6 for various cases, such as the transfer of an unmachined workpiece W, the transfer of a machined workpiece W, the transfer of a workpiece W from the head 51 to a counterpart device, and the reception of a workpiece W from the counterpart device to the head 51. By receiving the lengths Y1 to Y3 of three types of workpiece W as input values, the control device 15 can accurately correct the transfer position P6 using the correction distance L6 based on each length Y1 to Y3 and the reference position P1, as in the case of FIG. 6 described above. The user can change the transfer position of each position by changing each length Y1 to Y3.
[0053] Furthermore, with the above-described configuration, the same reference position P1 and reference distance L1 can be used for different types of workpieces W. Even if the type of workpiece W is different, the distance between the left spindle unit 12L and the head 51 merely varies depending on the length of the workpiece W, and the same reference position P1 can basically be reused. For example, the user inputs the length of the workpiece W to be machined next on the reception screen 73 each time a changeover is performed to change the workpiece W to be machined. The control device 15 uses the same reference position P1 when setting the transfer position P6 for transferring a given workpiece W from the head 51 to a partner device and when setting the transfer position P6 for a workpiece W of a different type from the given workpiece W. With this configuration, even when a changeover is performed, it is not necessary to perform the reference position setting process using the contact detection device 65 again. This reduces the work time associated with the changeover and improves production efficiency. The reference position setting process using the contact detection device 65 may also be performed each time a changeover is performed.
[0054] Incidentally, the stocker device 9 is an example of a counterpart device or a stand. The left spindle device 12L is an example of a counterpart device or a first spindle device. The right spindle device 12R is an example of a counterpart device or a second spindle device. The left turret 13L is an example of a first processing device. The right turret 13R is an example of a second processing device. The work transport device 14 is an example of a robot. The tool spindle device 21 is an example of a first and second processing device. The first jaw member 57 and the second jaw member 58 are examples of holding members. The lengths Y1, Y2, and Y3 are examples of a first input value, a second input value, and a third input value.
[0055] As described above, the present embodiment provides the following effects. In one aspect of the present embodiment, the control device 15 brings the contact detection device 65 held by the head 51 into contact with the left spindle device 12L, and sets a reference position P1 of the head 51 at the time of contact based on the contact detection signal SI obtained from the contact detection device 65. This makes it possible to set the reference position P1 taking into account errors in the assembly accuracy of parts such as the head 51. The control device 15 then obtains the length L2 of the workpiece W as an input value, and sets a delivery position P6 for when the workpiece W is delivered from the head 51 to the left spindle device 12L based on the input value and the reference position P1. This eliminates the need to provide a sensor or the like in the mating device, and allows the delivery position P6 to be set with high accuracy based on the measurement results while simplifying the entire machine tool 1.
[0056] It goes without saying that the present disclosure is not limited to the above-described embodiments, and various improvements and modifications are possible within the scope of the present disclosure. For example, in the above embodiment, the machine tool 1 may be configured to include (permanently install) the contact detection device 65. For example, the contact detection device 65 may be permanently installed on a table for the workpiece W or on a station for placing tools. In this case, the control device 15 may retrieve the contact detection device 65 using the workpiece transport device 14 when measurement or the like is required, and perform the measurement. Alternatively, as shown by the dashed line in Fig. 5, contact detection device 165 may be attached to head 51. Contact detection device 165 may be configured, for example, to enable stylus 65A to be extended and retracted, and may be configured to cause stylus 65A to protrude forward beyond first claw member 57 during measurement under the control of control device 15. Furthermore, contact detection device 165 may be configured to store stylus 65A within support member 56 when measurement is not being performed and is not required. In this way, machine tool 1 may be provided with contact detection device 165 as part of the device. Furthermore, the configuration of the head 51 in the above embodiment is one example. For example, although the second gripping portion 53 has the same structure as the first gripping portion 52, it may have a different structure. The number of second claw members 58 may be greater than the number of first claw members 57. Furthermore, although the first and second gripping portions 52, 53 are provided at positions rotated 180 degrees, this is not limiting. For example, the second gripping portion 53 may be provided at a position rotated 90 degrees from the first gripping portion 52. Furthermore, the head 51 may include only the first gripping portion 52, and not the second gripping portion 53.
[0057] Furthermore, the master workpiece 63 does not have to be used when setting the reference position shown in FIG. 6 . For example, the reference position P1 may be set by bringing the contact detection device 65 into contact with the center of the face of the left spindle unit 12L facing the head 51 (the center surrounded by multiple child jaws 67, a position on the spindle 69). Therefore, in the above embodiment, the master workpiece 63 is used as the component of the mating device with which the contact detection device 65 comes into contact, but this is not limited thereto. For example, if the left spindle unit 12L has a stopper that seats the workpiece W and grips the workpiece W between it and the child jaws 67, the component with which the contact detection device 65 comes into contact may be the stopper. Furthermore, if the left spindle unit 12L has a master jaw that is arranged opposite the child jaws 67 and grips the workpiece W between it and the child jaws 67, the component with which the contact detection device 65 comes into contact may be the master jaw. Furthermore, if the chuck of the left spindle unit 12L is a collet chuck, the component with which the contact detection device 65 comes into contact may be the collet chuck. Furthermore, the mating devices are not limited to the left and right spindle devices 12L, 12R and the stocker device 9, but may also be, for example, a workpiece inversion device that inverts the orientation of the workpiece W, a temporary table on which the machined workpiece W is placed so that the user can check it, or a discharge chute that discharges defectively machined workpieces W. Furthermore, although the machine tool 1 is provided with a plurality of mating devices (the left and right spindle devices 12L, 12R, and the stocker device 9) as the mating devices of the present disclosure, it may also be configured to have only one mating device (for example, only one spindle device). The control device 15 may execute the reference position setting process for each different type of workpiece W. The robot in the present disclosure is not limited to the gantry-type loader described above, but may also be an articulated robot. The left and right machining devices 11L, 11R are not limited to lathes with two opposing axes, but may be lathes with two parallel axes. The left and right machining devices 11L, 11R may be various types of devices, such as a horizontal lathe, a face lathe, a vertical lathe, a machining center, a milling machine, or a drill press. [Explanation of symbols]
[0058] 1 machine tool, 9 stocker device (counter device, stand), 12L left spindle device (counter device, first spindle device), 12R right spindle device (counter device, second spindle device), 13L left turret (first processing device), 13R right turret (second processing device), 14 workpiece transport device (robot), 15 control device, 21 tool spindle device (first and second processing devices), 57 first jaw member (holding member), 58 second jaw member (holding member), 63 master workpiece, 65 contact detection device, 69 spindle, L2 length, P1 reference position, P3 origin position, P6 delivery position, SI contact detection signal, Y1 length (first input value), Y2 length (second input value), Y3 length (third input value), W workpiece.
Claims
1. a contact detection device; a robot having a holding member, which holds a workpiece with the holding member and transports the workpiece; a counterpart device that receives the workpiece from the robot; a control device; Equipped with The contact detection device outputting a contact detection signal corresponding to the contact to the control device; The control device a reference position setting process for controlling the robot to bring the contact detection device into contact with the counterpart device, acquiring a contact detection signal from the contact detection device when contact with the counterpart device is detected, and setting the position of the robot at the time of contact as a reference position based on the acquired contact detection signal; a position setting process for acquiring the length of the workpiece as an input value, and setting a transfer position, which is a position of the robot when transferring the workpiece having the length of the input value from the robot to the partner device, based on the acquired input value and the reference position; Run The contact detection device a touch probe that transmits the contact detection signal to the control device by wireless communication while being held by the holding member of the robot; the control device In the reference position setting process, the reference position is set based on the position of the robot at the time when the contact detection device outputs the contact detection signal when the contact detection device is brought into contact with the counterpart device.
2. a robot having a holding member, which holds a workpiece with the holding member and transports the workpiece; a counterpart device that receives the workpiece from the robot; a control device; Equipped with The robot The holding member can hold the contact detection device, The contact detection device outputting a contact detection signal corresponding to the contact to the control device; The control device a reference position setting process in which the robot is moved while the contact detection device is held by the holding member of the robot, the contact detection device is brought into contact with the counterpart device, a contact detection signal is acquired from the contact detection device when contact with the counterpart device is detected, and the position of the robot at the time of contact is set as a reference position based on the acquired contact detection signal; a position setting process for acquiring the length of the workpiece as an input value, and setting a transfer position, which is a position of the robot when transferring the workpiece having the length of the input value from the robot to the counterpart device, based on the acquired input value and the reference position; The contact detection device a touch probe that transmits the contact detection signal to the control device by wireless communication while being held by the holding member of the robot; the control device In the reference position setting process, the reference position is set based on the position of the robot at the time when the contact detection device outputs the contact detection signal when the contact detection device is brought into contact with the counterpart device.
3. The control device 3. The machine tool according to claim 1, wherein in the reference position setting process, the reference position is set using an origin position of the counterpart device as a reference.
4. the control device 3. A machine tool as described in claim 1 or claim 2, wherein in the position setting process, the input values are acquired for each type of workpiece, and the same reference position is used when setting the transfer position when transferring any of the workpieces from the robot to the other device and when setting the transfer position when transferring a workpiece of a different type from the any of the workpieces from the robot to the other device.
5. a plurality of the counterpart devices; The plurality of counterpart devices a first spindle unit and a second spindle unit that hold and rotate the workpiece; a table on which the workpiece can be placed; Including, The machine tool comprises: a first machining device that performs machining on the workpiece held by the first spindle device; a second machining device that performs machining on the workpiece held by the second spindle device; Equipped with The stand is The workpiece can be placed on the worktable after processing by the first processing device and the second processing device is completed, the control device 3. A machine tool according to claim 1 or claim 2, wherein in the position setting process, the length of the workpiece before machining is acquired as a first input value, the length of the workpiece after machining is completed by the first machining device as a second input value, and the length of the workpiece after machining is completed by the second machining device as a third input value, and the transfer position when transferring the workpiece to the first machining device is set based on the first input value, the transfer position when transferring the workpiece to the second machining device is set based on the second input value, and the transfer position when transferring the workpiece to the table is set based on the third input value.
6. The other device is a spindle device that holds the workpiece and rotates the workpiece around a spindle, the control device 3. The machine tool according to claim 1, wherein in the position setting process, a length of the workpiece along the spindle while the workpiece is held by the spindle device is acquired as the input value, and the transfer position in a direction parallel to the spindle is set based on the acquired input value and the reference position.
Citation Information
Patent Citations
Industrial robot
JP1990243285A
Workpiece conveying method
JP1991213241A
Position error detection method for robot and device therefor
JP1998301609A
Work conveying device
JP1999333672A
Loader control equipment
JP2002187041A