Program generation device and program generation method

The program generation device generates an approach path with directional changes to maintain high-pressure fluid delivery, addressing wire electrode breakage and ensuring consistent machining speed in wire electrical discharge machining.

JP7949059B2Active Publication Date: 2026-11-11FANUC LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024564109
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-12-16
Publication Date
2026-11-11
Estimated Expiration
2042-12-16

AI Technical Summary

Technical Problem

Conventional wire electrical discharge machining systems face issues with wire electrode breakage due to insufficient cooling caused by decreased machining fluid pressure at the machining start position, leading to reduced machining speed.

Method used

A program generation device that generates an approach path for wire electrical discharge machining, where the direction changes at designated points to ensure high-pressure fluid delivery along the path, preventing wire electrode breakage and maintaining machining speed.

Benefits of technology

The approach path generation device effectively maintains high-pressure fluid delivery, reducing the risk of wire electrode breakage and ensuring consistent machining speed during electrical discharge machining.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007949059000001
    Figure 0007949059000001
  • Figure 0007949059000002
    Figure 0007949059000002
  • Figure 0007949059000003
    Figure 0007949059000003
Patent Text Reader

Abstract

An aspect of the present disclosure is a program generation device that generates a machining program, the program generation device comprising: an acquisition unit that acquires a machining start point and a machining path; a determination unit that determines a connection element to which an approach path is to be connected and a waypoint through which the approach path is to pass; an approach path generation unit that generates the approach path going from the machining start point, through the waypoint, to the connection element; and a machining program generation unit that generates the machining program, wherein the approach path generation unit generates the approach path such that the direction of the approach path changes at the waypoint.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to a program generation device and a program generation method.

BACKGROUND ART

[0002] Japanese Unexamined Patent Application Publication No. Sho 61-058008 discloses an approach path determination method in wire-cut electrical discharge machining.

SUMMARY OF THE INVENTION

[0003] In a wire electrical discharge machine, generation of an approach path that enables stable electrical discharge machining is desired.

[0004] A first aspect of the present disclosure is a program generation device that generates a machining program for controlling a wire electrical discharge machine, the program generation device comprising: an acquisition unit that acquires a machining start position specified by a user and a machining path indicating a machining shape; a determination unit that determines a connection element which is an element of the machining path to which an approach path from the machining start position is connected, and at least one or more waypoints through which the approach path passes; an approach path generation unit that generates the approach path extending from the machining start position to the connection element via the at least one or more waypoints; and a machining program generation unit that generates the machining program based on a shape in which the generated approach path is added to the connection element of the machining path, wherein the approach path generation unit generates the approach path such that the direction of the approach path changes at the at least one or more waypoints.

[0005] A second aspect of the present disclosure is a program generation method for generating a machining program for controlling a wire electrical discharge machining machine, comprising: an acquisition step of acquiring a machining start position and a machining path specified by a user; a determination step of determining a connection element which is an element of the machining path to which the approach path from the machining start position is connected, and at least one way point through which the approach path passes; an approach path generation step of generating the approach path from the machining start position to the connection element via the at least one way point; and a machining program generation step of generating the machining program based on the shape of the generated approach path attached to the connection element of the machining path, wherein in the approach path generation step, the approach path is generated such that the direction of the approach path changes at the at least one way point. [Brief explanation of the drawing]

[0006] [Figure 1] Figure 1 is a diagram illustrating the approach path generated by a conventional program generation device. [Figure 2] Figure 2 is a block diagram showing the configuration of a program generation device according to one embodiment. [Figure 3] Figure 3A is a diagram illustrating an example of an approach path generated by a program generation device according to one embodiment, Figure 3B is a diagram illustrating another example of a generated approach path, and Figure 3C is a diagram illustrating yet another example of a generated approach path. [Figure 4] Figure 4 is a flowchart showing an example of a processing procedure for generating a machining program using a program generation device according to one embodiment. [Figure 5] Figure 5 is a flowchart showing an example of the processing procedure for generating a processing program using a program generation device for modified examples. [Modes for carrying out the invention]

