Control device and program editing device

The control device and program editing device address the challenge of setting overlap amounts by using machining information to automate the process, ensuring efficient and accurate machining without manual adjustments.

WO2026023023A1PCT designated stage Publication Date: 2026-01-29FANUC LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/026653
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2026-01-29

AI Technical Summary

Technical Problem

Existing machining techniques face challenges in setting appropriate overlap amounts between blocks in machining programs to avoid deterioration in machining accuracy or interference between the tool and workpiece, which is time-consuming and prone to errors.

Method used

A control device and program editing device that determine an overlap amount based on machining information, including machining process, workpiece shape, and inner rotation ratios, to automatically set overlap amounts without complex manual adjustments, ensuring accurate and efficient machining.

Benefits of technology

Enables efficient machining with reduced cycle time and minimized errors by automatically setting appropriate overlap amounts, avoiding tool-workpiece interference and maintaining machining accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024026653_29012026_PF_FP_ABST
    Figure JP2024026653_29012026_PF_FP_ABST
Patent Text Reader

Abstract

The present invention provides a technology for enabling an overlap amount corresponding to processing content to be set without performing complicated setting work when performing overlap control between blocks of a processing program. A control device 1 includes: an overlap amount determination unit 10 that determines an overlap amount on the basis of processing-related information including at least one of a predetermined processing step, information based on a completed shape of a processed object, and a predetermined ratio based on a maximum value and a minimum value of an inward deviation amount; and an axis control unit 11 that controls driving of an axis so that the movement between the blocks overlaps by the overlap amount determined by the overlap amount determination unit 10.
Need to check novelty before this filing date? Find Prior Art

Description

Control device and program editing device

[0001] The present disclosure relates to a control device and a program editing device.

[0002] Conventionally, there is a technique for overlapping movements between blocks of a machining program in a machine tool control device. In overlapping between blocks, the operation of the next block starts before the currently executed block reaches its end point. Techniques relating to this type of overlap are described in Patent Document 1 and Patent Document 2.

[0003] Japanese Patent No. 6548830 Japanese Patent Laid-Open No. 2003-271215

[0004] Cycle time can be reduced by overlapping within the set overlap amount. However, if the overlap amount is large, the amount of inner rotation between overlapping blocks will increase, which may result in a deterioration in machining accuracy or interference between the tool and the workpiece.

[0005] By setting the overlap amount so that it does not cause a deterioration in machining accuracy or interference between the tool and the workpiece when overlapping, it is possible to avoid deterioration in machining accuracy or interference between the tool and the workpiece. However, because the overlap amount is set so as not to cause a deterioration in machining accuracy or interference between the tool and the workpiece in all processes such as rough machining and finish machining, machining ends up being performed with a small overlap amount even in machining processes such as rough machining where a large overlap amount is not a problem.

[0006] Although it is possible to set an appropriate overlap amount for each machining process, this requires calculating and setting the appropriate overlap amount for each machining process, which is time-consuming. Furthermore, the more times the overlap amount is calculated and set, the higher the probability of setting errors.

[0007] The present disclosure has been made in consideration of the above-mentioned problems, and aims to provide a technology that enables the amount of overlap to be set according to the processing content without performing complicated setting work when performing overlap control between blocks of a processing program.

[0008] The present disclosure provides a control device that drives and controls axes by overlapping movement between blocks based on a machining program including multiple blocks that specify the operation of a machine tool, and includes an overlap amount determination unit that determines an overlap amount based on information related to machining that includes at least one of a predetermined machining process, information based on the finished shape of the workpiece, and a predetermined ratio based on the maximum and minimum values ​​of the amount of inner rotation, and an axis control unit that drives and controls axes so that movement between the blocks overlaps at the overlap amount determined by the overlap amount determination unit.

[0009] The present disclosure also provides a program editing device that edits a machining program, the program editing device having a program editing unit that acquires the machining program and information related to machining including at least one of a predetermined machining process, information based on the finished shape of the machined product, and a predetermined ratio based on the maximum and minimum values ​​of the inner rotation amount, identifies an overlap amount according to the information about the machining and a machining section to which the overlap amount is to be applied, and adds a command to which the identified overlap amount is to be applied to the machining section in the machining program.

