Command generation device and computer-readable storage medium
The command generation device and storage medium optimize thread milling by automating the selection of movement paths for thread mills, reducing machining time and wear, thus alleviating operator burden and simplifying the machining program creation process.
Patent Information
- Application Number
- PCT/JP2023/015226
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-17
AI Technical Summary
The burden on operators is significant when creating machining programs for thread machining with thread mills, as processing time and wear conditions vary with movement paths, requiring consideration of machining time and wear, which is time-consuming and labor-intensive.
A command generation device and computer-readable storage medium that generate and store instructions to move a thread mill along optimized movement paths based on fixed cycle commands, reducing machining time and wear, thereby alleviating operator burden by automating the process.
The solution significantly reduces the operator's workload by generating movement commands that minimize machining time and wear on the thread mill, streamlining the thread machining process and reducing the complexity of creating machining programs.
Smart Images

Figure JP2023015226_17102024_PF_FP_ABST
Abstract
Description
Command generating device and computer-readable storage medium
[0001] The present disclosure relates to a command generating device and a computer-readable storage medium.
[0002] A conventional technique for thread machining using a thread mill with multiple blades is known (see, for example, Patent Document 1). In thread machining using a thread mill, an operator envisions several movement paths for the thread mill and determines one movement path from the envisioned movement paths. The operator then creates a machining program so that the thread mill moves along the determined movement path.
[0003] Japanese Patent Application Laid-Open No. 2019-21235
[0004] However, the machining time of a thread mill varies depending on the movement path of the thread mill. Furthermore, the wear pattern of the thread mill also varies depending on the movement path of the thread mill. Therefore, the operator must create a machining program taking into account the machining time, the wear pattern of the thread mill, and other factors. Creating a machining program taking into account such factors as the machining time and the wear pattern places a significant burden on the operator. Therefore, a technology is needed to reduce the burden on the operator when creating a machining program for thread machining.
[0005] The command generating device of the present disclosure includes a path information generating unit that generates multiple path information indicating multiple movement paths of a thread mill having multiple blades based on a fixed cycle command for thread machining, and a command generating unit that generates a movement command to move the thread mill along one of the multiple movement paths so that the processing time for thread machining is relatively short or the amount of wear on the thread mill is relatively small.
[0006] The computer-readable storage medium of the present disclosure stores instructions that cause a computer to execute the following: generate, based on a fixed cycle command for thread machining, multiple path information indicating multiple movement paths of a thread mill having multiple blades; and generate a movement command to move the thread mill along one of the multiple movement paths so that the thread machining time is relatively short or the amount of wear on the thread mill is relatively small.
[0007] FIG. 1 is a plan view showing an example of a thread mill. FIG. 2 is a block diagram showing an example of the hardware configuration of a machine tool. FIG. 3 is a block diagram showing an example of the functions of a command generating device. FIG. 4 is a diagram showing an example of one movement path out of a plurality of movement paths. FIG. 5 is a diagram showing an example of one movement path out of a plurality of movement paths. FIG. 6 is a diagram showing an example of one movement path out of a plurality of movement paths. FIG. 7 is a diagram showing an example of another movement path out of a plurality of movement paths. FIG. 8 is a diagram showing an example of another movement path out of a plurality of movement paths. FIG. 9 is a diagram showing an example of another movement path out of a plurality of movement paths. FIG. 10 is a diagram showing an example of another movement path out of a plurality of movement paths. FIG. 11 is a diagram showing an example of another movement path out of a plurality of movement paths. FIG. 12 is a diagram showing an example of another movement path out of a plurality of movement paths. FIG. 13 is a diagram showing an example of another movement path out of a plurality of movement paths.
[0008] A command generating device and a computer-readable storage medium according to an embodiment of the present disclosure will be described below with reference to the drawings. In the following description, components having the same or similar functions will be denoted by the same reference numerals. Duplicate descriptions of those components may be omitted.
[0009] In this application, "based on XX" means "based on at least XX," and includes cases where it is based on other elements in addition to XX. Furthermore, "based on XX" is not limited to cases where XX is used directly, but also includes cases where it is based on XX that has been calculated or processed. "XX" is any element (for example, any information).
[0010] The command generating device generates a movement command indicating a movement path of a thread mill in thread machining. The thread mill is a milling tool for machining threads.
[0011] FIG. 1 is a plan view showing an example of a thread mill. The thread mill T has a plurality of blades C arranged at a specific pitch P. The thread mill T has, for example, five blades C. The number of blades C refers to the number of blades C included in one group aligned along the central axis of the thread mill T. The thread mill T can machine threads having the pitch P. The movement path of the thread mill T will be described in detail later.
[0012] The command generating device is implemented in, for example, a numerical control device that controls a machine tool. The command generating device may also be implemented in a personal computer (PC), a server, or a mobile terminal. An embodiment in which the command generating device is implemented in a numerical control device will be described below.
[0013] 2 is a block diagram showing an example of the hardware configuration of a machine tool 1. The machine tool 1 includes a numerical control device 2, an input / output device 3, a servo amplifier 4, a servo motor 5, a spindle amplifier 6, a spindle motor 7, and auxiliary equipment 8.
[0014] The numerical control device 2 is a device for controlling the machine tool 1. The numerical control device 2 includes, for example, a hardware processor 201, a bus 202, a ROM (Read Only Memory) 203, a RAM (Random Access Memory) 204, and a non-volatile memory 205.
[0015] The hardware processor 201 is a processor that uses a system program to control the entire numerical control device 2. The hardware processor 201 reads the system program stored in the ROM 203 via the bus 202. The hardware processor 201 is, for example, a CPU (Central Processing Unit) or an electronic circuit.
[0016] The bus 202 is a communication path that connects the various hardware components of the numerical control device 2. The various hardware components of the numerical control device 2 exchange data via the bus 202.
[0017] The ROM 203 is a storage device that stores system programs, etc. The ROM 203 is a computer-readable storage medium.
[0018] The RAM 204 is a storage device that temporarily stores various data and functions as a work area for the hardware processor 201 to process various data.
[0019] The nonvolatile memory 205 is a storage device that retains data even when the power to the numerical control device 2 is turned off. The nonvolatile memory 205 stores, for example, a program for generating a movement command for the thread mill T. The nonvolatile memory 205 is a computer-readable storage medium. The nonvolatile memory 205 is, for example, a battery-backed memory or an SSD (Solid State Drive).
[0020] The numerical control device 2 further includes an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 , and an I / O unit 210 .
[0021] The interface 206 connects the bus 202 and the input / output device 3. The interface 206 sends various data processed by the hardware processor 201 to the input / output device 3, for example.
[0022] The input / output device 3 receives various data via the interface 206 and displays the various data on a display. The input / output device 3 also receives input of various data and sends the various data to, for example, the hardware processor 201 via the interface 206.
[0023] The input / output device 3 is, for example, a touch panel. When the input / output device 3 is a touch panel, the input / output device 3 is, for example, a capacitive touch panel. The touch panel is not limited to a capacitive touch panel and may be a touch panel of another type. The input / output device 3 is installed in an operation panel (not shown) in which the numerical control device 2 is housed.
[0024] The axis control circuit 207 is a circuit for controlling the servo motor 5. The axis control circuit 207 receives control commands from the hardware processor 201 and sends various commands to the servo amplifier 4 for driving the servo motor 5. The axis control circuit 207 sends, for example, a torque command for controlling the torque of the servo motor 5 to the servo amplifier 4.
[0025] The servo amplifier 4 receives a command from the axis control circuit 207 and supplies a current to the servo motor 5 .
[0026] The servo motors 5 are driven by receiving a current supply from the servo amplifier 4. The servo motors 5 are provided corresponding to the respective control axes of the machine tool 1. If the machine tool 1 has five axes, the servo motors 5 include, for example, an X-axis servo motor, a Y-axis servo motor, a Z-axis servo motor, an A-axis servo motor, and a C-axis servo motor. In this case, an axis control circuit 207 and a servo amplifier 4 are provided for each servo motor 5.
[0027] The servo motor 5 is connected to, for example, a ball screw that moves a structure of the machine tool 1. When the servo motor 5 is driven, the structure of the machine tool 1, such as the spindle head, moves along a predetermined control axis.
[0028] The servo motor 5 has a built-in encoder (not shown) that detects the position and movement speed of the control axis. Position feedback information and speed feedback information indicating the position and movement speed of the control axis detected by the encoder are fed back to the axis control circuit 207. In this way, the axis control circuit 207 performs feedback control of each control axis.
[0029] The spindle control circuit 208 is a circuit for controlling the spindle motor 7. The spindle control circuit 208 receives a control command from the hardware processor 201 and sends a command to the spindle amplifier 6 to drive the spindle motor 7. The spindle control circuit 208 sends, for example, a spindle speed command to the spindle amplifier 6 to control the rotation speed of the spindle motor 7.
[0030] The spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies a current to the spindle motor 7 .
[0031] The spindle motor 7 is driven by receiving a current supplied from the spindle amplifier 6. The spindle motor 7 is connected to the main shaft and rotates the main shaft.
[0032] The PLC 209 is a device that executes a sequence program to control the auxiliary device 8. The PLC 209 sends commands to the auxiliary device 8 via an I / O unit 210.
[0033] The I / O unit 210 is an interface that connects the PLC 209 and the auxiliary device 8. The I / O unit 210 sends commands received from the PLC 209 to the auxiliary device 8.
[0034] The auxiliary device 8 is installed in the machine tool 1 and performs auxiliary operations in the machine tool 1. The auxiliary device 8 operates based on commands received from the I / O unit 210. The auxiliary device 8 may be a device installed in the periphery of the machine tool 1. The auxiliary device 8 is, for example, a tool changer, a cutting fluid injection device, or an opening / closing door drive device.
[0035] 3 is a block diagram showing an example of the functions of the command generating device 21. The command generating device 21 includes an analysis unit 211, a path information generation unit 212, a command generation unit 213, and a control unit 214. The analysis unit 211, the path information generation unit 212, the command generation unit 213, and the control unit 214 are realized, for example, by the hardware processor 201 performing arithmetic processing using a system program stored in the ROM 203, a movement command generation program stored in the non-volatile memory 205, and the like.
[0036] The analysis unit 211 analyzes the machining program. The analysis unit 211 reads, for example, a machining program stored in a machining program storage unit (not shown). The analysis unit 211 analyzes the read machining program.
[0037] The machining program includes a canned cycle command. The canned cycle command is a command that can specify multiple tool operations in one block in the machining program. The canned cycle command includes a canned cycle command for thread machining.
[0038] The path information generating unit 212 generates a plurality of path information indicating a plurality of movement paths of a thread mill T having a plurality of blades C based on a canned cycle command for thread machining.
[0039] 4A to 4E are diagrams showing an example of one of the multiple movement paths. The upper and lower figures in FIGS. 4A to 4E are plan views and cross-sectional views, respectively. Note that the diagrams shown in FIGS. 4A to 4E are diagrams for explaining the movement paths and do not necessarily accurately represent the shape of the thread mill T.
[0040] The thread machining is, for example, a process for forming a female thread on the inner surface of the prepared hole H. The thread machining may also be a process for forming a male thread on the outer peripheral surface of a cylindrical member. The thread machining may also be a process for forming a tapered thread.
[0041] The thread mill T is first positioned on the central axis of the pilot hole H (see FIG. 4A). At this time, the spindle starts to rotate. This position at which the thread mill T is positioned is referred to as the initial position Ps. Before being positioned at the initial position Ps shown in FIG. 4A, the thread mill T may be positioned at a position several millimeters above the entrance of the pilot hole H.
[0042] Next, the thread mill T performs an approach operation toward the thread cutting start position Pts (see FIG. 4B ). During the approach operation, the thread mill T approaches the inner surface of the pilot hole H, for example, while rotating, gradually moving away from the center of the pilot hole H. This prevents a sudden increase in the cutting load of the thread mill T.
[0043] Next, the thread mill T moves by helical interpolation (see FIG. 4C ). The movement by helical interpolation means that the thread mill T moves in a circular motion around the central axis of the pilot hole H in a plan view, and moves along the central axis of the pilot hole H toward the bottom of the hole by one thread pitch.
[0044] The thread mill T moves to a thread cutting end position Pte near the bottom of the hole by repeating one helical interpolation movement (see FIG. 4D).
[0045] When the thread mill T reaches the threading end position Pte, the thread mill T performs a clearance operation (see FIG. 4E). In the clearance operation, the thread mill T moves so that the movement path of the thread mill T and the inner surface of the pilot hole H gradually move away from the threading end position Pte. In the clearance operation, the thread mill T moves to an end position Pe on the central axis of the pilot hole H.
[0046] Finally, the thread mill T is pulled up to the outside of the prepared hole H, and the threading is completed.
[0047] 5A to 5I are diagrams showing other examples of multiple movement paths of the thread mill T. The thread mill T is first positioned at an initial position Ps (see FIG. 5A). At this time, the spindle starts to rotate. Before being positioned at the initial position Ps shown in FIG. 5A, the thread mill T may be positioned at a position several millimeters above the entrance of the pilot hole H.
[0048] Next, the thread mill T performs a cutting operation toward the bottom of the hole (see FIG. 5B). The cutting operation is an operation in which the thread mill T moves rapidly toward the bottom of the hole by a predetermined distance. The predetermined distance is, for example, an integer multiple of the thread pitch P.
[0049] In the cutting operation, the thread mill T moves by the maximum cutting depth from the entrance of the pilot hole H. If the number of blades C of the thread mill T is n and the thread pitch is p, the maximum cutting depth is, for example, p × (n-1).
[0050] Next, the thread mill T performs an approach operation (see FIG. 5C). Next, the thread mill T performs a helical interpolation movement (see FIG. 5D). Next, the thread mill T performs an escape operation (see FIG. 5E).
[0051] Next, the thread mill T again performs a cutting operation to the maximum cutting depth (see FIG. 5F). Next, the thread mill T performs an approach operation (see FIG. 5G). Next, the thread mill T moves by helical interpolation (see FIG. 5H). Next, the thread mill T performs an escape operation to reach the end position Pe (see FIG. 5I). Finally, the thread mill T is pulled up to the outside of the pilot hole H, completing the thread machining.
[0052] As described with reference to Figures 4A to 4E and 5A to 5I, one of the multiple movement paths is a movement path where the thread mill T does not perform a cutting operation. Other of the multiple movement paths are movement paths where the thread mill T performs a cutting operation. In the movement path where the thread mill T does not perform a cutting operation, the thread mill T continuously performs movement by helical interpolation.
[0053] The path information generation unit 212 generates path information indicating a movement path along which the thread mill T does not perform a cutting operation, as shown in Figures 4A to 4E, and path information indicating a movement path along which the thread mill T performs a cutting operation, as shown in Figures 5A to 5I.
[0054] The command generation unit 213 generates a movement command to move the thread mill T along one of the plurality of movement paths so that the thread machining time is relatively short.
[0055] The processing time being relatively shorter means that the processing time when the thread mill T is moved along one of the multiple movement paths is shorter than the processing time when the thread mill T is moved along another of the multiple movement paths.
[0056] The command generator 213 calculates the thread machining time based on condition information indicating the thread machining conditions. The condition information includes, for example, information indicating the specifications of the screw, information indicating the machining conditions, and information indicating the specifications of the machine tool 1.
[0057] The screw specifications include, for example, the diameter of the prepared hole, the pitch P of the screw, and the drilling depth. The screw specifications may also include the length of the prepared hole and the number of threads of the screw to be drilled.
[0058] The machining conditions include the movement path and movement distance during the approach operation, the movement path and movement distance during the escape operation, and the rotation speed and feed rate of the thread mill T. The feed rate includes the feed rate during movement by helical interpolation, the feed rate during the approach operation, and the feed rate during the escape operation.
[0059] The specifications of the machine tool 1 include, for example, the rapid traverse speed of the control axis and the maximum acceleration when the control axis is rapid traverse. The time required for the cutting operation is calculated based on the rapid traverse speed of the control axis.
[0060] Next, an example of calculating the machining time required for the thread mill T to move along each of the multiple movement paths will be described.
[0061] When the thread mill T moves along a movement path that does not involve a cutting operation, the thread mill T performs the following operations, as described with reference to Figures 4A to 4E. First, the thread mill T performs an approach operation from the initial position Ps toward the inner surface of the pilot hole H. Next, the thread mill T repeats movement by helical interpolation for the machining depth. Next, the thread mill T performs an escape operation to reach the end position Pe.
[0062] Assuming that the number of blades C on the thread mill T is 5, the thread pitch P is 1 mm, the machining depth is 10 mm, the time required for one helical interpolation movement is 3.5 seconds, the time required for the approach operation is 2 seconds, and the time required for the escape operation is 2 seconds, the time required for thread machining is 39 seconds.
[0063] On the other hand, when the thread mill T moves along a movement path for performing a cutting operation, as described with reference to Figures 5A to 5I, the thread mill T performs the following operations. First, the thread mill T performs a cutting operation for the maximum cutting depth from the initial position Ps toward the hole bottom. Next, the thread mill T performs an approach operation. Next, the thread mill T performs a single helical interpolation movement. Next, the thread mill T performs an escape operation. Next, the thread mill T performs a cutting operation for the maximum cutting depth. Next, the thread mill T performs an approach operation. Next, the thread mill T performs a single helical interpolation movement. Next, the thread mill T performs an escape operation and reaches the end position Pe.
[0064] If the number of blades C of the thread mill T is 5, the thread pitch P is 1 [mm], the machining depth is 10 [mm], the time required for one helical interpolation movement is 3.5 [s], the time required for the approach operation is 2 [s], the time required for the escape operation is 2 [s], and the time required for the cutting operation for one blade is 0.1 [s], the time required for thread machining is 15.8 [s].
[0065] Therefore, the command generation unit 213 generates a movement command to move the thread mill T along a movement path along which the cutting operation is performed so that the processing time for thread machining is relatively short.
[0066] The control unit 214 controls each control axis based on the movement command generated by the command generation unit 213. In this way, thread machining is performed.
[0067] 6 is a flowchart showing an example of processing executed by the command generating device 21. In the command generating device 21, first, the analysis unit 211 analyzes the machining program (step SA1). Next, the path information generating unit 212 generates multiple pieces of path information based on canned cycle commands included in the machining program (step SA2).
[0068] Next, the command generator 213 generates a movement command to move the thread mill T along one of the multiple movement paths (step SA3). Finally, the control unit 214 controls each control axis based on the movement command generated by the command generator 213 (step SA4), and the process ends.
[0069] The command generating device 21 may generate a movement command so that when the thread mill T performs a cutting operation at the maximum cutting depth once or multiple times to perform thread machining on a portion of the workpiece area and then performs thread machining on the remaining workpiece area, the processing time for thread machining on the remaining workpiece area is relatively short.
[0070] 7 is a block diagram showing an example of the functions of the command generating device 21 that generates a movement command so that the thread machining time of the remaining workpiece area is relatively short. Of the functions of the command generating device 21 shown in FIG. 7, the description of the same functions as the functions of the command generating device 21 shown in FIG. 3 will be omitted.
[0071] The command generating device 21 includes an analyzing unit 211, a path information generating unit 212, a command generating unit 213, and a control unit 214, as well as an acquiring unit 215 and an estimating unit 216. The acquiring unit 215 and the estimating unit 216 are realized, for example, by the hardware processor 201 performing arithmetic processing using a system program stored in the ROM 203 and a program for generating movement commands stored in the non-volatile memory 205.
[0072] The path information generating unit 212 generates a plurality of pieces of remaining path information indicating a plurality of remaining paths along which the thread mill T can move when threading the remaining workpiece region. In other words, the plurality of pieces of path information generated by the path information generating unit 212 includes a plurality of pieces of remaining path information indicating a plurality of remaining paths along which the thread mill T can move when threading the remaining workpiece region.
[0073] The remaining machining area is the area remaining after the thread mill T has performed one or more cutting operations to the maximum cutting depth to perform thread machining. The depth of the remaining machining area is less than the value obtained by multiplying the number of teeth C of the thread mill T by the thread pitch P.
[0074] For example, if the thread mill T has 5 teeth C, a thread pitch P of 1 mm, and a machining depth of 12 mm, the thread mill T performs each operation in the following order: First, the thread mill T performs a cutting operation with the maximum cutting depth. Next, the thread mill T performs an approach operation. Next, the thread mill T moves using helical interpolation. Next, the thread mill T performs an escape operation. Next, the thread mill T performs a cutting operation with the maximum cutting depth. Next, the thread mill T performs an approach operation. Next, the thread mill T moves using helical interpolation. The position where the movement using helical interpolation ends is the machining start position for the remaining region to be machined. In this case, the depth of the remaining region to be machined is 2 mm.
[0075] The multiple remaining paths include, for example, a movement path in which the thread mill T does not perform a cutting operation, and a movement path in which the thread mill T performs a cutting operation.
[0076] The movement path along which the thread mill T does not perform the cutting operation is, for example, a path along which the thread mill T processes the remaining workpiece area by movement using helical interpolation. In this case, the thread mill T performs two helical interpolation movements.
[0077] The movement path along which the thread mill T performs the cutting operation is the path along which the thread mill T performs the cutting operation to perform thread machining on the remaining work area. In this case, the thread mill T performs the following operations. That is, the thread mill T performs an escape operation from the machining start position of the remaining work area. Next, the thread mill T performs a cutting operation for one tooth. Next, the thread mill T performs an approach operation. Next, the thread mill T performs one helical interpolation movement. Next, the thread mill T performs an escape operation to reach the end position Pe.
[0078] The acquisition unit 215 acquires condition information indicating the conditions for thread machining. As described above, the condition information includes, for example, information indicating the specifications of the screw, information indicating the machining conditions, and information indicating the specifications of the machine tool 1. The specifications of the screw include, for example, the pilot hole diameter, the thread pitch P, and the machining depth. The machining conditions include the travel distance during the approach operation, the travel distance during the escape operation, and the feed rate. The feed rate includes the feed rate during movement by helical interpolation, the feed rate during the approach operation, and the feed rate during the escape operation. The specifications of the machine tool 1 include, for example, the rapid traverse rate of the control axis.
[0079] The estimation unit 216 estimates the remaining machining time required for the thread mill T to perform thread machining on the remaining workpiece area based on the condition information acquired by the acquisition unit 215 and the plurality of remaining path information.
[0080] For example, if the thread mill T performs thread machining on the remaining workpiece area having a depth of 2 mm without performing a cutting operation, the time it takes for the thread mill T to perform thread machining on the remaining workpiece area and reach the end position Pe is 9 seconds. However, the time required for one helical interpolation movement is 3.5 seconds, and the time required for the escape operation is 2 seconds. In other words, the estimation unit 216 estimates that the remaining machining time required for the thread mill T to perform thread machining on the remaining workpiece area is 9 seconds.
[0081] On the other hand, if the thread mill T performs a cutting operation to thread the remaining workpiece area having a depth of 2 mm, the time required for the thread mill T to thread the remaining workpiece area and reach the end position Pe is 9.6 seconds. In other words, the estimation unit 216 estimates that the remaining machining time required for the thread mill T to thread the remaining workpiece area is 9.6 seconds.
[0082] The command generation unit 213 generates a movement command to relatively shorten the remaining machining time. The command generation unit 213 generates a movement command to move the thread mill T along a movement path along which no cutting operation is performed, so that the remaining machining time becomes 9 seconds.
[0083] Furthermore, if the number of blades C of the thread mill T is 5, the thread pitch P is 1 mm, and the machining depth is 14 mm, the depth of the remaining machined area is 4 mm.
[0084] The multiple remaining paths include, for example, a movement path in which the thread mill T does not perform a cutting operation, and a movement path in which the thread mill T performs a cutting operation.
[0085] The movement path in which the thread mill T does not perform the cutting operation is, for example, a path in which the thread mill T processes the remaining workpiece area by movement using helical interpolation. In this case, the thread mill T performs movement using helical interpolation four times.
[0086] The movement path along which the thread mill T performs the cutting operation is the path along which the thread mill T performs the cutting operation to perform thread machining on the remaining work area. In this case, the thread mill T performs the following operations. That is, the thread mill T performs an escape operation from the machining start position of the remaining work area. Next, the thread mill T performs a cutting operation for three blades. Next, the thread mill T performs an approach operation. Next, the thread mill T performs one helical interpolation movement. Next, the thread mill T performs an escape operation to reach the end position Pe.
[0087] The acquisition unit 215 acquires condition information indicating thread machining conditions. As described above, the condition information includes, for example, information indicating the specifications of the thread, information indicating the machining conditions, and information indicating the specifications of the machine tool 1.
[0088] The estimation unit 216 estimates the remaining machining time required for the thread mill T to perform thread machining on the remaining workpiece area based on the condition information acquired by the acquisition unit 215 and the plurality of remaining path information.
[0089] For example, if the thread mill T performs thread machining on the remaining workpiece area having a depth of 4 mm without performing a cutting operation, the time required for the thread mill T to perform thread machining on the remaining workpiece area and reach the end position Pe is 16 seconds. However, the time required for one helical interpolation movement is 3.5 seconds, and the time required for the escape operation is 2 seconds. The estimation unit 216 estimates that the remaining machining time required for the thread mill T to perform thread machining on the remaining workpiece area is 16 seconds.
[0090] On the other hand, if the thread mill T performs a cutting operation to thread the remaining workpiece area having a depth of 4 mm, the time required for the thread mill T to thread the remaining workpiece area and reach the end position Pe is 9.8 seconds. The estimation unit 216 estimates that the remaining machining time required for the thread mill T to thread the remaining workpiece area is 9.8 seconds.
[0091] The command generation unit 213 generates a movement command to relatively shorten the remaining machining time. The command generation unit 213 generates a movement command to move the thread mill T along the movement path along which the cutting operation is performed so that the remaining machining time becomes 9.8 [s].
[0092] 8 is a flowchart showing an example of a process executed by the command generating device 21 that generates a movement command for thread machining of the remaining workpiece region by the thread mill T. In the command generating device 21, first, the analysis unit 211 analyzes the machining program (step SB1).
[0093] Next, the path information generating unit 212 generates a plurality of pieces of path information based on the canned cycle command included in the machining program (step SB2). The plurality of pieces of path information generated by the path information generating unit 212 includes a plurality of pieces of remaining path information.
[0094] Next, the acquisition unit 215 acquires condition information indicating thread machining conditions (step SB3). Next, the estimation unit 216 estimates the remaining machining time required for the thread mill T to thread the remaining workpiece area (step SB4). Next, the command generation unit 213 generates a movement command for the thread mill T to thread the remaining workpiece area so that the thread machining time is relatively short (step SB5).
[0095] Finally, the control unit 214 controls each control axis based on the movement command generated by the command generation unit 213 (step SB6), and the process ends.
[0096] In the above-described embodiment, the command generator 213 generates a movement command so that the thread machining time is relatively short. However, the command generator 213 may also generate a movement command so that the amount of wear of the thread mill T is relatively small. The command generator 213 may also generate a movement command so that the feed movement amount of the thread mill T is relatively small.
[0097] When the thread mill T moves along a movement path that does not perform a cutting operation, the feed movement amount of the thread mill T is greater than when the thread mill T moves along a movement path that performs a cutting operation. In other words, the feed movement amount when the thread mill T performs thread cutting by moving by helical interpolation from the entrance of the pilot hole H to the thread cutting end position is greater than the feed movement amount when the thread mill T performs a cutting operation to perform thread cutting. The feed movement amount is the distance the thread mill T moves at the cutting feed rate.
[0098] When the thread mill T does not perform the cutting operation, the amount of wear on the blade C near the tip of the thread mill T increases compared to when the thread mill T performs the cutting operation. Therefore, the command generator 213 generates a movement command for the thread mill T to move along a movement path along which the cutting operation is performed.
[0099] In addition, the command generating device 21 may be provided with a receiving unit that receives information specifying whether the command generating unit 213 should generate a movement command so that the thread machining time is relatively short, or so that the amount of wear on the thread mill T is relatively small.
[0100] For example, the operator may use the input / output device 3 to input information specifying whether the command generation unit 213 should generate a movement command so that the thread machining time is relatively short, or whether the command generation unit 213 should generate a movement command so that the amount of wear on the thread mill T is relatively small. The reception unit receives the information input to the input / output device 3.
[0101] Based on the information received by the receiving unit, the command generating unit 213 determines whether to generate a movement command so that the thread machining time is relatively short, or to generate a movement command so that the amount of wear on the thread mill T is relatively small.
[0102] As described above, the command generating device 21 includes a path information generating unit 212 that generates multiple path information indicating multiple movement paths of a thread mill T having multiple blades C based on a fixed cycle command for thread machining, and a command generating unit 213 that generates a movement command to move the thread mill T along one of the multiple movement paths so that the processing time for thread machining is relatively short or the amount of wear on the thread mill T is relatively small.
[0103] Therefore, the operator does not need to determine the movement path of the thread mill T and create a machining program. Therefore, the command generating device 21 can reduce the burden on the operator.
[0104] The plurality of path information also includes a plurality of remaining path information indicating a plurality of remaining paths along which the thread mill T moves when threading the remaining area to be machined after the thread mill T has performed a cutting operation to thread a portion of the area to be machined. Therefore, the operator does not need to determine the movement path of the thread mill T when moving along the remaining path. Therefore, the command generating device 21 can reduce the burden on the operator when creating a machining program.
[0105] The command generating device 21 further includes an acquiring unit 215 that acquires condition information indicating thread machining conditions, and an estimating unit 216 that estimates the remaining machining time required for the thread mill T to perform thread machining on the remaining workpiece area based on the condition information acquired by the acquiring unit 215 and multiple pieces of remaining path information, and the command generating unit 213 generates movement commands such that the remaining machining time is relatively short. Therefore, the command generating device 21 can generate movement commands that shorten the thread machining time by the thread mill T.
[0106] Furthermore, thread machining is a process for forming a female thread on the inner surface of the prepared hole H. Therefore, the command generating device 21 can reduce the burden on the operator when creating a program for machining a female thread.
[0107] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible to these embodiments without departing from the gist of the present disclosure or the gist of the present disclosure derived from the content of the claims and their equivalents. Furthermore, these embodiments can also be implemented in combination.
[0108] The following are notes related to embodiments of the present disclosure. Note [1] A command generation device comprising: a path information generation unit that generates, based on a canned cycle command for thread machining, a plurality of path information indicating a plurality of movement paths of a thread mill having a plurality of cutting edges; and a command generation unit that generates a movement command to move the thread mill along one of the plurality of movement paths so as to relatively shorten the processing time of the thread machining or relatively reduce wear of the thread mill. Note [2] The command generation device according to Note [1], wherein the plurality of path information includes a plurality of remaining path information indicating a plurality of remaining paths along which the thread mill will move when threading a remaining area of a workpiece after the thread mill has performed a cutting operation to thread a portion of the workpiece. Supplementary Note [3] The command generating device according to Supplementary Note [2] further comprises an acquisition unit that acquires condition information indicating conditions for the thread machining, and an estimation unit that estimates a remaining machining time required for the thread mill to perform the thread machining of the remaining machined area based on the condition information acquired by the acquisition unit and the plurality of remaining path information, wherein the command generating unit generates the movement command so as to relatively shorten the remaining machining time. Supplementary Note [4] The command generating device according to any of Supplements [1] to [3], wherein the thread machining is a process for forming a female thread on the inner surface of a prepared hole. Supplementary Note [5] A computer-readable storage medium storing instructions for causing a computer to execute the following: generating a plurality of path information indicating multiple movement paths of a thread mill having multiple cutting edges, based on a canned cycle command for thread machining; and generating a movement command for moving the thread mill along one of the plurality of movement paths so as to relatively shorten the machining time of the thread machining or relatively reduce wear of the thread mill.
[0109] REFERENCE SIGNS LIST 1 Machine tool 2 Numerical control device 201 Hardware processor 202 Bus 203 ROM 204 RAM 205 Non-volatile memory 206 Interface 207 Axis control circuit 208 Spindle control circuit 209 PLC 210 I / O unit 21 Command generation device 211 Analysis unit 212 Path information generation unit 213 Command generation unit 214 Control unit 215 Acquisition unit 216 Estimation unit 3 Input / output device 4 Servo amplifier 5 Servo motor 6 Spindle amplifier 7 Spindle motor 8 Auxiliary equipment
Claims
1. A command generating device comprising: a path information generating unit that generates multiple path information indicating multiple movement paths of a thread mill having multiple blades based on a fixed cycle command for thread machining; and a command generating unit that generates a movement command to move the thread mill along one of the multiple movement paths so that the processing time for the thread machining is relatively short or so that the amount of wear on the thread mill is relatively small.
2. The command generating device of claim 1, wherein the plurality of path information includes a plurality of remaining path information each indicating a plurality of remaining paths along which the thread mill moves when performing the thread machining of the remaining machined area after the thread mill performs a cutting operation to perform the thread machining of a portion of the machined area.
3. The command generating device of claim 2, further comprising: an acquisition unit that acquires condition information indicating the conditions of the thread machining; and an estimation unit that estimates the remaining machining time required for the thread mill to perform the thread machining of the remaining machined area based on the condition information acquired by the acquisition unit and the plurality of remaining path information, wherein the command generating unit generates the movement command so that the remaining machining time is relatively short.
4. A command generating device according to any one of claims 1 to 3, wherein the thread machining is a process for forming a female thread on the inner surface of a pilot hole.
5. A computer-readable storage medium storing instructions for causing a computer to execute the following: generating a plurality of path information indicating a plurality of movement paths of a thread mill having a plurality of blades based on a fixed cycle command for thread machining; and generating a movement command for moving the thread mill along one of the plurality of movement paths so that the processing time for the thread machining is relatively short or the amount of wear on the thread mill is relatively small.
Citation Information
Patent Citations
Control system for threading
JP1982071724A
Tapping method
JP1988162115A
Control method for machining tool and moving route forming method
JP2000176790A