[0007] Figure 1 is a diagram illustrating the approach path A generated by a conventional program generation device. In Figure 1, a figure representing the workpiece W to be machined by a wire electrical discharge machining machine is shown. The machining start position S and the machining path R, which indicates the machined shape, are shown within the figure. The machining start position S and the machining path R are specified in advance by the user of the wire electrical discharge machining machine.

[0008] The machining path R has at least one element. This element can be, for example, a straight line or a curve. The machining path R shown in Figure 1 is a rectangle with four sides, and therefore has four elements (straight lines). The element to which the approach path A from the machining start position S is connected is called the connecting element Ec. The approach path A from the machining start position S to the connecting element Ec of the machining path R is shown within the figure representing the workpiece W. The wire electrical discharge machining machine performs electrical discharge machining on the workpiece W along the approach path A and the subsequent machining path R.

[0009] According to conventional program generation devices, as illustrated in Figure 1, the approach path A is generated as a straight line (for example, the shortest distance straight line) from the machining start position S to the connecting element Ec. Before electrical discharge machining actually starts from the machining start position S, a through hole for passing the wire electrode is pre-formed at the machining start position S of the workpiece W.

[0010] When electrical discharge machining (EDM) begins, the wire electrode generates heat. This heat can cause the wire electrode to break. Therefore, it is necessary to cool the wire electrode by spraying high-pressure machining fluid between the wire electrode and the workpiece W. Cooling the wire electrode prevents it from breaking.

[0011] However, if the through-hole at the machining start position S is large, the pressure of the injected machining fluid tends to decrease as it is released at the through-hole during electrical discharge machining along the approach path A. Consequently, the wire electrode may not be sufficiently cooled, potentially leading to wire breakage. If the machining current is adjusted to reduce the amount of heat generated by the wire electrode, the machining speed may decrease.

[0012] Figure 2 is a block diagram showing the configuration of a program generation device 10 according to one embodiment. The program generation device 10 is a personal computer equipped with, for example, CAM application software. The program generation device 10 generates a machining program for controlling electrical discharge machining by a wire electrical discharge machine 20 based on information specified by the user. The information specified by the user includes information on the machining start position S, information on the machining path R indicating the machining shape, and information on a plurality of specified points P.

[0013] The machining program generated by the program generation device 10 is transferred to the control device 30 of the wire electrical discharge machining machine 20. The control device 30 controls the wire electrical discharge machining machine 20 by executing the machining program. The wire electrical discharge machining machine 20 performs electrical discharge machining on the workpiece W according to the control of the control device 30.

[0014] An input device 40 and a display device 42 are connected to the program generation device 10. The user inputs information to the program generation device 10 via the input device 40. The input device 40 is, for example, a keyboard, mouse, stylus pen, touch panel, etc. The display device 42 displays the processing path R and the approach path A. The display device 42 is, for example, a liquid crystal display, an organic EL display, etc.

[0015] The program generation device 10 includes a processing circuit 50 and a storage device 52. The processing circuit 50 includes a processor such as a CPU or GPU. The storage device 52 includes volatile memory such as RAM and non-volatile memory such as ROM or flash memory. The volatile memory is used as the processor's working memory. The non-volatile memory stores the program executed by the processor and other necessary data. The storage device 52 also stores the CAM executable file and the generated machining program.

[0016] The processing circuit 50 includes an acquisition unit 70, a determination unit 72, an approach path generation unit 74, and a machining program generation unit 76. The processing circuit 50 executes a program stored in the storage device 52 to realize the acquisition unit 70, the determination unit 72, the approach path generation unit 74, and the machining program generation unit 76. At least a portion of the acquisition unit 70, the determination unit 72, the approach path generation unit 74, and the machining program generation unit 76 may be realized by an integrated circuit such as an ASIC or FPGA, or by an electronic circuit including discrete devices.

[0017] The acquisition unit 70 acquires the machining start position S and machining path R specified by the user. The information of the machining path R acquired by the acquisition unit 70 includes information on the machining shape and information on the positions through which the machining path R passes. The acquisition unit 70 also acquires a number of specified points P sequentially specified by the user.