[0010] 1 is a functional block diagram of a control device according to a first embodiment. FIG. 1 is a graph showing changes in feed rate in the X-axis direction and the Y-axis direction when overlap control is being executed. FIG. 2 is a graph showing a tool path when overlap control is being executed. FIG. 3 is a table showing overlap amounts corresponding to machining processes specified from comments in a machining program. FIG. 4 is a diagram showing an example of a machining program in which machining processes are specified by comments. FIG. 5 is a table showing overlap amounts corresponding to machining processes specified from specific commands or modes in the machining program. FIG. 6 is a diagram showing an example of a machining program in which machining processes are specified by specific commands or modes. FIG. 7 is a diagram showing an example of judgment conditions for determining a machining process based on a feed rate and a spindle speed. FIG. 8 is a diagram showing an example of a machining program in which a machining process is specified based on a feed rate and a spindle speed. FIG. 9 is a diagram showing an example of a machining program in which a machining process is specified based on an external signal. FIG. 10 is a diagram showing an example of judgment conditions for determining a machining process based on tool selection information. FIG. 11 is a diagram showing an example of a machining program in which a machining process is specified based on tool selection information. FIG. 12 is a schematic diagram showing an example of the positional relationship between a command path and a finished shape of a workpiece. FIG. 13 is a diagram showing an example of determination conditions for determining an overlap amount based on information based on the machining shape. FIG. 10 is a schematic diagram showing a first reference position for specifying a difference in position between a command path and the completed shape of a workpiece when overlap control is performed. FIG. 11 is a schematic diagram showing a second reference position and a third reference position for specifying a difference in position between a command path and the completed shape of a workpiece when overlap control is performed. FIG. 12 is a diagram explaining an example of determining an overlap amount based on the ratio of an inward turning amount. FIG. 13 is a functional block diagram of a control device and a program editing device according to a second embodiment. FIG. 14 is a diagram showing an example of a machining program input to the program editing device. FIG. 15 is a diagram showing an additional program definition set in the program editing device. FIG. 16 is a diagram showing an example of a machining program edited by the program editing device.

[0011] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the description of the second and subsequent embodiments, the same reference numerals will be used to designate components common to the first and second embodiments, and the description thereof will be omitted as appropriate.

[0012] [First embodiment] Fig. 1 is a functional block diagram of a control device 1 according to a first embodiment. The control device 1 shown in Fig. 1 is a numerical control device that controls the operation of a tool of a machine tool and a workpiece to be machined. The control device 1 is configured by a computer including a processor such as a CPU (Central Processing Unit), memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory), a storage device configured by a hard disk drive, etc., and a communication control device.

[0013] A control program for operating the tools and workpieces of the machine tool based on the machining program is installed in the control device 1. The control program works in cooperation with hardware such as the processor, memory, storage device, and communication control device of the control device 1 to perform machining operations based on commands from the machining program.

[0014] Furthermore, the control device 1 can also install an application such as an interference check simulation that checks whether or not interference will occur between the tool and the workpiece before machining begins.

[0015] The control device 1 of this embodiment controls the drive of axes by overlapping movement between blocks based on a machining program containing multiple blocks that specify the operation of the machine tool. A machining program block is a range defined by a ";" attached to the end of a code that commands cutting feed, rapid feed, etc., and is a unit from ";" to ";". In overlap control, execution of the next block begins before the currently executing block reaches its end point.

[0016] An example of overlap control will be described with reference to Figures 2 and 3. Figure 2 is a graph showing changes in feedrate in the X-axis and Y-axis directions when overlap control is being executed. In the graph of Figure 2, the horizontal axis represents time, the vertical axis represents feedrate, the solid line represents the change over time in feedrate in the X-axis direction based on the commands of the current block of the machining program, and the dashed line represents the change over time in feedrate in the Y-axis direction based on the commands of the next block. As shown in Figure 2, acceleration of the feedrate in the Y-axis direction begins before the feedrate in the X-axis direction of the current block reaches 0.

