Machine tool systems
The machine tool system detects abnormalities in the axial direction of bar stock by monitoring the feed arrow's movement, preventing damage and inefficiencies by stopping the process or retrying operations.
Patent Information
- Application Number
- JP2022160309
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-10-04
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-10-04
AI Technical Summary
Conventional machine tool systems fail to detect abnormalities in the axial direction of bar stock until after one processing cycle is completed, leading to potential damage or inefficiencies.
A machine tool system with an abnormality determination unit that monitors the movement of a feed arrow in the axial direction to detect abnormalities early, allowing for immediate corrective actions such as stopping the process, retrying the operation, or separating defective products.
Early detection of abnormalities prevents damage to the machine tool system and reduces wasteful processing by stopping unnecessary machining and conserving material.
Smart Images

Figure 0007957429000001 
Figure 0007957429000002 
Figure 0007957429000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a machine tool system including a spindle capable of gripping and rotating a bar material. [Background Art]
[0002] Conventionally, some machine tool systems include a processing device provided with a processing tool and a spindle, and a bar feeder for supplying a long bar material to the processing device (for example, see Patent Document 1). The spindle of the processing device grips the bar material in a releasable manner and rotates. The spindle is configured to be movable in the axial direction of the bar material both when gripping the bar material and when releasing the grip. There is also a spindle-fixed type processing device in which the spindle is fixed to a base serving as a foundation. The processing device incorporates an NC device. The NC device controls the operations of a tool post to which the processing tool is attached, the spindle, and the like in accordance with a processing program (NC program) created by an operator of the processing device or the like, or an input operation using an operation panel provided on the processing device. The NC device controls the operations of the tool post and the spindle in accordance with the processing program, so that the tip portion of the bar material is processed into a desired shape, and the processed portion is cut off. In many cases, the bar material is gripped by the spindle from the start of processing by the processing tool until the processed portion is cut off. When the processed portion is cut off, the processing device re-grips the bar material. In the re-gripping, after the grip by the spindle is released and the spindle moves to the rear end side of the bar material, the spindle grips the bar material again. By repeating the processing by the processing tool and the re-gripping of the bar material for a plurality of cycles, a plurality of products corresponding to the number of cycles are manufactured from one bar material. When manufacturing a product having a length exceeding the movable distance of the spindle, a re-gripping operation may be included in one cycle.
[0003] The material feeder is installed alongside the processing device, but closer to the rear end of the bar stock. The material feeder consists of a feed arrow and a feed arrow drive mechanism that moves the feed arrow in the axial direction of the bar stock. The feed arrow has a finger chuck at its tip. The finger chuck grips the rear end of the bar stock, thereby connecting the feed arrow to the bar stock. The feed arrow drive mechanism then pushes the feed arrow toward the front end of the bar stock, supplying the bar stock fed into the material feeder to the processing device. While the processing device is performing machining, the feed arrow biases the bar stock from the rear end toward the front end with a predetermined load. This load is set to a relatively weak load that prevents slippage between the bar stock and the spindle when the spindle is gripping the bar stock. [Prior art documents] [Patent Documents]
[0004] [Patent Document 1] Japanese Patent Publication No. 2005-313267 [Overview of the project] [Problems that the invention aims to solve]
[0005] Conventionally, in machine tool systems equipped with a processing device and a material feeder, each device independently determined whether various abnormalities had occurred. Regarding abnormalities in the axial direction of the bar stock, some systems store the processing length in one cycle in the material feeder and compare whether that processing length matches the distance the feed arrow traveled before and after processing in one cycle to determine whether an abnormality occurred during processing. However, this determination method had the problem that it could not determine the occurrence of an abnormality until after processing in one cycle was completed.
[0006] This invention has been made in view of the above-mentioned problems, and aims to provide a machine tool system that can detect the occurrence of an abnormality at an early stage. [Means for solving the problem]
[0007] The machine tool system of the present invention, which solves the above problems, A main shaft that can grip and rotate a rod material in a manner that allows for release of the grip, A feed arrow biases the rod from the rear end toward the tip and moves together with the rod in the axial direction of the rod, The system is characterized by comprising an abnormality determination unit that determines whether or not an abnormality has occurred by monitoring the movement of the aforementioned feed arrow in the axial direction.
[0008] According to this machine tool system, the abnormality detection unit can detect the occurrence of an abnormal position in the axial direction early by monitoring the movement of the feed arrow in the axial direction.
[0009] Here, the machine tool system may include a feed arrow positioning unit that grasps the axial position of the feed arrow. The feed arrow may have a finger chuck detachably connected to the rear end of the bar stock. The spindle is movable in the axial direction of the bar stock, and the abnormality determination unit may determine whether an abnormality has occurred by monitoring the movement of the feed arrow in the axial direction in relation to the movement of the spindle in the axial direction. Note that the movement of the feed arrow in the axial direction in relation to the movement of the spindle in the axial direction includes the case where neither the spindle nor the feed arrow is moving. Furthermore, the abnormality determination unit may determine whether an abnormality has occurred at any time during machining, or at any time when gripping is changed. In addition, the abnormality determination unit may start the abnormality determination operation in response to a determination start command described in the machining program, and end the abnormality determination operation in response to a determination end command described in the machining program. In that case, the abnormality detection unit may repeatedly perform the detection from the start to the end of the detection operation.
[0010] In this machine tool system, The aforementioned main shaft is movable in the axial direction, The abnormality determination unit may determine that a first abnormality has occurred when the distance traveled by the main shaft and the distance traveled by the feed arrow are different while the main shaft is gripping the rod.
[0011] If the first abnormality occurs, the tip of the bar material will be processed into an unintended shape, and continuing the process may place excessive stress on the processing tool or damage the machine tool system. In contrast, this machine tool system can detect the occurrence of the first abnormality simultaneously, thus preventing excessive load on the processing tool and damage to the machine tool system.
[0012] Here, the machine tool system comprises a movable tool post to which a machining tool for processing the tip portion of the bar stock is attached, and a machine control unit that controls the operation of the tool post and the spindle, wherein the machine control unit may stop the tool post and the spindle when the abnormality detection unit determines that the first abnormality has occurred. By stopping them, it is possible to reliably prevent excessive stress on the machining tool and damage to the machine tool system that may occur if machining continues. Stopping the tool post and the spindle may also include moving at least one of the tool post or the spindle until it is in a safe state before stopping. The abnormality detection unit may determine that the first abnormality has occurred when the distance traveled by the spindle and the distance traveled by the feed arrow differ when the spindle moves in the axial direction. Alternatively, the abnormality detection unit may determine that the first abnormality has occurred when the distance traveled by the spindle and the distance traveled by the feed arrow differ when the spindle is gripping the bar stock and machining the bar stock.
[0013] Furthermore, in this machine tool system, A cutting tool for processing the tip portion of the aforementioned rod material is attached to a tool post that is movable in a direction perpendicular to the axial direction, The system comprises the tool post and a mechanical control unit that controls the movement of the spindle, The machine control unit may, when the abnormality determination unit determines that the first abnormality has occurred, execute a first retry process which involves cutting off the processed portion of the bar material and restarting the processing of the tip portion of the bar material.
[0014] By executing the first retry process, the risk of the machining process stopping can be reduced. In addition, by separating the machined portion when the first abnormality occurs, it is possible to prevent wasted machining time and energy consumption related to unnecessary machining, as well as to suppress the wasteful use of bar material.
[0015] Furthermore, in this machine tool system, A cutting tool for processing the tip portion of the aforementioned rod material is attached to a tool post that is movable in a direction perpendicular to the axial direction, A transfer member capable of transporting the cut portion that has been processed by the processing tool and separated from the rod material, The machine control unit controls the operation of the tool post, the spindle, and the transfer member, It is equipped with a defective product receiving section for receiving defective products, The machine control unit may, when the abnormality determination unit determines that the first abnormality has occurred, detach the processed portion of the bar material and discharge it to the defective product receiving unit.
[0016] When the first abnormality occurs, the processed portion is discharged to the defective product receiving section, preventing defective products from being mixed with good products. In addition, by separating the processed portion when the first abnormality occurs, it is possible to prevent wasted processing time and energy consumption related to unnecessary processing, as well as to suppress the wasteful use of bar material.
[0017] Here, the transfer member may transfer the cut portion, which has been processed using the spindle without the first abnormality occurring, to a predetermined position.
[0018] In addition, in this machine tool system, The machine includes a control unit that controls the movement of the main spindle, The abnormality determination unit may be configured to determine that a second abnormality has occurred when the feed finger moves in association with the movement of the spindle in the axial direction in a state where the machine control unit causes the spindle to release the gripping of the bar material.
[0019] By doing so, it is possible to early determine that an abnormality has occurred when the spindle regrips the bar material. Here, the abnormality determination unit may be configured to determine that the second abnormality has occurred when the feed finger moves in association with the movement of the spindle in the axial direction during the regripping operation.
[0020] Furthermore, in this machine tool system, The machine control unit may be configured to execute a second retry process including a gripping operation and a gripping release operation of the spindle when the abnormality determination unit determines that the second abnormality has occurred.
[0021] The second retry process can reduce the risk of processing being stopped.
[0022] Further, in this machine tool system, A tool post, to which a processing tool for processing a tip end portion of the bar material is attached, is provided to be movable in a direction orthogonal to the axial direction, The spindle is fixed so as to be immovable in the axial direction, The abnormality determination unit may be configured to determine that a third abnormality has occurred when the feed finger moves in a state where the spindle grips the bar material.
[0023] When the third abnormality has occurred, since the tip end portion of the bar material has been processed into an unintended shape, there is a risk that an excessive load is applied to the processing tool or the machine tool system is damaged if the processing is continued. On the other hand, in this machine tool system, since the determination can be made at the same time as the occurrence of the third abnormality, it is possible to prevent an excessive load on the processing tool and damage to the machine tool system. Further, in this machine tool system, The tool post and the machine control unit that controls the movement of the spindle, The system includes a feeder arrow control unit that controls the operation of the feeder arrow, The machine control unit may, when the abnormality determination unit determines that the third abnormality has occurred, execute a third retry process in which it cuts off the processed portion of the bar material and restarts processing of the tip portion of the bar material.
[0024] By executing the third retry process, the risk of the machining process stopping can be reduced. In addition, by separating the machined portion when the third abnormality occurs, it is possible to prevent wasted machining time and energy consumption related to unnecessary machining, as well as to suppress the wasteful use of bar material.
[0025] In addition, in this machine tool system, A cutting tool for processing the tip portion of the aforementioned rod material is attached to a tool post that is movable in a direction perpendicular to the axial direction, The tool post and the machine control unit that controls the movement of the spindle. The system includes a feeder arrow control unit that controls the operation of the feeder arrow, The main shaft is fixed so as not to move in the axial direction. The abnormality determination unit may determine that a fourth abnormality has occurred when the machine control unit has released the grip of the rod from the main spindle, and the feed arrow control unit attempts to advance the feed arrow but the feed arrow does not move.
[0026] This allows for early detection of any abnormalities that occur when repositioning the rod.
[0027] Furthermore, in this machine tool system, The machine control unit may, when the abnormality determination unit determines that the fourth abnormality has occurred, cause the machine control unit to execute a fourth retry process, which includes gripping and releasing operations of the spindle.
[0028] The fourth retry process reduces the risk of the process stopping. [Effects of the Invention]
[0029] According to the present invention, it is possible to provide a machine tool system that can detect the occurrence of an abnormality at an early stage. [Brief explanation of the drawing]
[0030] [Figure 1] This is a front view of the lathe system according to this embodiment. [Figure 2] Figure 1 is a simplified plan view showing the internal configuration of the lathe system. [Figure 3] This block diagram shows the hardware configuration of the lathe system shown in Figure 1. [Figure 4] Figure 1 is a functional block diagram showing the functional configuration of the lathe system. [Figure 5] This is a flowchart showing the first monitoring operation of the lathe system shown in Figure 1. [Figure 6] This is a flowchart showing the second monitoring operation of the lathe system shown in Figure 1. [Figure 7] This is a flowchart showing the second monitoring operation of the lathe system shown in Figure 1. [Figure 8] This is a simplified plan view showing the internal configuration of the lathe system according to the second embodiment. [Figure 9] This is a flowchart showing the third monitoring operation of the lathe system shown in Figure 8. [Figure 10] This is a flowchart showing the fourth monitoring operation of the lathe system shown in Figure 8. [Modes for carrying out the invention]
[0031] Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, the present invention will be described using an example in which it is applied to a lathe system equipped with an NC lathe and a material feeder.
[0032] Figure 1 is a front view of the lathe system according to this embodiment.
[0033] As shown in Figure 1, the lathe system 1 of this embodiment comprises an NC lathe 2, which is a machining device, and a material feeder 4, which is a material supply device. This lathe system 1 corresponds to an example of a machine tool system. The NC lathe 2 of this embodiment is a so-called Swiss-type lathe. The NC lathe 2 comprises a cutting chamber 22, a spindle chamber 23, and a lathe operation panel 24. The cutting chamber 22 is a room in which a space for machining the tip portion of a bar stock W (see Figure 2) is formed, and is located on the right side of the NC lathe 2 when viewed from the front. The spindle chamber 23 is a room in which the spindle 25 (see Figure 2) is located, and is located on the left side of the NC lathe 2 when viewed from the front.
[0034] The lathe operation panel 24 includes a lathe operation unit 241 and a lathe display screen 242. The lathe operation unit 241 consists of multiple buttons, keys, etc., that accept input operations from the operator of the lathe system 1. The lathe operation unit 241 may also be a touch panel integrated with the lathe display screen 242. The operator of the lathe system 1 can store machining programs created using the lathe operation unit 241 or an external computer in the storage unit 203 (see Figure 3), which will be described later. The operator of the lathe system 1 can also modify the machining program using the lathe operation unit 241 and store the modified machining program in the storage unit 203. Furthermore, the operator of the lathe system 1 can operate each component of the lathe system 1 individually or in conjunction with each other using the lathe operation unit 241. The lathe display screen 242 is a display that shows various information related to the lathe system 1, such as machining programs stored in the storage unit 203, various settings of the lathe system 1, and error details.
[0035] The material feeder 4 supplies long bar stock W (see Figure 2) to the NC lathe 2. The material feeder 4 is installed next to the NC lathe 2. The material feeder 4 stores multiple bar stocks W. The material feeder 4 feeds one of the stored bar stocks W toward the NC lathe 2. The material feeder 4 also pulls out and discharges the remaining material, which is the bar stock W shortened by machining, from the NC lathe 2. After discharging the remaining material, the material feeder 4 feeds one new bar stock W from the stored bar stock W toward the NC lathe 2. The material feeder 4 is equipped with a material feeder operation panel 42, which is an input device for operating the material feeder 4.
[0036] Figure 2 is a simplified plan view showing the internal configuration of the lathe system shown in Figure 1.
[0037] As shown in Figure 2, the NC lathe 2 comprises a spindle 25, a guide bush 26, a first tool post 27, a rear spindle 28, and a second tool post 29. The spindle 25, guide bush 26, first tool post 27, rear spindle 28, and second tool post 29 are positioned on legs that serve as a base. The spindle 25, first tool post 27, rear spindle 28, and second tool post 29 operate according to the machining program and inputs from the lathe operation panel 24 (see Figure 1).
[0038] The spindle 25 is movable in the Z1 axis direction. The spindle 25 moves in the Z1 axis direction together with the headstock, but the headstock is not shown in the diagram and its description is omitted. The Z1 axis direction is horizontal, and in Figure 2, it is the left-right direction. This Z1 axis direction corresponds to the axial direction of the bar stock W. The spindle 25 has a collet chuck 251 at its tip for gripping the bar stock W that passes through it in a way that allows for release. This collet chuck 251 is an example of a gripping part. The spindle 25 is rotatable about the spindle centerline CL while gripping the bar stock W. The direction of the spindle centerline CL coincides with the Z1 axis direction. Hereinafter, the movement of the spindle 25 toward the rear end of the bar stock W may be referred to as retraction.
[0039] The guide bush 26 is fixed to the base leg. The end face of the guide bush 26 opposite to the side where the spindle 25 is located is exposed into the cutting chamber 22 (see Figure 1). The guide bush 26 slidably supports the tip portion of the rod W that passes through the inside of the spindle 25 in the Z1 axis direction. The portion of the guide bush 26 that supports the rod W is rotatable around the spindle centerline CL in synchronization with the spindle 25. The tip portion of the rod W protruding from the guide bush 26 into the cutting chamber 22 is machined by the first tool T1 attached to the first tool post 27. This first tool T1 is an example of a machining tool. The guide bush 26 suppresses the deflection of the rod W during machining, so that particularly long and slender rods W can be machined with high precision by the NC lathe 2.
[0040] The first tool post 27 is movable in the X1 axis direction, which is perpendicular to the Z1 axis direction and oriented horizontally, and in the Y1 axis direction, which is oriented vertically. This first tool post 27 is an example of a tool post. In Figure 2, the vertical direction is the X1 axis direction, and the direction perpendicular to the plane of the paper is the Y1 axis direction. Multiple types of first tools T1, including cutting tools and parting tools, are mounted on the first tool post 27 in a comb-like arrangement along the Y1 axis direction. Rotary tools such as end mills and drills can also be mounted on the first tool post 27 as first tools T1. When the first tool post 27 moves in the Y1 axis direction, any first tool T1 is selected from these multiple types of first tools T1. Then, when the first tool post 27 moves in the X1 axis direction, the selected first tool T1 is gripped by the spindle 25 and used to cut into the tip of the bar stock W supported by the guide bush 26, or to cut off the processed portion of the bar stock W.
[0041] The rear spindle 28 is movable in the X2 axis direction and the Z2 axis direction. This rear spindle 28 is an example of a transfer member. The rear spindle 28 moves in the X2 axis direction and the Z2 axis direction together with the rear headstock, but the rear headstock is not shown in the diagram and its description is omitted. The X2 axis direction is the same direction as the X1 axis direction described above, and the Z2 axis direction is the same direction as the Z1 axis direction described above. The Z2 axis direction also corresponds to the axial direction of the rear spindle 28. Figure 2 shows the rear spindle 28 in a position facing the spindle 25 with the guide bush 26 in between. In this position, the rear spindle centerline, which is the rotation center of the rear spindle 28, is aligned with the spindle centerline CL. The direction of the rear spindle centerline coincides with the Z2 axis direction. The machined portion of the bar stock W, which has been processed using the spindle 25, is transferred to the rear spindle 28 after being cut off by the first tool T1 for parting off. Hereinafter, the separated processed portion will be referred to as the cut portion. The rear spindle 28 grips the cut portion received from the spindle 25 in a manner that allows for release. The rear spindle 28 also moves the gripped cut portion by moving in the X2 axis direction and the Z2 axis direction.
[0042] The second tool post 29 is movable in the Y2 axis direction. The second tool post 29 may also be configured to be movable in the X2 axis direction. The Y2 axis direction is the same direction as the Y1 axis direction described above. A second tool T2, such as a drill or end mill, for machining the cut portion is mounted on the second tool post 29. Multiple second tools T2 are mounted on the second tool post 29 in a row along the Y2 axis direction. By moving the second tool post 29 in the Y2 axis direction, any second tool T2 is selected from these multiple second tools T2. Then, by moving the rear spindle 28 in the X2 axis direction or the Z2 axis direction, the cut end of the cut portion held by the rear spindle 28 is machined. The cut portion with this machined end becomes a product manufactured by the lathe system 1. In some cases, machining using the rear spindle 28 is not performed. In that case, the cut portion becomes the product as is. The second tool post 29 is provided with a product receiving port 291 for receiving the product and a chute (not shown). The chute is located within the second tool post 29. After inserting the product into the product receiving port 291, the rear spindle 28 releases its grip and pushes the product into the chute using a cylinder provided on the rear spindle 28. The dropped product is transported to a predetermined position by a conveyor (not shown) and discharged into a product storage area located outside the lathe system 1.
[0043] At the lower end of the cutting chamber 22 (see Figure 1), there is a chip receiving section 221 for receiving chips and defective products generated by machining using the main spindle 25 and the back spindle 28. This chip receiving section 221 is an example of a defective product receiving section. When machining using the main spindle 25 is completed, the machined portion of the bar stock W is transferred to the back spindle 28 by the first tool T1 for parting off the machined portion, while the back spindle 28 and the main spindle 25, which are rotating synchronously with the main spindle 25 at a position opposite the main spindle 25, each grip the bar stock W. On the other hand, if the machined portion is separated when the back spindle 28 is not gripping the machined portion, the machined portion falls and is discharged into the chip receiving section 221.
[0044] In addition to the material feeder operation panel 42 (see Figure 1) described above, the material feeder 4 includes a feed arrow 44, a feed arrow drive mechanism 45, a feed arrow motor 46, a tip sensor 47, and a home sensor 48. The feed arrow 44 is guided to move freely in the Z1 axis direction by a guide (not shown). A finger chuck 441 for gripping the rear end of the bar stock W is provided at the tip of the feed arrow 44. This finger chuck 441 is rotatably mounted to the other parts of the feed arrow 44, so as to be rotatable about the spindle centerline CL as the axis of rotation. When the finger chuck 441 grips the rear end of the bar stock W, the feed arrow 44 is connected to the bar stock W. That is, while the finger chuck 441 grips the bar stock W, the feed arrow 44 moves together with the bar stock in the Z1 axis direction.
[0045] The feed arrow drive mechanism 45 consists of pulleys (not shown) provided at the front and rear ends of the material feeder 4, and a drive belt stretched across these pulleys. A connecting portion 451 is fixed to the drive belt. This connecting portion 451 connects the drive belt to the rear end portion of the feed arrow 44. The pulley provided at the rear end of the material feeder 4 is fixed to the output shaft of the feed arrow motor 46.
[0046] When the output shaft of the feed arrow motor 46 rotates in one direction, the feed arrow 44 moves along the Z1 axis toward the NC lathe 2 by the feed arrow drive mechanism 45 and the connecting part 451. Conversely, when the output shaft of the feed arrow motor 46 rotates in another direction, the feed arrow drive mechanism 45 and the connecting part 451 move the feed arrow 44 away from the NC lathe 2 along the Z1 axis. Among the multiple bar stocks W stored in the material feeder 4, the bar stock W whose axis coincides with the spindle centerline CL is gripped by the finger chuck 441. As the feed arrow 44 moves, the bar stock W gripped by the finger chuck 441 moves in the direction of its axis. That is, when the output shaft of the feed arrow motor 46 rotates in one direction, the bar stock W moves toward its tip, and when the output shaft of the feed arrow motor 46 rotates in another direction, the bar stock W moves toward its rear end. The feed arrow motor 46 has a feed arrow encoder 461. The feed arrow encoder 461 may be installed separately from the feed arrow motor 46. The feed arrow encoder 461 detects the rotational speed and amount of rotation of the feed arrow motor 46. The detection results from the feed arrow encoder 461 are transmitted to the second control device 40 (see Figure 3).
[0047] The tip sensor 47 detects the tip of the bar stock W. The origin sensor 48 detects whether the feed arrow 44 is located at the origin. The origin of the feed arrow 44 is located at the rearmost end of the feed arrow 44's range of motion. The detection results from the tip sensor 47 and the origin sensor 48 are transmitted to the second control device 40 (see Figure 3). The second control device 40 determines the position of the tip of the bar stock W before processing based on the detection results from the tip sensor 47 and the feed arrow encoder 461. The second control device 40 also determines the position of the feed arrow 44 based on the detection results from the origin sensor 48 and the feed arrow encoder 461. The feed arrow encoder 461 and the origin sensor 48 are examples of feed arrow position detection means.
[0048] Figure 3 is a block diagram showing the hardware configuration of the lathe system shown in Figure 1. Note that in Figure 3, components of the lathe system 1 that are less relevant to the present invention are omitted from the illustration, even if they are necessary for operating the components described above.
[0049] As shown in Figure 3, the NC lathe 2 includes a first control device 20, the lathe operation panel 24 described above, a Z1 axis motor 252, a spindle motor 253, a spindle actuator 254, an X2 axis motor 281, and a Z2 axis motor 282. The first control device 20 is a so-called NC (Numerical Control) device and includes a CPU 201, a PLC (Programmable Logic Controller) 202, and a memory unit 203. This first control device 20 is an example of a control device. The first control device 20 is a computer with calculation functions provided by the CPU 201. The first control device 20 controls the operation of each component, such as the spindle 25, first tool post 27, rear spindle 28, and second tool post 29 shown in Figure 2, according to the machining program stored in the memory unit 203 and input from the lathe operation panel 24. Figure 3 shows some of the motors and actuators that drive these components. The first control device 20 primarily performs numerical control on the servo motors installed in the NC lathe 2. The PLC 202, also part of the first control device 20, primarily performs sequence control on the operation of other equipment installed in the NC lathe 2, such as cylinders and valves. The storage unit 203 consists of non-volatile memory such as ROM, HDD, and SSD, and volatile memory such as RAM.
[0050] The Z1-axis motor 252 is a servo motor that rotates in response to commands from the first control device 20. As the Z1-axis motor 252 rotates, the spindle 25 (see Figure 2) moves in the Z1-axis direction. An amplifier (not shown) is provided between the first control device 20 and the Z1-axis motor 252, and the Z1-axis motor 252 is controlled by the first control device 20 transmitting commands to the amplifier. The amplifier will not be explained further below. The Z1-axis motor 252 has a Z1-axis encoder 2521. The output of the Z1-axis encoder 2521 is fed back to the first control device 20, so that the first control device 20 constantly knows the position of the spindle 25 (see Figure 2) in the Z1-axis direction. This Z1-axis encoder 2521 is an example of a spindle position detection means.
[0051] The spindle 25 (see Figure 2) is equipped with a spindle motor 253, such as a built-in motor. The spindle motor 253 rotates in response to a command from the first control device 20. As the spindle motor 253 rotates, the spindle 25 and the bar stock W (see Figure 2) gripped by the spindle 25 rotate around the spindle centerline CL (see Figure 2). Note that, similar to the spindle 25, the rear spindle 28 is also equipped with a rear spindle motor, but this will not be explained. The spindle actuator 254 is an actuator such as a hydraulic cylinder for operating the collet chuck 251 (see Figure 2). When the chuck sleeve (not shown) moves toward the tip side by the spindle actuator 254, the collet chuck 251 closes and the bar stock W is gripped by the spindle 25. Also, when the chuck sleeve moves toward the rear end, the collet chuck 251 opens and the grip of the bar stock W by the spindle 25 is released.
[0052] The X2-axis motor 281 is a servo motor that rotates in response to a command from the first control device 20. When the X2-axis motor 281 rotates, the rear main shaft 28 (see Figure 2) moves in the X2-axis direction. Similarly, the Z2-axis motor 282 is a servo motor that rotates in response to a command from the first control device 20. When the Z2-axis motor 282 rotates, the rear main shaft 28 moves in the Z2-axis direction. Encoders (not shown) are also provided on the X2-axis motor 281 and the Z2-axis motor 282.
[0053] In addition to the aforementioned feeding machine operation panel 42, feed motor 46, tip sensor 47, and origin sensor 48, the feeding machine 4 also has a second control device 40. The second control device 40 is a control device that performs sequence control for each component of the feeding machine 4. The second control device 40 controls the operation of the feed motor 46 and actuators (not shown) provided on the feeding machine 4 based on information received from each sensor and the feed encoder 461, etc. Furthermore, the second control device 40 controls the operation of the feeding machine 4 in response to operation requests from the first control device 20.
[0054] The feed arrow motor 46 is a servo motor that rotates in response to commands from the second control device 40. As the feed arrow motor 46 rotates, the feed arrow 44 (see Figure 2) moves in the Z1 axis direction. As described above, the second control device 40 constantly monitors the position of the feed arrow 44 in the Z1 axis direction by determining the distance the feed arrow 44 has traveled from its origin using the detection results of the origin sensor 48 and the feed arrow encoder 461, and transmits this information to the first control device 20 as information related to the material feeder 4. The second control device 40 also transmits to the first control device 20 the position in the Z1 axis direction of the tip of the newly supplied bar stock W and the tip of the bar stock W that was first sent to the NC lathe 2 after power-up. After the NC lathe 2 starts machining, until the withdrawal of the remaining material begins, the second control device 40 controls the feed arrow motor 46 to rotate in one direction with basically a constant torque. As a result, the bar stock W is biased toward the tip side by the feed arrow 44 with a set load. This load is set to a relatively weak load that does not pose a risk of slippage between the rod W and the main shaft 25 when the main shaft 25 is gripping the rod W.
[0055] The material feeder control panel 42 is a touch panel that integrates the control unit and display screen. In addition to the material feeder control panel 42, the material feeder 4 is also equipped with an emergency stop button and a torque setting switch for the feeder motor 46. The operator of the lathe system 1 can use the material feeder control panel 42 to manually move the feeder 44 (see Figure 2) in the Z1 axis direction and input various settings for the material feeder 4. The material feeder control panel 42 also displays various information about the material feeder 4, such as various settings and error details, as well as the operation buttons for the material feeder 4.
[0056] The first control unit 20 and the second control unit 40 are connected by a signal cable. The first control unit 20 transmits operation requests and other information to the second control unit 40 via the signal cable. The second control unit 40 also transmits various information regarding the material feeder 4, including the position information of the feed arrow 44, to the first control unit 20 via the signal cable as needed.
[0057] Figure 4 is a functional block diagram showing the functional configuration of the lathe system shown in Figure 1. Note that in Figure 4, only the functional configurations particularly relevant to the present invention are shown; other functional configurations of the lathe system 1 are omitted from the illustration and description.
[0058] As shown in Figure 4, the first control device 20 comprises a machine control unit 20a and an abnormality detection unit 20b. The machine control unit 20a has a functional configuration mainly achieved by the CPU 201, PLC 202, and storage unit 203 shown in Figure 3. The abnormality detection unit 20b also has a functional configuration mainly achieved by the CPU 201 and storage unit 203. The second control device 40 comprises a feed arrow control unit 40a and a feed arrow position tracking unit 40b.
[0059] The machine control unit 20a controls the operation of each component of the NC lathe 2. The machine control unit 20a may also send operation requests and information transmission requests to the second control device 40. The abnormality detection unit 20b determines whether or not an abnormality has occurred in the lathe system 1 by monitoring the movement of the feed arrow 44 in the Z1 axis direction.
[0060] The feed arrow control unit 40a has a functional configuration that controls the operation of the feed arrow motor 46 and other components according to the outputs from various sensors provided on the material feeder 4, the input from the material feeder operation panel 42, and the operation requests from the first control device 20. The feed arrow position determination unit 40b determines the rear end position of the feed arrow 44 (see Figure 2) by calculating the position of the feed arrow 44 in the Z1 axis direction from the origin sensor 48 using the detection result of the origin sensor 48 and the detection result of the feed arrow encoder 461. Length information of the feed arrow 44 (see Figure 2) is stored in a memory (not shown) of the second control device 40. The feed arrow position determination unit 40b also determines the tip position of the feed arrow 44 by adding the length of the feed arrow 44 to the rear end position of the feed arrow 44.
[0061] Figure 5 is a flowchart showing the first monitoring operation of the lathe system shown in Figure 1. The first monitoring operation shown in Figure 5 is an operation that is mainly performed by the machine control unit 20a and the abnormality determination unit 20b shown in Figure 4 controlling the operation of the lathe system 1. In detail, the machine control unit 20a and the abnormality determination unit 20b perform calculations and determinations related to this operation based on the program stored in the memory unit 203. Then, based on the calculation results and determination results, the machine control unit 20a controls the operation of each component of the NC lathe 2 and also sends operation requests to the second control device 40.
[0062] The first monitoring operation is initiated when a command instructing the first monitoring operation, as described in the machining program, is executed. This command instructing the first monitoring operation is an example of a judgment start command. The first monitoring operation is a monitoring operation used when machining with the spindle 25. In the first monitoring operation, first, the machine control unit 20a sets the first counter C1 stored in the memory unit 203 to 0 (S11). Then, the abnormality determination unit 20b monitors whether the movement distance of the spindle 25 and the movement distance of the feed arrow 44 match when the spindle 25 is gripping the bar stock W, based on the gripping information and position information of the spindle 25 that it has obtained and the position information of the feed arrow 44 received from the feed arrow position grasping unit 40b (step S12). This monitoring will be explained in more detail below. The abnormality determination unit 20b stores the position of the spindle 25 at a specific timing, such as before the spindle 25 starts moving, as the spindle reference position in the storage unit 203, and also stores the position of the feed arrow 44 at that timing as the feed arrow reference position in the storage unit 203. Then, when the spindle 25 is gripping the bar material W, the abnormality determination unit 20b calculates the position of the feed arrow 44 when it moves a distance from the feed arrow reference position that matches the distance the spindle 25 moves from the spindle reference position. Furthermore, the abnormality determination unit 20b compares the position information of the feed arrow 44 in the calculation result with the position information of the feed arrow 44 received from the feed arrow position grasping unit 40b to compare the distances moved by the spindle 25 and the feed arrow 44 and monitors whether they match. Note that the determination in step S12 may be performed only when the spindle 25 is moving. However, even when the spindle 25 is not moving, the machining load applied to the bar stock W may cause the bar stock W to move in the Z1 axis direction. Therefore, it is preferable to perform this operation whenever the spindle 25 is gripping the bar stock W, regardless of the movement of the spindle 25. The abnormality determination unit 20b determines that a first abnormality has occurred if their travel distances are different (NO in step S12). In addition, a threshold may be set for the difference in travel distances, and even if the travel distances do not perfectly match, the unit may be configured to determine that the travel distances match if the difference is within that threshold. Furthermore, in this configuration, it may be possible to specify or change the threshold using the lathe operation panel 24 or the NC program.Here, the movement of the main shaft 25 and the movement of the feed arrow 44 both refer to movement in the Z1 axis direction, and the same applies in the following explanation. Furthermore, the concepts of the movement distance of the main shaft 25 and the movement distance of the feed arrow 44 include the case where the movement distance is zero, i.e., no movement occurs.
[0063] The abnormality detection unit 20b determines whether the next command to be executed is a command to indicate the end of the first monitoring operation (step S13) if the travel distance of the feed arrow 44 matches the travel distance of the spindle 25 (YES in step S12). This command indicating the end of the first monitoring operation is an example of a determination termination command. If it is a command indicating the end of the first monitoring operation (YES in step S13), the first monitoring operation is terminated. If it is not a command indicating the end of the first monitoring operation (NO in step S13), the unit returns to step S12 and continues monitoring. By repeating steps S12 and S13, the determination in step S12 is performed as needed during machining. In addition, in step S13, instead of determining whether it is a command indicating the end of the first monitoring operation, the unit may determine whether the machining using the spindle 25 has been completed in one machining cycle, or whether a command to release the grip of the bar stock W by the spindle 25 has been executed. Here, one cycle refers to the period from when the spindle 25 releases its grip on the bar stock W and begins to re-grip the bar stock W, until the machined portion of the bar stock W is cut off. Furthermore, machining using the spindle 25 refers to a series of machining operations performed on the tip of the bar stock W while the spindle 25 is gripping the bar stock W. This series of machining operations includes parting off the machined portion.
[0064] If the travel distance of the feed arrow 44 and the travel distance of the spindle 25 do not match (NO in step S12), the machine control unit 20a determines whether the first retry function is enabled or disabled (step S14). The enable / disable status of the first retry function is specified in the command that instructs the first monitoring operation and is stored in the memory unit 203. Note that the enable / disable status of the first retry function may be specified separately from the command that instructs the first monitoring operation.
[0065] If the first retry function is enabled (YES in step S14), the machine control unit 20a rewrites the first counter C1 stored in the memory unit 203 to C1+1 (step S15). Then, it determines whether the rewritten first counter C1 is less than or equal to the first retry setting number (step S16). The first retry setting number is specified in the command that instructs the first monitoring operation and is stored in the memory unit 203. Note that the first retry setting number may be specified separately from the command that instructs the first monitoring operation.
[0066] If the first counter C1 is less than or equal to the first set number of retries (YES in step S16), the machine control unit 20a calculates the position of the spindle 25 to cut off the entire machined portion based on the difference in the travel distance of the spindle 25 and the travel distance of the feed arrow obtained as a result of monitoring in step S12, and the length of the machined portion that has already been machined at that point. Then, the machine control unit 20a moves the spindle 25 to that position and cuts off the machined portion using the first tool T1 for parting off (step S17). If the travel distance of the feed arrow 44 and the travel distance of the spindle 25 do not match, it means that slippage in the Z1 axis direction occurred between the bar stock W and the collet chuck 251 of the spindle 25 during machining. In that case, the machined portion that has been machined up to that point is a defective product with an unintended shape. In this step S17, the machined portion is cut off without the rear spindle 28 gripping the machined portion, so the cut-off machined part falls and is discharged into the chip receiving section 221. Subsequently, the machine control unit 20a executes the process again from the beginning of one cycle in the machining program (step S18). Steps S17 and S18 correspond to an example of the first retry process.
[0067] On the other hand, if the first retry function is disabled (NO in step S14) or if the first counter C1 exceeds the first retry setting (NO in step S16), the machine control unit 20a moves the first tool post 27 so that the first tool T1 is separated from the bar stock W, then stops the operation of each drive unit in the lathe system 1, such as the spindle 25, the first tool post 27, and the feed arrow 44, and displays on the lathe display screen 242 that there is a discrepancy between the distance traveled by the feed arrow 44 and the distance traveled by the spindle 25 (step S19). In step S19, the first control device 20 may stop the operation of each drive unit without moving the first tool post 27.
[0068] Figures 6 and 7 are flowcharts showing the second monitoring operation of the lathe system shown in Figure 1. The second monitoring operation shown in Figures 6 and 7, like the first monitoring operation, is mainly performed by the machine control unit 20a and the abnormality determination unit 20b shown in Figure 4. In detail, the machine control unit 20a and the abnormality determination unit 20b perform calculations and determinations related to this operation based on the program stored in the memory unit 203. Based on the calculation results and determination results, the machine control unit 20a controls the operation of each component of the NC lathe 2 and also sends operation requests to the second control device 40.
[0069] The second monitoring operation is initiated when a command instructing the second monitoring operation, as described in the machining program, is executed. This command instructing the second monitoring operation is an example of a judgment start command. The second monitoring operation is a monitoring operation used when the spindle 25 changes its grip on the bar stock W. In the second monitoring operation, first, the machine control unit 20a sets the second counter C2 stored in the memory unit 203 to 0 (step S31). Then, the abnormality determination unit 20b monitors whether the feed arrow 44 has moved in conjunction with the movement of the spindle 25 while the spindle 25 has released its grip on the bar stock W, based on the gripping information and position information of the spindle 25 that it has obtained, and the position information of the feed arrow 44 received from the feed arrow position tracking unit 40b (step S32). This monitoring will be explained in more detail below. The abnormality determination unit 20b stores the position of the feed arrow 44 at a predetermined timing before the spindle 25 starts moving in the storage unit 203, and monitors whether the feed arrow 44 has moved by comparing the stored position information of the feed arrow 44 with the position information of the feed arrow 44 received from the feed arrow position tracking unit 40b during the spindle 25 movement. The abnormality determination unit 20b then determines that a second abnormality has occurred if the feed arrow 44 has moved (NO in step S32). In addition, a threshold may be set for the travel distance of the feed arrow 44, and the system may be configured to determine that the feed arrow 44 has not moved if the travel distance is within that threshold, even if it is not exactly zero. Furthermore, in this configuration, the threshold may be specified or changed by the lathe operation panel 24 or the NC program.
[0070] If the feed arrow 44 has not moved (YES in step S32), the abnormality detection unit 20b determines whether the next command to be executed is a command to indicate the end of the second monitoring operation (step S33). This command indicating the end of the second monitoring operation is an example of a determination termination command. If it is a command indicating the end of the second monitoring operation (YES in step S33), the second monitoring operation is terminated. If it is not a command indicating the end of the second monitoring operation (NO in step S33), the process returns to step S32 and monitoring continues. In step S33, instead of determining whether it is a command indicating the end of the second monitoring operation, it may be determined whether the spindle 25 has retracted to the gripping position, or whether a command to cause the spindle 25 to grip the bar material W has been executed. By repeating steps S32 and S33, the determination in step S32 is performed as needed during gripping.
[0071] If the feed arrow 44 is moving (NO in step S32), the machine control unit 20a determines whether the second retry function is enabled or disabled (step S34). The enable / disable status of the second retry function is specified in the command that instructs the second monitoring operation and is stored in the memory unit 203. Note that the enable / disable status of the second retry function may be specified separately from the command that instructs the second monitoring operation.
[0072] If the second retry function is enabled (YES in step S34), the machine control unit 20a rewrites the second counter C2 stored in the memory unit 203 to C2+1 (step S35). Then, it determines whether the rewritten second counter C2 is less than or equal to the second retry setting number (step S36). The second retry setting number is specified in the command that instructs the second monitoring operation and is stored in the memory unit 203. Note that the second retry setting number may be specified separately from the command that instructs the second monitoring operation.
[0073] If the second counter C2 is less than or equal to the second retry setting (YES in step S36), the operations of steps S37 and S38 described below are performed to check whether the components related to opening and closing the collet chuck 251, such as the opening and closing mechanism of the collet chuck 251 and the spindle actuator 254, and the components related to the feed arrow 44, such as the feed arrow drive mechanism 45 and the feed arrow encoder 461, are malfunctioning. If the components related to opening and closing the collet chuck 251 or the components related to the feed arrow 44 are not malfunctioning, the spindle 25 will perform the intended operation even if it is moved in the Z1 axis direction while the spindle 25 is gripping the bar stock W, so no problem occurs. However, if there is a malfunction, when the spindle 25 is moved while the machine control unit 20a has commanded the spindle 25 to grip, a misalignment may occur in the Z1 axis direction movement between the spindle 25 and the bar stock W, causing the bar stock W to move unexpectedly and potentially colliding with the components of the NC lathe. Therefore, before moving the spindle 25 a long distance in the Z1 axis direction while the spindle 25 is gripping the bar stock W, steps S37 and S38 are used to confirm whether the spindle 25 and the bar stock W move the same distance in the Z1 axis direction in that state, which is a normal operation. However, steps S37 and S38 may be omitted.
[0074] The machine control unit 20a causes the spindle 25 to grip the bar stock W and makes a small movement of the spindle 25 (step S37). Note that when changing grips is performed within one cycle, such as when manufacturing long products, the rear spindle 28 may be gripping the tip of the bar stock W. If the rear spindle 28 was gripping the tip of the bar stock W, in step S37, after the spindle 25 grips the bar stock W, the rear spindle 28 is released from gripping before the spindle 25 is made a small movement. Then, the machine control unit 20a checks whether the distance the spindle 25 moves and the distance the feed arrow 44 moves match when the spindle 25 is made a small movement (step S38). If the distance the spindle 25 moves and the distance the feed arrow 44 moves match (YES in step S38), the machine control unit 20a is operating normally while the spindle 25 is gripping the bar stock W. Therefore, no problem occurs even if the spindle 25 is moved a long distance while the spindle 25 is gripping the bar stock W. On the other hand, if they do not match (NO in step S38), it is highly likely that components related to the opening and closing of the collet chuck 251 or components related to the feed arrow 44 are malfunctioning. Therefore, if the spindle 25 is moved a long distance while the spindle 25 is gripping the bar stock W, there is a risk that the bar stock W and components of the NC lathe will collide.
[0075] If the second retry function is disabled (NO in step S34), if the second counter C2 exceeds the second retry setting number (NO in step S36), or if the spindle 25 moves slightly and the distance traveled by the spindle 25 does not match the distance traveled by the feed arrow 44 (NO in step S38), the machine control unit 20a stops the operation of each drive unit in the lathe system 1, such as the spindle 25, the first tool post 27, and the feed arrow 44, and displays on the lathe display screen 242 that the grip change failed (step S39). Note that the content displayed on the lathe display screen 242 in step S39 may differ depending on whether the result is NO in step S34, NO in step S36, or NO in step S38. For example, if the result in step S34 is NO, a message may be displayed indicating that the release of the spindle 25 has failed; if the result in step S36 is NO, a message may be displayed indicating that the number of second retries has reached a predetermined number; and if the result in step S38 is NO, a message may be displayed indicating that the mechanism related to the re-gripping of the lathe system 1 is malfunctioning.
[0076] If the travel distance of the spindle 25 matches the travel distance of the feed arrow 44 (YES in step S38), the machine control unit 20a determines whether the second monitoring operation being performed is a gripping operation for executing the next machining operation (step S40). In this determination, if it is a gripping operation performed at the beginning of a cycle, it is determined to be a gripping operation for executing the next machining operation. Alternatively, if it is an operation that monitors the movement of the feed arrow 44 accompanying the movement of the spindle 25 in the release state after the bar stock W has been separated by the first tool T1 for parting off, it may be determined to be a gripping operation for executing the next machining operation. Note that if it is a gripping operation for executing the next machining operation (YES in step S40), the first tool T1 for parting off normally functions as a stopper to prevent the bar stock W from moving toward the tip. Alternatively, a separate stopper may be attached to the first tool post 27, distinct from the first tool T1 used for parting off, to separate the machined portion, and then this separate stopper may be positioned where it contacts the tip of the bar stock W.
[0077] If the second monitoring operation being performed is a gripping operation to perform the next machining operation (YES in step S40), the machine control unit 20a moves the spindle 25 until the feed arrow 44 is positioned slightly towards the rear end relative to the position of the feed arrow 44 stored in the memory unit 203 before the spindle 25 starts moving (step S41). As a result, the tip of the bar stock W is positioned opposite the first tool T1 for parting, which is functioning as a stopper, with a small gap between them.
[0078] Subsequently, the machine control unit 20a controls the spindle actuator 254 to cause the spindle 25 to perform a release operation and a gripping operation (step S42). One of the reasons why the feed arrow 44 moves along with the movement of the spindle 25 in step S32 is that the collet chuck 251 is digging into the bar stock W. If this digging is the cause, it is possible to resolve the digging of the collet chuck 251 into the bar stock W by causing the spindle 25 to perform a release operation and a gripping operation. In step S42, the release operation and the gripping operation are performed once each, but these operations may be performed multiple times. If the digging is resolved, the tip of the bar stock W will come into contact with the first tool T1 for parting, which is functioning as a stopper due to the biasing force of the feed arrow 44, and will stop at that position.
[0079] Next, the machine control unit 20a releases the grip on the spindle 25 and then starts moving the spindle 25 toward the re-gripping position (step S43). Simultaneously with the start of this movement, it returns to step S32 and resumes monitoring. Steps S42 and S43 correspond to an example of the second retry process.
[0080] If the second monitoring operation being performed is not a gripping operation for executing the next machining operation (NO in step S40), it means that a gripping operation is being performed within one cycle. This operation is used when manufacturing long products that exceed the movable distance of the spindle 25, and is a gripping operation performed with the tip of the bar stock W inserted into the rear spindle 28 and the rear spindle 28 gripping the tip of the bar stock W. In this case, the machine control unit 20a causes the rear spindle 28, which released the grip in step S37, to grip the bar stock W again, and then causes the spindle 25 to perform a gripping release operation and a gripping operation (step S44). In step S44, by preventing the movement of the bar stock W with the rear spindle 28 and then causing the spindle 25 to perform a gripping release operation and a gripping operation, it is possible to eliminate the collet chuck 251 digging into the bar stock W.
[0081] Next, the machine control unit 20a determines whether to restart the machining process from the beginning or continue the machining process (step S45). This selection is specified in the command that instructs the second monitoring operation and is stored in the memory unit 203. This selection may also be specified separately from the command that instructs the second monitoring operation.
[0082] If it is determined in step S45 to restart the machining process from the beginning, the machine control unit 20a calculates the positions of the main spindle 25 and the back spindle 28 to detach all of the already machined portion based on the amount of deviation of the feed arrow 44. Then, it moves the main spindle 25 and the back spindle 28 synchronously to that position and detaches the machined portion using the first tool T1 for parting off (step S46). The machine control unit 20a also causes the back spindle 28 to release its grip and pushes the detached machined part out of the back spindle 28 using a cylinder provided on the back spindle 28. As a result, the machined part falls and is discharged into the chip receiving section 221.
[0083] Subsequently, the machine control unit 20a and the abnormality detection unit 20b terminate the second monitoring operation. Then, the machine control unit 20a restarts the process from the beginning of one cycle in the machining program (step S47).
[0084] If it is determined in step S45 to continue machining, the machine control unit 20a calculates the movement positions of the spindle 25 and the rear spindle 28, taking into account the amount of deviation of the feed arrow 44 (step S48). For example, the movement position of the spindle 25 is the position obtained by shifting the gripping position by the difference between the position of the feed arrow 44 before the spindle 25 movement begins, which is stored in the memory unit 203, and the position of the feed arrow 44 at the start of step S48. The movement position of the rear spindle 28 is the position obtained by shifting it by that difference from the position at the start of the gripping change.
[0085] Then, the machine control unit 20a releases the grip of the rear spindle 28, moves the rear spindle 28 to the calculated movement position, and then has the rear spindle 28 grip the bar material W (step S49). Next, it releases the grip of the spindle 25 and starts moving the spindle 25 to the calculated movement position (step S50). Simultaneously with the start of this movement, it returns to step S32 and resumes monitoring. These steps S44 to S50 also correspond to an example of the second retry process.
[0086] According to the lathe system 1 described above, the abnormality detection unit 20b can detect the occurrence of a Z1 axial position abnormality early by monitoring the movement of the feed arrow 44. In particular, the abnormality detection unit 20b constantly monitors the movement of the feed arrow 44 in the Z1 axial direction in relation to the movement of the spindle 25 in the Z1 axial direction during machining, so it can determine that the first abnormality has occurred during machining. When the first abnormality occurs, slippage occurs between the bar stock W and the spindle 25 during machining, and the machined portion up to that point is machined into an unintended shape. Also, the position of the bar stock W held by the spindle 25 has shifted. Therefore, if machining continues as is, the first tool T1 may come into contact with the bar stock W at an unexpected position, placing an excessive load on the first tool T1, or parts other than the cutting edge of the first tool T1 may come into contact with the bar stock W, potentially damaging the machine tool system. In the lathe system 1 described above, the occurrence of the first abnormality is detected in real time during the machining operation, thus preventing excessive load on the first tool T1 and damage to the machine tool system. In addition, by detecting abnormalities early, waste of machining time and bar stock W can be suppressed.
[0087] Furthermore, by performing the first retry process, the risk of the machining process stopping can be reduced. This reduces the possibility of a significant decrease in the number of products manufactured, especially when the operator is not near the lathe system 1 for extended periods, such as at night. In addition, the first retry process separates the machined portion that has been processed into an unintended shape, thus preventing unnecessary machining of the defective product, thus preventing wasted machining time and energy, and suppressing the waste of bar stock W. Also, when the first abnormality occurs, the machined portion that is a defective product is discharged to the chip receiving section 221, thus preventing the mixing of defective and good products.
[0088] Furthermore, by determining the occurrence of a second abnormality, it is possible to determine that an abnormality occurred during the re-gripping of the spindle. This prevents the start of the next machining operation while the re-gripping has failed. In particular, since the abnormality determination unit 20b continuously monitors the movement of the feed arrow 44 in the Z1 axis direction during the re-gripping operation, it is possible to detect the occurrence of a second abnormality during the re-gripping operation at an early stage. By detecting the abnormality early, unnecessary operations such as continuing the re-gripping operation after the occurrence of the second abnormality are avoided, thus preventing the wasteful consumption of machining time and energy related to machining. Furthermore, by executing the second retry process, the risk of machining stopping can be reduced. This reduces the possibility of a significant decrease in the number of products manufactured, especially when the operator is not near the lathe system 1 for a long period of time, such as at night.
[0089] Next, the lathe system 1 of the second embodiment will be described. In the following description, components with the same names as those described so far will be denoted by the same reference numerals used so far, and redundant explanations may be omitted.
[0090] Figure 8 is a simplified plan view showing the internal configuration of the lathe system according to the second embodiment.
[0091] The lathe system 1 shown in Figure 8 differs from the lathe system 1 shown in the previous embodiment in that the headstock supporting the spindle 25 is fixed, and the first tool post 27 is configured to be movable in the Z1 axis direction as well. The spindle 25 shown in Figure 8 is fixed so as not to move in the X1 axis direction, Y1 axis direction, and Z1 axis direction. As with the previous embodiment, the spindle 25 is able to grip the bar stock W and rotate around the spindle centerline CL. On the other hand, the first tool post 27 is configured to be movable in the X1 axis direction, Y1 axis direction, and Z1 axis direction. In other words, the Z1 axis motor 252 shown in Figure 3 acts as a motor to move the first tool post 27. Furthermore, the lathe system 1 shown in Figure 8 also differs from the lathe system 1 shown in the previous embodiment in that it performs a third monitoring operation instead of a first monitoring operation, and a fourth monitoring operation instead of a second monitoring operation.
[0092] Figure 9 is a flowchart showing the third monitoring operation of the lathe system shown in Figure 8. The third monitoring operation shown in Figure 9 is an operation that is mainly performed by the machine control unit 20a and the abnormality determination unit 20b shown in Figure 4 controlling the operation of the lathe system 1. In detail, the machine control unit 20a and the abnormality determination unit 20b perform calculations and determinations related to this operation based on the program stored in the memory unit 203. Then, based on the calculation results and determination results, the machine control unit 20a controls the operation of each component of the NC lathe 2 and also sends operation requests to the second control device 40.
[0093] The third monitoring operation is initiated when a command instructing the third monitoring operation, as described in the machining program, is executed. This command instructing the third monitoring operation is an example of a judgment start command. The third monitoring operation is a monitoring operation used when machining with the spindle 25. In the third monitoring operation, the machine control unit 20a sets the third counter C3 stored in the memory unit 203 to 0 (S61). Subsequently, the abnormality determination unit 20b monitors whether the feed arrow 44 has moved while the spindle 25 is gripping the bar stock W, based on the spindle 25 gripping information it has obtained and the feed arrow position information of the feed arrow 44 received from the feed arrow position grasping unit 40b (step S62). This monitoring will be explained in more detail. If the spindle 25 is gripping the bar stock W at the start of the third monitoring operation, the abnormality determination unit 20b stores the position of the feed arrow 44 at that time as the feed arrow reference position in the memory unit 203. Furthermore, if the spindle 25 releases its grip on the bar stock W at the start of the third monitoring operation, the abnormality determination unit 20b stores the position of the feed arrow 44 as the feed arrow reference position in the storage unit 203 immediately after the spindle 25 next grips the bar stock. Subsequently, the abnormality determination unit 20b monitors whether the feed arrow 44 has moved from the feed arrow reference position while the spindle 25 continues to grip the bar stock W, based on the position information of the feed arrow 44 received from the feed arrow position recognition unit 40b. The abnormality determination unit 20b then determines that a third abnormality has occurred if the feed arrow 44 has moved (NO in step S62). In addition, a threshold may be set for the movement distance of the feed arrow 44, and the system may be configured to determine that the feed arrow 44 has not moved if the movement distance is within that threshold, even if it is not exactly zero. Furthermore, in this configuration, the threshold may be specified or changed by the lathe operation panel 24 or the NC program.
[0094] If the feed arrow 44 is not moving (YES in step S62), the abnormality determination unit 20b determines whether the next command to be executed is a command to indicate the end of the third monitoring operation (step S63). This command indicating the end of the third monitoring operation is an example of a determination termination command. If it is a command indicating the end of the third monitoring operation (YES in step S63), the third monitoring operation is terminated. If it is not a command indicating the end of the third monitoring operation (NO in step S63), the unit returns to step S62 and continues monitoring. By repeating steps S62 and S63, the determination in step S62 is performed as needed during machining. In addition, in step S63, instead of determining whether it is a command indicating the end of the third monitoring operation, the unit may determine whether the machining using the spindle 25 has been completed in one machining cycle, or whether a command to release the grip of the bar stock W by the spindle 25 has been executed.
[0095] If the feed arrow 44 moves (NO in step S62), the machine control unit 20a determines whether the third retry function is enabled or disabled (step S64). The enable / disable status of the third retry function is specified in the command that instructs the third monitoring operation and is stored in the memory unit 203. Note that the enable / disable status of the third retry function may be specified separately from the command that instructs the third monitoring operation.
[0096] If the third retry function is enabled (YES in step S64), the machine control unit 20a rewrites the third counter C3 stored in the memory unit 203 to C3+1 (step S65). Then, it determines whether the rewritten third counter C3 is less than or equal to the third retry setting number (step S66). The third retry setting number is specified in the command that instructs the third monitoring operation and is stored in the memory unit 203. Note that the third retry setting number may be specified separately from the command that instructs the third monitoring operation.
[0097] If the third counter C3 is less than or equal to the third retry setting (YES in step S66), the machine control unit 20a calculates the position of the first tool post 27 in the Z1 axis direction from which the entire machined portion can be separated, based on the distance traveled by the feed arrow 44 from the feed arrow reference position obtained as a result of monitoring in step S62 and the length of the machined portion that has already been machined at that point. The machine control unit 20a then moves the first tool post 27 to that position and separates the machined portion using the first tool T1 for parting off (step S67). If the machined portion has entered the spindle, the machine control unit 20a sends an operation request to the second control device 40 to have the spindle 25 release its grip and advance the feed arrow 44 to a position where the machined portion protrudes from the spindle 25 toward the tip. Once the advance of the feed arrow 44 is complete, the spindle 25 grips the bar stock W and separates the machined portion using the first tool T1 for parting off.
[0098] If the feed arrow 44 moves while the spindle 25 is gripping the bar stock W, then Z1 axial slippage occurs between the bar stock W and the collet chuck 251 of the spindle 25 during machining. In this case, the machined portion up to that point becomes a defective product with an unintended shape. In step S67, the rear spindle 28 releases the machined portion without gripping it, so the released machined part falls and is discharged into the chip receiving section 221. After that, the machine control unit 20a executes the process again from the beginning of one cycle in the machining program (step S68). Steps S67 and S68 correspond to an example of the third retry process.
[0099] On the other hand, if the third retry function is disabled (NO in step S64) or if the third counter C3 exceeds the set number of third retries (NO in step S66), the machine control unit 20a moves the first tool post 27 so that the first tool T1 is separated from the bar stock W, then stops the operation of each drive unit in the lathe system 1, such as the spindle 25, the first tool post 27, and the feed arrow 44, and displays on the lathe display screen 242 that the feed arrow 44 has moved during machining (step S69). In step S69, the first control device 20 may stop the operation of each drive unit without moving the first tool post 27.
[0100] Figure 10 is a flowchart showing the fourth monitoring operation of the lathe system shown in Figure 8. The fourth monitoring operation shown in Figure 10, like the third monitoring operation, is mainly performed by the machine control unit 20a and the abnormality determination unit 20b shown in Figure 4. In detail, the machine control unit 20a and the abnormality determination unit 20b perform calculations and determinations related to this operation based on the program stored in the memory unit 203. Based on the calculation results and determination results, the machine control unit 20a controls the operation of each component of the NC lathe 2 and also sends operation requests to the second control device 40.
[0101] The fourth monitoring operation is initiated when a command instructing the fourth monitoring operation, as described in the machining program, is executed. This command instructing the fourth monitoring operation corresponds to an example of a judgment start command. The fourth monitoring operation is a monitoring operation used when the spindle 25 changes grip on the bar stock W. In the lathe system 1 shown in Figure 8, the change of grip on the bar stock W is performed by the spindle 25 releasing the grip on the bar stock, advancing the feed arrow 44, and then the spindle 25 gripping the bar stock again. Note that, in advance of the change of grip, the first tool T1 for parting off is retracted so that the bar stock W can move freely toward the tip. In the fourth monitoring operation, first, the machine control unit 20a sets the fourth counter C4 stored in the memory unit 203 to 0 (step S81). Then, at the same time that the machine control unit 20a transmits an operation request to the second control device 40 to advance the feed arrow 44, the abnormality determination unit 20b uses the position information of the feed arrow 44 received from the feed arrow position recognition unit 40b to monitor whether the feed arrow 44 has moved as requested while the spindle 25 has released its grip on the bar material W (step S82). This monitoring will be explained in more detail. The abnormality determination unit 20b monitors the position of the feed arrow 44 received from the feed arrow position recognition unit 40b when the feed arrow control unit 40a drives the feed arrow motor 46 to advance the feed arrow 44 in response to the operation request from the machine control unit 20a. The abnormality determination unit 20b then determines that a fourth abnormality has occurred if the feed arrow 44 does not move (NO in step S82). The abnormality determination unit 20b may also determine that a fourth abnormality has occurred if the feed arrow 44 does not move to the position requested by the machine control unit 20a to the second control device 40 within a predetermined time, as this indicates that the feed arrow 44 has not moved.
[0102] If the feed arrow 44 moves (YES in step S82), the abnormality detection unit 20b determines whether the next command to be executed is a command to terminate the fourth monitoring operation (step S83). This command to terminate the fourth monitoring operation is an example of a determination termination command. If it is a command to terminate the fourth monitoring operation (YES in step S83), the fourth monitoring operation is terminated. If it is not a command to terminate the fourth monitoring operation (NO in step S83), the process returns to step S82 and monitoring continues. In step S83, instead of determining whether it is a command to terminate the fourth monitoring operation, the unit may determine whether the feed arrow 44 has moved to the requested position, or whether a command to grip the rod W with the main shaft 25 has been executed. By repeating steps S82 and S83, the determination in step S82 is performed as needed during grip repositioning.
[0103] If the feed arrow 44 does not move (NO in step S82), the machine control unit 20a determines whether the fourth retry function is enabled or disabled (step S84). The enable / disable status of the fourth retry function is specified in the command that instructs the fourth monitoring operation and is stored in the memory unit 203. Note that the enable / disable status of the fourth retry function may be specified separately from the command that instructs the fourth monitoring operation. Simultaneously with the determination in step S84, the machine control unit 20a sends an operation request to the second control device 40 to stop the movement of the feed arrow 44.
[0104] If the fourth retry function is enabled (YES in step S84), the machine control unit 20a rewrites the fourth counter C4 stored in the memory unit 203 to C4+1 (step S85). Then, it determines whether the rewritten fourth counter C4 is less than or equal to the fourth retry setting number (step S86). The fourth retry setting number is specified in the command that instructs the fourth monitoring operation and is stored in the memory unit 203. Note that the fourth retry setting number may be specified separately from the command that instructs the fourth monitoring operation.
[0105] If the fourth retry function is disabled (NO in step S84) or if the fourth counter C4 exceeds the set number of fourth retries (NO in step S86), the machine control unit 20a stops the operation of each drive unit in the lathe system 1, such as the spindle 25, the first tool post 27, and the feed arrow 44, and displays on the lathe display screen 242 that the regripping failed (step S87). Note that the content displayed on the lathe display screen 242 in step S87 may differ depending on whether the result is NO in step S84 or NO in step S86. For example, if the result is NO in step S84, it may display that the release of the spindle 25 grip failed, and if the result is NO in step S86, it may display that the number of fourth retries has reached a predetermined number.
[0106] If the fourth counter C4 is less than or equal to the fourth retry setting (YES in step S86), the machine control unit 20a controls the spindle actuator 254 to cause the spindle 25 to perform a release operation and a gripping operation (step S88). If the reason the feed arrow 44 cannot move in step S82 is that the collet chuck 251 is stuck in the bar stock W, it is possible that the sticking can be resolved by causing the spindle 25 to perform a release operation and a gripping operation. In step S88, the release operation and the gripping operation are each performed once, but these operations may be performed multiple times.
[0107] Next, the machine control unit 20a sends an action request to the second control device 40 to release the grip on the spindle 25 and then start moving the feed arrow 44 (step S89). Simultaneously with sending this action request, it returns to step S82 and resumes monitoring. Steps S88 and S89 correspond to an example of the fourth retry process.
[0108] In this second embodiment of the lathe system 1, the abnormality detection unit 20b monitors the movement of the feed arrow 44, enabling early detection of positional abnormalities in the Z1 axis direction. In particular, by continuously detecting the occurrence of the third abnormality during the machining operation, excessive load on the first tool T1 and damage to the machine tool system can be prevented. In addition, early detection of abnormalities can reduce wasted machining time and bar stock W.
[0109] Furthermore, by performing a third retry process, the risk of the machining process stopping can be reduced. This reduces the possibility of a significant decrease in the number of products produced, especially when the operator is not near the lathe system 1 for extended periods, such as at night. In addition, the third retry process separates the machined portion that has been processed into an unintended shape, thus preventing unnecessary machining of the defective product, thus preventing wasted machining time and energy, and reducing the waste of bar stock W. Also, when a third abnormality occurs, the machined portion that is a defective product is discharged into the chip receiving section 221, thus preventing the mixing of defective and good products.
[0110] Furthermore, by determining the occurrence of the fourth abnormality, it is possible to determine that an abnormality occurred during the regripping of the spindle. This prevents the start of the next machining operation while the regripping has failed. In particular, since the abnormality determination unit 20b continuously monitors the movement of the feed arrow 44 in the Z1 axis direction during the regripping operation, it is possible to detect the occurrence of the fourth abnormality during the regripping operation at an early stage. By detecting it early, unnecessary operations such as continuing the regripping operation after the occurrence of the fourth abnormality are avoided, thus preventing the wasteful consumption of machining time and energy related to machining. And by executing the fourth retry process, the risk of machining stopping can be reduced. This reduces the possibility of a significant decrease in the number of products manufactured, especially when the operator is not near the lathe system 1 for a long time, such as at night.
[0111] The present invention is not limited to the embodiments described above, and various modifications can be made within the scope of the claims. For example, in the description of this embodiment, an example was used in which a command to instruct a first monitoring operation and a command to instruct a second monitoring operation are provided, but a monitoring command that integrates these may also be provided. When the monitoring command is executed, the first monitoring operation may be executed when the spindle 25 is gripping the bar stock W, and the second monitoring operation may be executed when the spindle 25 has released the bar stock W and the material feeder 4 is not moving the feed arrow 44. Alternatively, when the monitoring command is executed, the first monitoring operation may be executed during machining using the spindle 25, and the second monitoring operation may be executed during a gripping operation. Furthermore, the first and second monitoring operations may be configured to be executed by input from the lathe operation panel 24 in addition to commands. In addition, the first and second monitoring operations may be configured to be executed automatically as a standard function of the lathe system 1. In this case, the first monitoring operation may be automatically performed when the spindle 25 is gripping the bar stock W, and the second monitoring operation may be automatically performed when the spindle 25 releases its grip on the bar stock W and moves.
[0112] Similarly, a monitoring command may be provided to simultaneously instruct both the third and fourth monitoring operations. During the execution of this monitoring command, the third monitoring operation may be performed when the spindle 25 is gripping the bar stock W, and the fourth monitoring operation may be performed when the spindle 25 has released the bar stock W and the material feeder 4 is moving the feed arrow 44. Alternatively, during the execution of this monitoring command, the third monitoring operation may be performed during machining using the spindle 25, and the fourth monitoring operation may be performed during a gripping operation. In addition to commands, the third and fourth monitoring operations may also be configured to be performed by input from the lathe operation panel 24. Furthermore, the lathe system 1 may be configured to automatically perform the third and fourth monitoring operations as a standard function. In that case, the third monitoring operation may be automatically performed when the spindle 25 is gripping the bar stock W, and the fourth monitoring operation may be automatically performed when the spindle 25 has released the bar stock W and the material feeder 4 is moving the feed arrow 44.
[0113] Furthermore, even if a constituent element is included only in the description of each embodiment or each modification described above, that constituent element may be applied to other embodiments or other modifications. [Explanation of Symbols]
[0114] 1. Lathe System (Machine Tool System) 25 Spindle 44 Sending arrow 20a Mechanical control unit 20b Abnormality determination section W Bar material
Claims
1. A main shaft that can grip and rotate a rod material in a manner that allows for release of the grip, A feed arrow biases the rod from the rear end towards the front end and moves together with the rod in the axial direction of the rod, An abnormality determination unit that determines whether or not an abnormality has occurred by monitoring the movement of the aforementioned feed arrow in the axial direction, The system includes a mechanical control unit that controls the movement of the main spindle, The main shaft is movable in the axial direction, The abnormality determination unit determines that a second abnormality has occurred when the machine control unit has caused the spindle to release its grip on the rod, and the feed arrow moves in conjunction with the movement of the spindle in the axial direction. The machine control unit is characterized in that, when the abnormality determination unit determines that the second abnormality has occurred, it causes the machine control unit to execute a second retry process, which includes gripping and releasing operations of the spindle.
2. The machine tool system according to Claim 1, characterized in that the abnormality determination unit starts the second abnormality determination operation in response to a determination start command described in the machining program, ends the determination operation in response to a determination end command described in the machining program, and repeatedly performs the determination of whether or not the second abnormality has occurred from the start to the end of the determination operation.
3. A main shaft that can grip and rotate a rod in a manner that allows for release of the grip, A feed arrow biases the rod from the rear end towards the front end and moves together with the rod in the axial direction of the rod, An abnormality determination unit that determines whether or not an abnormality has occurred by monitoring the movement of the aforementioned feed arrow in the axial direction, A cutting tool for processing the tip portion of the aforementioned rod material is attached to a tool post that is movable in a direction perpendicular to the axial direction, The tool post and the machine control unit that controls the movement of the spindle. The system includes a feeder arrow control unit that controls the operation of the feeder arrow, The main shaft is fixed so as not to move in the axial direction. The abnormality determination unit determines that a fourth abnormality has occurred when the machine control unit has released the grip of the rod from the main spindle, and the feed arrow control unit attempts to advance the feed arrow but the feed arrow does not move. The machine tool system is characterized in that, when the abnormality determination unit determines that the fourth abnormality has occurred, the machine control unit causes the machine control unit to execute a fourth retry process, which includes gripping and releasing operations of the spindle.
4. The machine tool system according to claim 3, characterized in that the abnormality determination unit starts the fourth abnormality determination operation in response to a determination start command described in the machining program, ends the determination operation in response to a determination end command described in the machining program, and repeatedly performs the determination of whether or not the fourth abnormality has occurred from the start to the end of the determination operation.
Citation Information
Patent Citations
Raw material diameter checking method and device of automatic machining equipment for rod material
JP1984081001A
In a control mechanism for an automatic tensile tester to open chuck
JP1984085937U
Feed arrow movement amount confirmation device
JP1993088802U
Rod member supplying device
JP1998071504A
Confirmation method and device of bar delivery quantity on automatic lathe and shank of projective cutting bite
JP2001310201A