[0018] For example, when a user uses the input device 40 to draw a machining start position S and a machining path R on the screen of the display device 42, the acquisition unit 70 acquires the machining start position S and the machining path R. Subsequently, when the user uses the input device 40 to sequentially specify multiple designated points P on the screen of the display device 42, the acquisition unit 70 acquires multiple designated points P.

[0019] The determination unit 72 determines at least one or more passing points via which the approach path A passes, based on the designated points P sequentially acquired by the acquisition unit 70. The determination unit 72 determines the connection element Ec from among the elements included in the machining path R, based on the designated point P acquired by the acquisition unit 70. Specifically, when a certain designated point P lies on an element included in the machining path R, the determination unit 72 determines this element as the connection element Ec.

[0020] The approach path generation unit 74 generates the approach path A that extends from the machining start position S via the passing points to the connection element Ec. Each time a passing point is determined by the determination unit 72, the approach path A up to that passing point is generated. In this case, when the connection element Ec is finally determined, the generation of the approach path A is completed.

[0021] It should be noted that the connection element Ec may be determined first, and the approach path A may be generated each time a passing point is determined from the connection element Ec toward the machining start position S. Alternatively, the approach path A may be generated after all of the passing points and the connection element Ec have been determined by the determination unit 72.

[0022] The machining program generation unit 76 generates a machining program based on the shape in which the generated approach path A is added to the connection element Ec of the machining path R.

[0023] FIG. 3A is a diagram for explaining an example of the approach path A generated by the program generation device 10 according to the present embodiment. A user draws the machining start position S and the machining path R on the screen of the display device 42. Thereby, the acquisition unit 70 acquires the machining start position S and the machining path R. Thereafter, the user designates five designated points P1, P2, P3, P4, and Pc in this order. Thereby, the acquisition unit 70 acquires the designated points P1, P2, P3, P4, and Pc in this order. The acquisition unit 70 may acquire the machining start position S and the machining path R by reading them out from a storage medium.

[0024] In the example shown in FIG. 3A, since the designated points P1, P2, P3 and P4 are not on the machining path R, the determination unit 72 determines all of the designated points P1, P2, P3 and P4 as passing points. Since the designated point Pc is on the machining path R, the determination unit 72 determines the element having the designated point Pc as a connection element Ec. The connection element Ec is an element of the machining path R to which the approach path A is connected.

[0025] The approach path A is connected to the connection element Ec at a connection position Q. This connection position Q may be determined by a known determination process. For example, the connection position Q is a position on the connection element Ec that is closest to the last passing point of the approach path A created by sequentially connecting all passing points from the machining start position S. That is, the position that gives the shortest distance from the last passing point to the connection element Ec may be determined as the connection position Q. In the example shown in FIG. 3A, the connection position Q is a position on the connection element Ec that is closest to the designated point P4 which is the last passing point of the approach path A.

[0026] Note that in the example shown in FIG. 3A, the connection position Q at which the approach path A is connected to the connection element Ec coincides with the designated point Pc on the connection element Ec. The designated point Pc designated by the user may be determined as the connection position Q. The connection position Q may be different from the designated point Pc on the connection element Ec.

[0027] According to the approach path A shown in FIG. 3A, unlike the example shown in FIG. 1, a portion of the approach path A is not included on the straight line connecting the machining start position S and the connection position Q. Specifically, the section from the designated point P1 to the designated point P4 is not included on the straight line connecting the machining start position S and the connection position Q.

[0028] After the start of electric discharge machining at the machining start position S, the wire electrode moves relative to the workpiece W along the approach path A. For convenience, the relative movement of the wire electrode with respect to the workpiece W may be simply referred to as the movement of the wire electrode. In the example shown in FIG. 3A, the direction of the approach path A from the machining start position S changes 90 degrees to the right at the designated point P1. Therefore, the movement direction of the wire electrode changes 90 degrees to the right at the designated point P1.

[0029] In the example shown in Figure 1, the machined section from any machining position on approach path A to the machining start position S is linear in shape. The machining fluid injected at any machining position on approach path A flows through the machined section to the large through-hole at the machining start position S. As a result, the pressure of the machining fluid injected at the machining position decreases.