[0017] FIG. 3 is a graph showing the tool path when overlap control is performed. In the graph of FIG. 3, the horizontal axis indicates the position on the X axis, and the vertical axis indicates the position on the Y axis. The solid line in the graph shows the tool path when overlapping occurs, and the dotted line shows the tool path when there is no overlap. When there is no overlap, the tool path moves in the X axis direction and then in the Y axis direction, resulting in a right-angled trajectory. In contrast, when overlapping occurs, the tool path traces an arc-like trajectory that moves more inward than the tool path when there is no overlap. In this way, overlap control causes an inward turn at the corner between blocks. This enables smooth machining operations. Note that in this example, an arc-like trajectory is depicted, but overlap control may also be used to move the tool path diagonally along the inner side.

[0018] The control device 1 of this embodiment includes an overlap amount determination unit 10 and an axis control unit 11. The overlap amount determination unit 10 and the axis control unit 11 are realized, for example, by cooperation between a processor, a memory, and a control program stored in the memory of the control device 1. The control device 1 also has a storage area 20 that stores the target completed shape of the workpiece using parameters, etc.

[0019] A machining program and machining-related information are input to the overlap amount determination unit 10. The overlap amount determination unit 10 determines the overlap amount based on the machining-related information. The machining-related information includes, for example, at least one of a predetermined machining process, information based on the finished shape of the workpiece, and a ratio determined based on the maximum and minimum values ​​of the inner rotation amount.

[0020] The overlap amount is, for example, a set time that is set as the remaining time until the current block being executed reaches its end point, and is the time that triggers the start of the next block. When the time until the deceleration of the feed rate F in the X-axis direction based on the command of the current block is completed falls below the set time, the acceleration of the feed rate in the Y-axis direction based on the command of the next block begins.

[0021] The overlap amount is determined using a predetermined machining process, information based on the finished shape of the workpiece, and a ratio determined based on the maximum and minimum values ​​of the inner rotation amount, etc. The method for determining the overlap amount will be described in detail later.

[0022] The overlap amount determined by the overlap amount determination unit 10 is input to the axis control unit 11. The axis control unit 11 controls the driving of axes such as motors of the machine tool by overlap control that overlaps movement between blocks based on the input overlap amount.

[0023] [Setting the Overlap Amount Based on Comments] An example in which the overlap amount is set based on comments included in the machining program will be described with reference to FIGS. 4 and 5. FIG.

[0024] FIG. 4 is a table showing overlap amounts corresponding to machining steps identified from comments in a machining program. The table in FIG. 4 is stored, for example, in the storage area 20 of the control device 1. The table in FIG. 4 shows codes specified in comments in the machining program and the overlap amounts corresponding to the codes. @1 indicates that the machining step is rough machining, and the overlap amount corresponding to rough machining is 40 msec. @2 indicates that the machining step is in intermediate 1, and the overlap amount corresponding to intermediate 1 is 32 msec. @9 indicates that the machining step is finish machining, and the overlap amount corresponding to 4 msec.

[0025] FIG. 5 is a diagram showing an example of a machining program in which machining steps are identified by comments. Comments are memo functions that do not specify operations written in the machining program. In this example, the part enclosed in parentheses is the comment. The overlap amount determination unit 10 refers to the table in FIG. 4 and determines that the G01 block and the G00 block following the portion where (@1 = ara_kakou) are described will be rough machining, and sets the overlap amount to 40 ms for rough machining. Next, the overlap amount determination unit 10 refers to the table in FIG. 4 and determines that the G01 block following the portion where (@9 = shiage_kakou) is described will be finish machining, and sets the overlap amount to 4 ms for finish machining.

[0026] [Setting of Overlap Amount Based on Command] Next, with reference to FIGS. 6 and 7, an example in which the overlap amount is set based on a specific command or mode in the machining program will be described.

