The invention relates to a machine tool such as a wire-electrical discharge machine etc. and a controller for controlling the machine tool.
In an ordinary machine tool using an endmill as a cutting tool, the final shape of a work can be obtained by creating a program by previously adding a radius of the endmill to a machining path (programmed path) as an offset value (refer to
In a wire-electrical discharge machine that is an example of a machine tool, a method of programming a machining path for machining a work by a final dimension of the work is employed. In the method, at the time of actual machining, there is a case of finishing a final dimension of the work to a programmed dimension by carrying out machining by making shift (hereinafter called “offset”) of the radius of a wire electrode line and the removed amount, which has been removed in a vertical direction from the wire electrode line to the work (distance: hereinafter, called “electrical discharge gap”), of the amount of the block that had been removed by electrical discharge heat resulting from the electrical discharge that has been carried out between the wire electrode line and the work, i.e., electrical discharge gap to a cutting-off side with respect to a machining path programmed to the final dimension.
In the machining carried out by an ordinary machine tool, for example, a milling machine using an endmill as a cutting tool to machine a work, when a program is created by previously adding a radius of the endmill to a machining path, it is not necessary to change an offset value in actual machining. However, in a wire-electrical discharge machine, an electrical discharge gap whose distance is unknown exists in addition to a radius of a wire electrode. For this reason, when the discharge gap is not known, a program including an offset value cannot be created.
In wire electrical discharge machining, when machining is carried out by a program corresponding to a shape of a final dimension and an opposite side dimension of the shape whose dimension has been reduced by electrical discharge is measured, an offset value is determined as a value half a remaining value obtained by subtracting the opposite side dimension value after machining from the opposite side dimension value of the programmed shape. As described above, in the wire-electrical discharge machine, a machining program can be previously created by using an offset function also in machining of an unknown discharge gap.
Ordinarily, although an offset determined once is not changed during machining, there occurs a case that the offset is changed due to special circumstances. For example, in a portion having a stepped section in which a machining state outstandingly changes, since an electrical discharge machining amount changes in a portion where a work is thick in and a portion where the work is thin, a discharge gap also changes. At the time, a final dimension can be properly obtained even in the stepped section by optionally changing an offset value (refer to JP 2011-83873 A).
Likewise the offset, it becomes necessary to optionally change also a taper angle command value in the middle of a machining path at the time of taper machining in which a work is machined while tilting a wire electrode to the work. Further, as described in JP 2007-83372 A, at the time of taper machining, an electrical discharge machining amount becomes different by the difference between the path length on upper surface side of a work and the path length on the lower surface side of the work. To cope with the problem, a taper machining amount correction function for correcting the difference of the electrical discharge machining amount becomes necessary. It is necessary to optionally change also the taper machining amount correction function depending on a machining portion likewise the offset.
To change an offset value during machining, it is necessary to offset, for example, paths in respective normal directions of a straight line machining path program block that is moving at the time (during machining) and a straight line machining path program block that will be carried out next, and it is necessary to previously read and calculate a next block to determine an intersecting point of a path including an offset of a next block at the end point position of a present block.
As shown in
First, a problem of the offset machining will be explained.
A conventional method of determining an offset path (machining path including an offset value) when a tangential line exists in a connecting point at the time two straight line blocks are connected each other on a straight line and when front and rear blocks are smoothly connected by an arc and a straight or by an arc and an arc (i.e., when the connecting point is not a cusp) will be explained. As shown in
The conventional offset path determination method is very inconvenient because the method cannot cope with a case in which it is desired to change an offset value of only a next block. In particular, when a thin plate portion and a thick plate portion of a stepped section exist on the same straight line, the method cannot properly cope with a case in which it is desired to change an offset of only the thin plate portion (refer to
Next, a problem of the taper machining will be explained.
A taper angle can be changed by instructing a taper angle while a program is being carried out (refer to
Also in the taper machining, when a taper angle command value is changed extending to blocks with a tangential line, a problem arises in that the change of the taper angle command value is not applied to a necessary block as shown in
As shown in
Further, also in a taper machining amount correction function shown in
However, the correction is carried out instantly in an instructed block, the block does not move in a travel direction in a joint of the block is moved only in a taper direction by the correction, and stays at the location with a result of occurrence of gouging due to excessive electric discharging. It is needless that, likewise the offset, in a correction method in which a correction is completed at the end point of a next block, a machining amount cannot be corrected and thus a desired correction cannot be carried out, from which a problem arises.
Accordingly, in view of the problems of the conventional technologies, an object of the invention is to provide a machine tool capable of applying an offset value and a taper machining amount correction value to a necessary portion and capable of improving an accuracy of a machining shape and a numerical control apparatus for controlling the machine tool.
A numerical control apparatus of a wire-electrical discharge machine according to the invention for electrical discharge machining a work by a wire electrode line along a machining path including an offset includes a unit configured to add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a second rear block in two contact machining path blocks, the two blocks at points in front of and behind a connecting point of the two blocks in an optional distance, respectively, and gradually changes the offset value from the offset value instructed in the front block to the offset value instructed in the rear block, in the area between the points that newly divides the front block and the rear block.
A numerical control apparatus of a wire-electrical discharge machine according to the invention for electrical discharge machining a work by a wire electrode line along a machining path including a taper angle or taper machining amount correction amount comprises a unit configured to add a block that divides, when a taper angle or a taper machining amount correction amount instructed in a first front block is different from a taper angle or a taper machining amount correction amount instructed in a next rear block in two contact machining path blocks, the two blocks at points in front of and behind a connecting point of the two blocks in an optional distance, respectively, and gradually change the taper angle or the taper machining amount correction amount from the taper angle or the taper machining amount correction amount instructed in the front block to the taper angle or the taper machining amount correction amount instructed in the rear block, in the area between the points that newly divides the front block and the rear block.
A numerical control apparatus of a wire-electrical discharge machine according to the invention for electrical discharge machining a work by a wire electrode line along a machining path including an offset comprises a unit configured to add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a second rear block in two contact machining path blocks, a block at a point in front of or behind a connecting point of the two blocks in an optional distance, and gradually changes the offset value, from the offset value instructed in the front block to the offset value instructed in the rear block, in the area between a start point and the end point of the divided block.
A numerical control apparatus of a wire-electrical discharge machine according to the invention for electrical discharge machining a work by a wire electrode line along a machining path including a taper angle or taper machining amount correction amount includes a unit configured to, add a block that divides, when a taper angle or a taper machining amount correction amount instructed in a first front block is different from a taper angle or a taper machining amount correction amount instructed in a next rear block in two contact machining path blocks, a block at a point in front of or behind a connecting point of the two blocks in an optional distance, respectively and gradually change the taper angle or the taper machining amount correction amount from the taper angle or the taper machining amount correction amount instructed in the front block to the taper angle or the taper machining amount correction amount instructed in the rear block, in the area between the start point and the end point of the added block.
Further, the invention includes a wire-electrical discharge machine provided with the numerical control apparatus.
A numerical control apparatus of a machine tool according to the invention for machining a work by a cutting tool along a machining path including an offset includes a unit configured to, add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a second rear block in two contact machining path blocks, the two blocks at points in front of and behind a connecting point of the two blocks in an optional distance, respectively, and gradually change the offset value from the offset value instructed in the front block to the offset value instructed in the rear block, in the area between the points that newly divides the front block and the rear block.
A numerical control apparatus according to the invention comprises a unit configured to add a function block, when an offset value instructed in a first front block is different from an offset value instructed in a second rear block in two contact machining path blocks, that gradually change the offset value from the offset value instructed in the front block to the offset value instructed in the rear block in the area between a point that divides the first front block an optional distance in front of a connecting point of the two blocks in a travel direction and a start point of a block behind the point.
A numerical control apparatus of a machine tool according to the invention for machining a work by a cutting tool along a machining path including an offset comprises a unit configured to add a block, when an offset value instructed in a first front block is different from an offset value instructed in a second rear block in two contact machining path blocks, that gradually changes the offset value from the offset value instructed in the front block to the offset value instructed in the rear block, in the area between the end point of the front block and a point that divides the second rear block an optional distance behind a connecting point of the two blocks in a travel direction.
Since the invention includes the configuration described above, the invention can provide a wire-electrical discharge machine capable of applying an offset value and a taper machining amount correction value to a necessary portion and capable of improving the accuracy of a machined shape and a numerical control apparatus of the wire-electrical discharge machine and a numerical control apparatus for controlling a machine tool.
The above-described and other objects and the feature of the invention described above and a feature thereof will become apparent from the explanation of the following embodiments in reference to attached drawings, wherein:
First, embodiments of a wire-electrical discharge machine for machining a work by electrical discharge machining will be explained.
To electrical discharge machining the work 5, a wire electrode 4 is supplied from a wire electrode feed reel (not shown) to a machining portion 116 via a power supply roller 115, an upper guide roller 113, and a upper wire guide 111. At the time of machining, the wire electrode 4 is stretched between the upper wire guide 111 and a lower wire guide 112 by a wire connection operation and applied with a voltage for generating discharge between it and the work 5.
The wire electrode 4 is wound around a winding reel (not shown) that draws the wire electrode 4 by predetermined tension via the machining portion 116 and further via the lower wire guide 112 and a lower guide roller 114. Note that, the wire electrode 4 may be collected in a wire collection box (not shown) in place of the winding reel.
The wire electrode 4 is supplied with electric energy for the electrical discharge machining from a machining power supply unit 121 via the power supply roller 115 according to a pulse train 117 output from a numerical control apparatus 120. The number of pulses of a pulse current input from the machining power supply unit 121 or an integrated value of the pulse current can be treated as an amount of energy. Further, a method of pouring cooling water to the machining portion 116 or submerging the work 5 in its entirety into a machining liquid (for example, pure water) is employed.
Ordinarily, the placing surface 102 of the work placing table 101 extends in a horizontal direction (on a surface parallel with an XY plane), and the work placing table 101 can be driven on an surface parallel with the XY plane that uses an X axis and a Y axis as orthogonal axes by servo motors 105, 106 of respective X and Y axes. Further, the upper wire guide 111 can be driven on the surface parallel with the XY plane by servo motors 108, 109 of respective U and V axes and can be driven in a direction orthogonal to the XY plane (±Z direction) by a servo motor 110 of a Z axis. Ordinarily, a moving direction by the U axis is parallel with a moving direction by the X axis, and a moving direction by the V axis is parallel with a moving direction by the Y axis. Note that, as conventionally known, the present positions of the respective drive axes (X axis, Y axis, Z-axis, U-axis, and V-axis) are stored in a storage unit in the numerical control apparatus 120 as machine coordinate positions. Note that, as conventionally known, the machine coordinate position of the lower wire guide 112 is also stored previously in the storage unit in the numerical control apparatus 120 as a parameter.
To change the machining portion 116, it is sufficient to change the relative position between the work 5 and the wire electrode 4 in response to commands output from the numerical control apparatus 120 to the servo motors of the respective axes (X axis command, Y axis command, Z axis command, U axis command, and V axis command). The contents of the commands are ordinarily prescribed by a machining program. The machining program is a program for prescribing a moving command of the wire electrode 4, i.e., a program for prescribing moving commands, etc. to the servo motors of the respective axes and is defined on the surface parallel with the XY plane described above. The plane to be defined can be set at an optional position in a Z axis direction. The plane that can be optionally defined is called a program-surface.
The configurations of the wire-electrical discharge machine and the numerical control apparatus for controlling the wire-electrical discharge machine described above have been conventionally known. The numerical control apparatus further includes a means for carrying out the embodiments 1-3 described below, specifically software.
Conventionally, as shown in
to change an offset value at the time front and back blocks have been approximately in contact with each other of intersected each other at less than one degree, although the offset value is gradually changed so that it becomes a value that has been changed from a start point toward an end point of a block to which the offset value command has been instructed, in the case, an offset at the position of the start point of the block where the offset value has been gradually changed is not correct.
To cope with the problem, as shown in
minute blocks are automatically created in front of and behind a joint (connecting point) of the block to which the offset command has been instructed, and the offset value is exchanged between the minute blocks so that a correct offset value can be obtained in a desired block. Note that, the minute blocks are automatically created not only in front of and behind the connecting point but also a minute block may be created as one block only behind an optional section from the connecting point or as one block only in front of an optional section from the connecting point.
[Step sa01] Whether or not a program is finished is determined, and when the program is finished (YES), a process is finished, whereas when the program is not finished (NO), the process goes to step sa02.
[Step sa02] A next block offset value OFa1 of a next moving block is captured and stored in a memory. Note that, the next moving block is a block that will be carried out next to a block that is being carried out at the time.
[Step sa03] A block offset value of a block after the next block, OFa2, of the moving block after the next block is captured and stored in the memory. Note that, the moving block after the next block is a block that will be carried out next to the next block that is being carried out at the time after the first block.
[Step sa04] Whether or not the next block offset value OFa1 is equal to the block offset value of a block after the next block, OFa2, is determined, and when they are equal to each other (YES), the process goes to step sa05, whereas when they are not equal to each other (NO), the process goes to step sa06.
[Step sa05] A movement to the block after the next block is carried out after the movement of the next block has been finished in the next block offset value OFa1.
[Step sa06] A block is divided at a point by a distance ΔL in front of the end point of the next block.
[Step sa07] The block is divided at a point by a distance ΔL behind the start point of the block after the next block.
[Step sa08] A movement is carried out in the next block offset value OFa1 up to a start point of a block added by dividing the next block at a point the distance ΔL in front of the end point of the next block.
[Step sa09] A movement is carried out while gradually changing the offset value from the next block offset value OFa1 to the block offset value of the block after the next block, OFa2, from a start point of a block added by dividing the block at a point a distance ΔL in front of the end point thereof toward an end point of a block added by dividing the next bock at a point the distance ΔL behind a start point thereof.
[Step sa10] A movement is carried out from an end point of a block added by dividing the block after the next block at a point a distance ΔL behind a start point thereof in the block after the next block in the block offset value of the block after the next block, OFa2.
Note that, the minute blocks are automatically created not only in front of and behind the connecting point but also a minute block may be created as one block only behind an optional section from the connecting point (in the case, ΔL=0 at step sa06) or as one block only in front of an optional section from the connecting point (in the case, ΔL=0 at step sa07). Thus, when a block is added so that the block does not extend to two blocks, the offset value is gradually changed so that the next block offset value OFa1 is set at the start point of the added block and the block offset value of the block after the next block, OFa2, is set at the end point thereof. Further, the length ΔL at step sa06 need not be equal to that of ΔL at step sa07.
The wire-electrical discharge machine, which includes the means configured to add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a next rear block in two contact machining path blocks, the two blocks in front of and behind a connecting point of the two blocks in an optional distance, respectively and gradually changes from the offset value instructed in the front block to the offset value instructed in the rear block between a newly divided point of the front block and a newly divided point of the rear block, is configured by the embodiment 1.
Likewise, a controller of a wire-electrical discharge machine for electrical discharge machining a work by a wire electrode line along a machining path including an offset, which includes means configured to add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a next rear block in two contact machining path blocks, a block in front of or behind a connecting point of the two blocks, respectively in an optional distance and gradually changes from the offset value instructed in the front block to the offset value instructed in the rear block between a newly divided point of the front block and a newly divided point of the block, is configured.
Likewise, a wire-electrical discharge machine for electrical discharge machining a work by a wire electrode line along a machining path including an offset, which include means configured to add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a next rear block in two contact machining path blocks, a block in front of or behind a connecting point of the two blocks in an optional distance and gradually changes from the offset value instructed in the front block to the offset value instructed in the rear block between a start point to the end point of the divided block, is configured.
Likewise, a controller of a wire-electrical discharge machine for electrical discharge machining a work by a wire electrode line along a machining path including an offset, which include means configured to add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a next rear block in two contact machining path blocks, a block in front of or behind a connecting point of the two blocks in an optional distance and gradually changes from the offset value instructed in the front block to the offset value instructed in the rear block between a start point to the end point of the divided block, is configured.
According to the embodiment, an offset value can be optimally applied to a necessary portion and the accuracy of a machined shape can be improved. Specifically, when a tangential line exists at a connecting point of a block on the same straight line and at a connecting point of front and back blocks, blocks are added in front of and behind the connecting point in a previously set short distance, the start point of the added block on a proximal side has the same offset as a present block, and half the offset difference of the two originally existing blocks is corrected at the end point of the first end block. Further, the end blocks can be automatically added and an offset can be changed in a very slight distance so that the offset value of the next originally existing block is set at the end point of the next end block added from the originally existing tangential line or joint (connecting point), as shown in
Note that, although the invention can achieve a higher effect when front and back blocks intersect each other at a connecting point at less than one degree, the invention can be also applied to a case that they intersect each other at one degree or more.
Conventionally, as shown in
To cope with the problem, likewise the taper angle command described above, optional minute blocks are automatically created in front of and behind a joint (connecting point) of the block to which the taper angle command has been instructed, and the taper angle command is exchanged between the minute blocks so that a correct taper angle command can be obtained in a desired block, as shown in
[Step sb01] Whether or not a program is finished is determined, and when the program is finished (YES), a process is finished, whereas when the program is not finished (NO), the process goes to step sb02.
[Step sb02] A next block offset value OFa1 of a next moving block is captured and stored in a memory. Note that, the next block is a block that will be carried out next to a first block that is being carried out at the time.
[Step sb03] A block taper angle command value of a block after the next block, OFb2, of a moving block after the next block, is captured and stored in the memory. Note that, the moving block after the next block is a block that will be carried out next to the next block that is being carried out at the time after the first block has been carried out.
[Step sb04] Whether or not the next block taper angle command value OFb1 is equal to the block taper angle command value of the block after the next block, OFb2, is determined, and when they are equal to each other (YES), the process goes to step sb05, whereas when they are not equal to each other (NO), the process goes to step sb06.
[Step sb05] A movement to the block after the next block is carried out after the movement of the next block has been finished in the next block taper angle command value OFb1.
[Step sb06] A block is divided at a point by a distance ΔL in front of the end point of the next block.
[Step sb07] The block is divided at a point by a distance ΔL behind the start point of the block after the next block.
[Step sb08] A movement is carried out in the next block taper angle command value OFb1 up to a start point of a block added by dividing the next block at a point a distance ΔL in front of the end point of the next block.
[Step sb09] A movement is carried out while gradually changing the taper angle command from the next block taper angle command value OFb1 to the block taper angle command value of the block after the next block, OFb2, from a start point of the block added by dividing the next block at a point a distance ΔL in front of the end point thereof, toward an end point of the block added by dividing the block after the next block at a point a distance ΔL behind a start point thereof and added.
[Step sb10] A movement is carried out from an end point of a block added by dividing the block after the next block at a point by a distance ΔL behind a start point thereof in the block after the next block in the block taper angle command value of the block after the next block, OFb2.
Note that, the minute blocks are automatically created not only in front of and behind the connecting point but also a minute block may be created as one block only behind an optional section from the connecting point (in the case, ΔL=0 at step sb06) or as one block only in front of an optional section from the connecting point (in the case, ΔL=0 at step sb07). Thus, when a block is added so that the block does not extend to two blocks, the taper angle command value is gradually changed so that the next block taper angle command value OFb1 is set at the start point of the added block and the block taper angle command value of the block after the next block, OFb2, is set at the end point thereof. Further, the length ΔL at step sb06 need not be equal to that of ΔL at step sb07.
Conventionally, as shown in
To cope with the problem, as shown in
[Step sc01] Whether or not a program is finished is determined, and when the program is finished (YES), a process is finished, whereas when the program is not finished (NO), the process goes to step sc02.
[Step sc02] A next block taper machining amount correction amount OFc1 of a next moving block, that is, the next moving block, is captured and stored in a memory. Note that, the next block is a block that will be carried out next to a first block that is being carried out at the time.
[Step sc03] A block taper machining amount correction amount of the block after the next block, OFc2, of the third moving block is captured and stored in the memory. Note that, the block after the next block is a block that will be carried out next to the next block that is being carried out at the time after the first block has been carried out.
[Step sc04] Whether or not the next block taper machining amount correction amount OFc1 is equal to the block taper machining amount correction amount of the block after the next block, OFc2, is determined, and when they are equal to each other (YES), the process goes to step sc05, whereas when they are not equal to each other (NO), the process goes to step sc06.
[Step sc05] A movement to the block after the next block is carried out after the movement of the next block has been finished in the next block taper machining amount correction amount OFc1.
[Step sc06] A block is divided at a point by a distance ΔL in front of the end point of the next block.
[Step sc07] The block is divided at a point by a distance ΔL behind the start point of the block after the next block.
[Step sc08] A movement is carried out in the next block taper machining amount correction amount OFc1 up to a start point of a block added by dividing the next block at a point a distance ΔL in front of the end point of the next block.
[Step sc09] A movement is carried out while gradually changing the taper machining amount correction amount from the next block taper machining amount correction amount OFc1 to the block taper machining amount correction amount of the block after the next block, OFc2, from a start point of a block added by dividing at a point a distance ΔL in front of the end point thereof and added toward an end point of a block added by dividing at a point by a distance ΔL behind a start point thereof.
[Step sc10] A movement is carried out from an end point of a block added by dividing the block after the next block at a point a distance ΔL behind a start point thereof in the block after the next block in the block taper machining amount correction amount of the block after the next block, OFc2.
Note that, the minute blocks are automatically created not only in front of and behind the connecting point but also a minute block may be created as one block only behind an optional section from the connecting point (in the case, ΔL=0 at step sc06) or as one block only in front of an optional section from the connecting point (in the case, ΔL=0 at step sc07). Thus, when a block is added so that the block does not extend to two blocks, the taper machining amount correction amount is gradually changed so that the next block taper machining amount correction amount OFc1 is set at the start point of the added block and the block taper machining amount correction amount of the block after the next block, OFc2, is set at the end point thereof. Further, the length ΔL at step sc06 need not be equal to that of ΔL at step sc07.
According to the embodiment 3, a wire-electrical discharge machine for electrical discharge machining a work by a wire electrode line along a machining path including a taper machining amount correction amount, which includes means configured to add a block that divides, when a taper machining amount correction amount instructed in a first front block is different from a taper machining amount correction amount instructed in a next rear block in two contact machining path blocks, the two blocks in front of and behind a connecting point of the two blocks in an optional distance, respectively and gradually changes from the taper machining amount correction amount instructed in the front block to the taper machining amount correction amount instructed in the rear block between a newly divided point of the front block and a newly divided point of the rear block, is configured.
Likewise, a controller of a wire-electrical discharge machine for electrical discharge machining a work by a wire electrode line along a machining path including a taper machining amount correction amount, which includes means configured to add a block that divides, when a taper machining amount correction amount instructed in a first front block is different from a taper machining amount correction amount instructed in a next rear block in two contact machining path blocks, the two blocks in front of and behind a connecting point of the two blocks in an optional distance, respectively and gradually changes from the taper machining amount correction amount instructed in the front block to the taper machining amount correction amount instructed in the rear block between a newly divided point of the front block and a newly divided point of the rear block, is configured.
Likewise, a wire-electrical discharge machine for electrical discharge machining a work by a wire electrode line along a machining path including a taper machining amount correction amount, which includes means configured to add a block that divides, when a taper machining amount correction amount instructed in a first front block is different from a taper machining amount correction amount instructed in a next rear block in two contact machining path blocks, a block in front of or behind a connecting point of the two blocks in an optional distance and gradually changes from the taper machining amount correction amount instructed in the front block to the taper machining amount correction amount instructed in the rear block between a start point and the end point of the divided block, is configured.
Likewise, a controller of a wire-electrical discharge machine for electrical discharge machining a work by a wire electrode line along a machining path including a taper machining amount correction amount, which includes means configured to add a block that divides, when a taper machining amount correction amount instructed in a first front block is different from a taper machining amount correction amount instructed in a next rear block in two contact machining path blocks, a block in front of or behind a connecting point of the two blocks in an optional distance and gradually changes from the taper machining amount correction amount instructed in the front block to the taper machining amount correction amount instructed in the rear block between a start point and the end point of the divided block, is configured.
As described above, the embodiment can optimally apply an offset value and a taper machining amount correction value a necessary portion and can improve the accuracy of a machined shape. Specifically, blocks are added in front of and behind a joint (connecting point) of a block on the same straight line, and the start point of the added block on a proximal side has the same offset as a present block, and half the difference of a taper angle command of the two originally existing blocks is corrected at the end point of the first end block. Further, the end blocks can be automatically added and an offset can be changed in a very slight distance so that the taper angle command of the next originally existing block is set at the end point of the next end block added from the joint (connecting point).
Next, an embodiment 4 of the machine tool of the invention for machining a work using a cutting tool will be explained.
The SRAM 14 stores a machining program (NC program) read via an interface 15 and machining program input via the display/MDI unit 70. The SRAM 14 previously stores respective table type data (path table) described above. Further, various system programs for creating a machining program and carrying out edit processing is previously written to the ROM 12. Note that, in the invention, a location where the NC program and the path table are stored is not limited to a storage unit in the numerical control apparatus. For example, the data of the NC program and the path table may be stored in an external storage unit connected via network and respective blocks of the NC program and data of the path table may be read one by one via the network.
The interface 15 allows the numerical control apparatus 10 to be connected to external equipment such as a not shown adaptor. Further, a machining program edited in the numerical control apparatus 10 can be stored in an external storage device via the external equipment. A PMC (programmable machine controller) 16 controls auxiliary devices such as an actuator of the machine tool by outputting a signal thereto by a sequence program contained in the numerical control apparatus 10 via an I/O unit 17. Further, the PCM 16 receives a signal from various switches, etc. of an operation controller disposed to a main body of the machine tool and delivers the signal to the CPU 11 after having subjected the signal to necessary signal processing. The display/MDI unit 70 is a manual data input device including a display and a keyboard, etc., and an interface 18 receives a command and data from the keyboard of the display/MDI unit 70 and delivers the command and the data to the CPU 11. An interface 19 is connected to a control panel 71 and receives various commands from the control panel 71.
Respective feed shaft control circuits 30, 31 receive movement commands of the respective feed shafts from the CPU 11 and output the commands of the respective feed shafts to servo amplifiers 40, 41. On receiving the commands, the servo amplifiers 40, 41 drive servo motors 50x, 51z of the respective feed shafts. The servo motors 50x, 51z of the respective feed shafts include not shown position/speed detectors, feedback position/speed feedback signals from the position/speed detectors to the shaft control circuits 30, 31, and feedback-controls positions and speeds. Note that,
Further, on receiving a main shaft rotation command, a spindle control circuit 60 outputs a spindle speed signal to a spindle amplifier 61. On receiving the spindle speed signal, the spindle amplifier 61 rotates a spindle motor (main shaft motor) 62 at an instructed rotation speed. A position coder 63 feedbacks a feedback pulse (reference pulse) and one rotation signal to the spindle control circuit 60 in synchronism with the rotation of the spindle motor (main shaft motor) 62 and carries out a speed control. The feedback pulse (reference pulse) and the one rotation signal are read by the CPU 11 via the spindle control circuit 60 and the feedback pulse (reference pulse) is counted by a counter (a counter corresponding to respective reference value counters of
Further, a counter disposed to the RAM 13 counts the number of pulses of a time signal obtained from a time measurement function of the numerical control apparatus 10 or counts the number of pulses obtained from the feedback signals from the feed shafts and obtains a reference signal when a path table drive is carried out. Otherwise, the counter may count the command pulses of the feed shafts.
According to the embodiment, an offset value can be optimally applied to a necessary portion and the accuracy of a machined shape can be improved. Specifically, at a joint (connecting point) of a block on the same straight line and at an intersecting point of two blocks that intersect at an obtuse angle, blocks are added in front of and behind the joint (connecting point) in a previously set short distance, the start point of the added block on a proximal side has the same offset as a present block, and half the offset difference of the two originally existing blocks is corrected at the end point of the first end block. Further, the end blocks can be automatically added and an offset can be changed in a very slight distance so that the offset value of the next originally existing block is set at the end point of the next end block added from the originally existing joint.
[Step sd01] Whether or not a program is finished is determined, and when the program is finished (YES), a process is finished, whereas when the program is not finished (NO), the process goes to step sd02.
[Step sd02] An offset value OFd1 of a next moving block, that is, the next moving block, is captured and stored in a memory. Note that, the next moving block is a block that will be carried out next to a first block that is being carried out at the time.
[Step sd03] An offset value OFd2 of a moving block after the next block, is captured and stored in the memory. Note that, the block after the next block is a block that will be carried out next to the next block that is being carried out at the time after the first block has been carried out.
[Step sd04] Whether or not the next block offset OFd1 is equal to the block offset of the block after the next block, OFd2, is determined, and when they are equal to each other (YES), the process goes to step sd05, whereas when they are not equal to each other (NO), the process goes to step sd06.
[Step sd05] A movement to the block of the block after the next block is carried out after the movement of the next block has been finished in the offset OFd1 of the next block.
[Step sd06] A block is divided at a point by a distance ΔL in front of the end point of the next block.
[Step sd07] The block is divided at a point by a distance ΔL behind the start point of the block after the next block.
[Step sd08] A movement is carried out in the offset OFd1 of the next block up to a start point of a block added by dividing the next block at a point a distance ΔL in front of the end point of the next block.
[Step sd09] A movement is carried out while gradually changing the offset value from offset OFd1 of the next block to the offset OFd2 of the block after the next block from a start point of a block added by dividing the next block at a point a distance ΔL in front of the end point thereof and added toward an end point of a block added by dividing the block after the next block at a point a distance ΔL behind a start point thereof.
[Step sd10] A movement is carried out from an end point of a block added by dividing the block after the next block at a point a distance ΔL behind a start point thereof in the block after the next block in the offset of the block after the next block, OFd2.
Note that, the minute blocks are automatically created not only in front of and behind the connecting point but also a minute block may be created as one block only behind an optional section from the connecting point (in the case, ΔL=0 at step sd06) or as one block only in front of an optional section from the connecting point (in the case, ΔL=0 at step sd07). Thus, when a block is added so that the block does not extend to two blocks, the offset value is gradually changed so that the next block offset OFd1 is set at the start point of the added block and the block offset of the block after the next block, OFd2, is set at the end point thereof. Further, the length ΔL at step sd06 need not be equal to that of ΔL at step sd07.
According to the embodiment 4, a numerical control apparatus of a machine tool for cutting a work by a cutting tool along a machining path including an offset, which includes means configured to add a block that divides, when an offset value instructed in a first front block is different from an offset value instructed in a next rear block in two contact machining path blocks, the two blocks in front of and behind a connecting point of the two blocks in an optional distance, respectively and gradually changes from the offset value instructed in the front block to the offset value instructed in the rear block between a newly divided point of the front block and a newly divided point of the rear block, is configured.
Likewise, a numerical control apparatus of a machine tool for machining a work by a cutting tool along a machining path including an offset, which comprises means configured to add a function block that gradually changes, when an offset value instructed in a first front block is different from an offset value instructed in a next rear block in two contact machining path blocks, a function that gradually changes from the offset value instructed in the front block to the offset value instructed in the rear block between a point made by being divided in front of a connecting point of the two blocks in a travel direction in an optional distance and a start point of a block behind the divided point, is configured.
Likewise, a numerical control apparatus of a machine tool for machining a work by a cutting tool along a machining path including an offset means configured to add a block which gradually changes, when an offset value instructed in a first front block is different from an offset value instructed in a next rear block in two contact machining path blocks, a function that gradually changes from the offset value instructed in the front block to the offset value instructed in the rear block between the end point of the front block and a point made by being divided behind a connecting point of the two blocks in a travel direction in an optional distance.
Number | Date | Country | Kind |
---|---|---|---|
2013-217694 | Oct 2013 | JP | national |
Number | Date | Country | |
---|---|---|---|
Parent | 14517208 | Oct 2014 | US |
Child | 15635866 | US |