[0030] On the other hand, in the example shown in Figure 3A, the processed section path from any processing position in the section after designated point P1 to the processing start position S changes at least at designated point P1. Therefore, for example, the processing fluid sprayed at a processing position in the section from designated point P1 to designated point P2 is received at the nearest designated point P1 via the processed section path. Thus, it is possible to prevent a decrease in the pressure of the processing fluid sprayed at the processing position.

[0031] The same applies when the machining position is in the section after the designated point P2. The direction of the approach path A from the machining start position S changes 90 degrees to the left at designated point P2, changes 90 degrees to the left at designated point P3, and changes 90 degrees to the right at designated point P4. The machining fluid sprayed at the machining position is received at the nearest designated point P2, P3, or P4. Therefore, it is possible to prevent the pressure of the machining fluid sprayed at the machining position from decreasing. In the section of the approach path A after designated point P1, the pressure of the machining fluid sprayed during electrical discharge machining can be maintained at a high level.

[0032] Figure 3B is a diagram illustrating another example of the generated approach path A. The user specifies three designated points P1, P2, and Pc in that order. As a result, the acquisition unit 70 acquires the designated points P1, P2, and Pc in that order. In the example shown in Figure 3B, since designated points P1 and P2 are not on the machining path R, the determination unit 72 determines both designated points P1 and P2 as waypoints. Since designated point Pc is on the machining path R, the determination unit 72 determines the element having designated point Pc as the connecting element Ec.

[0033] Approach path A connects to connection element Ec at connection point Q. In the example shown in Figure 3B, connection point Q is the closest point on connection element Ec to designated point P2, which is the last waypoint of approach path A. In this example, connection point Q, where approach path A connects to connection element Ec, is different from designated point Pc on connection element Ec.

[0034] According to approach path A shown in Figure 3B, the entire approach path A is not included on the straight line connecting the machining start position S and the connection position Q. In the example shown in Figure 3B, the direction of approach path A from the machining start position S changes 90 degrees to the right at the designated point P1. Therefore, the direction of movement of the wire electrode changes 90 degrees to the right at the designated point P1.

[0035] In the example shown in Figure 3B, the processed section path from any processing position in the section after designated point P1 to the processing start position S changes at least at designated point P1. For example, processing fluid sprayed at a processing position in the section between designated point P1 and designated point P2 is received at the nearest designated point P1 via the processed section path. Therefore, it is possible to prevent a decrease in the pressure of the processing fluid sprayed at the processing position.

[0036] The same applies when the machining position is located in the section from the designated point P2 to the connection point Q. The direction of the approach path A from the machining start position S changes 90 degrees to the left at the designated point P2. The machining fluid sprayed at the machining position is received at the nearest designated point P2. In the section of the approach path A from the designated point P1 onward, the pressure of the machining fluid sprayed during electrical discharge machining can be maintained at a high level.

[0037] Figure 3C is a diagram illustrating yet another example of the generated approach path A. The user specifies two designated points P1 and Pc in that order. As a result, the acquisition unit 70 acquires the designated points P1 and Pc in that order. In the example shown in Figure 3C, since designated point P1 is not on the processing path R, the determination unit 72 determines designated point P1 as a waypoint. Since designated point Pc is on the processing path R, the determination unit 72 determines the element having designated point Pc as a connecting element Ec.

[0038] As shown in Figure 3C, the approach path generation unit 74 generates approach path A such that the direction of approach path A changes at the designated point P1, which is an intermediate point. Approach path A is connected to connection element Ec at connection position Q. In this example, the connection position Q to which approach path A is connected to connection element Ec is different from the designated point Pc on connection element Ec.

[0039] According to approach path A shown in Figure 3C, the entire approach path A is not included on the straight line connecting the machining start position S and the connection position Q. In the example shown in Figure 3C, the direction of approach path A from the machining start position S changes diagonally upward to the left at the designated point P1. Therefore, the direction of movement of the wire electrode changes diagonally upward to the left at the designated point P1.

