Abstract
In order to make it possible for an operator of a machine tool to easily calculate machining conditions and prevent calculation errors and input errors by the operator, this control device for a machine tool, which machines a work piece on the basis of a machining program, is provided with: a database that stores calculation formulas corresponding to types of calculation, and types of parameters required to execute said calculation formulas; an input unit that selects a type of calculation; and a display unit that displays, on the basis of the type of calculation selected by the input unit, the parameter to be input.
Claims
1. A control device for a machine tool for machining a workpiece based on a machining program, characterized by comprising: a database configure to store calculation formulas corresponding to calculation types and types of parameter necessary for carrying out the calculations; an input section for selecting a calculation type; and a displaying section for displaying parameter to be input based on the calculation type selected in the input section.
2. The control device according to claim 1, wherein the input section includes a calculation selecting section for allowing an operator to select a calculation type and an input box allowing an operator to input numerical value as the parameter.
3. The control device according to claim 1, wherein the current coordinate value is automatically read into the database as the numerical value to be input as the parameter.
4. The control device according to claim 2, wherein the calculation selecting section is displayed by a dropdown menu in the displaying section.
5. The control device according to claim 2, further comprising a storing section for storing the calculation results.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] FIG. 1 is a block diagram of a control device for a machine tool according to a preferred embodiment of the invention.
[0013] FIG. 2 is a schematic front view of an operation panel of a machine tool according to an embodiment of the invention.
[0014] FIG. 3 is an illustration showing an example of a desk calculator shown in a display of the operation panel of FIG. 2.
[0015] FIG. 4 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the cutting speed as a machining condition.
[0016] FIG. 5 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the feed per tooth as the machining condition.
[0017] FIG. 6 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the feed rate as the machining condition.
[0018] FIG. 7 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the spindle rotation speed as the machining condition.
[0019] FIG. 8 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the cutting speed as the machining condition.
[0020] FIG. 9 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the cusp height as the machining condition.
[0021] FIG. 10 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the pick feed as the machining condition.
[0022] FIG. 11 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the cusp height as the machining condition.
[0023] FIG. 12 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the material removing rate (the material removed from the workpiece) as the machining condition.
[0024] FIG. 13 is an illustration showing an example of a window, displayed on the display of the operation panel of FIG. 2, for calculating the coordinate system.
[0025] FIG. 14 is an illustration showing an example of an icon indicating a command for reading the current X- and Y-coordinates, displayed in the window of FIG. 13.
[0026] FIG. 15 is an illustration showing an example of an icon indicating a command for reading the current X-, Y- or Z-coordinate, displayed in the window of FIG. 13.
[0027] FIG. 16 is an illustration showing an example of an icon indicating a command for calculating the midpoint between two points, displayed in the window of FIG. 13.
[0028] FIG. 17 is an illustration showing an example of an icon indicating a command for calculating the inclination between two points, displayed in the window of FIG. 13.
[0029] FIG. 18 is an illustration showing an example of an icon indicating a command for calculating the intersection between two lines, displayed in the window of FIG. 13.
[0030] FIG. 19 is an illustration showing an example of an icon indicating a command for calculating the coordinates after rotation, displayed in the window of FIG. 13.
[0031] FIG. 20 is an illustration showing an example of an icon indicating a command for calculating the width, displayed in the window of FIG. 13.
DETAILED DESCRIPTION OF THE INVENTION
[0032] With reference to the attached drawings, a preferred embodiment of the invention will be described below.
[0033] With reference to FIG. 1, which is a schematic block diagram of a control device of a machine tool according the a preferred embodiment of the invention, the control device 10 comprises as main parts an input section 12, a calculating section 14, a database 16, a storing section 18 and a displaying section 20.
[0034] The input section 12 is formed by a window displayed on the displaying section 20, which can be formed of a touch panel or the like, and as described below, includes an input box 12a and a calculation selecting section 12b formed by a drop down list. In the database 16, a various calculation formulas are stored in association with calculation types. Further, in the database 16, parameters such as the tool the diameter D, the tool length L, the number of teeth N, the feed per tooth fz, the feed rates F and the rotational speed S are stored in association with each of tool numbers.
[0035] When a calculation type is selected in the calculation selecting section 12b , the corresponding calculation formula and the necessary parameters are read from the database 16 and sent to the calculating section 14, whereby the calculation is carried out by the calculating section 14. The calculation results are stored in the storing section 18, and may be sent to for example an NC device (not shown) from the storing section 18.
[0036] A front view of an operating panel mounted to a control device of a machine tool is shown in FIG. 2. With reference to FIGS. 1 and 2, an operating panel 30 includes a display panel 44 forming the displaying section 20 of FIG. 1. The display panel 44 according to this embodiment can be formed by a touch panel, enabling to select a desired portion by contacting the window. In the display panel 44, a window forming the input section 12 is displayed.
[0037] The operating panel 30 includes a key input portion 32. A plurality of key switches are disposed in the key input portion 32. By depressing a key switch of the key input portion 32, a predetermined number and/or character can be input. Further, the operating panel 30 includes operation switch portion 43 for selecting a predetermined operation, an override setting portion 36-40 for setting the override value and an emergency shutdown button 42. The override setting portion 36-40 allows to set for example the override value for the spindle rotation speed and the feed rates for machining.
[0038] FIG. 3 illustrates the desk calculator shown in the displaying section 20 (display panel 40). This display mode allows an operator to make desired calculations.
[0039] FIG. 4 shows a window 100 for calculating the cutting speed V (m/min), as a calculation type, based on the spindle rotational speed S (min.sup.−1) and the tool diameter (mm). When an operator selects the cutting speed (m/min) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the tool diameter and the spindle rotation speed are displayed. Further, input boxes 102 and 104 are displayed below the respective parameters. When appropriate values for the tool diameter D (mm) and the spindle rotation speed S (min.sup.−1), are input into the input boxes 102 and 104, the cutting speed V (m/min) is calculated based on the calculation formula, i.e., V=(D×π×S)/1000, and displayed in an output box 94.
[0040] FIG. 5 shows a window 110 for calculating the feed per tooth fz (mm/tooth), as a calculation type, based on the spindle rotation speed S (min.sup.−1), the number of teeth Z and the feed rate F (mm/min). When an operator selects the feed per tooth (mm/tooth) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the spindle rotation speed, number of teeth and the feed rate are displayed. Further, input boxes 112, 114 and 116 are displayed below the respective parameters. When appropriate values for the feed rate F (mm/min), the number of teeth Z and the feed rate F (mm/min), are input into the input boxes 112, 114 and 116, the feed per tooth fz (mm/tooth) is calculated based on the calculation formula, i.e., fz=F/(Z×S), and displayed in the output box 94.
[0041] FIG. 6 shows a window 120 for calculating the feed rate F (mm/min), as a calculation type, based on the feed per tooth fz (mm/tooth), the spindle rotation speed S (min.sup.−1) and the number of teeth Z. When an operator selects the feed rate F (mm/min) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the feed per tooth, the spindle rotation speed and the number of teeth are displayed. Further, input boxes 122, 124 and 126 are displayed below the respective parameters. When appropriate values for the feed per tooth (mm/tooth), the number of teeth Z and the spindle rotation speed S (min.sup.−1), are input into the input boxes 122, 124 and 126, the feed rate F (mm/min) is calculated based on the calculation formula, i.e., F=fz×Z×S, and displayed in the output box 94.
[0042] FIG. 7 shows a window 130 for calculating the spindle rotation speed S (min.sup.−1), as a calculation type, based on the cutting speed V (m/min) and the tool diameter D (mm). When an operator selects the spindle rotation speed (min.sup.−1) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the spindle rotation speed and the tool diameter are displayed. Further, input boxes 132 and 134 are displayed below the respective parameters. When appropriate values for the cutting speed V (m/min) and the tool diameter D (mm) are input into the input boxes 132 and 134, the spindle rotation speed S (min.sup.−1) is calculated based on the calculation formula, i.e.,
[0043] S=(1000xV)/(Dx7C), and displayed in the output box 94.
[0044] FIG. 8 shows a window 140 for calculating the cutting speed V (m/min), as a calculation type, based on the spindle rotation speed S (min .sup.1) and the tool diameter D (mm). When an operator selects the cutting speed V (m/min) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the spindle rotation speed and the tool diameter are displayed. Further, input boxes 142 and 144 are displayed below the respective parameters. When appropriate values for the tool diameter D (mm) and the spindle rotation speed (min.sup.−1) are input into the input boxes 142 and 144, the cutting speed V (m/min) is calculated based on the calculation formula, i.e., V=(D×π×S)/1000, and displayed in the output box 94.
[0045] FIG. 9 shows a window 150 for calculating the cusp height H (mm), as a calculation type, based on the pick feed P (mm) and the ball radius R (mm) at the end of a ball endmill. When an operator selects the cusp height (mm) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the pick feed and the tool diameter are displayed. Further, input boxes 152 and 154 are displayed below the respective parameters. When appropriate values for the pick feed P (mm) and the ball radius (min) are input into the input boxes 152 and 154, the cusp height H (mm) is calculated based on the calculation formula, i.e., H=(R.sup.2−P.sup.2/4).sup.1/2, and displayed in the output box 94.
[0046] FIG. 10 shows a window 160 for calculating the pick feed P (mm), as a calculation type, based on the cusp height H (mm) and the ball radius R (mm). When an operator selects the pick feed P (mm) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the cusp height and the tool diameter are displayed. Further, input boxes 162 and 164 are displayed below the respective parameters. When appropriate values for the cusp height (mm) and the ball radius R (min) are input into the input boxes 162 and 164, the pick feed P (mm) is calculated based on the calculation formula, i.e., P=(8×H×R−4H.sup.2).sup.1/2, and displayed in the output box 94.
[0047] FIG. 11 shows a window 170 for calculating the cusp height (mm), as a calculation type, based on the feed per tooth fz (mm/tooth) and the ball radius R (min). When an operator selects the cusp height (mm) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the feed per tooth and the ball radius are displayed. Further, input boxes 172 and 174 are displayed below the respective parameters. When appropriate values for the feed per tooth fz (mm/tooth) and the ball radius R (min) are input into the input boxes 172 and 174, the cusp height (mm) is calculated based on the calculation formula, i.e., H=R−(R.sup.2−fz.sup.2/4).sup.1/2, and displayed in the output box 94.
[0048] FIG. 12 shows a window 180 for calculating the material removal rate MRR (cm.sup.3/min), as a calculation type, based on the width of cut W (mm), the depth of cut DP (mm) and the feed rate F (mm/min). When an operator selects the material removal rate MRR (cm.sup.3/min) by using the dropdown list 98, the calculation formula and the necessary parameters for calculation, i.e., the width of cut, the depth of cut and the feed rate are displayed. Further, input boxes 182, 184 and 186 are displayed below the respective parameters. When appropriate values for the width of cut W (mm), the depth of cut DP (mm) and the feed rate F (mm/min) are input into the input boxes 182, 184 and 186, the material removal rate MRR (cm.sup.3/min) is calculated based on the calculation formula, i.e., MRR=W×DP×F/1000, and displayed in the output box 94.
[0049] Accordingly, the calculated machining conditions are stored in the storing section 18 of the control device 10, from which they can be output to for example an NC device, or can be delivered, when an operator edits a machining program, as arguments to the machining program. When being delivered to a machining program as arguments, the numerical values or the calculation results may be attached with alphabets (X, Y, Z, S, F and so on) representing the meanings of the numerical values, or added with decimal points, if necessary, in order to adjust the effective digits. Further, the numerical values or the calculation results may be used for more complex calculations, such as cutting resistances N (Kgf).
N=(1900×Ad×Rd×fz×Z×K)/D×Q
where: [0050] Ad: Axial Depth of Cut (mm) [0051] Rd: Radial Depth of Cut (mm) [0052] fz: Feed Per Tooth (mm/tooth) [0053] Z: Number of Teeth [0054] K: Material Coefficient Shown in Table 1 [0055] D: Tool Diameter (mm) [0056] Q: Cutting Efficiency Shown in Table 2
TABLE-US-00001 TABLE 1 Material JIS (ANSI) K Inconel 1.7 SKD61 1.6-1.7 NAK80 (Prehardened Steel) 1.2-1.7 NAK80 (Prehardened Steel) 1.1-1.3 SUS304 (ASTM; S30300) 1.0-1.1 S55C (1055) 1 Ti—6Al—4V 0.8-1.1 FC25 (ASTM; class No. 40) 0.8-0.9 A5052 (5052) 0.3-0.4
TABLE-US-00002 TABLE 2 fz (mm/tooth) Q 0.1 24 0.2 31 0.3 36 0.4 38
[0057] The data such as the material coefficients shown in Table 1 and the cutting efficiency relative to the feed per tooth shown in Table 2 are stored in the data base 16 so as to be read by the calculating section 14 and used for the calculations. Accordingly, an operator can decide the machining conditions so that the cutting resistances N (Kgf) falls within an allowable range.
[0058] With reference to FIG. 13, a window for calculating the coordinate of the workpiece is shown. When opening the window for setting the coordinate system of the machine tool, the window 200 illustrated in FIG. 13 is displayed in the displaying section 20. In the window 200, icons are arranged in the left side and concise explanations of the calculations are shown at the right sides of the respective icons. The upper part of FIG. 13 shows that an inclination obtaining icon, for calculating and obtaining the inclination of a line passing through two points, is selected. An inclination obtaining window 210 displayed by selecting the icon is illustrated in the lower part of FIG. 13.
[0059] The inclination obtaining window 210 includes an axis selecting portion 212 for selecting a reference axis for calculating inclination C and coordinate inputting portions 214, 216 for inputting the X-coordinates and Y-coordinates of the two points. When inputting the
[0060] X-coordinates and Y-coordinates of two points, the inclination of the line extending through the two points is calculated based on a calculation formula, i.e., C=A TAN (y.sub.2−y.sub.1)/(x.sub.2−x.sub.1), the calculation results of which is displayed. The inclination C is stored in the storing section 18.
[0061] FIG. 14 shows an XY coordinate obtaining icon 220, for obtaining the current X- and Y-coordinates. When clicking the XY coordinate obtaining icon 220, a coordinate obtaining window for obtaining the coordinates, similar to that shown in the lower part of FIG. 13, is displayed. The readings of position sensors (not shown) such as X- and Y-axes scales are stored in for example a predetermined storing region of the database 16.
[0062] FIG. 15 shows a one coordinate obtaining icon 230 used to select and store one of the current X-, Y- and Z-coordinates. When clicking the one coordinate obtaining icon 230, a one coordinate obtaining window for obtaining a coordinate, similar to that shown in the lower part of FIG. 13, is displayed. The reading of a position sensor for the corresponding axis, such an X-, Y- or Z-axis scale, is stored in for example a predetermined storing region of the database 16.
[0063] FIG. 16 shows a midpoint obtaining icon 240 used to calculate and obtain the midpoint between two points. FIG. 17 shows an icon 211 displayed in the inclination obtaining window 210.
[0064] FIG. 18 shows an intersection obtaining icon 250 used to obtain an intersection between two lines. The intersection PC (X, Y), in the X-Y plane, between a line L.sub.1 extending through two points (x.sub.1, y.sub.1) and (x.sub.2, y.sub.2) and a line L.sub.2 extending through another two points (x.sub.3, y.sub.3) and (x4, y4) is calculated by the following formulas.
X=(A.sub.1×x.sub.1−y.sub.3−A.sub.3×x.sub.3+y.sub.3)/(A.sub.1×A.sub.3)
Y=A1×(X−x.sub.1)+y.sub.1
Where:
[0065] A1=(y.sub.2−y.sub.1)/(x.sub.2−x.sub.1) [0066] A3=(y.sub.4−y.sub.3)/(x.sub.4−x.sub.3)
[0067] The coordinate values of the four points (x.sub.1, y.sub.1), (x.sub.2, y.sub.2), (x.sub.3, y.sub.3) and (x.sub.4, y.sub.4) may be read by contacting a touch sensor attached an end of a spindle with desired points on a workpiece.
[0068] FIG. 19 shows a post-rotation coordinate obtaining icon 260 used to obtain the coordinate after the workpiece is rotated. The coordinate PR (X, Y, Z), after the rotation about the X-axis by an angle θ, is calculated by the following formulas.
X=x
Y=cos θ×y−sin θ×z
Z=sin θ×y+cos θ×z
[0069] The coordinate PR (X, Y, Z), after the rotation about the Y-axis by an angle θ, is calculated by the following formulas.
X=cos θ×x+sin θ×z
Y=y
Z=−sin θ×x+cos θ×z
[0070] The coordinate PR (X, Y, Z), after the rotation about the Z-axis by an angle θ, is calculated by the following formulas.
X=cos θ×x−sin θ×y
Y=sin θ×x+cos θ×y
Z=z
[0071] The current coordinate (x, y, z) can be read by contacting a touch sensor with a desired point on a workpiece.
[0072] FIG. 20 shows a width obtaining icon used to obtain the length in X-, Y- or Z-axial direction. The width L is calculated by the following formulas.
Lx=|x.sub.2+x.sub.1|
Ly=|y.sub.2+y.sub.1|
Lz=|z.sub.2+z.sub.1|
[0073] The current coordinate (x, y, z) can be read by contacting a touch sensor with a desired point on a workpiece.
REFERENCE SIGNS LIST
[0074] 10 Control Device [0075] 12 Input Section [0076] 12a Input Box [0077] 14 Calculating Section [0078] 16 Database [0079] 18 Storing Section [0080] 20 Displaying Section