Numerical value control device
Provided is a numerical value control device capable of easily setting an effective diameter for a machined circle. The numerical value control device is equipped with a command unit which prescribes a machined circle standard or a proportion of the tolerance class to the machined circle tolerance in a machining program for machining a circle using a machine tool, and also equipped with a setting unit for setting a correction amount for the effective diameter of the machined circle on the basis of the machined circle standard or the proportion of the tolerance class to the machined circle tolerance.
1 . A numerical control device comprising:
an instruction unit that instructs a standard or tolerance class of a machining circle and a ratio of a tolerance of the machining circle in a machining program that causes a machine tool to perform threading or circular machining; and
a setting unit that sets a compensation amount of an effective diameter of the machining circle based on the standard or tolerance class of the machining circle and the ratio of the tolerance of the machining circle,
wherein the numerical control device controls a cutting tool of the machine tool to perform the threading or the circular machining based on the set compensation amount, and
wherein the effective diameter is defined by Japanese Industrial Standards (JIS) or International Organization for Standardization (ISO).
2 . The numerical control device according to claim 1 , wherein
the instruction unit instructs the standard of the machining circle as an argument in the machining program, and
the setting unit sets the compensation amount of the effective diameter of the machining circle based on the standard of the machining circle.
3 . The numerical control device according to claim 1 , wherein the standard or tolerance class of the machining circle is an industrial standard for threads or deviations of threads in commonly used fits.
4 . The numerical control device according to claim 1 , further comprising: a standard storage that stores a radius of the machining circle, a pitch of the machining circle, a standard of the machining circle, and the compensation amount of the effective diameter of the machining circle in association with each other,
wherein the setting unit reads the compensation amount of the effective diameter of the machining circle associated with the radius, pitch, and standard of the machining circle from the standard storage and sets the read compensation amount of the effective diameter of the machining circle.
5 . The numerical control device according to claim 1 , wherein
the instruction unit instructs a ratio of the compensation amount of the effective diameter of the machining circle as an argument in the machining program, and
the setting unit sets the compensation amount of the effective diameter of the machining circle based on the ratio of the compensation amount of the effective diameter of the machining circle.
6 . The numerical control device according to claim 1 further comprising: a tolerance storage that stores a radius of the machining circle, the tolerance class of the machining circle, the tolerance of the machining circle in association with each other,
wherein the instruction unit instructs the radius of the machining circle and the tolerance class of the machining circle as the arguments in the machining program, and
the setting unit reads the tolerance of the machining circle associated with the radius and tolerance class of the machining circle from the tolerance storage, and sets the compensation amount of the effective diameter of the machining circle based on the read tolerance of the machining circle and the ratio of the tolerance of the machining circle.