[0040] In the example shown in Figure 3C, the machined section path from any machining position to the machining start position S within the section from designated point P1 to connection position Q changes at designated point P1. The machining fluid sprayed at the machining position within the section from designated point P1 to connection position Q is received at the nearest designated point P1 via the machined section path. Therefore, it is possible to prevent a decrease in the pressure of the machining fluid sprayed at the machining position. In the section of approach path A after designated point P1, the pressure of the machining fluid sprayed during electrical discharge machining can be maintained at a high level.

[0041] The approach path A generated by the approach path generation unit 74 is not limited to the examples shown in Figures 3A, 3B, and 3C. If at least a portion of the approach path A is not included on the straight line connecting the machining start position S and the connection position Q, the pressure of the machining fluid sprayed during electrical discharge machining can be maintained at a high level.

[0042] Figure 4 is a flowchart showing an example of a processing procedure for generating a machining program by the program generation device 10 of this embodiment. This processing procedure is performed, for example, by the processing circuit 50 of the program generation device 10. When this processing procedure is started, the user uses the input device 40 to draw the machining start position S and machining path R on the screen of the display device 42. In step S1, the acquisition unit 70 acquires the machining start position S and machining path R specified by the user.

[0043] The user sequentially specifies multiple designated points P (for example, multiple designated points P1, P2, P3, P4 and Pc shown in Figure 3A) on the screen of the display device 42 using the input device 40. In step S2, the acquisition unit 70 sequentially acquires the multiple designated points P. In step S3, the determination unit 72 determines the points in step S 2 It is determined whether the specified point P obtained is on the machining path R. If the result in step S3 is YES, this process proceeds to step S4. If the result in step S3 is NO, this process proceeds to step S11.

[0044] In step S4, the determination unit 72 determines, based on the designated point P determined in step S3, the connection element Ec to which the approach path A is connected from among the elements included in the machining path R. The element containing the designated point P is determined as the connection element Ec. When step S4 is completed, the process procedure proceeds to step S5.

[0045] In step S11, the determination unit 72 determines the designated point P determined in step S3 as an intermediate point. In step S12, the approach path generation unit 74 generates an approach path A from the machining start position S to the intermediate point determined in step S11. The approach path generation unit 74 may also display the generated incomplete approach path A on the display device 42. When step S12 is completed, the process returns to step S2. In step S2 again, the next designated point P is obtained.

[0046] As described above, in steps S4 and S11, the determination unit 72 determines the connection element Ec and the waypoints. Thus, the approach path A can be appropriately generated.

[0047] In step S5, the approach path generation unit 74 generates an approach path A from the machining start position S, passing through all the waypoints to the connecting element Ec. The approach path A is generated such that its direction changes at each waypoint, as illustrated in Figures 3A, 3B, and 3C. It is preferable that the section from the machining start position S to the first waypoint, designated point P1, is short. In this step S5, the generation of the approach path A is completed. The approach path generation unit 74 may display the completed approach path A on the display device 42.

[0048] In step S6, the machining program generation unit 76 generates a machining program based on the approach path A generated in step S5 and the machining path R acquired in step S1. Once the processing in step S6 is completed, this processing procedure ends.

[0049] According to this embodiment, the direction of the approach path A changes at the first intermediate point following the machining start position S. Therefore, the possibility of wire electrode breakage is reduced during electrical discharge machining along the approach path A, while the machining speed is maintained.

[0050] The above embodiment may be modified as follows. In the following modifications, explanations that overlap with the embodiment will be omitted.

[0051] (modified version) The user does not need to specify multiple designated points P. In this modified example, the acquisition unit 70 shown in Figure 2 acquires the machining start position S and machining path R specified by the user. However, unlike the above embodiment, the acquisition unit 70 does not acquire multiple designated points P.

[0052] The determination unit 72 shown in Figure 2 determines the connection element Ec based on the machining start position S and machining path R acquired by the acquisition unit 70. For example, the element closest to the machining start position S among the elements included in the machining path R is determined as the connection element Ec. The determination unit 72 also determines at least one waypoint. The waypoint is determined such that at least a portion of the approach path A is not included on the straight line connecting the machining start position S and the position on the connection element Ec to which the approach path A is connected.

