Numerical control apparatus and CAM system
Upon analyzing a processing program ( 5 ) in an analyzer ( 11, 31 ), a numerical control apparatus extracts information about a contact position between a tool and a workpiece, and based on the information, it calculates a main spindle revolution instruction value in a main spindle revolution calculator 14, 38 ). In a CAM system, information about the contact position between the tool and the workpiece to be supplied to the numerical control apparatus is calculated and added to the processing program.
1. A numerical control apparatus for controlling a machine tool used to process a formed surface, comprising: main spindle revolution control means for controlling a main spindle in revolution based on contact position information about a contact position between a tool and a workpiece instructed by a processing program, wherein said main spindle revolution control means includes:
an analyzer for obtaining the contact position information instructed by the processing program; and
a main spindle revolution calculator responsive to said contact position information for calculating revolution of the main spindle corresponding to the contact position between the tool and the workpiece.
2. A numerical control apparatus according to claim 1 , wherein the main spindle revolution is calculated from
S= (60/27π)*( V/R ) * L
where R (mm) is the radius of the outermost periphery of a tool used as the processing tool, V (mm/sec) is a desired tangential speed at the processing point of the tool, which is given by said main spindle revolution calculator), L is the contact position information, and S (rpm) is the main spindle revolution.
3. A numerical control apparatus according to claim 1 , wherein said main spindle revolution control means includes a limitation means for adding limitation to the calculated main spindle revolution by giving maximum and minimum values.
4. A numerical control apparatus for controlling a machine tool used to process a formed surface, comprising: feeding speed determining means for determining a feeding speed on the basis of a moving form of a tool axis instructed by a processing program; and main spindle revolution control means for controlling a main spindle in revolution on the basis of said feeding speed and contact position information about a contact position between a tool and a workpiece instructed by said processing program, wherein said main spindle revolution control means includes:
an analyzer for obtaining the contact position information instructed by the processing program; and
a main spindle revolution calculator responsive to said contact position information for calculating revolution of the main spindle corresponding to the contact position between the tool and the workpiece.
5. A numerical control apparatus according to claim 4 , wherein the main spindle revolution is calculated from
S =(60/2π)*( V/R ) * L
where R (mm) is the radius of the outermost periphery of a tool used as the processing tool, V (mm/sec) is a desired tangential speed at the processing point of the tool, which is given by said main spindle revolution calculator), L is the contact position information, and s (rpm) is the main spindle revolution.
6. A numerical control apparatus according to claim 4 , wherein said main spindle revolution control means includes a limitation means for adding limitation to the calculated main spindle revolution by giving maximum and minimum values.