Machining program editing device and machining program editing method
The machining program editing device allows for modifications to machining data that affect the toolpath by using a toolpath influence determination unit, enhancing editing efficiency and accuracy by reducing user workload and preventing errors.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2026-04-07
AI Technical Summary
Existing machining program editing technologies do not allow for modifications to machining data that affect the toolpath, even when such changes are desired, as they lack the capability to maintain a one-to-one correspondence between machining data and edited content.
A machining program editing device and method that includes a toolpath influence determination unit to assess whether changes in machining data affect the toolpath, allowing for modifications to machining data that are not directly related to the edits, and providing warnings or options to users when necessary.
Enables editing of machining data that affects the toolpath while maintaining the edited content, reducing user workload and preventing operational errors by clearly indicating related data, thus facilitating easier and more accurate machining program editing.
Smart Images

Figure 0007842227000001 
Figure 0007842227000002 
Figure 0007842227000003
Abstract
Description
Technical Field
[0001] The present invention relates to a machining program editing device and a machining program editing method.
Background Art
[0002] There is known a technique for automatically generating a machining program based on machining data (feed rate, spindle speed, cutting tool used, depth of cut, finish shape, etc.) necessary for generating the machining program. For example, see Patent Document 1. Also, when editing the generated machining program, there is known a technique for maintaining the correspondence between the edited machining program and the machining data by changing the machining data as long as the editing content does not affect the tool path. For example, see Patent Document 2.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Patent Document 2
Summary of the Invention
Problems to be Solved by the Invention
[0004] Even for editing content that affects the tool path, there may be a case where it is desired to change the machining data that has no direct relation to the editing content. However, Patent Documents 1 and 2 do not describe a technique that enables this. For example, when an operator specifies machining data such as feed rate and spindle speed on the machining data input screen shown in Figure 16, Patent Document 2 generates a machining program (expanded into a G-code program) that includes pre-processing, machining, and post-processing, as shown in Figure 17. If the generated machining program needs to be edited, such as by changing the toolpath to shorten the cycle time, Patent Document 2 allows the machining program in the shaded area to be modified by changing the machining data, within a range that does not affect the toolpath. However, Patent Document 2 has the problem that it does not allow the modification of machining data within a range that affects the toolpath. In other words, toolpaths are generated using a fixed algorithm based on machining data, and fine adjustments are not possible. If there is no one-to-one correspondence between the machining data and the edited content, the edited content cannot be reflected in the machining data. Therefore, if the edited content and the parts that change due to the modification of the machining data coincide, there is a problem in that it is impossible to modify the machining data while retaining the edited content.
[0005] Therefore, it is desirable to be able to modify processing data that is not directly related to the edits, even if the edits affect the toolpath. [Means for solving the problem]
[0006] One embodiment of the machining program editing device of the present disclosure includes: a machining data input unit for inputting machining data including at least one of feed rate, spindle speed, tool used, depth of cut, machining shape, and position information; a machining program generation unit for generating a machining program based on the machining data; a machining program editing unit for editing the machining program generated by the machining program generation unit; a storage unit for storing the machining data, the machining program generated by the machining program generation unit, and the edited contents of the machining program edited by the machining program editing unit; and a toolpath influence determination unit for determining whether or not the modified portion of the machining data affects the toolpath when the machining data is modified.
[0007] One embodiment of the machining program editing method of the present disclosure is a machining program editing method that causes a computer to function as a machining program editing device, comprising: a machining data input step of inputting machining data including at least one of feed rate, spindle speed, tool used, depth of cut, machining shape, and position information; a machining program generation step of generating a machining program based on the machining data; a machining program editing step of editing the machining program generated in the machining program generation step; a storage step of storing the machining data, the machining program generated in the machining program generation step, and the edited content of the machining program edited in the machining program editing step; and a toolpath influence determination step of, when the machining data is changed, comparing the changed portion of the machining data with the edited content of the machining program and determining whether or not it affects the toolpath. [Effects of the Invention]
[0008] According to one embodiment, even if the edits affect the toolpath, the processing data that is not directly related to the edits can be modified. [Brief explanation of the drawing]
[0009] [Figure 1] This is a functional block diagram showing an example of the functional configuration of a processing program editing device according to the first embodiment. [Figure 2] This figure shows an example of a machining program generated based on the input machining data. [Figure 3] Figure 2 shows an example of a modified machining program. [Figure 4] This figure shows an example of a machining program in which the machining data of the machining program in Figure 2 has been changed. [Figure 5] This figure shows an example of comparing the modified parts of the processing data with the edited parts of the processing program. [Figure 6] This is a flowchart explaining the editing process of the machining program editing device. [Figure 7]It is a diagram showing an example of the generated machining program. [Figure 8] It is a diagram showing an example of the machining program in which editing and machining data are changed in the machining program of FIG. 7. [Figure 9] It is a diagram showing an example of the machining program having an absolute command in which editing and machining data are changed. [Figure 10] It is a functional block diagram showing a functional configuration example of the machining program editing device according to the second embodiment. [Figure 11] It is a diagram showing an example of machining data relationship information for each block. [Figure 12] It is a diagram showing an example of machining data relationship information for each word. [Figure 13] It is a diagram showing an example of the machining program obtained by editing the machining program of FIG. 11. [Figure 14] It is a diagram showing an example of the machining data input screen. [Figure 15] It is a flowchart for explaining the editing process of the machining program editing device. [Figure 16] It is a diagram showing an example of the machining data input screen. [Figure 17] It is a diagram showing an example of the machining program generated based on the machining data of FIG. 16.
Mode for Carrying Out the Invention
[0010] <First Embodiment> First, the outline of this embodiment will be described. In this embodiment, a machining program is generated based on the input machining data, the generated machining program is edited, the machining data, the generated machining program, and the editing content of the edited machining program are stored, and when the machining data is changed, the changed part of the machining data is compared with the editing content of the machining program to determine whether it affects the tool path. Thus, according to this embodiment, even for the editing content that affects the tool path, the machining data that has no direct relation to the editing content can be changed. The above is the outline of this embodiment.
[0011] Next, the configuration of this embodiment will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram showing a functional configuration example of a machining program editing apparatus according to the first embodiment. As shown in FIG. 1, the machining program editing apparatus 1 is a known computer and includes a control unit 10, an input unit 11, a display unit 12, and a storage unit 13. The control unit 10 includes a machining data input unit 101, a machining program generation unit 102, a machining program editing unit 103, and a tool path influence determination unit 104. Note that the machining program editing apparatus 1 may be mutually connected via a network (not shown) such as a LAN (Local Area Network) or the Internet with a numerical control device (not shown) that controls the operation of a machine tool (not shown). Alternatively, the machining program editing apparatus 1 may be directly connected to each other via a connection interface (not shown) with a numerical control device (not shown).
[0012] <Input Unit 11> The input unit 11 is, for example, a keyboard or a touch panel arranged on the display unit 12 described later, and receives input from the user.
[0013] <Display Unit 12> The display unit 12 is, for example, a liquid crystal display or the like. The display unit 12 displays the machining program generated by the machining program generation unit 102 described later, the machining program edited by the machining program editing unit 103 described later, and the machining program in which the machining data has been changed by the tool path influence determination unit 104 described later.
[0014] <Storage Unit 13> The storage unit 13 may be an SSD (Solid State Drive) or HDD (Hard Disk Drive), and may store machining programs for operating machine tools (not shown). Alternatively, the storage unit 13 may include RAM (Random Access Memory) and function as a program memory that stores machining data, machining programs generated by the machining program generation unit 102 (described later), and the edited content of machining programs edited by the machining program editing unit 103 (described later).
[0015] <Control Unit 10> The control unit 10 includes a CPU (Central Processing Unit), ROM (Read Only Memory), RAM, CMOS (Complementary Metal-Oxide-Semiconductor) memory, etc., which are configured to communicate with each other via a bus, and are known to those skilled in the art. The CPU is a processor that controls the entire machining program editing device 1. The CPU reads the system program and application programs stored in ROM via the bus and controls the entire machining program editing device 1 according to the system program and application programs. As a result, as shown in Figure 1, the control unit 10 is configured to realize the functions of the machining data input unit 101, the machining program generation unit 102, the machining program editing unit 103, and the toolpath influence determination unit 104. Various data such as temporary calculation data and display data are stored in the RAM. The CMOS memory is backed up by a battery (not shown) and is configured as a non-volatile memory that retains its memory state even when the power to the machining program editing device 1 is turned off.
[0016] The machining data input unit 101 receives machining data via the input unit 11, based on user input operations, which includes at least one of the following: feed rate, spindle speed, tool used, depth of cut, machining shape, and position information. Specifically, the machining data input unit 101 inputs "G1234 P1_Q1_P2_Q2_P3_Q3_F_S_T_" as machining data based on user input via the input unit 11. The machining data input unit 101 stores the input machining data "G1234 P1_Q1_P2_Q2_P3_Q3_F_S_T_" in the storage unit 13 (program memory). The argument "P1_Q1_" indicates the machining shape of the previous process. The argument "P2_Q2_" indicates the machining shape of the machining part. The argument "P3_Q3_" indicates the machining shape of the subsequent process. The argument "F_" indicates the feed rate, the argument "S_" indicates the spindle speed (spindle rotation speed), and the argument "T_" indicates the tool used.
[0017] The machining program generation unit 102 generates a machining program based on the input machining data. Specifically, the machining program generation unit 102 generates the machining program shown in Figure 2 based on, for example, the machining data "G1234 P1_Q1_P2_Q2_P3_Q3_F_S_T_". The machining program generation unit 102 stores the generated machining program in the storage unit 13 (program memory).
[0018] The processing program editing unit 103 edits the processing program generated by the processing program generation unit 102. Specifically, the machining program editing unit 103 edits the machining program shown in Figure 2 based on user input via the input unit 11, for example, and edits the coordinate values of the rectangle shown in Figure 3. The machining program editing unit 103 stores the edited machining program along with the rectangle shown in the storage unit 13 (program memory) as the edited content of the machining program.
[0019] The toolpath influence determination unit 104, when the machining data is changed, compares the changed portion of the machining data with the edited content of the machining program to determine whether or not it will affect the toolpath. Specifically, when the toolpath influence determination unit 104 receives a change in machining data based on the user's input operation via the input unit 11, it provisionally generates a machining program with modified coordinate values in the portion of the machining data shown by the rectangle in Figure 2, as shown in Figure 4. The toolpath influence determination unit 104 then compares the modified portion of the machining data with the edited portion of the machining program. Figure 5 shows an example of a comparison between the modified portion of the processing data and the edited portion of the processing program. In Figure 5, the rectangular portion shows the edited portion by the processing program editing unit 103, and the shaded portion shows the modified portion of the processing data. The toolpath influence determination unit 104 retains both the modified portion and the edited content if the modification of the machining data does not affect the toolpath (for example, if it is not a position command), or if the block was generated by machining data in which the modified portion and the edited content are different. In other words, in the case of Figure 5, since the block was generated by machining data in which the modified portion and the edited content are different, the toolpath influence determination unit 104 retains both the modified portion and the edited content. On the other hand, if the toolpath influence determination unit 104 determines that the modified portion affects the toolpath and that the modified portion and the edited portion are blocks generated by the same machining data, it displays a warning on the display unit 12 such as, "The edited content of the machining program that affects the toolpath and the changes to the machining data are related to each other." The toolpath influence determination unit 104 assists in editing the machining program by allowing the user to choose whether to retain the edited content and discard the changes to the machining data, or discard the edited content and retain the changes to the machining data.
[0020] <Editing process of the processing program editing device 1> Next, referring to Figure 6, the editing process flow of the processing program editing device 1 will be explained. Figure 6 is a flowchart illustrating the editing process of the processing program editing device 1. The flow shown here is executed each time an editing or modification operation is received from the user.
[0021] In step S11, the processing data input unit 101 inputs processing data such as "G1234 P1_Q1_P2_Q2_P3_Q3_F_S_T_" based on the user's input operation via the input unit 11.
[0022] In step S12, the machining program generation unit 102 generates a machining program based on the machining data input in step S11.
[0023] In step S13, the machining program editing unit 103 determines whether or not it has received an edit of the machining program generated in step S12 from the user via the input unit 11. If an edit of the machining program has been received from the user, the process proceeds to step S14. On the other hand, if an edit of the machining program has not been received from the user, the process proceeds to step S15.
[0024] In step S14, the processing program editing unit 103 stores the edited processing program and the edited content of the processing program in the storage unit 13.
[0025] In step S15, the toolpath influence determination unit 104 determines whether or not it has received a change to the machining data in the machining program generated in step S12 from the user via the input unit 11. If a change to the machining data has been received from the user, the process proceeds to step S16. On the other hand, if a change to the machining data has not been received from the user, the machining program editing device 1 terminates the editing process.
[0026] In step S16, the toolpath influence determination unit 104 provisionally generates a machining program in which the machining data was modified in step S15, compares the modified portion of the machining data with the edited content of the machining program edited in step S14, and determines whether or not it affects the toolpath. If the modification of the machining data does not affect the toolpath, or if the block was generated by machining data where the modified portion and the edited content are different, the toolpath influence determination unit 104 retains both the modified portion and the edited content. On the other hand, if the modified portion affects the toolpath and the block was generated by machining data where the modified portion and the edited content are the same, the toolpath influence determination unit 104 displays a warning on the display unit 12 such as "The edited content of the machining program that affects the toolpath and the modification of the machining data are related to each other."
[0027] In step S17, if a warning was displayed in step S16, the toolpath influence determination unit 104 prompts the user to choose whether to discard the edited content and perform a machining data modification while retaining the changes to the machining data. If the user chooses to perform the machining data modification, the process proceeds to step S18. On the other hand, if the user does not choose to perform the machining data modification, the toolpath influence determination unit 104 retains the edited content and discards the changes to the machining data, and the machining program editing device 1 terminates the editing process.
[0028] In step S18, the toolpath influence determination unit 104 executes a machining data modification that discards the edited content and retains the changes to the machining data, and the machining program editing device 1 terminates the editing process.
[0029] As described above, the machining program editing device 1 according to the first embodiment generates a machining program based on the input machining data, edits the generated machining program, and, when the machining data is changed, compares the changed portion of the machining data with the edited portion of the machining program to determine whether or not it affects the toolpath. The machining program editing device 1 retains both the changed portion and the edited portion if the change in machining data does not affect the toolpath (for example, it is not a position command), or if the block was generated by machining data in which the changed portion and the edited portion are different. On the other hand, if the changed portion affects the toolpath and the block was generated by machining data in which the changed portion and the edited portion are the same, the machining program editing device 1 displays a warning on the display unit 12 and allows the user to choose whether to retain the edited portion and discard the change in machining data, or discard the edited portion and retain the change in machining data, thereby assisting in the editing of the machining program. As a result, the machining program editing device 1 can change machining data that is not directly related to the edited portion, even if the edited portion affects the toolpath, making it easier to edit the machining program. Furthermore, the processing program editing device 1 can reduce the user's workload by clearly indicating to the user in advance the processing data related to the editing content. In other words, since it determines whether the processing data to be changed is related to the processing program editing content at the time the user changes (or tentatively inputs) the processing data, it is not necessary to determine the relationship between all processing data and the processing program editing content in advance, resulting in reduced processing load and saved program memory. Furthermore, the processing program editing device 1 can prevent operational errors by displaying a warning when attempting to change processing data related to the editing content. The first embodiment has been described above.
[0030] <Modified form of the first embodiment> In the modified version of the first embodiment, the toolpath influence determination unit 104 differs from the first embodiment in that it determines that the modified portion and the edited content are "related to each other," even if they are blocks generated by the same machining data but the modified portion and the edited content are different. Figure 7 shows an example of a generated machining program. Figure 8 shows an example of a machining program in which editing and modification of the machining data have been performed on the machining program in Figure 7. In Figure 8, the edited areas (edited content) are shown by rectangles, and the areas where the machining data has been changed (modified parts) are shown by shading. As shown in Figure 8, if the modified portion (shaded portion) and the edited content (rectangular portion) contain the same axis address, and there is no absolute command for the corresponding axis between the modified portion and the edited content in the machining program in Figure 7 (for example, block "X90."), the toolpath influence determination unit 104 determines that, due to the relationship between the modified portion and the edited content, there is a possibility that the toolpath will be one that the user did not intend. In this case, the toolpath influence determination unit 104 may display a warning on the display unit 12 and allow the user to choose whether to discard the edited content or retain the edited content. This enables the machining program editing device 1 to support the editing of the machining program. On the other hand, in the machining program shown in Figure 7, there is an absolute command for the axis corresponding to the modified part and the edited content (for example, block "X90."), and as shown in Figure 9, when editing and machining data are modified, the toolpath influence determination unit 104 may retain both the modified part and the edited content because the modified part and the edited content do not affect the toolpath, thus preventing an unintended toolpath.
[0031] <Second Embodiment> Next, a second embodiment will be described. In the first embodiment, the machining program editing device 1 generates a machining program based on the input machining data, edits the generated machining program, stores the machining data, the generated machining program, and the edited machining program content, and when the machining data is changed, compares the changed portion of the machining data with the edited content of the machining program to determine whether or not it affects the toolpath. In contrast, the second embodiment differs from the first embodiment in that the machining program editing device 1A generates machining data relationship information that shows the relationship between the machining data and the machining program generated based on the machining data, and uses the machining data relationship information to compare the changed portion of the machining data with the edited content of the machining program to determine whether or not it affects the toolpath. As a result, the machining program editing device 1A according to the second embodiment can modify machining data that is not directly related to the editing content, even if the editing content affects the toolpath. The second embodiment will be described below.
[0032] Figure 10 is a functional block diagram showing an example of the functional configuration of a machining program editing device according to the second embodiment. Elements having the same functions as those of the machining program editing device 1 in Figure 1 are denoted by the same reference numerals, and detailed explanations are omitted. As shown in Figure 10, the machining program editing device 1A according to the second embodiment has a control unit 10a, an input unit 11, a display unit 12, and a storage unit 13. The control unit 10a includes a machining data input unit 101, a machining program generation unit 102, a machining program editing unit 103, a toolpath influence determination unit 104a, and a machining data related information generation unit 105. The input unit 11, display unit 12, and storage unit 13 have the same functions as the input unit 11, display unit 12, and storage unit 13 in the first embodiment.
[0033] <Control Unit 10a> The control unit 10a includes a CPU, ROM, RAM, CMOS memory, etc., which are configured to communicate with each other via a bus, and are known to those skilled in the art. The CPU is a processor that controls the entire machining program editing device 1A. The CPU reads the system program and application program stored in ROM via the bus and controls the entire machining program editing device 1A according to the system program and application program. As a result, as shown in Figure 10, the control unit 10a is configured to realize the functions of the machining data input unit 101, the machining program generation unit 102, the machining program editing unit 103, the toolpath influence determination unit 104a, and the machining data related information generation unit 105. The processing data input unit 101, the processing program generation unit 102, and the processing program editing unit 103 have the same functions as the processing data input unit 101, the processing program generation unit 102, and the processing program editing unit 103 in the first embodiment.
[0034] The processing data relationship information generation unit 105 generates processing data relationship information about the relationship between processing data and processing programs generated based on the processing data. Figure 11 shows an example of processing data relationship information for each block. In Figure 11, the processing program generation unit 102 generates a processing program based on the processing data "G1234 P1_Q1_P2_Q2_P3_Q3_F_S_T_", and the processing data relationship information generation unit 105 associates each block of the processing program, for example, each block's identification ID from "B0001" to "B0011", with each argument of the processing data "G1234" and generates processing data relationship information. In other words, in the processing data related information, the processing data argument "F_" is associated with the identification ID "B0001" of the "F10" block, the processing data argument "S_" is associated with the identification ID "B0002" of the "S500" block, and the processing data argument "F_" is associated with the identification ID "B0003" of the "T0101" block. In addition, in the processing data related information, the processing data argument "P1_Q1_" is associated with the identification IDs "B0004" and "B0005" of the blocks "N100 G00 Z100. X100." and "N101 Z95. X95.". Furthermore, in the processing data related information, the processing data argument "P2_Q2_" is associated with the identification ID "B0006" of the block "N200 G01 Z90. X90." and the identification ID "B0009" of the block "N201 X90.". Also, in the processing data related information, the processing data argument "P3_Q3_" is associated with the identification IDs "B0010" and "B0011" of the blocks "N300 G00 Z100. X100." and "N301 Z150. X150.". The processing data-related information generation unit 105 stores the generated processing data-related information in the storage unit 13. By doing so, the machining program editing device 1A may, for example, display a message such as "Related to P1_Q1_" on the display unit 12 when the user places the mouse pointer of the input unit 11 at the position of "Z100." in the block with identification ID "B0004" in the machining program shown in Figure 11. This allows the machining program editing device 1A to assist in editing the machining program.
[0035] The processing data-related information generation unit 105 generates processing data-related information for each block, but is not limited to this; it may also generate processing data-related information for each word. Figure 12 shows an example of processing data relationship information for each word. Note that Figure 12 shows only a portion of the processing program shown in Figure 11. As shown in Figure 12, in the processing data relationship information, the processing data argument "F_" may be associated with the word identification ID "W0001" of "F10", the processing data argument "S_" may be associated with the word identification ID "W0002" of "S500", and the processing data argument "F_" may be associated with the word identification ID "W0003" of "T0101". In addition, in the processing data relationship information, the processing data argument "P1_Q1_" may be associated with the word identification IDs "W0004" to "W0007" of the next block "N100 G00 Z100. X100.".
[0036] The toolpath influence determination unit 104a uses machining data-related information to compare the modified parts of the machining data with the edited parts of the machining program and determines whether or not it will affect the toolpath. Specifically, if the machining program editing unit 103 edits the "Z100." block of the machining program identification ID "B0004" in Figure 11 to "Z123.", as shown in Figure 13, the toolpath influence determination unit 104a can determine, based on the machining data relationship information, that the attempt to change the machining data "P1_Q1_" is related to the content of the machining program editing. For example, if the machining data "P1_Q1_" is edited, the toolpath influence determination unit 104a grays out the input fields for machining data "P1" and "P2" on the machining data input screen shown in Figure 14 displayed on the display unit 12, and displays a warning such as "This data has been edited. Changing the value will discard the edited content." if the user attempts to change the machining data. By doing so, the machining program editing device 1A can assist with the input of machining data.
[0037] <Editing process of the processing program editing device 1A> Next, referring to Figure 15, the editing process flow of the processing program editing device 1A will be explained. Figure 15 is a flowchart illustrating the editing process of the machining program editing device 1A. The flowchart shown here is executed each time an editing or modification operation is received from the user. Note that the processes in steps S21 and S22 are the same as those in steps S11 and S12 in Figure 6, and therefore their explanation is omitted.
[0038] In step S23, the machining data relationship information generation unit 105 generates machining data relationship information that shows the relationship between the machining data input in step S21 and the machining program generated in step S22.
[0039] In step S24, the machining program editing unit 103 edits the machining program generated in step S22 based on the user's input via the input unit 11.
[0040] In step S25, the toolpath influence determination unit 104a receives a change in machining data from the user via the input unit 11. If it determines, based on the machining data-related information, that the change is related to the edited content of the machining program edited in step S24, it displays a warning on the display unit 12 indicating that the machining data has been edited and that changing the machining data will discard the edited content. If the user chooses to change the machining data and discard the edited content, the toolpath influence determination unit 104a changes the machining data.
[0041] As described above, the machining program editing device 1A according to the second embodiment generates machining data relationship information that shows the relationship between machining data and a machining program generated based on the machining data. When machining data is changed, the device uses the machining data relationship information to compare the changed portion of the machining data with the edited content of the machining program and determines whether or not it affects the toolpath. This allows the machining program editing device 1A to change machining data that is not directly related to the edited content, even if the edited content affects the toolpath, making it easier to edit the machining program. Furthermore, the machining program editing device 1A can reduce the user's workload by clearly indicating to the user in advance the machining data related to the editing content. In other words, since the machining data related to the machining program editing content is known before the machining data is changed, it becomes possible to clearly indicate which machining data is related to the machining program editing content on the machining data input screen, thereby making the user's machining data modification work easier. Furthermore, the machining program editing device 1A can prevent operational errors by displaying a warning when attempting to change machining data related to the editing content. The second embodiment has now been described.
[0042] Although the first and second embodiments have been described above, the processing program editing devices 1 and 1A are not limited to the embodiments described above, and may include modifications, improvements, etc., to the extent that the objective can be achieved.
[0043] <Variation> In the first and second embodiments, the machining program editing devices 1 and 1A are separate devices from the numerical control device (not shown), but the embodiment is not limited to this. For example, the machining program editing devices 1 and 1A may be included in the numerical control device (not shown).
[0044] Furthermore, each function included in the processing program editing devices 1 and 1A in the first and second embodiments can be implemented by hardware, software, or a combination thereof. Here, implementation by software means that it is implemented by a computer reading and executing a program.
[0045] Programs can be stored and supplied to a computer using various types of non-transitory computer-readable medium. Non-transitory computer-readable mediums include various types of tangible storage mediums. Examples of non-transitory computer-readable mediums include magnetic storage media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical storage media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memory (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, RAMs). Programs may also be supplied to a computer using various types of transient computer-readable mediums. Examples of transient computer-readable mediums include electrical signals, optical signals, and electromagnetic waves. Transitory computer-readable mediums can be supplied to a computer via wired communication channels such as electric wires and optical fibers, or via wireless communication channels.
[0046] Furthermore, the step of writing the program to be recorded on the recording medium includes not only processes that are performed chronologically in that order, but also processes that are not necessarily performed chronologically, but are executed in parallel or individually.
[0047] In other words, the processing program editing device and processing program editing method of this disclosure can take various forms having the following configurations.
[0048] (1) The machining program editing device 1 of the present disclosure includes: a machining data input unit 101 for inputting machining data including at least one of feed rate, spindle speed, tool used, depth of cut, machining shape, and position information; a machining program generation unit 102 for generating a machining program based on the machining data; a machining program editing unit 103 for editing the machining program generated by the machining program generation unit 102; a storage unit 13 for storing machining data, the machining program generated by the machining program generation unit 102, and the edited contents of the machining program edited by the machining program editing unit 103; and a toolpath influence determination unit 104 for determining whether or not the toolpath is affected when the machining data is changed by comparing the changed portion of the machining data with the edited contents of the machining program. This machining program editing device 1 allows for the modification of machining data that is not directly related to the editing content, even if the editing content affects the toolpath.
[0049] (2) The machining program editing device 1A described in (1) is further equipped with a machining data relationship information generation unit 105 that generates machining data relationship information showing the relationship between machining data and a machining program generated based on the machining data, and the toolpath influence determination unit 104a uses the machining data relationship information to compare the modified portion of the machining data with the edited content of the machining program and determine whether or not it will affect the toolpath.
[0050] (3) The machining program editing device 1, 1A described in (1) or (2) further comprises a display unit 12, and the toolpath influence determination unit 104, 104a may display a warning on the display unit 12 if it determines that the toolpath is being affected.
[0051] (4) The machining program editing method of the present disclosure is a machining program editing method that causes a computer to function as a machining program editing device, and comprises: a machining data input step of inputting machining data including at least one of feed rate, spindle speed, tool used, depth of cut, machining shape, and position information; a machining program generation step of generating a machining program based on the machining data; a machining program editing step of editing the machining program generated in the machining program generation step; a storage step of storing machining data, the machining program generated in the machining program generation step, and the edited contents of the machining program edited in the machining program editing step; and a toolpath influence determination step of, when the machining data is changed, comparing the changed portion of the machining data with the edited contents of the machining program and determining whether or not it affects the toolpath. This program editing method can produce the same effect as (1). [Explanation of Symbols]
[0052] 1. 1A Machining Program Editing Device 10, 10a Control Unit 101 Processing data input section 102 Machining program generation unit 103 Processing Program Editorial Department 104, 104a Toolpath Influence Determination Unit 105 Processing Data Related Information Generation Unit 11 Input section 12 Display section 13 storage section
Claims
1. A machining data input unit that inputs machining data including at least one of the following: feed rate, spindle speed, tool used, depth of cut, machining shape, and position information. A machining program generation unit that generates a machining program based on the aforementioned machining data, A machining program editing unit edits the machining program generated by the machining program generation unit, A storage unit that stores the aforementioned processing data, the processing program generated by the processing program generation unit, and the edited content of the processing program edited by the processing program editing unit, If the machining data is changed after the machining program has been edited by the machining program editing unit, the toolpath influence determination unit provisionally generates a machining program with the modified machining data, compares the modified portion of the provisionally generated machining program with the edited content of the machining program, and determines whether or not it affects the toolpath. A processing program editing device equipped with the following features.
2. The system includes a processing data relationship information generation unit that generates processing data relationship information showing the relationship between the processing data and the processing program generated based on the processing data, The machining program editing device according to claim 1, wherein the toolpath influence determination unit compares the modified portion of the machining data with the edited content of the machining program using the machining data related information and determines whether or not it has an effect on the toolpath.
3. It also includes a display unit, The machining program editing device according to claim 1 or 2, wherein the toolpath influence determination unit determines that the toolpath is affected and displays a warning on the display unit.
4. A method for editing machining programs that makes a computer function as a machining program editing device, A machining data input step involves inputting machining data that includes at least one of the following: feed rate, spindle speed, tool used, depth of cut, machining shape, and position information. A machining program generation step that generates a machining program based on the aforementioned machining data, A machining program editing step for editing the machining program generated in the machining program generation step, A storage step that stores the aforementioned processing data, the processing program generated in the processing program generation step, and the edited content of the processing program edited in the processing program editing step, If the machining data is changed after the machining program has been edited in the machining program editing step, the toolpath impact determination step involves generating a provisional machining program with the modified machining data, comparing the modified portion of the provisionally generated machining program with the edited content of the machining program, and determining whether or not it affects the toolpath. A method for editing a processing program, comprising the following features.
Citation Information
Patent Citations
Machining program creation support device, creation support software, and storage medium
JP2005108077A
NC program creation and editing device
JP2015170147A
Numerical control device capable of partially correcting processing cycle
JP2016139349A
Controller, data creation device, and control method and control program
JP2019159478A
Program editor, processor, processing method, and computer program
JP2020038529A