[0053] Figure 5 is a flowchart showing an example of the processing procedure for generating a machining program by the program generation device 10 of this modified example. This processing procedure is performed, for example, by the processing circuit 50 of the program generation device 10. When this processing procedure is started, the user uses the input device 40 to draw the machining start position S and machining path R on the screen of the display device 42. In step S31, the acquisition unit 70 acquires the machining start position S and machining path R specified by the user.

[0054] In step S32, the determination unit 72 determines the connecting element Ec to which the approach path A is connected from among the elements included in the machining path R. The connecting element Ec is determined based on the machining start position S and machining path R obtained in step S31.

[0055] In step S33, the determination unit 72 determines the waypoint based on the machining start position S obtained in step S31 and the connecting element Ec determined in step S32.

[0056] In step S34, the approach path generation unit 74 generates an approach path A from the machining start position S, via a waypoint, to the connecting element Ec. The approach path generation unit 74 may also display the generated approach path A on the display device 42. The approach path A is generated such that its direction changes at the waypoints. It is preferable that the section from the machining start position S to the first waypoint is short.

[0057] In step S35, the machining program generation unit 76 generates a machining program based on the approach path A generated in step S34 and the machining path R acquired in step S31. Once the processing in step S35 is completed, this processing procedure ends.

[0058] According to this modified version, unlike the above embodiment, the user does not need to specify multiple designated points P. Therefore, with simple operation, the possibility of wire electrode breakage is reduced during electrical discharge machining in approach path A, while maintaining the machining speed.

[0059] In the above embodiment and its modifications, the approach path generation unit 74 generates the approach path A such that the direction of the approach path A changes at at least one intermediate point. Therefore, the possibility of wire electrode breakage is reduced during electrical discharge machining along the approach path A, and the machining speed is maintained.

[0060] The following additional information is disclosed regarding the above embodiments and modifications.

[0061] (Note 1) This disclosure relates to a program generation device (10) for generating a machining program to control a wire electrical discharge machine (20), comprising: an acquisition unit (70) for acquiring a machining start position (S) and a machining path (R) indicating a machining shape specified by a user; a determination unit (72) for determining a connection element (Ec) which is an element of the machining path to which an approach path (A) from the machining start position is connected, and at least one waypoint through which the approach path passes; an approach path generation unit (74) for generating the approach path from the machining start position to the connection element via the at least one waypoint; and a machining program generation unit (76) for generating the machining program based on the shape of the generated approach path attached to the connection element of the machining path, wherein the approach path generation unit generates the approach path such that the direction of the approach path changes at the at least one waypoint.

[0062] (Note 2) The program generation apparatus described in Appendix 1, wherein the acquisition unit acquires designated points (P) sequentially specified by the user, and the determination unit determines whether the designated points are on the processing path, and if it is determined that the designated points are not on the processing path, it determines them as one of the at least one intermediate points, and if it is determined that the designated points are on the processing path, it determines the element including the designated points as the connecting element.

[0063] (Note 3) The program generation apparatus described in Appendix 1 or 2, wherein the determination unit may determine at least one waypoint such that at least a portion of the approach path is not included on the straight line connecting the machining start position and the connection position (Q) where the approach path is connected to the connection element.

[0064] (Note 4) This disclosure relates to a program generation method for generating a machining program to control a wire electrical discharge machine (20), comprising: an acquisition step of acquiring a machining start position (S) and a machining path (R) specified by a user; a determination step of determining a connecting element (Ec) which is an element of the machining path to which an approach path (A) from the machining start position is connected, and at least one waypoint through which the approach path passes; an approach path generation step of generating the approach path from the machining start position to the connecting element via the at least one waypoint; and a machining program generation step of generating the machining program based on the shape of the generated approach path attached to the connecting element of the machining path, wherein in the approach path generation step, the approach path is generated such that the direction of the approach path changes at the at least one waypoint.