[0027] Figure 6 is a table showing overlap amounts corresponding to machining steps specified by specific commands or modes in a machining program. The table in Figure 6 is stored, for example, in the storage area 20 of the control device 1. The table in Figure 6 shows specific commands or modes in a machining program and the overlap amounts corresponding to the specific commands or modes. G9.4 indicates a G-code command for rough machining (specific mode), and the overlap amount corresponding to rough machining is 40 msec. G9.5 indicates a G-code command for finish machining (specific mode), and the overlap amount corresponding to finish machining is 4 msec.

[0028] 7 shows an example of a machining program in which machining steps are specified by specific commands and modes. The overlap amount determination unit 10 references the table in FIG. 6 and determines that the G01 block and G00 block following the portion where G09.4 is described will be rough machining, and sets the overlap amount to 40 ms for rough machining. Next, the overlap amount determination unit 10 references the table in FIG. 6 and determines that the G01 block following the portion where G09.5 is described will be finish machining, and sets the overlap amount to 4 ms for finish machining.

[0029] [Setting the Overlap Amount Based on Feed Rate and Spindle Speed] Next, with reference to FIGS. 8 and 9, an example in which the overlap amount is set based on the feed rate and spindle speed in the machining program will be described.

[0030] FIG. 8 shows the relationship between the feed rate and the spindle speed (min -1 8 is a diagram showing an example of a determination condition for determining a machining process based on the feed rate F (mm / min) exceeding 2000 or the spindle speed (min -1) is less than 100. In addition, the conditions for determining that the machining process is finishing are that the feed rate F (mm / min) is 2000 or less and the spindle speed (min -1 ) is shown to be 100 or more.

[0031] 9 is a diagram showing an example of a machining program in which machining steps are identified based on the feed rate and spindle speed. In the example of the machining program shown in FIG. 9, because Sxx is less than 100 or Fxx and Fyy are greater than 2000, the overlap amount determination unit 10 determines that the G01 block after Sxx and the G01 block following this block will be rough machining, and sets the overlap amount to 40 ms for rough machining. Also, in the example of the machining program shown in FIG. 9, because Syy is greater than or equal to 100 and Fyy is less than or equal to 2000, the overlap amount determination unit 10 determines that the G01 block after Syy will be finish machining, and sets the overlap amount to 4 ms for finish machining.

[0032] In this example, the spindle speed is set in the machining program separately from the feed rate, but this is not limiting. The spindle speed may be calculated from the feed rate, and the spindle speed may not be specified in the machining program.

[0033] [Setting the Amount of Overlap Based on an External Signal] Next, with reference to FIG. 10, an example in which the amount of overlap is set based on an external input signal will be described.

[0034] FIG. 10 is a diagram showing an example of a machining program in which machining steps are identified based on an external signal. In the example of FIG. 10, because no signal is input or a rough machining signal is input, the overlap amount determination unit 10 determines that the machining steps of the early blocks G00 and G01 are rough machining and sets the overlap amount to 40 ms for rough machining. Next, when the overlap amount determination unit 10 detects an externally input finish machining signal, it determines that the machining steps of the blocks G00 and G01 after rough machining are finish machining and sets the overlap amount to 4 ms for finish machining. The external signal may be a ladder diagram (ladder program) or an M-code.

[0035] [Setting of Overlap Amount Based on Tool Selection Information] Next, with reference to FIGS. 11 and 12, an example in which the overlap amount is set based on tool selection information will be described.

[0036] Fig. 11 is a diagram showing an example of judgment conditions for determining a machining process based on tool selection information. The judgment conditions are stored, for example, in the storage area 20 of the control device 1. In Fig. 11, T01, T02, and T03 are specified as conditions for determining that the machining process is rough machining, and T11, T12, and T13 are specified as conditions for determining that the machining process is finish machining. T01, T02, T03, T11, T12, and T13 are all information related to the tools used in machining.

[0037] 12 is a diagram showing an example of a machining program in which a machining process is specified based on tool selection information. In the example of FIG. 12, the overlap amount determination unit 10 determines that the machining process of the blocks G00 and G01 after the portion where T01 is described is rough machining, and sets the overlap amount to 40 ms for rough machining. Next, the overlap amount determination unit 10 determines that the machining process of the blocks G00 and G01 after the portion where T12 is described is finish machining, and sets the overlap amount to 4 ms for finish machining.

[0038] [Setting the Overlap Amount Based on Information Based on the Finished Shape of the Work] Next, with reference to FIG. 13, an example of determining the overlap amount based on information based on the finished shape of the work will be described.

[0039] Fig. 13 is a schematic diagram showing an example of the positional relationship between the commanded path and the completed shape of the workpiece 50. Fig. 13 shows a commanded path based on the blocks of a machining program when overlap control is not performed, and machining is performed in the order of the previous block, the current block, and the next block. Information based on the completed shape of the workpiece 50 is, for example, the difference in position between the completed shape of the workpiece 50 and the commanded path of the machining program.

[0040] There is no particular limitation on where the information based on the completed shape of the workpiece 50 is obtained from. The overlap amount determination unit 10 obtains the information based on the completed shape of the workpiece 50 from, for example, an application that runs on the control device 1 and performs an interference check or the like, a machining program, an external input, the storage area 20, or the like.

[0041] The overlap amount determination unit 10 determines the overlap amount based on the determination conditions stored in the storage area 20 or the like and the difference between the position of the commanded path and the position of the finished shape of the workpiece 50. Fig. 14 is a diagram showing an example of the determination conditions for determining the overlap amount based on information based on the machining shape. The control device 1 has a first threshold, a second threshold, and a third threshold set as the determination conditions. The numerical magnitudes have a relationship of first threshold > second threshold > third threshold.

[0042] If the acquired position difference exceeds the first threshold, the overlap amount determination unit 10 sets the overlap amount to 1.0 mm for rough machining. If the acquired position difference is between the first threshold and the second threshold, the overlap amount determination unit 10 sets the overlap amount to 0.5 mm for intermediate 1 machining. If the acquired position difference is between the second threshold and the third threshold, the overlap amount determination unit 10 sets the overlap amount to 0.3 mm for intermediate 2 machining. If the acquired position difference is below the third threshold, the overlap amount determination unit 10 sets the overlap amount to 0.1 mm for finish machining.

[0043] The difference in position between the commanded path and the completed shape of the workpiece 50 may be obtained based on the difference in position between the commanded path reflecting overlap control and the completed shape of the workpiece 50. Fig. 15 is a schematic diagram showing a first reference position for specifying the difference in position between the commanded path and the completed shape of the workpiece 50 when overlap control is performed. In the example of Fig. 15, the path of overlap control is an arc-shaped curve. The overlap amount determiner 10 can, for example, determine the linear distance from the first reference position, which is the starting point on the overlap control path, to the completed shape of the workpiece 50 as the difference in position between the commanded path and the completed shape of the workpiece 50.

[0044] 16 is a schematic diagram showing the second and third reference positions for specifying the difference between the command path and the position of the completed shape of the workpiece 50 when overlap control is performed. As shown in Fig. 16, the overlap amount determination unit 10 can also determine the linear distance from the second reference position, which is the end point on the overlap control path, to the completed shape of the workpiece 50 as the difference between the command path and the position of the completed shape of the workpiece 50.

[0045] In addition, the overlap amount determination unit 10 can also determine the straight-line distance from the third reference position, which is the position on the overlap control path that is closest to the finished shape of the workpiece 50, to the finished shape of the workpiece 50 as the difference between the command path and the position of the finished shape of the workpiece 50.

[0046] [Setting the overlap amount based on the ratio of the inner turning amount] Next, with reference to FIG. 17 , an example of determining the overlap amount based on the ratio of the inner turning amount set by the user will be described. FIG. 17 is a diagram illustrating an example of determining the overlap amount based on the ratio of the inner turning amount. A minimum value and a maximum value of the inner turning amount are set in advance in the control device 1 and the machining program. In the example shown in FIG. 17 , the user specifies a ratio for a case in which the minimum value of the set inner turning amount is the lower limit and the maximum value is the upper limit, and the overlap amount is determined based on this ratio. Since the ratio can be specified instead of inputting a numerical value, the setting for determining the overlap amount can be performed intuitively and easily.

[0047] In the example of Fig. 17, the upper limit is set to 1 mm, the lower limit is set to 0.1 mm, and the user-specified ratio is 50%. The overlap amount determination unit 10 sets the upper limit value of 1 mm to 100% and the lower limit value of 0.1 mm to 0%, and calculates the inward turning amount to 0.55 mm based on the user-specified ratio of 50%. The overlap amount determination unit 10 calculates the overlap amount based on the calculated inward turning amount (see Fig. 3).

[0048] [Overlap Amount Other Than Time] While the overlap amount has been described above as being time, it may be something other than time. The overlap amount may be a set distance. For example, after the feed rate in the X-axis direction starts to decelerate based on the command for the current block, when the distance to the end point of the current block becomes equal to or less than the set distance, the feed rate in the Y-axis direction starts to accelerate based on the command for the next block.

[0049] The overlap amount may also be a speed reduction ratio that indicates a predetermined ratio to the speed at the start of deceleration. For example, deceleration of the feed speed F in the X-axis direction begins based on the command of the current block, and when it reaches a set feed speed that is set based on a predetermined speed reduction ratio, acceleration of the feed speed in the Y-axis direction begins based on the command of the next block. The set feed speed can be calculated, for example, by multiplying the speed at the start of deceleration by a preset speed reduction ratio.

[0050] As described above, the control device 1 of the first embodiment includes an overlap amount determination unit 10 that determines the overlap amount based on information related to machining including at least one of a predetermined machining process, information based on the finished shape of the workpiece, and predetermined ratios based on the maximum and minimum values ​​of the inner rotation amount, and an axis control unit 11 that drives and controls the axes so that movements between blocks overlap by the overlap amount determined by the overlap amount determination unit 10.

[0051] This allows the appropriate overlap amount to be set according to the machining content (machining information). There is no need to perform complex settings, such as changing the overlap amount for each machining process, and cycle time can be shortened while avoiding deterioration of machining accuracy and interference between the tool and the workpiece. Furthermore, since there is no need to change the machining program or settings each time, mistakes that occur during setting can also be reduced.

[0052] In this embodiment, the machining process includes at least one of rough machining, finish machining, and an intermediate process therebetween.

[0053] This allows the overlap amount to be set appropriately depending on the type and purpose of the machining process.

[0054] In addition, in this embodiment, the machining process is obtained from at least one of a comment in the machining program, a specific command, a specific mode, tool selection information, a specific feed rate value, a specific spindle speed value, and an external input.

[0055] This allows the machining process to be specified using various methods such as comments, command or mode type, tool, feed rate, spindle speed, external input, etc., and the overlap amount can be set according to the machining process.

[0056] In addition, in this embodiment, the information based on the finished shape of the workpiece 50 is the difference between the finished shape of the workpiece 50 obtained from an application running on the control device 1, a machining program, external input, or the storage area 20 on the control device 1, and the position of the command path of the machining program.

[0057] This allows the source of information based on the finished shape of the workpiece 50 to be set according to the specifications of the control device 1 and the purpose of processing.

[0058] In this embodiment, the overlap amount is either the time when the execution of the next block is started when the remaining time until the current block being executed reaches its end point becomes a predetermined time, the distance when the execution of the next block is started when the remaining distance until the current block being executed reaches its end point becomes a predetermined distance, or the speed reduction ratio when the execution of the next block is started when the current block being executed starts to decelerate and the speed has decreased to a predetermined ratio.

[0059] This allows the time, distance or speed reduction ratio to be set as the overlap amount depending on the specifications of the control device 1, the purpose of machining, etc., and allows overlap control to be executed according to the overlap amount.

[0060] Second Embodiment Next, a control device 1a and a program editing device 30 according to a second embodiment, which are different from those of the first embodiment, will be described. The control device 1a of the second embodiment controls the axes of a machine tool in cooperation with the program editing device 30. The axis control unit 11 of the control device 1a has a configuration similar to that of the axis control unit 11 of the control device 1 of the first embodiment.

[0061] The program editing device 30 includes a program editing unit 31 that edits a machining program based on machining information. The program editing device 30 has an input function for inputting the machining program and machining information. The machining program and machining information are input to the program editing unit 31 by an operator.

[0062] The information relating to machining in the second embodiment is, for example, a table for determining the amount of overlap from comments in the machining program as shown in FIG.

[0063] Fig. 19 is a diagram showing an example of a machining program input to the program editing device 30. In the machining program shown in Fig. 19, comments are written as information for specifying machining steps, such as (@1=ara_kakou) and (@9=shiage_kakou).

[0064] The program editing unit 31 defines an additional program based on the machining program and information related to machining. Fig. 20 is a diagram showing an example of an additional program definition set in the program editing device 30. Fig. 20 shows definitions of additional programs corresponding to machining steps such as rough machining, intermediate 1, intermediate 2, and finish machining.

[0065] The program editing unit 31 adds a command to which overlap is applied to the section to be edited that is specified by the comment of the machining program shown in FIG. 19 based on the defined additional program.

[0066] Fig. 21 is a diagram showing an example of a machining program edited by the program editing device 30. As shown in Fig. 21, the program editing device 30 adds "G10 Lxx; Nxx Pxx Rxx; ... G11;", which is a command for applying an overlap setting for rough machining, after the portion of the machining program where (@1 = ara_kakou) specifying rough machining is written. Similarly, the program editing device 30 adds "G10 Lxx; Nxx Pxx Raa; ... G11;", which is a command for applying an overlap setting for finish machining, after the portion of the machining program where (@9 = shiage_kakou) specifying finish machining is written.

[0067] As described above, the program editing device 30 of the second embodiment is equipped with a program editing unit 31 that acquires a machining program and information related to machining including at least one of a predetermined machining process, information based on the finished shape of the machined workpiece, and predetermined ratios based on the maximum and minimum values ​​of the inner turning amount, identifies an overlap amount according to the information related to machining and a machining section to which the overlap amount is to be applied, and adds a command to which the identified overlap amount is to be applied to the machining section in the machining program.

[0068] This allows the machining program to be automatically edited so that the appropriate overlap amount is set according to the machining content (machining information). There is no need to perform complex settings, such as changing the overlap amount for each machining process, and cycle time can be shortened while avoiding deterioration of machining accuracy and interference between the tool and the workpiece. Furthermore, because the machining program is edited automatically, mistakes that occur during setup can also be reduced.

[0069] In the second embodiment, the command to which the specified overlap amount is applied is added to the beginning of the specified machining section.

[0070] Since the machining program is read in order from the beginning, the specified overlap amount can be applied to overlap control by adding a command to the beginning of the specified machining section without performing complex editing processing.

[0071] The present disclosure is not limited to the above-described embodiments, and includes modifications and improvements within the scope of achieving the object of the present disclosure.

[0072] The following supplementary note is further disclosed regarding the above embodiment and modified examples: (Supplementary note 1) A control device (1) that drives and controls axes by overlapping movements between blocks based on a machining program including a plurality of blocks that specify the operation of a machine tool, the control device (1) comprising: an overlap amount determination unit (10) that determines an overlap amount based on machining information including at least one of a predetermined machining process, information based on the finished shape of a workpiece, and predetermined ratios based on maximum and minimum values ​​of inner rotation amounts, and an axis control unit (11) that drives and controls axes so that movements between the blocks overlap with the overlap amount determined by the overlap amount determination unit.

[0073] (Supplementary Note 2) In the control device (1) according to Supplementary Note 1, the machining process includes at least one of rough machining, finish machining, and an intermediate process therebetween.

[0074] (Supplementary Note 3) In the control device (1) described in Supplementary Note 2, the machining process is obtained from at least one of a comment of the machining program, a specific command, a specific mode, tool selection information, a specific feed rate value, a specific spindle speed value, and an external input.

[0075] (Appendix 4) In the control device (1) described in any of Appendices 1 to 3, the information based on the finished shape of the workpiece is the difference between the finished shape of the workpiece obtained from an application running on the control device, the machining program, an external input, or a storage area (20) on the control device, and the position of the command path of the machining program.

[0076] (Supplementary Note 5) In the control device (1) described in any one of Supplementary Notes 1 to 4, the overlap amount is any one of the following: the time when execution of the next block starts when the remaining time until the current block being executed reaches its end point becomes a predetermined time; the distance when execution of the next block starts when the remaining distance until the current block being executed reaches its end point becomes a predetermined distance; and the deceleration ratio when execution of the next block starts when the current block being executed starts to decelerate and the speed has decelerated to a predetermined ratio.

[0077] (Supplementary Note 6) A program editing device (30) that edits a machining program, comprising: a program editing unit (31) that acquires the machining program and information related to machining including at least one of a predetermined machining process, information based on the finished shape of the workpiece (50), and a predetermined ratio based on a maximum value and a minimum value of an inward turning amount, identifies an overlap amount according to the information related to the machining and a machining section to which the overlap amount is to be applied, and adds a command to which the identified overlap amount is to be applied to the machining section in the machining program.

[0078] (Supplementary Note 7) In the program editing device (30) described in Supplementary Note 6, a command to which the specified overlap amount is applied is added to the beginning of the specified machining section.

[0079] REFERENCE SIGNS LIST 1, 1a Control device 10 Overlap amount determination unit 11 Axis control unit 20 Storage area 30 Program editing device 31 Program editing unit

Claims

1. A control device that drives and controls axes by overlapping movement between blocks based on a machining program containing multiple blocks that specify the operation of a machine tool, the control device comprising: an overlap amount determination unit that determines the amount of overlap based on information related to machining that includes at least one of a predetermined machining process, information based on the finished shape of the workpiece, and a predetermined ratio based on the maximum and minimum values ​​of the amount of inner rotation; and an axis control unit that drives and controls axes so that movement between the blocks overlaps at the amount of overlap determined by the overlap amount determination unit.

2. The control device according to claim 1, wherein the machining process includes at least one of rough machining, finish machining, and a process therebetween.

3. The control device according to claim 2, wherein the machining process is obtained from at least one of a comment in the machining program, a specific command, a specific mode, tool selection information, a specific feed rate value, a specific spindle speed value, and an external input.

4. A control device as described in any one of claims 1 to 3, wherein the information based on the finished shape of the workpiece is the difference between the finished shape of the workpiece obtained from an application running on the control device, the machining program, external input, or a storage area on the control device, and the position of the command path of the machining program.

5. A control device as described in any one of claims 1 to 4, wherein the overlap amount is one of the following: the time when execution of the next block starts when the remaining time until the current block being executed reaches its end point becomes a predetermined time; the distance when execution of the next block starts when the remaining distance until the current block being executed reaches its end point becomes a predetermined distance; and the speed reduction ratio when execution of the next block starts when the current block being executed starts to decelerate and the speed has decreased to a predetermined ratio.

6. A program editing device that edits a machining program, comprising: a program editing unit that acquires the machining program; and information related to machining that includes at least one of a predetermined machining process, information based on the finished shape of the machined product, and a predetermined ratio based on the maximum and minimum values ​​of the amount of inner rotation; identifies an overlap amount according to the information about the machining and a machining section to which the overlap amount is to be applied; and adds a command to apply the identified overlap amount to the machining section in the machining program.

7. A program editing device according to claim 6, wherein a command to which the identified overlap amount is applied is added to the beginning of the identified machining section.

Citation Information

Patent Citations

  • Numerical control device of machine tools

    JP2008046913A

  • Numerical control system for machine tool

    JP2020144667A

  • Command value generating device

    WO2018042704A1