Wire electric discharge machine controller having wire electrode replacement function
10391571 ยท 2019-08-27
Assignee
Inventors
Cpc classification
B23H11/00
PERFORMING OPERATIONS; TRANSPORTING
B23H7/10
PERFORMING OPERATIONS; TRANSPORTING
G05B19/188
PHYSICS
B23H7/20
PERFORMING OPERATIONS; TRANSPORTING
B23H1/10
PERFORMING OPERATIONS; TRANSPORTING
International classification
B23H7/10
PERFORMING OPERATIONS; TRANSPORTING
B23H11/00
PERFORMING OPERATIONS; TRANSPORTING
B23H1/04
PERFORMING OPERATIONS; TRANSPORTING
G05B19/18
PHYSICS
Abstract
A controller for controlling a wire electric discharge machine is configured to monitor the remaining lifetime of a wire electrode and calculates an electric discharge machining time, thereby determining the timing of replacement of the wire electrode, so that it can recognize the timing of interruption of electric discharge machining. Consequently, a program operation can be suspended and the wire electrode can be cut and automatically replaced at that timing. After the replacement of the wire electrode, moreover, the wire electrode can be connected and the program operation can be restarted.
Claims
1. A wire electric discharge machine, comprising: a wire electrode with predetermined weight, length, and wound diameter; a wire electrode cutting unit; a wire electrode replacement unit; a wire connection unit; and a controller configured to create a machining path based on an axis movement command from a machining program and control the wire electric discharge machine to perform a program operation according to the machining program to move the wire electrode and a workpiece relative to each other along the created machining path, wherein the controller is configured to execute the machining program; monitor the remaining lifetime of the wire electrode based on physical values of the wire electrode wire; analyze the machining program and calculate, before a start of electric discharge between the wire electrode and the workpiece in accordance with the machining program, an electric discharge machining time in a machining interval from (i) the start of the electric discharge to (ii) a stop of the electric discharge, wherein the machining program includes, in the machining interval, a plurality of commands controlling the wire electrode to cut the workpiece; compare the remaining lifetime and the electric discharge machining time, determined based on physical values of the wire electrode wire and determine that the timing of replacement of the wire electrode is reached when the remaining lifetime of the wire electrode is shorter than the electric discharge machining time; output a stop command for the program operation to a program operation control unit when the timing of replacement for the wire electrode is reached; output a cutting command for the wire electrode to the wire electrode cutting unit and monitor the completion of cutting of the wire electrode; output a replacement command for the wire electrode to the wire electrode replacement unit that automatically replaces the wire electrode on receiving the replacement command and monitor the completion of replacement of the wire electrode; output a connection command for the wire electrode to the wire connection unit and monitor the completion of connection of the wire electrode by the wire connection unit when the replacement of the wire electrode is completed; and output a restart command for the program operation to the program operation control unit when the connection of the wire electrode is completed, wherein the comparison of the remaining lifetime of the wire electrode and the electric discharge machining time is performed during execution of the machining interval, which is an interval occurring prior in time to the start of the machining interval during which the end of the remaining lifetime of the wire electrode is determined to occur.
2. The wire electric discharge machine according to claim 1, wherein controller is configured to calculate a ratio between the remaining lifetime and the electric discharge machining time, and determine that the timing of replacement of the wire electrode is reached when the calculated ratio is smaller than a predetermined value.
3. The wire electric discharge machine according to claim 1, wherein the controller is configured to calculate a difference between the remaining lifetime and the electric discharge machining time, and determine that the timing of replacement of the wire electrode is reached when the calculated difference is smaller than a predetermined value.
4. The wire electric discharge machine-according to claim 1, wherein the wire electrode replacement unit is a robot.
5. The wire electric discharge machine according to claim 1, wherein the machining interval is started by a G01 command in the machining program.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects and features of the present invention will be obvious from the ensuing description of embodiments with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(8) One embodiment of a wire electric discharge machine controller having a wire electrode replacement function according to the present invention will be described with reference to
(9) A wire electric discharge machine controller 10 creates a machining path based on an axis movement command from a machining program and operates a wire electric discharge machine according to the machining program to move a wire electrode and a workpiece relative to each other along the created machining path, thereby machining the workpiece.
(10) The wire electric discharge machine controller 10 comprises a program operation control unit 16, wire remaining lifetime monitoring unit 11, electric discharge machining time calculation unit 12, wire electrode replacement timing determination unit 13, program operation stop command unit 14, wire cutting control unit 17, wire electrode replacement control unit 18, wire connection control unit 19, and program operation restart command unit 15. The program operation control unit 16 executes the machining program. The wire remaining lifetime monitoring unit 11 monitors the remaining lifetime of the wire electrode. The electric discharge machining time calculation unit 12 analyzes the machining program and calculates, before the start of electric discharge, an electric discharge machining time in a machining interval before the electric discharge is stopped. The wire electrode replacement timing determination unit 13 determines that the timing of replacement of the wire electrode is reached if the remaining lifetime of the wire electrode is found by comparison to be shorter than the electric discharge machining time. The program operation stop command unit 14 outputs a command for stopping a program operation to the program operation control unit 16 when the replacement timing is reached. The wire cutting control unit 17 outputs a command for cutting the wire electrode to a wire cutting unit 20 and monitors the completion of cutting of the wire electrode. The wire electrode replacement control unit 18 outputs a command for replacing the wire electrode to wire electrode replacement unit 21 and monitors the completion of replacement of the wire electrode. The wire connection control unit 19 outputs a command for connecting the wire electrode to a wire connection unit 22 and monitors the completion of connection of the wire electrode when the replacement of the wire electrode is completed. The program operation restart command unit 15 outputs a command for restarting the program operation to the program operation control unit 16 when the connection of the wire electrode is completed.
(11) The wire electrode replacement timing determination unit 13 has a function of calculating the ratio between the remaining lifetime of the wire electrode and the electric discharge machining time and determining that the timing of replacement of the wire electrode is reached if the calculated ratio is smaller than a predetermined value.
(12) Alternatively, the wire electrode replacement timing determination unit 13 may have a function of calculating the difference between the remaining lifetime of the wire electrode and the electric discharge machining time and determining that the timing of replacement of the wire electrode is reached if the calculated difference is smaller than a predetermined value. Further, a robot may be employed as the wire electrode replacement unit.
(13) The following is a description of elements of the wire electric discharge machine controller 10.
(14) <Wire Electrode>
(15) The wire electrode used in the wire electric discharge machine is a wire-like electrode that serves to generate electric discharge. A wire wound on a bobbin in the wire electric discharge machine is drawn out, electrically discharged, and collected directly into a collection box or the like for disposal. The remaining lifetime of the wire electrode can be monitored according to the operating time of the machine. Since the weight, length, and diameter of the wire wound on the bobbin are settled, the remaining lifetime of the wire electrode can be more strictly monitored based on these data and the feed rate of the wire that varies depending on each machining condition.
(16) <Wire Remaining Lifetime Monitoring Unit 11>
(17) The wire remaining lifetime monitoring unit 11 monitors the remaining lifetime and remaining amount of the wire electrode and outputs the remaining lifetime. The remaining lifetime of the wire electrode may be monitored in the following manner.
(18) (1) The preset lifetime of the wire electrode is compared with the operating time of the machine after replacement with a new wire electrode.
(19) (2) The consumption of the wire electrode is measured based on various set values (weight, length, diameter, feed rate, etc., of the wire) of the wire electric discharge machine, and the time for the full consumption of the wire electrode is estimated.
(20) Further, the remaining lifetime and remaining amount of the wire electrode may be monitored by using the means disclosed in Japanese Patent Application Laid-Open No. 2010-179377 or 2003-25155.
(21) <Electric Discharge Machining Time Calculation Unit 12>
(22) The electric discharge machining time calculation unit 12 analyzes the machining program, calculates, before the start of electric discharge, the electric discharge machining time in the machining interval before the electric discharge is stopped next, and outputs the electric discharge machining time. The analysis of the machining program and the calculation of the electric discharge machining time are performed in the following manner.
EXAMPLE 1
(23)
(24) The wire electrode is moved relative to the workpiece along a machining path 31 from a machining start point 30 as the machining is performed. When the wire electrode returns to the machining start point 30, the wire is cut, and the workpiece and a wire guide supporting the wire electrode are relatively moved by rapid traverse 32 and positioned at the next machining point. Thereupon, the machining is started.
(25) In the case where the machining is repeated three times, as shown in
(26) Specifically, the length of this interval can be obtained from a movement command by G01, and the machining time in this interval can be calculated based on a set machining speed included in machining conditions ordered by an S-code command and the interval length. It is necessary, therefore, only that this processing be repeated every time this interval is called.
(27) In this example, moreover, the G01 command is monitored as the machining time is calculated. Alternatively, however, a dedicated M code may be provided such that machining times in subsequent electric discharge machining intervals can be calculated.
(28) In the case of such machining, an operator conventionally replaces the wire electrode with the program operation suspended after the end of the electric discharge machining interval by using an optional stop command of M01 while monitoring the remaining lifetime of the wire electrode.
EXAMPLE 2
(29) In another example, machining based on machining programs set up in the manner shown in
(30) Although the machining shape is the same as that in Example 1, the machining programs may be set up in this manner depending on the machining content. The wire electrode is moved relative to the workpiece along the machining path 31 from the machining start point 30 as the machining is performed. When the wire electrode returns to the machining start point 30, the wire is cut, and the workpiece and the wire guide supporting the wire electrode are relatively moved by the rapid traverse 32 and positioned at the next machining point. Thereupon, the machining is started. When the machining of the last region is finished, the wire electrode returns to the first machining start point 30 by rapid traverse 33.
(31) Also in this case, electric discharge machining is performed in the interval for cutting feed in1 which G01 is commanded in the machining program. The problem occurs that the machined surface quality is degraded if electric discharge is suspended in this interval. Therefore, the machining time in this interval is calculated before G01 is commanded.
(32) Specifically, the length of this interval can be obtained from the movement command by G01, and the machining time in this interval can be calculated based on the set machining speed included in the machining conditions ordered by the S-code command and the interval length. It is necessary, therefore, only that this processing be repeated every time this interval is called. In this example, moreover, the G01 command is monitored as the machining time is calculated. As in the case of Example 1, however, the dedicated M code may be provided such that the machining times in the subsequent electric discharge machining intervals can be calculated.
(33) Also in the case of such machining, the operator conventionally replaces the wire electrode with the program operation suspended after the end of the electric discharge machining interval by using the optional stop command of M01 while monitoring the remaining lifetime of the wire electrode.
(34) <Wire Electrode Replacement Timing Determination Unit 13>
(35) The wire electrode replacement timing determination unit 13 compares the remaining lifetime of the wire electrode received from the wire remaining lifetime monitoring unit 11 and the electric discharge machining time received from the electric discharge machining time calculation unit 12 to determine the timing of replacement of the wire electrode and outputs the result of the determination. Specifically, it may be determined that the timing of replacement of the wire electrode is reached if (remaining lifetime)/(electric discharge machining time)<a (a is a constant) is given, or that the timing of replacement of the wire electrode is not reached if (remaining lifetime)/(electric discharge machining time)>a is given. Although a is normally 1, it may be a predetermined value obtained by multiplication by a safety factor.
(36) Alternatively, it may be determined that the replacement timing for the wire electrode is reached if (remaining lifetime)<(electric discharge machining time) is given, or that the replacement timing for the wire electrode is not reached if (remaining lifetime)>(electric discharge machining time) is given. Alternatively, moreover, it may be determined that the replacement timing for the wire electrode is reached if (remaining lifetime)(electric discharge machining time)<b (b is a constant) is given, or that the replacement timing for the wire electrode is not reached if (remaining lifetime)(electric discharge machining time)>b. Although b is normally 0, it may be set to a value other than 0 in anticipation of safety.
(37) <Program Operation Stop Command Unit 14>
(38) The program operation stop command unit 14 outputs a program operation stop command to the program operation control unit 16 if the determination result received from the wire electrode replacement timing determination unit 13 indicates that the replacement timing is reached.
(39) <Program Operation Restart Command Unit 15>
(40) The program operation restart command unit 15 outputs a program operation restart command to the program operation control unit 16 after the connection of the wire electrode is completed.
(41) <Program Operation Control Unit 16>
(42) The program operation control unit 16 executes the machining program to control the program operation. On receiving the program operation stop command from the program operation stop command unit 14, the program operation control unit 16 stops the program operation. On receiving the program operation restart command, it restarts the program operation.
(43) <Wire Cutting Control Unit 17>
(44) If the determination result received from the wire electrode replacement timing determination unit 13 indicates that the replacement timing is reached, the wire cutting control unit 17 outputs a wire electrode cutting command to the wire cutting unit 20 and confirms the completion of cutting of the wire electrode. The cutting command may alternatively be output after the stop of the program operation is confirmed.
(45) <Wire Electrode Replacement Control Unit 18>
(46) If the determination result received from the wire electrode replacement timing determination unit 13 indicates that the replacement timing for the wire electrode is reached, the wire electrode replacement control unit 18 outputs a wire electrode replacement command to the wire electrode replacement unit 21 and confirms the completion of replacement of the wire electrode. The replacement command may alternatively be output after the cutting of the program operation is confirmed.
(47) <Wire Connection Control Unit 19>
(48) The wire connection control unit 19 outputs the wire electrode connection command to the wire connection unit 22 and confirms the completion of connection of the wire electrode after the replacement of the wire electrode is completed.
(49) <Wire Cutting Unit 20>
(50) The wire cutting unit 20 cuts the wire electrode on receiving the wire electrode cutting command from the wire cutting control unit 17.
(51) <Wire Electrode Replacement Unit 21>
(52) The wire electrode replacement unit 21 replaces the wire electrode on receiving the wire electrode replacement command from the wire electrode replacement control unit 18. An industrial robot may be used as the wire electrode replacement unit 21.
(53) <Wire Connection Unit 22>
(54) The wire connection unit 22 connects the wire electrode on receiving the wire electrode connection command from the wire connection control unit 19.
(55)
(56) [Step sa01] Monitoring of the remaining lifetime of the wire electrode is started.
(57) [Step sa02] The machining program is analyzed and executed.
(58) [Step sa03] It is determined whether or not a block in the machining program is a start block for electric discharge machining. If the block is the start block for electric discharge machining (YES), the processing proceeds to Step sa04. If not (NO), the processing proceeds to Step sa14.
(59) [Step sa04] The electric discharge machining time is calculated.
(60) [Step sa05] It is determined whether or not the wire electrode replacement timing is reached. If it is determined that the replacement timing is reached (YES), the processing proceeds to Step sa06. If not (NO), the processing proceeds to Step sa14.
(61) [Step sa06] The program operation is paused.
(62) [Step sa07] The wire cutting command is output.
(63) [Step sa08] It is determined whether or not the wire electrode cutting is completed. If the cutting is completed (YES), the processing proceeds to Step sa09. If not (NO), the processing proceeds to Step sa09 after completion of the wire electrode cutting is awaited.
(64) [Step sa09] The wire electrode replacement command is output.
(65) [Step sa10] It is determined whether or not the wire electrode replacement is completed. If the replacement is completed (YES), the processing proceeds to Step sa11. If not (NO), the processing proceeds to Step sa11 after completion of the wire electrode replacement is awaited.
(66) [Step sa11] The wire electrode connection command is output.
(67) [Step sa12] It is determined whether or not the wire electrode connection is completed. If the connection is completed (YES), the processing proceeds to Step sa13. If not (NO), the processing proceeds to Step sa13 after completion of the wire electrode connection is awaited.
(68) [Step sa13] The program operation is restarted.
(69) [Step sa14] It is determined whether or not the machining program is terminated. If the machining program is terminated (YES), this control processing ends. If not (NO), the processing returns to Step sa01, whereupon the control processing is continued.