The present invention relates to a numerical control device.
Patent Literature 1 mentions a multi-axis tapping device that includes five tapping assemblies, in which spindles driven to rotate by spindle motors are respectively provided, and a frame that supports the five tapping assemblies laterally in a row and is reciprocatingly driven by a feed motor, the spindle motors being individually rotated in synchronization with the feed motor to perform machining of tap holes in a workpiece using taps attached to the distal ends of the spindles. Consequently, according to Patent Literature 1, to change the disposition of the spindles according to the change of the portion of the workpiece being tapped, a through-hole formed in a frame member and a holding plate only have to be changed to those corresponding to the portion of the workpiece being machined to change the disposition of the tapping assemblies that bear the spindles. Therefore, the number of components necessary for the change is reduced.
Patent Literature 1: Japanese Patent Application Laid-Open No. 2001-252825
The multi-axis tapping device described in Patent Literature 1 has a purpose of changing the disposition of the spindles as appropriate according to the change of the portion of the workpiece being tapped. Therefore, the multi-axis tapping device is based on the premise that machining conditions (e.g., tool length and machining hole depth) are set the same for all the spindles. That is, in the multi-axis tapping device described in Patent Literature 1, there is no description concerning spindles having different machining conditions. There is no description either concerning how accuracy in the simultaneous performance of synchronous tapping with a plurality of tools is improved when spindles have different machining conditions.
The present invention has been devised in view of the above and it is an object of the present invention to obtain a numerical control device that can improve accuracy in the simultaneous performance of synchronous tapping with a plurality of tools when spindles have different machining conditions.
In order to solve the above problems and achieve the object, a numerical control device according to one aspect of the present invention is a numerical control device that controls a machine tool including a plurality of spindles that each rotate a tool opposed to a workpiece around a tool axis relative to the workpiece and a feed shaft that performs a feed operation such that a plurality of the tools relatively move closer to a plurality of the workpieces, the numerical control device including an associated-synchronous-tapping unit that associates, according to an associated-synchronous-tapping command, rotation and feed of a spindle on an associated side among the spindles with rotation and feed of a spindle on a reference side among the spindles and simultaneously performs synchronous tapping with the tools.
According to the present invention, the associated-synchronous-tapping unit associates, according to the associated-synchronous-tapping command, the rotation and the feed of the spindle on the associated side among the spindles with the rotation and the feed of the spindle on the reference side among the spindles and simultaneously performs synchronous tapping with a plurality of tools. Consequently, it is possible to simultaneously accurately perform the synchronous tapping with a plurality of tools while taking into account the difference in machining conditions between the spindles. That is, it is possible to improve accuracy in simultaneously performing the synchronous tapping with a plurality of tools when spindles have different machining conditions.
Exemplary embodiments of a numerical control device according to the present invention are explained in detail below with reference to the drawings. Note that the present invention is not limited to the embodiments.
Before explaining a numerical control device 1i according to an embodiment, the schematic configuration of a numerical control device 1 according to a basic form is explained with reference to
The machine tool 900 includes, as shown in
The tool T1 is a tool for performing tapping, i.e., a tool for forming a female screw hole (tap) in the workpiece W1. That is, the tool T1 has, on the surface thereof, projections corresponding to the screw grooves that should be formed in the female screw hole. The numerical control device 1 controls the machine tool 900 and synchronizes the rotation and the feed of the S1 shaft (the spindle) such that synchronous tapping is performed.
Note that the Z1 shaft can be provided on the workpiece supporting unit 907 side to perform the feed operation in the direction in which the tool T1 relatively moves closer to the workpiece W1 opposed to the tool T1. The S1 shaft can be provided on the tool post 906 side to rotate the tool T1 opposed to the workpiece W1 around the tool axis T1a relative to the workpiece W1.
The machine tool 900 further includes servomotors 5a to 5c as shown in
The numerical control device 1 includes a display unit 3, an input operation unit 2, a control operation unit 50, and a driving unit 20. For example, according to the operation of an automatic start button of a machining program 11 by the user, a signal for an automatic start of the machining program 11 is supplied to the control operation unit 50. In response to the signal, the control operation unit 50 starts the machining program 11 and generates a movement amount command for the X1 shaft, a movement amount command and a moving speed command for the Z1 shaft, and a rotating speed command for the S1 shaft and supplies the commands to the driving unit 20 according to the machining program 11. The driving unit 20 includes an X1-shaft servo control unit 4a, a Z1-shaft servo control unit 4b, and an S1-shaft spindle control unit 4c. The driving unit 20 drives the servomotor 5a for the X1 shaft, the servomotor 5b for the Z1 shaft, and the spindle motor 5c for the S1 shaft according to the movement amount command for the X1 shaft, the movement amount command and the moving speed command for the Z1 shaft, and the rotating speed command for the S1 shaft input from the control operation unit 50.
The control operation unit 50 includes a storage unit 8, an analysis processing unit 17, an interpolation processing unit 60, an acceleration/deceleration processing unit 70, a shaft-data input/output unit 90, an input control unit 6, a screen processing unit 16, and a data setting unit 7.
The signal for the automatic start of the machining program 11 is input to a machine-control-signal processing unit (not shown) via a PLC (not shown). The machine-control-signal processing unit instructs, via the storage unit 8, the analysis processing unit 17 to start the machining program 11.
The storage unit 8 stores therein parameters 9, tool data 10, the machining program 11, and screen display data 15 and includes a shared area 14 and an operation data area 19 functioning as work spaces. The tool data 10 is, for example, table data in which a tool correction number and a tool correction amount are associated by their relation to a plurality of correction numbers. It is possible to specify the tool correction amount corresponding to the tool correction number by referring to the tool data 10.
The analysis processing unit 17 reads the machining program 11 from the storage unit 8 and performs analysis processing on each block (each row) in the machining program 11 according to the start instruction from the machining program 11. For example, if a G code (e.g., a G code “G0” or “G1”) is included in an analyzed block (row), the analysis processing unit 17 adds the tool correction amount to the result of the analysis and passes the analysis result to the interpolation processing unit 60.
The interpolation processing unit 60 receives the analysis result (a position command) from the analysis processing unit 17, performs interpolation processing on the analysis result (the position command), and supplies the result (a movement amount, a rotation amount, etc.) of the interpolation processing to the acceleration/deceleration processing unit 70.
The acceleration/deceleration processing unit 70 performs acceleration/deceleration processing on the result of the interpolation processing supplied from the interpolation processing unit 60. The acceleration/deceleration processing unit 70 directly outputs the result (feed speed, rotating speed, etc.) of the acceleration/deceleration processing concerning the X1 shaft, the Z1 shaft, and the S1 shaft to the shaft-data input/output unit 90.
For example, the numerical control device 1 controls machining of the workpiece W1 as shown in
At step 16A in
At step 16B in
When the female screw hole W1b is formed in the workpiece W1, the numerical control device 1 controls the tool post 906 and the workpiece supporting unit 907 such that the rotating direction of the S1 shaft (the spindle) is reversed from the rotating direction during machining and synchronizes the rotation and the feed of the S1 shaft (the spindle) to extract the tool T1 from the female screw W1b. Consequently, it is possible to extract the tool T1 from the female screw hole W1b while suppressing the interference by the tool T1 on the female screw hole W1b.
In the basic form, as shown in
In contrast, it is assumed that, in the numerical control device 1, a plurality of spindles and a plurality of tools are provided and the spindles are individually synchronized with a feed shaft independently from one another. In this case, the tools can be simultaneously rotated by the spindles and machining of the female screw holes can be simultaneously performed. Therefore, it is possible to reduce the cycle time for machining.
However, because the spindles are individually synchronized with the feed shaft independently from one another, when machining conditions (e.g., tool length and machining hole depth) are different for each spindle, it is likely that machining is performed while neglecting the differences in the machining conditions. Therefore, when the machining conditions are different for each spindle, it is likely that a plurality of tools cannot perform synchronous tapping simultaneously.
Therefore, in the present embodiment, rather than individually synchronizing the spindles with the feed shaft independently from one another, the numerical control device 1i associates the rotation and the feed of a spindle on the associated side with the rotation and the feed of a spindle on the reference side and simultaneously performs synchronous tapping with a plurality of tools to aim at improving the accuracy and improving the cycle time through a reduction of the planning time in simultaneously performing synchronous tapping with a plurality of tools when machining conditions are different for each spindle.
Specifically, in the numerical control device 1i, the actions below are performed.
The machine tool 900i includes, as shown in
The Z1 shaft is a feed shaft that performs a feed operation in a direction in which the tool T1 relatively moves closer to the workpiece W1 opposed to the tool T1. The Z1 shaft is a feed shaft that performs a feed operation for changing the distance between the tool T1 and the workpiece W1 opposed to the tool T1. The S1 shaft is a rotating shaft that rotates the workpiece supporting unit 907i1 around the rotation center line parallel to the Z1 shaft. That is, the S1 shaft is a spindle that rotates the tool T1 opposed to the workpiece W1 around a tool axis T1a relative to the workpiece W1.
The Z2 shaft is a feed shaft that performs a feed operation in directions in which the tools T1 and T2 respectively relatively move closer to the workpieces W1 and W2 opposed to the tools T1 and T2. The Z2 shaft performs a feed operation to simultaneously bring a plurality of tools T1 and T2 close to a plurality of workpieces W1 and W2. The S2 shaft is a rotating shaft that rotates the workpiece supporting unit 907i2 around the rotation center line parallel to the Z2 shaft. That is, the S2 shaft is a spindle that rotates the tool T2 opposed to the workpiece W2 around a tool axis T2a relative to the workpiece W2.
The tool T2 is a tool for performing tapping, i.e., a tool for forming a female screw hole (tap) in the workpiece W2. That is, the tool T2 has, on the surface thereof, projections corresponding to the screw grooves that should be formed in the female screw hole. The numerical control device 1i controls the machine tool 900i and synchronizes the rotation and the feed of the S2 shaft (a spindle) such that synchronous tapping is performed.
The machine tool 900i includes servomotors 5a to 5f as shown in
Note that a driving unit 20i includes the X1-shaft servo control unit 4a, the Z1-shaft servo control unit 4b, the S1-shaft spindle control unit 4c, an X2-shaft servo control unit 4d, a Z2-shaft servo control unit 4e, and an S2-shaft spindle control unit 4f corresponding to the servomotors 5a to 5f.
The numerical control device 1i includes a control operation unit (an associated-synchronous-tapping unit) 50i instead of the control operation unit 50 (see
The analysis processing unit 17i includes an associated-synchronous-tapping-command analyzing unit 18i. The analysis processing unit 17i analyzes, for example, a machining program block by block (row by row). However, when an associated-synchronous-tapping command (see
The associated-synchronous-tapping control unit 30i shown in
Specifically, the associated-synchronous-tapping control unit 30i includes a tool-length calculating unit 31i, a hole-depth calculating unit 32i, an execution-order control unit 33i, a shift-amount calculating unit 34i, and a speed calculating unit 35i.
The tool-length calculating unit 31i acquires a tool correction number “T1” for the tool T1 and a tool correction number “T2” for the tool T2 from the analysis processing unit 17i via the storage unit 8. The tool-length calculating unit 31i acquires tool correction amounts corresponding to the tool correction numbers “T1” and “T2” by referring to the tool data 10 in the storage unit 8. Consequently, the tool-length calculating unit 31i calculates a tool length Lt1 of the tool T1 and a tool length Lt2 of the tool T2 by, for example, adding the tool correction amounts to the reference tool length.
The hole-depth calculating unit 32i acquires a position command for the Z1 shaft and a position command for the Z2 shaft from the analysis processing unit 17i via the storage unit 8. The hole-depth calculating unit 32i calculates, according to the position command for the Z1 shaft and the position command for the Z2 shaft, a machining hole depth D1 of the female screw hole that should be machined by the tool T1 of the spindle (the S1 shaft) and a machining hole depth D2 of the female screw hole that should be machined by the tool T2 of the spindle (the S2 shaft). For example, in the case shown in
D1=D2=Zt1−Zc2 Formula 1
Alternatively, when machining conditions (e.g., tool length and machining hole depth) are different for each spindle (e.g., in the case of the associated-synchronous-tapping command shown in
For example, when the execution-order control unit 33i acquires the analysis result that machining conditions (e.g., tool length and machining hole depth) are different for each spindle, the execution-order control unit 33i generates a position command for moving the Z1 shaft at an interpolation cycle of the former half in the present block and generates a position command for moving the Z2 shaft at an interpolation cycle in the latter half. That is, the execution-order control unit 33i controls, in time series, the execution order of a plurality of kinds of processing in one block.
Alternatively, for example, when the execution-order control unit 33i acquires the analysis result that machining conditions (e.g., tool length and machining hole depth) are different for each spindle, the execution-order control unit 33i generates a position command for moving the Z2 shaft while generating a position command for the Z2 shaft at an interpolation cycle and moving the Z1 shaft in synchronization with the timing with which the distal ends of the tools T1 and T2 reach the workpieces W1 and W2 and generates a position command for moving the Z2 shaft. That is, the execution-order control unit 33i controls, in parallel, the execution orders of a plurality of processing in one block.
When the shift-amount calculating unit 34i acquires the analysis result that machining conditions (e.g., tool length and machining hole depth) are different for each spindle (e.g., in the case of the associated-synchronous-tapping command shown in
For example, the shift-amount calculating unit 34i calculates the movement amount of the Z1 shaft such that the difference between the distance between the tool T2 of the spindle on the reference side (the S2 shaft) and the workpiece W2 and the distance between the tool T1 of the spindle on the associated side (the S1 shaft) and the workpiece W1 corresponds to the difference between the tool length of the spindle on the reference side (the S2 shaft) and the tool length of the spindle on the associated side (the S1 shaft). For example, when the machining hole depth D1 and the machining hole depth D2 are equal to each other and the tool length Lt1 of the tool T1 and the tool length Lt2 of the tool T1 are different from each other, a movement amount ΔZ1a of the Z1 shaft can be calculated by the following Formula 2:
ΔZ1a=Lt1−Lt2 Formula 2
Alternatively, for example, the shift-amount calculating unit 34i calculates the movement amount of the Z1 shaft such that the difference between the distance between the tool T2 of the spindle on the reference side (the S2 shaft) and the workpiece W2 and the distance between the tool T1 of the spindle on the associated side (the S1 shaft) and the workpiece W1 corresponds to the difference between the machining hole depth D2 of the spindle on the reference side (the S2 shaft) and the machining hole depth D1 of the spindle on the associated side (the S1 shaft). For example, when the tool length Lt1 of the tool T1 and the tool length Lt2 of the tool T1 are equal to each other and the machining hole depth D1 and the machining hole depth D2 are different from each other, a movement amount ΔZ1b of the Z1 shaft can be calculated by the following Formula 3:
ΔZ1b=D1−D2 Formula 3
The speed calculating unit 35i acquires a pitch command on the reference side (e.g., “F2=0.5” shown in
v2=Pf2×Nc2 Formula 4
For example, when the speed calculating unit 35i acquires the analysis result that machining conditions (e.g., tool length and machining hole depth) are different for each spindle, the speed calculating unit 35i further calculates the feed speed of the spindle on the associated side. For example, when the tool length Lt1 of the tool T1 and the tool length Lt2 of the tool T1 are equal to each other and the machining hole depth D1 and the machining hole depth D2 are different from each other, because the time until the tool on the reference side reaches the hole bottom after reaching the workpiece surface is given by Δt2=D2/(v2), the feed speed v1 of the Z1 shaft on the associated side can be calculated by the following Formula 5:
In Formula 5, D1≧0 and D2≧0. When v1>0, the Z1 shaft on the associated side moves in a direction in which the Z1 shaft approaches the Z2 shaft. When v1<0, the Z1 shaft on the associated side moves in a direction in which the Z1 shaft moves away from the Z2 shaft.
The associated-synchronous-tapping-spindle control unit 80i calculates the rotating speed of the spindle on the reference side and the rotating speed of the spindle on the associated side such that the difference between the rotating speed of the spindle on the reference side and the rotating speed of the spindle on the associated side with respect to the same feed corresponds to the different pitches of the screw grooves that should be machined. Specifically, the associated-synchronous-tapping-spindle control unit 80i includes a reference-spindle-rotating-speed calculating unit 81i and an associated-spindle-rotating-speed calculating unit 82i.
The reference-spindle-rotating-speed calculating unit 81i acquires the movement amount of the Z2 shaft, which is the feed shaft on the reference side, from the interpolation processing unit 60 via the acceleration/deceleration processing unit 70. The reference-spindle-rotating-speed calculating unit 81i acquires a pitch command on the reference side from the analysis processing unit 17i via the storage unit 8, the associated-synchronous-tapping control unit 30i, the interpolation processing unit 60, and the acceleration/deceleration processing unit 70. The reference-spindle-rotating-speed calculating unit 81i calculates the movement amount (rotating speed) of the spindle on the reference side, for example, by dividing the movement amount of the Z2 shaft on the reference side by the pitch on the reference side. Consequently, it is possible to synchronize the movements (rotations) of the feed shaft on the reference side and the spindle on the reference side.
The associated-spindle-rotating-speed calculating unit 82i acquires the movement amount of the Z2 shaft, which is the feed shaft on the reference side, and the movement amount of the Z1 shaft, which is the feed shaft on the associated side (e.g., the movement amount per control cycle calculated by the interpolation processing unit 60 using v1 calculated by the above Formula 5) from the interpolation processing unit 60 via the acceleration/deceleration processing unit 70. The associated-spindle-rotating-speed calculating unit 82i acquires a pitch command on the associated side from the analysis processing unit 17i via the storage unit 8, the associated-synchronous-tapping control unit 30i, the interpolation processing unit 60, and the acceleration/deceleration processing unit 70. The associated-spindle-rotating-speed calculating unit 82i calculates the movement amount (rotating speed) of the spindle on the reference side by adding the movement amount of the Z2 shaft on the reference side and the movement amount of the Z1 shaft on the associated side and dividing the addition result by the pitch on the associated side. Consequently, the movement amount (the rotating speed) of the spindle can correspond to the pitch on the associated side and be synchronized with the feed shaft.
For example, when the Z1 shaft is fixed, if the calculated feed speed of the Z2 shaft on the reference side is represented by v2 and the feed speed of the Z1 shaft on the associated side is represented by v1, because the Z1 shaft is fixed, v1=0. When the indicated pitch on the associated side is represented by Pf1, the rotating speed N1 at which the spindle on the associated side (the S1 shaft) should be driven can be calculated by the following Formula 6:
Alternatively, for example, when machining conditions (e.g., tool length and machining hole depth) are different for each spindle, if the calculated feed speed of the Z2 shaft on the reference side is represented by v2 and the indicated pitch on the associated side is represented by Pf1, the feed speed v1 of the Z1 shaft on the associated side can be calculated by the above Formula 5. Therefore, the rotating speed N1 at which the spindle on the associated side (the S1 shaft) should be driven can be calculated by the following Formula 7:
The associated-synchronous-tapping control unit 30i supplies the driving position and the feed speed of the Z1 shaft and the driving position and the feed speed of the Z2 shaft to the driving unit 20i via the interpolation processing unit 60, the acceleration/deceleration processing unit 70, the associated-synchronous-tapping-spindle control unit 80i, and the shaft-data input/output unit 90. The associated-synchronous-tapping-spindle control unit 80i supplies the driving rotating speed N2 of the spindle on the reference side (the S2 shaft) and the driving rotating speed N1 of the spindle on the associated side (the S1 shaft) to the driving unit 20i via the shaft-data input/output unit 90. Consequently, the X1 shaft, the Z1 shaft, the S1 shaft, the X2 shaft, the Z2 shaft, and the S2 shaft are driven in association with one another to associate the rotation and the feed of the spindle on the associated side with the rotation and the feed of the spindle on the reference side.
An associated-synchronous-tapping command in the machining program 11 when the Z1 shaft is fixed is explained with reference to
The associated-synchronous-tapping command includes, for example, the code shown in
The description “Z2=50.” shown in
Note that a position command for the Z1 shaft is given with reference to a mechanical coordinate origin Oz1 of the Z1 shaft shown in
The description “S1=S2” shown in
Note that, when the spindle on the reference side or the spindle on the associated side is designated with a minus sign, an analysis reveals that the command indicates reverse tapping. For example, when “S1=−S2”, an analysis reveals that the spindle on the associated side (the S1 shaft) is for forward tapping and the spindle on the reference side (the S2 shaft) is for reverse tapping. Alternatively, for example, when “−S1=S2”, an analysis reveals that the spindle on the associated side (the S1 shaft) is for reverse tapping and the spindle on the reference side (the S2 shaft) is for forward tapping. For example, when “−S1=−S2”, an analysis reveals that the spindle on the associated side (the S1 shaft) is for reverse tapping and the spindle on the reference side (the S2 shaft) is for reverse tapping.
The description “F1=1.0” indicates a pitch (mm) of screw grooves of a female screw hole that should be machined by the tool T1 of the spindle (the S1 shaft). The description “F2=0.5” indicates a pitch (mm) of screw grooves of a female screw hole that should be machined by the tool T2 of the spindle (the S2 shaft).
The description “S1000” indicates the rotating speed (rpm) of the spindle on the reference side. In the case of
The description “T1” indicates a tool correction number of a tool on the associated side. In the case of
Note that the tool on the reference side is designated by a T command or the like in advance before an associated-synchronous-tapping command. In the case of
A machining procedure for machining a workpiece when the tool lengths and the machining hole depths of the spindles are the same and the pitch is different for each spindle is explained with reference to
At step 5A, the numerical control device 1i controls the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “G180” shown in
At step 5B, the numerical control device 1i controls the S1 shaft, the S2 shaft, and the Z2 shaft according to the associated-synchronous-tapping command in the machining program 11 (e.g., the description “Z2=50. S1=S2 F1=1.0 F2=0.5 S1000 T1” shown in
For example, in the case shown in
Alternatively, for example, when the indicated pitch (F2) on the reference side is Pf2=1 mm and the indicated rotating speed (S) on the reference side is Nc2=1000 rpm, the feed speed of the Z2 shaft is calculated to be v2=1000 mm/min from the above Formula 4. When it is assumed that the indicated pitch (F1) on the associated side is Pf1=0.5 mm, because the feed speed of the Z2 shaft is v2=1000 mm/min, the driving rotating speed of the spindle on the associated side (the S1 shaft) is calculated to be N1=2000 rpm from the above Formula 6.
Alternatively, for example, when the indicated pitch (F2) on the reference side is Pf2=0.75 mm and the indicated rotating speed (S) on the reference side is Nc2=1000 rpm, the feed speed of the Z2 shaft is calculated to be v2=750 mm/min from the above Formula 4. When it is assumed that the indicated pitch (F1) on the associated side is Pf1=0.5 mm, because the feed speed of the Z2 shaft is v2=750 mm/min, the driving rotating speed of the spindle on the associated side (the S1 shaft) is calculated to be N1=1500 rpm from the above Formula 6.
As explained above, when the pitch of the screw grooves that should be machined is different for each spindle, it is possible to simultaneously accurately perform synchronous tapping on the workpieces W1 and W2 with the tools T1 and T2.
An associated-synchronous-tapping command of a machining program when moving the Z1 shaft is explained with reference to
In the associated-synchronous-tapping command shown in
For example, in the case shown in
A machining procedure for machining a workpiece when the tool lengths of the spindles are the same and the machining hole depth and the pitch are different for each spindle is explained with reference to
At step 7A, the numerical control device 1i controls the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “G180” shown in
At step 7B, the numerical control device 1i controls the S1 shaft, the S2 shaft, the Z1 shaft, and the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “Z1=55. Z2=50. S1=S2 F1=1.0 F2=0.5 S1000 T1” shown in
For example, in the case shown in
Alternatively, for example, when the indicated pitch (F2) on the reference side is Pf2=0.5 mm and the indicated rotating speed (S) on the reference side is Nc2=1500 rpm, the feed speed of the Z2 shaft is calculated to be v2=750 mm/min from the above Formula 4. When it is assumed that the machining hole depth D2 on the reference side is 6 mm, the machining hole depth D1 on the associated side is 10 mm, and the indicated pitch (F1) on the associated side is Pf1=0.75 mm, because the feed speed of the Z2 shaft is v2=750 mm/min, the feed speed of the Z1 shaft is calculated to be 500 mm/min from the above Formula 5 and the driving rotating speed of the spindle on the associated side (the S1 shaft) is calculated to be N1≡1667 rpm from the above Formula 7.
As explained above, when the machining hole depth that should be machined and the pitch of the screw grooves that should be machined are different for each spindle, it is possible to simultaneously accurately perform the synchronous tapping on the workpieces W1 and W2 with the tools T1 and T2.
A machining procedure for machining a workpiece when the tool lengths of the spindles are the same and the machining hole depth and the pitch are different for each spindle is explained with reference to
At step 8A, the numerical control device 1i controls the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “G180” shown in
At step 8B, the numerical control device 1i controls the S1 shaft, the S2 shaft, the Z1 shaft, and the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “Z1=55. Z2=50. S1=S2 F1=1.0 F2=0.5 S1000 T1” shown in
For example, when the indicated pitch (F2) on the reference side is Pf2=0.5 mm and the indicated rotating speed (S) on the reference side is Nc2=1500 rpm, the feed speed of the Z2 shaft is calculated to be v2=750 mm/min from the above Formula 4. When it is assumed that the machining hole depth D2 on the reference side is 6 mm and the machining hole depth D1 on the associated side is 4 mm, and, the indicated pitch (F1) on the associated side is Pf1=0.75 mm, because the feed speed of the Z2 shaft is v2=750 mm/min, the feed speed of the Z1 shaft is calculated to be −250 mm/min from the above Formula 5 and the driving rotating speed of the spindle on the associated side (the S1 shaft) is calculated to be N1≡667 rpm from the above Formula 7.
As explained above, when the machining hole depth that should be machined and the pitch of the screw grooves that should be machined are different for each spindle, it is possible to simultaneously accurately perform the synchronous tapping on the workpieces W1 and W2 with the tools T1 and T2.
A machining procedure for machining a workpiece when the tool length, the machining hole depth, and the pitch are different for each spindle is explained with reference to
At step 9A, the numerical control device 1i controls the Z2 shaft according to the positioning command (G00, etc.) in the machining program 11 such that the tools T1 and T2 move to the reference positions.
At step 9B, the numerical control device 1i controls the Z1 shaft according to the associated-synchronous-tapping command (e.g., the description “T1” shown in
At step 9C, the numerical control device 1i controls the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “G180” shown in
At step 9D, the numerical control device 1i controls the S1 shaft, the S2 shaft, the Z1 shaft, and the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “Z1=55. Z2=50. S1=S2 F1=1.0 F2=0.5 S1000 T1” shown in
As explained above, when the tool length of the tool, the pitch of screw grooves that should be machined, and the machining hole depth are different for each spindle, it is possible to simultaneously accurately perform the synchronous tapping on the workpieces W1 and W2 with the tools T1 and T2.
A machining procedure for machining a workpiece when the tool length, the machining hole depth, and the pitch are different for each spindle is explained with reference to
At step 10A, the numerical control device 1i controls the Z2 shaft according to the positioning command (G00, etc.) in the machining program 11 such that the tools T1 and T2 move to the reference positions.
At step 10B, the numerical control device 1i controls the Z1 shaft according to the associated-synchronous-tapping command (e.g., the description “T1” shown in
At step 10C, the numerical control device 1i controls the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “G180” shown in
At step 10D, the numerical control device 1i controls the S1 shaft, the S2 shaft, the Z1 shaft, and the Z2 shaft according to the associated-synchronous-tapping command (e.g., the description “Z1=55. Z2=50. S1=S2 F1=1.0 F2=0.5 S1000 T1” shown in
As explained above, when the tool length of the tool, the pitch of screw grooves that should be machined, and the machining hole depth are different for each spindle, it is possible to simultaneously accurately perform the synchronous tapping on the workpieces W1 and W2 with the tools T1 and T2.
The operation of the numerical control device 1i according to the embodiment is explained with reference to
At step ST1, the numerical control device 1i recognizes, according to the associated synchronous command, the spindle on the reference side and the spindle on the associated side among a plurality of spindles. For example, in the case of the associated-synchronous-tapping commands shown in
At step ST2, the numerical control device 1i determines whether the tool length difference ΔT is smaller than zero (i.e., the absolute value is equal to or larger than the threshold and the tool length difference ΔT is a negative value). When the tool length difference ΔT is smaller than zero (“Yes” at step ST2), the numerical control device 1i advances the processing to step ST4. When the tool length difference ΔT is equal to or larger than zero (“No” at step ST2), the numerical control device 1i advances the processing to step ST3.
At step ST3, the numerical control device 1i moves the Z1 shaft in the −Z direction of the Z1 shaft by the tool length difference ΔT by a rapid traverse (G00). Thereafter, the numerical control device 1i controls the Z2 shaft such that the tools T1 and T2 move respectively to the machining start positions.
At step ST4, the numerical control device 1i moves the Z1 shaft in the +Z direction of the Z1 shaft by the tool length difference ΔT by a rapid traverse (G00). Thereafter, the numerical control device 1i controls the Z2 shaft such that the tools T1 and T2 move respectively to the machining start positions.
At step ST5, the numerical control device 1i calculates, according to the associated-synchronous-tapping command, the machining hole depth D2 of the spindle on the reference side (the S2 shaft) and the machining hole depth D1 of the spindle on the associated side (the S1 shaft) and calculates the hole depth difference ΔD=D1−D2. The numerical control device 1i determines whether the hole depth difference ΔD is approximately zero (i.e., whether the absolute value of the hole depth difference ΔD is smaller than a threshold”). When the hole depth difference ΔD is approximately zero (“Yes” at step ST5), the numerical control device 1i advances the processing to step ST9. When the hole depth difference ΔD is not approximately zero (“No” at step ST5), the numerical control device 1i advances the processing to step ST6.
At step ST6, the numerical control device 1i determines whether the hole depth difference ΔD is smaller than zero (i.e., the absolute value is equal to or larger than the threshold and the hole depth difference ΔD is a negative value). When the hole depth difference ΔD is smaller than zero (“Yes” at step ST6), the numerical control device 1i advances the processing to step ST8. When the hole depth difference ΔD is equal to or larger than zero (“No” at step ST6), the numerical control device 1i advances the processing to step ST7.
At step ST7, the numerical control device 1i controls the Z2 shaft such that the tools T1 and T2 move respectively to the machining start positions and causes the tools T1 and T2 to perform cutting. At this point, the numerical control device 1i moves the Z1 shaft in the +Z direction of the Z1 shaft by the hole depth difference ΔD in parallel with the control of the Z2 shaft. The numerical control device 1i controls the feed speed v2 of the spindle on the reference side and the feed speed v1 of the spindle on the associated side according to Formula 5 and controls the rotating speed N2 of the spindle on the reference side and the rotating speed N1 of the spindle on the associated side according to Formula 7.
At step ST8, the numerical control device 1i controls the Z2 shaft such that the tools T1 and T2 move respectively to the machining start positions and causes the tools T1 and T2 to perform cutting. At this point, the numerical control device 1i moves the Z1 shaft in the −Z direction of the Z1 shaft by the hole depth difference ΔD in parallel with the control of the Z2 shaft. The numerical control device 1i controls the feed speed v2 of the spindle on the reference side and the feed speed v1 of the spindle on the associated side according to Formula 5 and controls the rotating speed N2 of the spindle on the reference side and the rotating speed N1 of the spindle on the associated side according to Formula 7.
At step ST9, the numerical control device 1i controls the Z2 shaft while maintaining the Z1 shaft in a fixed state such that the tools T1 and T2 move respectively to the machining start positions and causes the tools T1 and T2 to perform cutting. At this point, the numerical control device 1i controls, for example, the rotating speed N2 of the spindle on the reference side and the rotating speed N1 of the spindle on the associated side such that they are equal to each other.
As explained above, in the embodiment, in the numerical control device 1i, the control operation unit 50i associates, according to the associated-synchronous-tapping command, the rotation and the feed of the spindle on the reference side (the S2 side) of the spindles with the rotation and the feed of the spindle on the associated side (the S1 shaft) and simultaneously performs the synchronous tapping with the tools T1 and T2. Consequently, it is possible to simultaneously accurately perform the synchronous tapping with the tools T1 and T2 while taking into account the difference in the machining conditions between the spindles (the S1 shaft and the S2 shaft). That is, when the machining conditions are different for each spindle, it is possible to improve accuracy in the simultaneous performance of synchronous tapping with a plurality of tools and implement cycle time improvement through a reduction in the planning time.
In the embodiment, in the numerical control device 1i, the control operation unit 50i associates, for example, according to the associated-synchronous-tapping command, the rotation and the feed of the spindle on the associated side with the rotation and the feed of the spindle on the reference side such that the difference between the rotating speed of the spindle on the reference side (the S2 shaft) and the rotating speed of the spindle on the associated side (the S1 shaft) with respect to the same feed corresponds to the different pitches of the screw grooves that should be machined, and simultaneously performs the synchronous tapping at the different pitches with the tools T1 and T2. Consequently, it is possible to simultaneously perform the synchronous tapping with a plurality of tools at the different pitches while taking into account the difference in machining conditions between the spindles. Therefore, it is possible to increase variations of machining.
In the embodiment, in the numerical control device 1i, the control operation unit 50i associates, for example, according to the associated-synchronous-tapping command, the rotation and the feed of the spindle on the associated side with the rotation and the feed of the spindle on the reference side such that the difference between the distance between the tool T2 of the spindle on the reference side (the S2 shaft) and the workpiece W2 and the distance between the tool T1 of the spindle on the associated side (the S1 shaft) and the workpiece W1 corresponds to the difference between the tool length of the spindle on the reference side (the S2 shaft) and the tool length of the spindle on the associated side (the S1 shaft), and simultaneously performs the synchronous tapping with the tools T1 and T2. It is possible to simultaneously perform synchronous tapping by associating the spindles, for example, after changing the distance between the spindle (the S1 shaft), which is part of the spindles, and the workpiece W1 opposed to the spindle (the S1 shaft) such that the spindles substantially simultaneously reach the surfaces of workpieces when the spindles are fed by the Z2 shaft. Consequently, when the tool length of the tool is different for each spindle, it is possible to simultaneously accurately perform the synchronous tapping on the workpieces W1 and W2 with the tools T1 and T2. Therefore, it is possible to increase variations of machining.
In the embodiment, in the numerical control device 1i, the control operation unit 50i associates, for example, according to the associated-synchronous-tapping command, the rotation and the feed of the spindle on the associated side with the rotation and the feed of the spindle on the reference side such that the difference between the distance between the tool T2 of the spindle on the reference side (the S2 shaft) and the workpiece W2 and the distance between the tool T1 of the spindle on the associated side (the S1 shaft) and the workpiece W1 corresponds to the difference between the machining hole depth D2 of the spindle on the reference side (the S2 shaft) and the machining hole depth D1 of the spindle on the associated side (the S1 shaft), and simultaneously performs the synchronous tapping with the tools T1 and T2. It is possible to simultaneously perform synchronous tapping by associating the spindles, for example, while changing the distance between the spindle (the S1 shaft), which is part of the spindles, and the workpiece W1 opposed to the spindle (the S1 shaft) such that the machining hole depths of the spindles are equal when the spindles are fed by the Z2 shaft. Consequently, when the machining hole depth that should be machined is different for each spindle, it is possible to simultaneously accurately perform the synchronous tapping on the workpieces W1 and W2 with the tools T1 and T2. Therefore, it is possible to increase variations of machining.
Note that, in the example explained in the embodiment, one spindle on the associated side is associated with the spindle on the reference side. However, a plurality of spindles on the associated side can be associated with the spindle on the reference side. For example, in the associated-synchronous-tapping command shown in
Alternatively, the configuration of a machine tool 900j can be a configuration shown in
Alternatively, the configuration of a machine tool 900k can be a configuration shown in
Alternatively, the configuration of a machine tool 900p can be a configuration shown in
As explained above, the numerical control device according to the present invention is useful for the synchronous tapping.
1, 1i numerical control device, 50, 50i control operation unit.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2013/062636 | 4/30/2013 | WO | 00 |