[0065] (Note 5) The program generation method described in Appendix 4, wherein in the acquisition step, designated points (P) sequentially specified by the user are acquired; in the determination step, it is determined whether or not the designated points are on the processing path; if it is determined that the designated points are not on the processing path, they are determined to be one of the at least one waypoints; and if it is determined that the designated points are on the processing path, the element including the designated points is determined to be the connecting element.

[0066] (Note 6) The program generation method described in Appendix 4 or 5, wherein in the determination step, at least one or more waypoints may be determined such that at least a portion of the approach path is not included on the straight line connecting the machining start position and the connection position (Q) to which the approach path is connected to the connection element.

[0067] While this disclosure has been described in detail, it is not limited to the individual embodiments described above. These embodiments can be added, replaced, modified, partially deleted, etc., in any way that does not depart from the gist of this disclosure or from the spirit of this disclosure derived from the claims and their equivalents. These embodiments can also be implemented in combination. For example, the order of operations and processes in the embodiments described above are given as examples only and are not limited thereto. The same applies when numerical values ​​or mathematical formulas are used in the description of the embodiments described above. [Explanation of symbols]

[0068] 10…Program generation device 20…Wire electrical discharge machining machine 30...Control device 40...Input device 42…Display device 50…Processing circuit 52...Storage device 70...Acquisition unit 72...Decision unit 74...Approach path generation unit 76... Machining program generation unit

Claims

1. A program generation device that generates a machining program to control a wire electrical discharge machining machine, An acquisition unit that acquires the machining start position and machining path indicating the machining shape specified by the user, A connecting element which is an element of the machining path to which the approach path from the machining start position is connected, and a determination unit which determines at least one way point through which the approach path passes, An approach path generation unit that generates the approach path from the processing start position to the connecting element via at least one of the intermediate points, A machining program generation unit generates the machining program based on the shape of the generated approach path added to the connecting element of the machining path, Equipped with, The approach path generation unit is a program generation device that generates the approach path such that the direction of the approach path changes at at least one of the waypoints.

2. A program generation device according to claim 1, The acquisition unit acquires the designated points sequentially specified by the user, The program generation device comprises a determination unit which determines whether the designated point is on the processing path, and if it determines that the designated point is not on the processing path, it determines it as one of the at least one intermediate point, and if it determines that the designated point is on the processing path, it determines the element including the designated point as the connecting element.

3. A program generation device according to claim 1 or 2, The determination unit is a program generation device that determines at least one waypoint such that at least a portion of the approach path is not included on the straight line connecting the processing start position and the connection position where the approach path is connected to the connection element.

4. A program generation method for generating a machining program to control a wire electrical discharge machining machine, An acquisition step to obtain the machining start position and machining path specified by the user, A determination step of determining a connecting element which is an element of the machining path to which the approach path from the machining start position is connected, and at least one way point through which the approach path passes, An approach path generation step that generates the approach path from the processing start position to the connecting element via at least one of the intermediate points, A machining program generation step that generates the machining program based on the shape of the generated approach path added to the connecting element of the machining path, Equipped with, A program generation method in which, in the approach path generation step, the approach path is generated such that the direction of the approach path changes at at least one waypoint.

5. A program generation method according to claim 4, In the acquisition step, the specified points sequentially designated by the user are acquired. A program generation method in which, in the determination step, it is determined whether the designated point is on the processing path, and if it is determined that the designated point is not on the processing path, it is determined to be one of the at least one waypoints, and if it is determined that the designated point is on the processing path, the element including the designated point is determined to be the connecting element.

6. A program generation method according to claim 4 or 5, A program generation method in which, in the determination step, at least one waypoint is determined such that at least a portion of the approach path is not included on the straight line connecting the machining start position and the connection position to which the approach path is connected to the connection element.

Citation Information

Patent Citations

  • Controlling method for supplying working fluid in a wire electric discharge machine

    JP2001087946A

  • Control device of wire electric discharge machine and control method of wire electric discharge machine

    JP2019089159A

  • Wire electric discharge machine and method of controlling wire electric discharge machine

    JP2019130641A