Program simulation system for industrial machines and numerical control system
11366459 · 2022-06-21
Assignee
Inventors
Cpc classification
G05B19/41885
PHYSICS
G05B19/41815
PHYSICS
G05B2219/35282
PHYSICS
G06F21/57
PHYSICS
International classification
G05B19/418
PHYSICS
Abstract
To provide a program simulation system and a numerical control system that do not require a simulation on a machine operator's side and can mitigate or reduce a burden on the machine operator's side. A program simulation system for industrial machines that performs a simulation according to a program includes a machine selection unit that selects at least one industrial machine to be simulated; an identification data group creation unit that has a function to automatically add an identification code for specifying the industrial machine to the program after simulating a program for the industrial machine selected by the machine selection unit and create a data group of the program and the identification code; and a determination unit that determines whether the identification code in the data group sent to an industrial machine side matches an identification code of the industrial machine itself.
Claims
1. A program simulation system for industrial machines that performs a simulation according to a program, the system comprising: a machine selection unit that selects at least one industrial machine to be simulated via the program; an identification data group creation unit that has a function to automatically add an identification code for specifying the industrial machine to the program after simulating the program for the industrial machine selected by the machine selection unit and create a data group of the program and the identification code; and a determination unit that determines whether the identification code in the data group sent to an industrial machine side matches an identification code of the industrial machine itself.
2. A numerical control system, comprising: the program simulation system according to claim 1; and an industrial machine equipped with a numerical controller, wherein operation of the industrial machine is controlled according to a determination result of the determination unit.
3. The numerical control system according to claim 2, wherein the identification code includes at least one of a manufacturer name of the industrial machine, an identification code for identifying the industrial machine, or a version identification code for identifying a version of the industrial machine.
4. The numerical control system according to claim 2, wherein the industrial machine is controlled so as to permit execution of the operation when the determination result of the determination unit is a match, to prohibit the execution of the operation when the determination result of the determination unit is a mismatch, and to issue a warning when the determination result of the determination unit is a mismatch in respect of only a version of the industrial machine.
5. The numerical control system according to claim 3, wherein the industrial machine is controlled so as to permit execution of the operation when the determination result of the determination unit is a match, to prohibit the execution of the operation when the determination result of the determination unit is a mismatch, and to issue a warning when the determination result of the determination unit is a mismatch in respect of only the version of the industrial machine.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF THE INVENTION
(7) The following describes a program simulation system for industrial machines and a numerical control system according to an embodiment with reference to
(8) Here, the program simulation system for industrial machines and the numerical control system according to the present embodiment are a system for simulating the operation of industrial machines and a system for controlling the operation thereof in accordance with a program. Examples of industrial machines include machine tools, presses, press fitting machines, die casting machines, injection molding machines, cutting machines, robots, conveyors, measuring instruments, testing devices, printing machines, food machines, packaging machines, welding machines, washing machines, coating machines, assembling machines, mounting machines, woodworking machines, sealing machines, and other industrial machines whose operation can be controlled by numerical control.
(9) In the present embodiment, it is assumed that the industrial machine is a machine tool.
(10) A numerical control system 1 of the present embodiment includes a CAD 2 for performing the design, drawing, and the like of a product; a CAM 5 including a machining program creation unit (program creation unit) 3 that creates a machining program (program) from a machining shape data created by the CAD 2 and a machining simulator unit (simulator unit) 4 that performs a machining simulation; a CNC 6 being a command unit that sends a command signal based on a machining plan information (G-code, operation plan information, etc.) sent from the CAM 5; and a motor control unit (not shown) that controls the drive of a servo motor (drive unit (not shown)) of a machine tool based on a command of the CNC 6.
(11) The servo motor being the driving unit is, for example, a servo motor for driving a feed shaft for moving a table that holds a workpiece, a main shaft to which a tool and the like are mounted, and the like. The motor control unit is, for example, a servo amplifier or the like.
(12) In the present embodiment, for example, the CNC 6 being a numerical controller is provided to be mounted on the machine tool being an industrial machine. In the present embodiment, a plurality of machine tools is provided in the system of the numerical control system 1, and one numerical control system 1 controls the operation of the plurality of machine tools. Of course, it does not necessarily have to be configured to control a plurality of machine tools.
(13) On the other hand, the numerical control system 1 includes a program simulation system 10 for simulating the operation of a machine tool using a machining program created by a program creator.
(14) The program simulation system 10 of the present embodiment includes a machining program creation unit 3; a machining simulator unit 4 that performs a machining simulation; a CNC/machine model storage unit 7 that stores a CNC model or a machine model; a CNC/machine model selection unit (machine selection unit) 8 that selects a CNC model or a machine model stored in the CNC/machine model storage unit 7; a simulation determination unit 9 that determines whether the simulation performed by the machining simulator unit 4 is good; and an identification data group creation unit 11 that adds identification information (identification code such as ID) to data such as a machining program to create a data group when the simulation is determined to be good by the simulation determination unit 9.
(15) In the present embodiment, the machining program creation unit 3, the machining simulator unit 4, the CNC/machine model storage unit 7, the CNC/machine model selection unit 8, the simulation determination unit 9, and the identification data group creation unit 11 are provided on the side of a PC (personal computer) 12 operated by a program creator.
(16) The program simulation system 10 of the present embodiment is provided on the side of the machine tool on which the CNC 6 is mounted, and includes a CNC/machine model identification information storage unit 13 that stores the identification information (identification code) of the CNC model or machine model of the machine itself; a data group management/determination unit (determination unit) 14 that compares data group created and sent by the identification data group creation unit 11 to information (code) stored by the CNC/machine model identification information storage unit 13 to determine whether the data group is good; a warning unit 15 that issues a warning when the determination result of the data group management/determination unit 14 is not good; and an execution unit 16 that outputs an operation command for the machine tool based on information such as a machining program received from the CAM 5 when the determination result of the data group management/determination unit 14 is good.
(17) In the present embodiment, the CNC/machine model identification information storage unit 13, the data group management/determination unit 14, the warning unit 15, and the execution unit 16 are provided in the CNC 6 on the side of the machine operated by a machine operator.
(18) In the program simulation system 10 and the numerical control system 1 of the present embodiment thus configured, as shown in
(19) After the simulation determination unit 9 determines that the program is appropriate, the identification data group creation unit 11 automatically adds an identification code such as ID for specifying a machine tool to the program, and creates a data group of the program and the identification code.
(20) Then, the data group created by the identification data group creation unit 11 is sent to the data group management/determination unit 14 on the machine side. The data group management/determination unit 14 checks the identification code in the data group against the identification code of the machine tool itself stored in the CNC/machine model identification information storage unit 13, and determines whether the identification codes match each other.
(21) In the present embodiment, the identification code includes, for example, at least one of the manufacturer name of an industrial machine, an identification code for identifying an industrial machine, or a version identification code for identifying the version of an industrial machine.
(22) In the program simulation system 10 and the numerical control system 1 of the present embodiment, control is performed such that the execution unit 16 permits execution of operation when the determination result of the data group management/determination unit 14 is a match, the execution unit 16 prohibits execution of operation when the determination result is a mismatch, and the warning unit 15 issues a warning when the determination result is a mismatch only in respect of the version of the machine tool.
(23) More specifically, in the program simulation system 10 and the numerical control system 1 of the present embodiment, the program creator first uses a CNC and machine model and verifies a machining program on the simulator unit 4 on the PC side, i.e., on a simulation software.
(24) After the verification is completed, the simulation software registers a used model ID in a machining data group.
(25) For example, when a plurality of CNC and machine models is used with respect to one machining program in the case where a machining program can be easily diverted or where the version of the CNC and machine is different, a plurality of model IDs can be registered in one machining data group.
(26) On the machine side, if the model ID information included in the machining data group differs from the model ID information stored in the machine in advance, the CNC outputs an error and prohibits execution of the program.
(27) If the model is the same and the version of the CNC or machine is different, the warning “different version” is simply displayed and execution of the machining program is not prohibited.
(28) This eliminates the need to contact the program creator to register the model ID.
(29) Here, the content of the machine model is generally set by the machine tool manufacturer because it includes the configuration and physical information of the machine. In addition, the CNC 6 is selected by the machine tool manufacturer.
(30) For example, in general, the machine model and the CNC model can be combined into one ID, and the match/mismatch can be determined by configuring with a combination of the information of the machine manufacturer name ID, machine name ID, and machine version ID.
(31) If the machine manufacturer names and the machine names (models) match and the machine versions do not match at the time of determination, a warning is outputted instead of an error, and the machine operator can select whether to execute the machining program. This assumes, for example, a case where the operation in the machining area does not change even if the machine versions are different due to a difference in the operation screen or the tool changing device.
(32) Therefore, in the program simulation system 10 and the numerical control system 1 for industrial machines of the present embodiment having the above-mentioned configuration, the program creator manages the ID information (identification code, identification information) of the CNC and machine model used in the machining simulation and the machining program as a set (machining data group), and determines whether the correct ID is used by comparing the ID information of the CNC and machine model used in the machining simulation to the model ID set on the machine side by the machine tool manufacturer prior to executing the program.
(33) In the program simulation system 10 for industrial machines and the numerical control system 1 of the present embodiment, if the machining data group sent to the machine operator is inputted to the CNC 6, the CNC 6 can automatically determine whether the model ID of the machining data group matches.
(34) Thus, according to the program simulation system 10 for industrial machines and the numerical control system 1 of the present embodiment, it is possible to prevent human error that a machine operator executes a program verified with a wrong model on a machine.
(35) Re-simulation by a machine operator which is conventionally required can be made unnecessary, and the work burden of the machine operator can be mitigated.
(36) It is not necessary to provide a simulation function on the machine side, and it is possible to reduce costs.
(37) It should be noted that the data group must include at least a program and a model ID (identification code, identification information), but it may include other data related to the program.
(38) An embodiment of the program simulation system for industrial machines and the numerical control system has been described above, but the present invention is not limited to the above-described embodiment, and the present invention can be modified as appropriate without departing from the spirit of the present invention.
EXPLANATION OF REFERENCE NUMERALS
(39) 1 numerical control system 2 CAD 3 machining program creation unit (program creation unit) 4 machining simulator unit (simulator unit) 5 CAM 6 CNC 7 CNC/machine model storage unit 8 CNC/machine model selection unit (machine selection unit) 9 simulation determination unit 10 program simulation system 11 identification data group creation unit 12 PC