Program generation device and program generation method
By generating multiple approach paths with directions that change through points in online discharge processing, the problem of wire electrode disconnection is solved, ensuring stable processing fluid pressure, and improving processing speed and stability.
Patent Information
- Application Number
- CN202280102361.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, the wire electrode is prone to break due to heat during wire discharge processing. Especially when the through hole at the start of processing is large, the pressure of the sprayed processing fluid is reduced and cannot be effectively cooled, resulting in a decrease in the processing speed.
By generating a proximity path, the movement direction of the line electrode changes at multiple points, thereby avoiding the drop in the ejection fluid pressure on the straight line path. The proximity path is generated by a program generation device, so that it changes its direction at the point, ensuring that the processing fluid pressure remains in a high state.
Effectively prevent wire electrodes from being broken, maintain processing speed, and improve the stability and efficiency of wire discharge processing.
Smart Images

Figure CN120303077A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a program generation device and a program generation method. Background Art
[0002] A method for determining an approach path in wire electrical discharge machining is disclosed in Japanese Patent Laid-Open No. 61-058008. Summary of the Invention
[0003] In an on-line electric discharge machine, it is desirable to generate an approach path capable of performing stable electric discharge machining.
[0004] A first aspect of the present disclosure is a program generation device that generates a machining program for controlling a wire electric discharge machine. The program generation device includes: an acquisition unit that acquires a machining start position specified by a user and a machining path representing a machining shape; a determination unit that determines at least one or more via points through which a connection element and an approach path pass, the connection element being an element of the machining path to which the approach path starting from the machining start position is connected; an approach path generation unit that generates the approach path from the machining start position through the at least one or more via points to the connection element; and a machining program generation unit that generates the machining program based on the shape of the generated approach path being attached to the connection element of the machining path. 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 via points.
[0005] A second aspect of the present disclosure is a program generation method for generating a machining program for controlling a wire electric discharge machine. The program generation method includes the following steps: an acquisition step of acquiring a machining start position and a machining path specified by a user; a determination step of determining at least one or more via points through which a connection element and an approach path pass, the connection element being an element of the machining path to which the approach path starting from the machining start position is connected; an approach path generation step of generating the approach path from the machining start position through the at least one or more via points to the connection element; and a machining program generation step of generating the machining program based on the shape of the generated approach path being attached to the connection element of the machining path. In the approach path generation unit, the approach path is generated such that the direction of the approach path changes at the at least one or more via points. Brief Description of the Drawings
[0006] Figure 1 A diagram for explaining an approach path generated by an existing program generation device.
[0007] Figure 2This is a block diagram showing the structure of a program generation device according to one embodiment.
[0008] Figure 3A is a diagram for explaining an example of an approach path generated by a program generation device according to one embodiment. Figure 3B is a diagram for explaining another example of the generated approach path. Figure 3C This is a diagram for explaining another example of the generated approach path.
[0009] Figure 4 This is a flowchart showing an example of a processing procedure related to the generation of a machining program by the program generation device according to one embodiment.
[0010] Figure 5 This is a flowchart showing an example of a processing procedure related to the generation of a machining program by a program generation device according to a modified example. DETAILED DESCRIPTION
[0011] Figure 1 FIG. 1 is a diagram for explaining an approach path A generated by a conventional program generation device. Figure 1 , a graphic showing an object W to be processed by a wire electric discharge machine is shown. The graphic shows a processing start position S of the electric discharge machine and a processing path R showing a processed shape. The processing start position S and the processing path R are specified in advance by a user of the wire electric discharge machine.
[0012] The processing path R has at least one element. The element is, for example, a straight line, a curve, or the like. Figure 1 The illustrated processing path R is a rectangle consisting of four sides, and therefore has four elements (straight lines). Elements connected by the approach path A from the processing start position S are called connection elements Ec. The approach path A from the processing start position S to the connection element Ec of the processing path R is shown in the figure representing the processing object W. The wire discharge machine performs discharge processing on the processing object W along the approach path A and the processing path R connected thereto.
[0013] According to the existing program generation device, such as Figure 1 As illustrated, the approach path A is generated as a straight line (eg, the shortest distance straight line) from the machining start position S to the connection element Ec. Before actually starting the discharge machining from the machining start position S, a through hole for passing the wire electrode is formed in advance at the machining start position S of the machining object W.
[0014] When the discharge machining starts, the wire electrode heats up. If the wire electrode heats up, the wire electrode may break. Therefore, it is necessary to cool the wire electrode by spraying a machining fluid at high pressure between the wire electrode and the object W. By cooling the wire electrode, the wire electrode is prevented from breaking.
[0015] However, when the through-hole at the machining start position S is large, in the electric discharge machining on the approach path A, the pressure of the ejected machining fluid is easily reduced as the through-hole is released. Therefore, the wire electrode cannot be sufficiently cooled, and the wire electrode may break. When the machining current is adjusted small to reduce the heat generation of the wire electrode, the machining speed may decrease.
[0016] Figure 2 FIG. 4 is a block diagram showing the structure of a program generation device 10 according to an embodiment. The program generation device 10 is, for example, a personal computer equipped with CAM application software. The program generation device 10 generates a machining program for controlling the electric discharge machining of the wire electric discharge machining machine 20 based on the 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 designated points P.
[0017] The machining program generated by the program generation device 10 is transmitted to the control device 30 of the wire electric discharge machining machine 20. The control device 30 controls the wire electric discharge machining machine 20 by executing the machining program. The wire electric discharge machining machine 20 performs electric discharge machining on the workpiece W according to the control of the control device 30.
[0018] The program generation device 10 is connected to an input device 40 and a display device 42. The user inputs information to the program generation device 10 via the input device 40. The input device 40 is, for example, a keyboard, a mouse, a stylus, a touch panel, etc. The display device 42 displays the machining path R and the approach path A. The display device 42 is, for example, a liquid crystal display, an organic EL display, etc.
[0019] 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 a GPU. The storage device 52 includes a volatile memory such as a RAM and a non-volatile memory such as a ROM or a flash memory. The volatile memory is used as the working memory of the processor. The non-volatile memory stores programs executed by the processor and other necessary data. The storage device 52 also stores the execution file of CAM and the generated machining program.
[0020] 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 acquisition unit 70, the determination unit 72, the approach path generation unit 74, and the machining program generation unit 76 are realized by executing programs stored in the storage device 52 by the processing circuit 50. At least a part of the acquisition unit 70, the determination unit 72, the approach path generation unit 74, and the machining program generation unit 76 can be realized by an integrated circuit such as an ASIC or an FPGA, or an electronic circuit including discrete devices.
[0021] The acquisition unit 70 acquires the machining start position S and the machining path R specified by the user. The information on 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. In addition, the acquisition unit 70 acquires a plurality of designated points P sequentially specified by the user.
[0022] For example, the user uses the input device 40 to depict the machining start position S and the machining path R on the screen of the display device 42, whereby the acquisition unit 70 acquires the machining start position S and the machining path R. Thereafter, the user uses the input device 40 to sequentially specify a plurality of designated points P on the screen of the display device 42, whereby the acquisition unit 70 acquires the plurality of designated points P.
[0023] The determination unit 72 determines at least one or more passing points through 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 the elements included in the machining path R based on the designated points P acquired by the acquisition unit 70. Specifically, when a certain designated point P is located on an element included in the machining path R, the determination unit 72 determines that element as the connection element Ec.
[0024] The approach path generation unit 74 generates an approach path A from the machining start position S through the passing points to the connection element Ec. Each time the determination unit 72 determines a passing point, the approach path A up to that passing point is generated. In this case, if the connection element Ec is finally determined, the generation of the approach path A is completed.
[0025] Alternatively, 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 the passing points and the connection element Ec have been determined by the determination unit 72.
[0026] The machining program generation unit 76 generates a machining program based on the shape of the generated approach path A added to the connection element Ec of the machining path R.
[0027] Figure 3A FIG. is an example for explaining the approach path A generated by the program generation device 10 of the present embodiment. The user depicts 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 sequentially specifies five designated points P1, P2, P3, P4, Pc. Thereby, the acquisition unit 70 sequentially acquires the designated points P1, P2, P3, P4, Pc. In addition, the acquisition unit 70 may also acquire the machining start position S and the machining path R by reading them from a storage medium.
[0028] In Figure 3AIn the example shown, the designated points P1, P2, P3, and P4 are not on the machining path R. Therefore, 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 the connection element Ec. The connection element Ec is an element of the machining path R to which the approach path A is connected.
[0029] The approach path A is connected to the connection element Ec at the connection position Q. This connection position Q can also be determined by a known determination process. For example, the connection position Q is the position on the connection element Ec that is closest to the last passing point of the approach path A generated by sequentially connecting all the passing points from the machining start position S. That is, the position that becomes the shortest distance from the last passing point to the connection element Ec can also be determined as the connection position Q. In Figure 3A the example shown, the connection position Q is the 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.
[0030] In addition, in Figure 3A the example shown, the connection position Q where 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 specified by the user can also be determined as the connection position Q. The connection position Q can also be different from the designated point Pc on the connection element Ec.
[0031] According to Figure 3A the approach path A shown, different from the example in Figure 1 shown, a part 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.
[0032] After starting the electrical discharge machining at the machining start position S, the wire electrode relatively moves the workpiece W along the approach path A. For convenience, the relative movement of the wire electrode with respect to the workpiece W is sometimes simply referred to as the movement of the wire electrode. In Figure 3A the example shown, 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, at the designated point P1, the movement direction of the wire electrode changes 90 degrees to the right.
[0033] In Figure 1 the example shown, the machined section from any machining position on the approach path A to the machining start position S is in a straight line shape. The machining fluid ejected at any machining position on the approach path A flows through the machined section path to the large through hole at the machining start position S. Therefore, the pressure of the machining fluid ejected at the machining position drops.
[0034] On the other hand, in Figure 3A In the example shown, the machined interval path from an arbitrary machining position to the machining start position S in the interval after the designated point P1 changes at least at the designated point P1. Therefore, for example, the machining fluid ejected at the machining position in the interval from the designated point P1 to the designated point P2 is caught at the nearest designated point P1 via the machined interval path. Therefore, a pressure drop of the machining fluid ejected at the machining position can be prevented.
[0035] The same applies when the machining position is in the interval 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 the designated point P2, 90 degrees to the left at the designated point P3, and 90 degrees to the right at the designated point P4. The machining fluid ejected at the machining position is caught by the nearest designated points P2, P3, or P4. Therefore, a pressure drop of the machining fluid ejected at the machining position can be prevented. In the interval after the designated point P1 of the approach path A, the pressure of the machining fluid ejected during electrical discharge machining can be maintained at a high level.
[0036] Figure 3B FIG. is a diagram for explaining another example of the generated approach path A. The user sequentially designates three designated points P1, P2, and Pc. Thereby, the acquisition unit 70 sequentially acquires the designated points P1, P2, and Pc. In Figure 3B In the example shown, since the designated points P1 and P2 are not on the machining path R, the determination unit 72 determines both the designated points P1 and P2 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 the connection element Ec.
[0037] The approach path A is connected to the connection element Ec at the connection position Q. In Figure 3B In the example shown, the connection position Q is the position on the connection element Ec that is closest to the designated point P2, which is the last passing point of the approach path A. In this example, the connection position Q where the approach path A is connected to the connection element Ec is different from the designated point Pc on the connection element Ec.
[0038] According to Figure 3B the approach path A shown, not all of the approach path A is included on the straight line connecting the machining start position S and the connection position Q. In Figure 3B In the example shown, 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, at the designated point P1, the moving direction of the wire electrode changes 90 degrees to the right.
[0039] In Figure 3BIn the example shown, in the section after the designated point P1, the machined section path from an arbitrary machining position to the machining start position S changes at least at the designated point P1. For example, the machining fluid jetted at the machining position in the section from the designated point P1 to the designated point P2 is received at the nearest designated point P1 via the machined section path. Therefore, a pressure drop of the machining fluid jetted at the machining position can be prevented.
[0040] The same applies when the machining position is in the section from the designated point P2 to the connection position 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 jetted at the machining position is received at the nearest designated point P2. In the section after the designated point P1 of the approach path A, the pressure of the machining fluid jetted during electric discharge machining can be maintained at a high level.
[0041] Figure 3C FIG. is another example for explaining the generated approach path A. The user sequentially designates two designated points P1 and Pc. Thereby, the acquisition unit 70 sequentially acquires the designated points P1 and Pc. In Figure 3C In the example shown, since the designated point P1 is not on the machining path R, the determination unit 72 determines the designated point P1 as a passing point. Since the designated point Pc is on the machining path R, the determination unit 72 determines the element having the designated point Pc as the connection element Ec.
[0042] As Figure 3C shown, the approach path generation unit 74 generates the approach path A in such a way that the direction of the approach path A changes at the designated point P1 as the passing point. The approach path A is connected to the connection element Ec at the connection position Q. In this example, the connection position Q where the approach path A is connected to the connection element Ec is different from the designated point Pc on the connection element Ec.
[0043] According to Figure 3C the approach path A shown, not all of the approach path A is included on the straight line connecting the machining start position S and the connection position Q. In Figure 3C In the example shown, the direction of the approach path A from the machining start position S changes obliquely upward to the left at the designated point P1. Therefore, the moving direction of the wire electrode changes obliquely upward to the left at the designated point P1.
[0044] In Figure 3CIn the example shown, the machined interval path from an arbitrary machining position to the machining start position S in the interval from the specified point P1 to the connection position Q changes at the specified point P1. The machining fluid ejected at the machining position in the interval from the specified point P1 to the connection position Q is caught at the nearest specified point P1 via the machined interval path. Therefore, a pressure drop of the machining fluid ejected at the machining position can be prevented. In the interval after the specified point P1 close to the path A, the pressure of the machining fluid ejected during the electrical discharge machining can be maintained at a high level.
[0045] The approach path A generated by the approach path generation unit 74 is not limited to Figure 3A , Figure 3B and Figure 3C the example shown. When at least a part 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 ejected during the electrical discharge machining can be maintained at a high level.
[0046] Figure 4 FIG. is a flowchart showing an example of the processing steps related to the machining program generation of the program generation device 10 according to the present embodiment. This processing step is performed, for example, by the processing circuit 50 included in the program generation device 10. When this processing step starts, the user uses the input device 40 to draw the machining start position S and the 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 the machining path R specified by the user.
[0047] The user uses the input device 40 to sequentially specify a plurality of specified points P (for example, Figure 3A the plurality of specified points P1, P2, P3, P4, and Pc shown). In step S2, the acquisition unit 70 sequentially acquires the plurality of specified points P. In step S3, the determination unit 72 determines whether the specified point P acquired in step S3 is located on the machining path R. If it is "yes" in step S3, the processing sequence proceeds to step S4. If it is "no" in step S3, the processing sequence proceeds to step S11.
[0048] In step S4, the determination unit 72 determines the connection element Ec to which the approach path A is connected from the elements included in the machining path R based on the specified point P determined in step S3. The element including the specified point P is determined as the connection element Ec. When step S4 ends, this processing step proceeds to step S5.
[0049] In step S11, the decision unit 72 determines the designated point P determined in step S3 as the via point. In step S12, the approach path generation unit 74 generates an approach path A from the machining start position S to the via 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 ends, this processing step returns to step S2. In the next step S2, the next designated point P is obtained.
[0050] As described above, in steps S4 and S11, the decision unit 72 determines the connection element Ec and the via point. Therefore, the approach path A can be appropriately generated.
[0051] In step S5, the approach path generation unit 74 generates an approach path A from the machining start position S via all the via points to the connection element Ec. As Figure 3A , Figure 3B and Figure 3C illustrated, the approach path A is generated in such a manner that the direction of the approach path A changes at the via point. Preferably, the interval from the machining start position S to the first via point, i.e., the 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 also display the completed approach path A on the display device 42.
[0052] 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 obtained in step S1. When the processing in step S6 is completed, this processing step ends.
[0053] According to this embodiment, the direction of the approach path A changes at the first via point next to the machining start position S. Therefore, in the electrical discharge machining of the approach path A, the possibility of wire electrode breakage is reduced, and the machining speed is maintained.
[0054] The above-described embodiment can also be modified as follows. In the following modification examples, the descriptions overlapping with the embodiment are omitted.
[0055] (Modification example)
[0056] It is also possible not to have the user specify a plurality of designated points P. In this modification example, Figure 2 the obtaining unit 70 shown obtains the machining start position S and the machining path R specified by the user. However, unlike the above-described embodiment, the obtaining unit 70 does not obtain a plurality of designated points P.
[0057] Figure 2The determination unit 72 shown determines the connection element Ec based on the machining start position S and the 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. In addition, the determination unit 72 determines at least one or more via points. The via points are determined such that at least a part of the approach path A is not included in a straight line connecting the machining start position S and a position on the connection element Ec to which the approach path A is connected.
[0058] Figure 5 It is a flowchart showing an example of the processing steps related to the machining program generation of the program generation device 10 of this modification example. This processing step is performed, for example, by the processing circuit 50 included in the program generation device 10. When this processing step starts, the user uses the input device 40 to depict the machining start position S and the 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 the machining path R specified by the user.
[0059] In step S32, the determination unit 72 determines the connection element Ec to which the approach path A is connected from among the elements included in the machining path R. The connection element Ec is determined based on the machining start position S acquired in step S31 and the machining path R.
[0060] In step S33, the determination unit 72 determines the via points based on the machining start position S acquired in step S31 and the connection element Ec determined in step S32.
[0061] In step S34, the approach path generation unit 74 generates an approach path A from the machining start position S via the via points to the connection element Ec. The approach path generation unit 74 may also cause the generated approach path A to be displayed on the display device 42. The approach path A is generated such that the direction of the approach path A changes at the via points. Preferably, the interval from the machining start position S to the first via point is short.
[0062] 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. When the processing of step S35 is completed, this processing step ends.
[0063] According to this modification example, different from the above-described embodiment, the user does not need to specify a plurality of specified points P. Therefore, by a simple operation, in the electrical discharge machining in the approach path A, the possibility of wire electrode breakage is reduced and the machining speed is maintained.
[0064] In the above-described embodiments and modifications, the approach path generation unit 74 generates the approach path A in such a manner that the direction of the approach path A changes at at least one or more waypoints. Therefore, in the electrical discharge machining along the approach path A, the possibility of wire electrode breakage is reduced and the machining speed is maintained.
[0065] Regarding the above-described embodiments and modifications, the following remarks are further disclosed.
[0066] (Remark 1)
[0067] The present disclosure is a program generation device (10) that generates a machining program for controlling a wire electrical discharge machining machine (20). The program generation device includes: an acquisition unit (70) that acquires a machining start position (S) specified by a user and a machining path (R) representing a machining shape; a determination unit (72) that determines a connection element (Ec) and at least one or more waypoints through which an approach path passes, the connection element (Ec) being an element of the machining path to which the approach path (A) starting from the machining start position is connected; an approach path generation unit (74) that generates the approach path from the machining start position through the at least one or more waypoints to the connection element; and a machining program generation unit (76) that generates the machining program based on the shape of the generated approach path added to the connection element of the machining path. The approach path generation unit generates the approach path in such a manner that the direction of the approach path changes at the at least one or more waypoints.
[0068] (Remark 2)
[0069] According to the program generation device described in Remark 1, the acquisition unit acquires designated points (P) sequentially specified by the user, the determination unit determines whether the designated point is on the machining path, and in the case where it is determined that the designated point is not on the machining path, determines it as one of the at least one or more waypoints, and in the case where it is determined that the designated point is on the machining path, determines the element including the designated point as the connection element.
[0070] (Remark 3)
[0071] According to the program generation device described in Remark 1 or 2, the determination unit determines the at least one or more waypoints in such a manner that at least a part of the approach path is not included in a straight line connecting the machining start position and a connection position (Q) where the approach path is connected to the connection element.
[0072] (Remark 4)
[0073] The present disclosure is a program generation method for generating a machining program for a wire electrical discharge machining machine (20). The program generation method includes the following steps: an acquisition step of acquiring a machining start position (S) and a machining path (R) specified by a user; a determination step of determining at least one or more passing points through which a connection element (Ec) and an approach path pass, where the connection element (Ec) is an element of the machining path connected by an approach path (A) starting from the machining start position; an approach path generation step of generating the approach path from the machining start position through the at least one or more passing points to the connection element; and a machining program generation step of generating the machining program according to the shape of the generated approach path attached to the connection element of the machining path. The approach path generation unit generates the approach path in such a manner that the direction of the approach path changes at the at least one or more passing points.
[0074] (Supplementary Note 5)
[0075] According to the program generation method described in Supplementary Note 4, in the acquisition step, specified points (P) sequentially specified by the user are acquired. In the determination step, it is determined whether the specified point is on the machining path. When it is determined that the specified point is not on the machining path, it is determined as one of the at least one or more passing points. When it is determined that the specified point is on the machining path, the element including the specified point is determined as the connection element.
[0076] (Supplementary Note 6)
[0077] According to the program generation method described in Supplementary Note 4 or 5, in the determination step, the at least one or more passing points are determined in such a manner that at least a part of the approach path is not included in a straight line connecting the machining start position and a connection position (Q) where the approach path is connected to the connection element.
[0078] The present disclosure has been described in detail, but the present disclosure is not limited to the above-described embodiments. These embodiments can be variously added, replaced, changed, partially deleted, etc. within the scope of not departing from the gist of the present disclosure, or within the scope of not departing from the gist of the present disclosure derived from the content described in the claimed scope and its equivalents. In addition, these embodiments can also be combined for implementation. For example, in the above-described embodiments, the order of each action and the order of each process are shown as an example and are not limited thereto. In addition, the same applies to the case where numerical values or mathematical formulas are used in the description of the above-described embodiments.
[0079] Symbol Description
[0080] 10... Program generation device 20... Wire electrical discharge machining machine
[0081] 30... Control device 40... Input device
[0082] 42... Display device 50... Processing circuit
[0083] 52... Storage device 70... Acquisition unit
[0084] 72... Decision unit 74... Approach path generation unit
[0085] 76... Processing program generation unit.
Claims
1. A program generation device that generates a machining program for controlling a wire electrical discharge machining machine, characterized in that, The program generation device includes: 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 at least one or more waypoints through which a connection element and an approach path pass, where the connection element is an element of the machining path to which the approach path is connected starting from the machining start position; An approach path generation unit that generates the approach path from the machining start position through the at least one or more waypoints to the connection element; And A machining program generation unit that generates the machining program based on the shape of the generated approach path added to the connection element of the machining path, The approach path generation unit generates the approach path in such a manner that the direction of the approach path changes at the at least one or more waypoints.
2. The program generation device according to claim 1, wherein: The acquisition unit acquires designated points sequentially specified by the user, The determination unit determines whether the designated point is on the machining path. If it is determined that the designated point is not on the machining path, it is determined as one of the at least one or more waypoints. If it is determined that the designated point is on the machining path, the element including the designated point is determined as the connection element.
3. The program generation device according to claim 1 or 2, wherein: The determination unit determines the at least one or more waypoints in such a manner that at least a part of the approach path is not included in the straight line connecting the machining 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 for a wire electrical discharge machine, characterized in that, The program generation method includes the following steps: An acquisition step of acquiring a machining start position and a machining path specified by a user; A determination step of determining at least one or more waypoints through which a connection element and an approach path pass, where the connection element is an element of the machining path to which the approach path is connected starting from the machining start position; An approach path generation step of generating the approach path from the machining start position through the at least one or more waypoints to the connection element; And A machining program generation step of generating the machining program based on the shape of the generated approach path added to the connection element of the machining path, In the approach path generation step, the approach path is generated in such a manner that the direction of the approach path changes at the at least one or more waypoints.
5. The program generation method according to claim 4, wherein: In the acquisition step, designated points sequentially specified by the user are acquired, In the determination step, it is determined whether the designated point is on the machining path. If it is determined that the designated point is not on the machining path, it is determined as one of the at least one or more waypoints. If it is determined that the designated point is on the machining path, the element including the designated point is determined as the connection element.
6. The program generation method according to claim 4 or 5, wherein: In the determining step, determine the at least one or more intermediate points in such a manner that at least a part of the approach path is not included in a straight line connecting the machining start position and the connection position where the approach path is connected to the connection element.
Citation Information
Patent Citations
Approaching path deciding method
JP1986058008A