Numerical control device having machine tool setup function and storage medium
A device that creates information related to a machining program includes a numerical control device, a PC in which machining program creation software is installed, and a dedicated device that is an emulator for the numerical control device. The numerical control device acquires setup information required for a setup operation from the information related to the machining program of a machine tool controlled by the numerical control device and acquires setup basic information from information registered in a device configured to execute the machining program of the machine tool. Setup support information is then generated from the setup information and the setup basic information. Accordingly, the numerical control device supports a setup operation of the machining program by using the acquired setup information and the generated setup support information.
1 . A numerical control device that controls a machine tool, the numerical control device comprising a processor, the processor:
acquires setup information required for a setup operation from machining program related information including at least one of a part or whole of a machining program of the machine tool or information related to the machining program;
acquires setup basic information from device registration information registered in a device configured to execute a machining program of the machine tool and generates setup support information from the setup information and the setup basic information; and
supports a setup operation of the machining program by using the setup information and the setup support information,
wherein the setup basic information includes a workpiece origin and a workpiece material shape, and
wherein the processor calculates, from the workpiece origin and the workpiece material shape acquired from the machining program, a measuring method performed on a workpiece.
2 . The numerical control device according to claim 1 , wherein the processor creates a setup support window indicating a procedure of a setup operation by using the setup support information.
3 . The numerical control device according to claim 1 , wherein the processor creates document data indicating a procedure of a setup operation by using the setup support information.
4 . The numerical control device according to claim 1 , wherein the processor creates a control program or signal that causes a peripheral device to perform a setup operation by using the setup support information.
5 . A non-transitory machine-readable storage medium storing a computer readable instruction for: when executed by one or a plurality of processors:
acquiring setup information required for a setup operation from machining program related information including at least one of a part or whole of a machining program of a machine tool or information related to the machining program;
acquiring setup basic information from device registration information registered in a device configured to execute a machining program of the machine tool and generating setup support information from the setup information and the setup basic information; and
performing setup support corresponding to the machining program by using the setup support information,
wherein the setup basic information includes a workpiece origin and a workpiece material shape, and
wherein in the generating setup support information calculates, from the workpiece origin and the workpiece material shape acquired from the machining program, a measuring method performed on a workpiece.
6 . The non-transitory machine-readable storage medium according to claim 5 storing a computer readable instruction for creating a setup support window indicating a procedure of a setup support operation by using the setup support information to perform setup support corresponding to the machining program.
7 . The non-transitory machine-readable storage medium according to claim 5 storing a computer readable instruction for creating document data indicating a procedure of setup support by using the setup support information to perform setup support corresponding to the machining program.
8 . The non-transitory machine-readable storage medium according to claim 5 storing a computer readable instruction for creating a control program or signal that causes a robot or a transport machine to perform a setup operation by using the setup support information.