WO2021187487A1 - プログラム解析装置及び制御システム - Google Patents
プログラム解析装置及び制御システム Download PDFInfo
- Publication number
- WO2021187487A1 WO2021187487A1 PCT/JP2021/010639 JP2021010639W WO2021187487A1 WO 2021187487 A1 WO2021187487 A1 WO 2021187487A1 JP 2021010639 W JP2021010639 W JP 2021010639W WO 2021187487 A1 WO2021187487 A1 WO 2021187487A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- tool
- command
- machining
- program
- unit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
- G05B19/40937—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
- G05B19/40938—Tool management
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/406—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
- G05B19/4063—Monitoring general control system
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the present invention relates to a program analysis device and a control system, and more particularly to a program analysis device and a control system having a function of determining the consistency of commands by a machining program based on information related to a tool.
- the control device that controls the machine tool controls the operation of each axis of the machine tool according to the machining program.
- the operator creates a machining program by using a machining program editing function or the like while checking a machine tool, a workpiece to be machined, and a tool for machining the workpiece (for example, Patent Document 1 and the like).
- FIG. 10 is a diagram illustrating the correspondence between the tool number and the tool. For example, if "T02" is specified in the machining program, the drill (small) corresponding to the tool number 02 is selected when the code is executed. The operator creates a machining program while looking at a table of tool numbers as illustrated in FIG.
- FIG. 11 is a diagram showing an example in the case where the tool is selected incorrectly by the machining program.
- the operator originally intended to select the end mill tool (tool number 05).
- the drill tool (tool number 02) is selected by mistake.
- An end mill tool generally has blades on the tip and side surfaces of the tool, and the tool can be moved laterally to machine a workpiece. The work can also be machined by moving the tool in the vertical direction.
- a drill tool generally has a blade only at the tip of the tool. Therefore, the work can be machined by moving the tool in the vertical direction, but the work cannot be machined by moving the tool in the horizontal direction.
- the tool or the workpiece may be damaged.
- the command "G01 X5.0;" in FIG. 11 when the drill tool is cut and fed in the lateral direction to machine the work, the bladeless portion of the drill tool comes into contact with the work, and the tool or The work is damaged.
- the program analysis device and the control system select a tool, and then, based on machining information including information such as characteristics of the tool, the type and feed direction of a command to be performed with the tool selected. , The above problem is solved by determining the consistency of the orientation of the tool and the like.
- one aspect of the present invention is a program analysis device that determines the consistency of the machining program based on the tool information, and is selected as a program analysis unit that analyzes the machining program and extracts a command for selecting a tool.
- a tool information acquisition unit that acquires information related to a tool corresponding to the tool, and a machining program that is executed with the tool selected based on the information related to the tool acquired by the tool information acquisition unit.
- Another aspect of the present invention is a control system that determines the consistency of a machining program based on tool information, that is, a program analysis unit that analyzes the machining program and extracts a command for selecting a tool, and the selected program analysis unit.
- a command of the machining program executed with the tool selected based on the tool information acquisition unit that acquires information related to the tool corresponding to the tool and the information related to the tool acquired by the tool information acquisition unit.
- FIG. 1 is a schematic hardware configuration diagram showing a program analysis device according to the first embodiment of the present invention.
- the program analysis device 1 of the present invention can be mounted on a control device that controls an industrial machine that performs machining such as a machine tool. Further, the program analysis device 1 of the present embodiment can be mounted on, for example, a personal computer, a fog computer, a cloud server, or the like connected to a control device for controlling a machine tool via a wired / wireless network. In this embodiment, an example in which the program analysis device 1 is mounted on a control device that controls a machine tool is shown.
- the CPU 11 included in the program analysis device 1 of the present embodiment is a processor that controls the program analysis device 1 as a whole.
- the CPU 11 reads the system program stored in the ROM 12 via the bus 22.
- the CPU 11 controls the entire program analysis device 1 according to the system program. Temporary calculation data, display data, various data input from the outside, and the like are temporarily stored in the RAM 13.
- the non-volatile memory 14 is composed of, for example, a memory backed up by a battery (not shown), an SSD (Solid State Drive), or the like.
- the non-volatile memory 14 retains its storage state even when the power of the program analysis device 1 is turned off.
- the non-volatile memory 14 stores data and processing programs read from the external device 72 via the interface 15. Further, the non-volatile memory 14 stores data input via the input device 71, a machining program, each data acquired from the machine tool, and the like.
- the data and the processing program stored in the non-volatile memory 14 may be expanded in the RAM 13 at the time of execution / use. Further, various system programs such as a known analysis program are written in the ROM 12 in advance.
- the interface 15 is an interface for connecting the CPU 11 of the program analysis device 1 and an external device 72 such as a USB device. From the external device 72 side, for example, a machining program used for controlling a machine tool, each parameter, and the like can be read. Further, the machining program and each parameter edited in the program analysis device 1 can be stored in the external storage means via the external device 72.
- the PLC (programmable logic controller) 16 is a sequence program built in the program analysis device 1 and is attached to a machine tool and peripheral devices of the machine tool (for example, a tool changer, an actuator such as a robot, or a machine tool). A signal is output to and controlled via the I / O unit 17 (such as a sensor). Further, the PLC 16 receives signals from various switches and peripheral devices of the operation panel installed in the main body of the industrial machine, performs necessary signal processing, and then passes the signals to the CPU 11.
- each data read into the memory data obtained as a result of executing a machining program, a system program, or the like are output and displayed via the interface 18.
- the input device 71 composed of a keyboard, a pointing device, and the like passes commands, data, and the like based on operations by the operator to the CPU 11 via the interface 19.
- the axis control circuit 30 for controlling the axis provided in the machine tool receives the axis movement command from the CPU 11 and outputs the axis command to the servo amplifier 40. In response to this command, the servo amplifier 40 drives the servomotor 50 that moves the shaft included in the machine tool.
- the shaft servomotor 50 has a built-in position / speed detector.
- the servomotor 50 feeds back the position / speed feedback signal from the position / speed detector to the axis control circuit 30, and performs position / speed feedback control.
- FIG. 1 only one axis control circuit 30, servo amplifier 40, and servo motor 50 are shown, but in reality, only the number of axes provided in the machine tool to be controlled Be prepared.
- three sets of axis control that relatively move the spindle to which the tool is attached and the workpiece in three orthogonal axes (X-axis, Y-axis, Z-axis).
- the circuit 30, the servo amplifier 40, and the servo motor 50 are prepared.
- the spindle control circuit 60 receives a spindle rotation command and outputs a spindle speed signal to the spindle amplifier 61. In response to this spindle speed signal, the spindle amplifier 61 rotates the spindle motor 62 of the machine tool at the commanded rotation speed to drive the tool.
- a position coder 63 is coupled to the spindle motor 62. The position coder 63 outputs a feedback pulse in synchronization with the rotation of the spindle. The feedback pulse is read by the CPU 11.
- FIG. 2 shows a schematic block diagram of the functions provided by the program analysis device 1 according to the first embodiment of the present invention.
- Each function included in the program analysis device 1 according to the present embodiment is realized by the CPU 11 included in the program analysis device 1 shown in FIG. 1 executing a system program and controlling the operation of each part of the program analysis device 1. ..
- the program analysis device 1 of the present embodiment includes a program analysis unit 100, a tool information acquisition unit 110, a machining command confirmation unit 120, a determination result output unit 130, and a control unit 140. Further, the processing program 200 acquired from the input device 71, the external device 72, etc. is stored in advance in the RAM 13 to the non-volatile memory 14 of the program analysis device 1. Further, in the RAM 13 to the non-volatile memory 14 of the program analysis device 1, a tool information storage unit 210, which is an area in which information related to the tool is stored in advance, is prepared in advance.
- the program analysis unit 100 is realized by executing the system program read from the ROM 12 by the CPU 11 and performing arithmetic processing mainly by the CPU 11 using the RAM 13 and the non-volatile memory 14.
- the program analysis unit 10 pre-reads and analyzes the operation command block of the machine tool 2 from the machining program 200.
- the program analysis unit 100 creates command data for instructing the operation of the servomotor 50 and the spindle motor 62 included in the machine tool 2 based on the analysis result.
- the program analysis unit 100 outputs the created command data to the machining command confirmation unit 120. Further, the program analysis unit 100 extracts a tool selection command (T code) from the pre-read command and outputs the tool number of the tool selected by the tool selection command to the tool information acquisition unit 110.
- T code tool selection command
- the tool information acquisition unit 110 is realized by executing a system program read from the ROM 12 by the CPU 11 and performing arithmetic processing mainly by the CPU 11 using the RAM 13 and the non-volatile memory 14.
- the tool information acquisition unit 110 acquires information related to the tool selected by the tool selection command extracted by the program analysis unit 100.
- the tool information acquisition unit 110 may acquire information related to the tool corresponding to the tool number from the tool information storage unit 210 based on the tool number input from the program analysis unit 100.
- the information related to the tool acquired by the tool information acquisition unit 110 includes, for example, a command that can be executed when the tool is selected, a command that cannot be executed when the tool is selected, a feed direction that can be cut by the tool, and the like. Includes information related to commands during machining with the tool, such as feed directions that cannot be cut by the tool, tool compensation that can be specified for the tool, tool compensation that cannot be specified for the tool, mounting posture of the tool, and so on.
- the processing command confirmation unit 120 is realized by executing the system program read from the ROM 12 by the CPU 11 and performing arithmetic processing mainly by the CPU 11 using the RAM 13 and the non-volatile memory 14.
- the machining command confirmation unit 120 determines the consistency of the command by the machining program 200 analyzed by the program analysis unit 100 based on the information related to the tool acquired by the tool information acquisition unit 110.
- the machining command confirmation unit 120 extracts a command to be executed in a state where the tool is selected by the tool selection command from the commands given by the machining program 200.
- the machining command confirmation unit 120 determines the consistency of the extracted command based on the information related to the selected tool.
- the machining command confirmation unit 120 includes at least one of a command code confirmation unit 122, a feed direction confirmation unit 124, and a tool attitude confirmation unit 126.
- the command code confirmation unit 122 determines the consistency of the command in the machining program 200 based on the information related to the command code included in the information related to the tool acquired by the tool information acquisition unit 110.
- the information related to the tool acquired by the tool information acquisition unit 110 includes, for example, information related to a command that can be executed in a state where the tool is selected (hereinafter referred to as "executable command information"), and the machining program 200. If the command executed with the tool selected by the tool selection command includes a command not included in the executable command information, the command code confirmation unit 122 will perform the command. Is determined to be an inconsistent command.
- the command code confirmation unit 122 includes information related to the tool acquired by the tool information acquisition unit 110, for example, information related to a command that should not be executed in a state where the tool is selected (hereinafter, referred to as non-executable command information). Is included, and among the commands given by the machining program 200, the commands executed with the tool selected by the tool selection command include the commands included in the non-executable command information. If so, it is determined that the directive is inconsistent.
- the feed direction confirmation unit 124 determines the consistency of the feed direction according to the command in the machining program 200 based on the information related to the feed direction included in the information related to the tool acquired by the tool information acquisition unit 110.
- the information related to the tool acquired by the tool information acquisition unit 110 includes, for example, information related to the feed direction that can be cut by the tool (hereinafter, cuttable feed direction information), and among the commands given by the machining program 200,
- cuttable feed direction information information related to the feed direction that can be cut by the tool
- the feed direction confirmation unit 124 sets the feed direction confirmation unit 124. The command is judged to be an inconsistent command.
- the information related to the tool acquired by the tool information acquisition unit 110 includes, for example, information related to a feed direction that cannot be cut by the tool (hereinafter, information on the feed direction that cannot be cut by the tool), among the commands given by the machining program 200. If the command executed with the tool selected by the tool selection command includes a command to feed the cutting in the direction included in the non-cutting feed direction information, the feed direction confirmation unit 124 , Judge the command as an inconsistent command.
- the tool posture confirmation unit 126 uses the tool posture according to the command in the machining program 200 and the coordinate system according to the machining program 200 based on the information related to the tool mounting posture and the like included in the information related to the tool acquired by the tool information acquisition unit 110. Judge the consistency with the specification of.
- the information related to the tool mounting posture acquired by the tool information acquisition unit 110 includes, for example, the maximum angle of inclination of the tool (hereinafter, the maximum angle of inclination of the tool), and the tool is selected by the tool selection command. If there is a command to change the tool posture so that the tilt of the tool is equal to or greater than the maximum angle of the tool tilt among the commands executed in the state, the tool posture confirmation unit 126 commands the command to be inconsistent. Is determined.
- a command for changing the tool posture for example, driving the rotating B-axis to change the tool posture. If neither the tilt command nor the command to change the feature coordinate system according to the changed tool posture appears, the tool posture confirmation unit 126 determines that these commands are inconsistent commands.
- the machining command confirmation unit 120 causes the determination result output unit 130 to display that if there is a command in the machining program 200 that is determined to be inconsistent. Output. Further, the machining command confirmation unit 120 according to the present embodiment outputs command data related to consistent commands to the control unit 140. On the other hand, when it is determined that there is an inconsistent command, the machining command confirmation unit 120 commands the control unit 140 to interrupt the execution of the control operation related to machining by the machine tool 2.
- the determination result output unit 130 executes the system program read from the ROM 12 by the CPU 11, and mainly performs arithmetic processing using the RAM 13 and the non-volatile memory 14 by the CPU 11 and input / output processing using the interfaces 18 and 19. It is realized by.
- the determination result output unit 130 displays and outputs the determination result of the consistency of the command in the processing program 200 by the processing command confirmation unit 120 to the display device 70.
- the determination result output unit 130 may output the information on the tool selected when the command determined to be inconsistent is executed together with the determination result of consistency.
- the determination result output unit 130 may output the consistency determination result by the machining command confirmation unit 120 to the non-volatile memory 14 as a log. Further, the determination result output unit 130 may transmit and output the consistency determination result by the machining command confirmation unit 120 to a management device such as a host computer via a network (not shown).
- the control unit 140 executes a system program read from the ROM 12 by the CPU 11, mainly performs arithmetic processing using the RAM 13 and the non-volatile memory 14 by the CPU 11, and a machine tool using the axis control circuit 30, the spindle control circuit 60, and the PLC 16. It is realized by performing the control processing of each part of 2.
- the control unit 140 controls each unit of the machine tool 2 based on the command data analyzed by the program analysis unit 100.
- the control unit 140 generates data related to the movement of the axes based on, for example, a command to move each axis of the machine tool 2, and outputs the data to the servomotor 50.
- control unit 140 generates data related to the rotation of the spindle based on, for example, a command to rotate the spindle of the machine tool 2, and outputs the data to the spindle motor 62. Further, the control unit 140 generates a predetermined signal for operating the peripheral device based on a command for operating the peripheral device of the machine tool 2, for example, and outputs the signal to the PLC 16. On the other hand, the control unit 140 acquires the states of the servomotor 50 and the spindle motor 62 (motor current value, position, speed, acceleration, torque, etc.) as feedback values and uses them for each control process.
- FIG. 4 shows the operation of the program analysis device 1 when the end mill tool (tool number 04) is originally intended to be used in the machining program, but the drill tool (tool number 01) is mistakenly selected by the tool selection command. Is illustrated.
- the tool information storage unit 210 among the tool information related to the drill tool in advance, G code such as G00, G01, G81 and M code such as M03 are used as executable command information, and Z-axis negative direction is used as the machinable feed direction (Z-axis negative direction). -Z) is stored. Then, the operator intended to write a program for machining using the end mill tool, and created a machining program in which T01 (drill tool) was mistakenly selected by the tool selection command as illustrated on the left side of FIG. bottom.
- the program analysis device 1 instructed to execute such a machining program sequentially pre-reads the machining program. Then, it is determined that the drill tool having the tool number 01 is selected by the T01 command, and the tool information acquisition unit 110 acquires information related to the drill tool from the tool information storage unit 210. Then, based on the acquired information related to the tool, the machining command confirmation unit 120 determines the consistency of the command of the machining program.
- the command code confirmation unit 122 Since the command code confirmation unit 122 includes the M03 command, the G00 command, and the G01 command in the executable command information of the information related to the tool, it is determined that these commands are consistent commands. .. On the other hand, the command code confirmation unit 122 determines that the G03 command is an inconsistent command because it is not included in the executable command information of the information related to the tool.
- the feed direction confirmation unit 124 is a command (“G01 Z-” whose feed direction coincides with the Z-axis negative direction which is the machinable feed direction. 5.0 F45.0; ”) is judged to be a consistent command.
- the commands (“G01 X3.0;” and "G03 X5.0 Y5.0;”) whose feed direction does not match the Z-axis negative direction, which is the machinable feed direction, are inconsistent commands. Judge that there is.
- the tool posture confirmation unit 126 determines the consistency based on the tool posture of the drill tool. In the example of FIG. 4, since the command for changing the tool posture and the command for changing the coordinate system are not given, it is determined that all the commands are consistent.
- the command (“G01 X3.0;” and “G03 X5.0 Y5.0;”) determined to be a command that is inconsistent at any point is the selected tool (drill tool).
- the determination result output unit 130 displays and outputs the determination result to the display device 70.
- the operator can see this display and review the inconsistent commands and selected tools. For example, the operator who sees this display can change the tool selection command so as to select the correct tool, the end mill tool (tool number T04), and correct the machining program.
- FIG. 5 shows a program analysis device 1 in the case where three-dimensional coordinate conversion is not performed when drilling a hole in an inclined surface of a work using an inclined head drill tool (tool number 01) in a processing program. Illustrates the operation of.
- G code such as G00, G01, G81 and M code such as M03 are used as executable command information
- Z-axis negative direction is used as the machinable feed direction (Z-axis negative direction). -Z) is stored.
- the program analysis device 1 instructed to execute such a machining program sequentially pre-reads the machining program. Then, it is determined that the drill tool having the tool number 01 is selected by the T01 command, and the tool information acquisition unit 110 acquires the information related to the drill tool from the tool information storage unit 210. Then, based on the acquired information related to the tool, the machining command confirmation unit 120 determines the consistency of the command of the machining program.
- the command code confirmation unit 122 determines that these commands are consistent commands.
- the feed direction confirmation unit 124 is a command (“G01 Z-5.0”) in which the feed direction coincides with the Z-axis negative direction, which is the machinable feed direction, among the cutting feed commands (G01 command in the example of FIG. 5). It is determined that the command is consistent with respect to F45.0; ”).
- the tool posture confirmation unit 126 determines the consistency based on the tool posture of the drill tool of the inclined head.
- the command (“G00 B30.0;”) relating to the change of the tool posture is executed.
- the three-dimensional coordinate conversion command corresponding to this is not executed. Therefore, the tool posture confirmation unit 126 determines that the command for changing the tool posture and the subsequent feed command are inconsistent commands.
- the command determined to be an inconsistent command at any point is displayed by the determination result output unit 130 together with the information of the selected tool (drill tool of the inclined head). It is displayed and output to.
- the operator can see this display and review the inconsistent commands and selected tools. For example, the operator who sees this display adds the three-dimensional coordinate conversion command "G68 X0. Y0. Z0. I0. J1. K0. R30 .;” after "G00 B30.0;”. It can be modified to the correct machining program.
- the program analysis device 1 can determine the consistency of commands according to the tool selected in the machining program. Therefore, the operator can review the machining program without much effort. Therefore, it is possible to prevent damage to the tool / work in advance due to a tool selection error, a command related to machining, a programming error such as a feed direction, and the like.
- the program analysis device 1 may use the information of the work to be machined to determine the consistency of the command of the machining program.
- the G00 command is processed as a fast-forward command
- the G01 command is processed as a cutting feed command.
- the G00 command is used in the path where the work is not machined
- the G01 command is used in the path where the work is machined.
- the G01 command may be used in a path where the workpiece is not processed.
- the work information including the information such as the size and shape of the work is acquired, and the machining command confirmation unit 120 treats the cutting feed command executed at the position where the tool and the work do not contact as if it is not the cutting feed. You can do it.
- the feed direction confirmation unit 124 included in the machining command confirmation unit 120 determines that the cutting feed command that does not involve contact between the tool and the work is consistent. As illustrated in FIG. 6, when machining a work with an external tool, if the work escapes from the work by the G01 command (cutting feed command), the cutting feed is performed in a direction not included in the workable feed direction information. It is said.
- the feed direction confirmation unit 124 makes a determination in consideration of the work information, so that "G01 X5.0 Z30 .;" in FIG. 6 is determined as a consistent command. .. This makes it possible to more flexibly determine the consistency of the cutting feed command.
- FIG. 7 is a schematic hardware configuration diagram showing a program analysis device according to the second embodiment of the present invention.
- the program analysis device 1 is mounted on a computer connected to a machine tool (a control device for controlling the machine tool) via a network is shown.
- the program analysis device 1 according to the present embodiment constitutes a control system 300 connected to a machine tool (a control device for controlling the machine tool) via a network.
- the program analysis device 1 includes a CPU 11, a ROM 12, a RAM 13, and a non-volatile memory 14, and has a display device 70 and an input device 71 via interfaces 18 and 19. Input / output processing is performed between and.
- the interface 20 is an interface for connecting the CPU 11 of the program analysis device 1 according to the present embodiment and the wired or wireless network 5.
- the network 5 is connected to a machine tool 2, a fog computer 6, a cloud server 7, and the like, and these devices and a program analysis device 1 exchange data with each other.
- FIG. 8 shows a schematic block diagram of the functions provided by the program analysis device 1 according to the second embodiment of the present invention.
- Each function included in the program analysis device 1 according to the present embodiment is realized by the CPU 11 included in the program analysis device 1 shown in FIG. 1 executing a system program and controlling the operation of each part of the program analysis device 1. ..
- the program analysis device 1 of the present embodiment includes a program analysis unit 100, a tool information acquisition unit 110, a machining command confirmation unit 120, a determination result output unit 130, and a communication unit 150. Further, the processing program 200 acquired from the input device 71, the external device 72, etc. is stored in advance in the RAM 13 to the non-volatile memory 14 of the program analysis device 1. Further, in the RAM 13 to the non-volatile memory 14 of the program analysis device 1, a tool information storage unit 210, which is an area in which information related to the tool is stored in advance, is prepared in advance.
- the program analysis unit 100, the tool information acquisition unit 110, the machining command confirmation unit 120, and the determination result output unit 130 included in the program analysis device 1 according to the present embodiment have the same functions as each unit provided in the program analysis device 1 according to the first embodiment. To be equipped.
- the communication unit 150 is realized by executing a system program read from the ROM 12 by the CPU 11 and mainly performing arithmetic processing using the RAM 13 and the non-volatile memory 14 by the CPU 11 and input / output processing using the interface 20. ..
- the communication unit 150 transmits / receives the machining program 200 to / from the machine tool 2, the fog computer 6, the cloud server 7, a program creation device (not shown), a simulation device, a CAD / CAM device, etc., and determines the consistency with the machining program 200. Send the result.
- the machining command confirmation unit 120 determines that some of the commands in the machining program 200 are inconsistent, the communication unit 150 so as to interrupt the execution of the operation related to machining to the machine tool 2.
- the command may be transmitted from the network via the network.
- the program analysis device 1 includes a machining program executed by the machine tool 2, a machining program stored in a fog computer 6, a cloud server 7, and the like, a program creation device (not shown), a simulation device, and a CAD. / It is possible to receive a machining program created by a CAM device or the like, determine the consistency of commands in the received machining program, and send back the determination result. Therefore, it is possible to determine the consistency of the machining program before actually executing the machining program on the control device and correct it to the correct program.
- the program analysis device 1 includes the tool information storage unit 210 on the internal memory.
- the tool information storage unit 210 may be provided in an external host computer, fog computer, cloud server, or the like so as to acquire the tool information via the network.
- the tool information may be shared among a plurality of program analysis devices 1.
- tool information shared by a plurality of factories can be centrally maintained.
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Geometry (AREA)
- Numerical Control (AREA)
Abstract
Description
そこで、加工プログラムから解析可能な加工に係る指令の整合性の良否を簡易に確認できる技術が望まれている。
図1は本発明の第1実施形態によるプログラム解析装置を示す概略的なハードウェア構成図である。本発明のプログラム解析装置1は、例えば工作機械等の加工を行う産業機械を制御する制御装置に実装することができる。また、本実施形態のプログラム解析装置1は、例えば工作機械を制御する制御装置と有線/無線のネットワークを介して接続されたパソコン、フォグコンピュータ、クラウドサーバ等に実装することができる。
本実施形態では、プログラム解析装置1を、工作機械を制御する制御装置に実装した例を示す。
なお、図1のハードウェア構成図では軸制御回路30、サーボアンプ40、サーボモータ50は1つずつしか示されていないが、実際には制御対象となる工作機械に備えられた軸の数だけ用意される。例えば、一般的な工作機械を制御する場合には、工具が取り付けられた主軸とワークとを直交3軸(X軸,Y軸,Z軸)方向へと相対的に移動させる3組の軸制御回路30、サーボアンプ40、サーボモータ50が用意される。
図4は、加工プログラムにおいて、本来エンドミル工具(工具番号04)を使用するつもりが、工具選択指令で誤ってドリル工具(工具番号01)を選択してしまった場合の、プログラム解析装置1の動作を例示している。なお、工具情報記憶部210には、予めドリル工具に関する工具情報のうち、実行可能指令情報としてG00、G01、G81等のGコードやM03等のMコード、切削可能送り方向としてZ軸負方向(-Z)が記憶されている。そして、オペレータは、エンドミル工具を用いた加工を行うためのプログラムを書いたつもりで、図4左に例示されるように、誤って工具選択指令でT01(ドリル工具)を選択した加工プログラムを作成した。
本実施形態によるプログラム解析装置1は、工作機械(を制御する制御装置)とネットワークを介して接続された制御システム300を構成する。
例えば、上記した第1,2実施形態によるプログラム解析装置1は、内部メモリ上に工具情報記憶部210を備えている。しかしながら、工具情報記憶部210を外部のホストコンピュータやフォグコンピュータ、クラウドサーバ等に設け、ネットワークを介して工具情報を取得するように構成しても良い。例えば図9に示されるように、クラウドサーバ7に工具情報記憶部210を設けることで、複数のプログラム解析装置1の間で工具情報を共有するようにしても良い。これにより、複数の工場で共有される工具情報を中央で一括してメンテナンスすることができる。
2 工作機械
5 ネットワーク
6 フォグコンピュータ
7 クラウドサーバ
11 CPU
12 ROM
13 RAM
14 不揮発性メモリ
15,18,19,20 インタフェース
16 PLC
17 I/Oユニット
22 バス
30 軸制御回路
40 サーボアンプ
50 サーボモータ
60 スピンドル制御回路
61 スピンドルアンプ
62 スピンドルモータ
63 ポジションコーダ
70 表示装置
71 入力装置
72 外部機器
100 プログラム解析部
110 工具情報取得部
120 加工指令確認部
122 指令コード確認部
124 送り方向確認部
126 工具姿勢確認部
130 判定結果出力部
140 制御部
150 通信部
200 加工プログラム
210 工具情報記憶部
300 制御システム
Claims (11)
- 工具情報を元に加工プログラムの整合性を判定するプログラム解析装置であって、
加工プログラムを解析し、工具を選択する指令を抽出するプログラム解析部と、
選択された前記工具に対応する工具に係る情報を取得する工具情報取得部と、
前記工具情報取得部が取得した工具に係る情報に基づいて、前記工具が選択された状態で実行される前記加工プログラムの指令の整合性を判定する加工指令確認部と、
を備えたプログラム解析装置。 - 工具番号と、前記工具番号に対応する工具に係る情報とを関連付けて記憶する工具情報記憶部を更に備え、
前記加工指令確認部は、前記プログラム解析部が抽出した工具を選択する指令により指定される工具番号に基づいて、前記工具情報記憶部から選択された前記工具に係る情報を取得する、
請求項1に記載のプログラム解析装置。 - 前記加工指令確認部は、指令コード確認部を有し、
前記指令コード確認部は、選択された前記工具に係る情報で示される指令コードに係る情報に基づいて、前記加工プログラムにおける指令の整合性を判定する、
請求項1に記載のプログラム解析装置。 - 前記加工指令確認部は、送り方向確認部を有し、
前記送り方向確認部は、選択された前記工具に係る情報で示される送り方向に係る情報に基づいて、前記加工プログラムにおける指令による送り方向の整合性を判定する、
請求項1に記載のプログラム解析装置。 - 前記加工指令確認部は、工具姿勢確認部を有し、
前記工具姿勢確認部は、選択された前記工具の実際の向きと、前記加工プログラムによる座標系の指定との間の整合性を判定する、
請求項1に記載のプログラム解析装置。 - 前記加工指令確認部は、前記加工プログラムにより加工されるワークのワーク情報を取得し、取得した前記ワーク情報と前記加工プログラムとに基づいて、実際にワークを切削すると判断される送り指令に関する整合性を判定する、
請求項3または4に記載のプログラム解析装置。 - 前記加工指令確認部が、整合性が取れていないと判定した時に、整合性が取れていない箇所を表示する表示部を更に備える、
請求項1に記載のプログラム解析装置。 - 前記加工プログラムに基づいて加工を行う産業機械を制御する制御部を更に備え、
前記加工指令確認部が、整合性が取れていないと判定した時に、前記制御部は前記産業機械の加工に係る制御を中断する、
請求項1に記載のプログラム解析装置。 - 工具情報を元に加工プログラムの整合性を判定する制御システムであって、
加工プログラムを解析し、工具を選択する指令を抽出するプログラム解析部と、
選択された前記工具に対応する工具に係る情報を取得する工具情報取得部と、
前記工具情報取得部が取得した工具に係る情報に基づいて、前記工具が選択された状態で実行される前記加工プログラムの指令の整合性を判定する加工指令確認部と、
を備えた制御システム。 - 工具番号と、前記工具番号に対応する工具に係る情報とを関連付けて記憶する工具情報記憶部を更に備え、
前記加工指令確認部は、前記プログラム解析部が抽出した工具を選択する指令により指定される工具番号に基づいて、前記工具情報記憶部から選択された前記工具に係る情報を取得する、
請求項9に記載の制御システム。 - 前記加工指令確認部が、整合性が取れていないと判定した時に、前記加工プログラムに基づいて加工を行う産業機械に対して加工に係る動作を中断するように指令する、
請求項9に記載の制御システム。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022508382A JP7440614B2 (ja) | 2020-03-18 | 2021-03-16 | プログラム解析装置及び制御システム |
CN202180021999.6A CN115298624A (zh) | 2020-03-18 | 2021-03-16 | 程序解析装置以及控制系统 |
DE112021001698.9T DE112021001698T5 (de) | 2020-03-18 | 2021-03-16 | Programmanalysegerät und steuersystem |
US17/910,350 US20230185272A1 (en) | 2020-03-18 | 2021-03-16 | Program analyzer and control system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020-047476 | 2020-03-18 | ||
JP2020047476 | 2020-03-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021187487A1 true WO2021187487A1 (ja) | 2021-09-23 |
Family
ID=77771580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2021/010639 WO2021187487A1 (ja) | 2020-03-18 | 2021-03-16 | プログラム解析装置及び制御システム |
Country Status (5)
Country | Link |
---|---|
US (1) | US20230185272A1 (ja) |
JP (1) | JP7440614B2 (ja) |
CN (1) | CN115298624A (ja) |
DE (1) | DE112021001698T5 (ja) |
WO (1) | WO2021187487A1 (ja) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11327624A (ja) * | 1998-05-11 | 1999-11-26 | Fanuc Ltd | 送り速度制限機能付数値制御装置 |
JP2006163665A (ja) * | 2004-12-06 | 2006-06-22 | Toshiba Corp | 数値制御加工機の数値制御情報確認装置および方法 |
JP2008027045A (ja) * | 2006-07-19 | 2008-02-07 | Fanuc Ltd | 干渉チェック機能を備える数値制御装置 |
WO2014068667A1 (ja) * | 2012-10-30 | 2014-05-08 | 株式会社牧野フライス製作所 | 加工プログラム作成方法および装置 |
WO2015097887A1 (ja) * | 2013-12-27 | 2015-07-02 | 株式会社牧野フライス製作所 | 工作機械の制御装置 |
JP2016201031A (ja) * | 2015-04-13 | 2016-12-01 | ファナック株式会社 | 工具と被加工物の干渉チェックが可能な数値制御装置 |
JP2017033346A (ja) * | 2015-08-03 | 2017-02-09 | オークマ株式会社 | 工作機械の情報取得装置 |
JP2017111516A (ja) | 2015-12-14 | 2017-06-22 | Dmg森精機株式会社 | 加工プログラム編集装置、およびこれを備えた工作機械 |
JP2017211872A (ja) * | 2016-05-26 | 2017-11-30 | ファナック株式会社 | アラーム解決のためのプログラム修正支援機能を備えた数値制御装置 |
JP2019219878A (ja) * | 2018-06-19 | 2019-12-26 | ファナック株式会社 | 数値制御装置及び誤入力検出方法 |
-
2021
- 2021-03-16 JP JP2022508382A patent/JP7440614B2/ja active Active
- 2021-03-16 US US17/910,350 patent/US20230185272A1/en active Pending
- 2021-03-16 DE DE112021001698.9T patent/DE112021001698T5/de active Pending
- 2021-03-16 CN CN202180021999.6A patent/CN115298624A/zh active Pending
- 2021-03-16 WO PCT/JP2021/010639 patent/WO2021187487A1/ja active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11327624A (ja) * | 1998-05-11 | 1999-11-26 | Fanuc Ltd | 送り速度制限機能付数値制御装置 |
JP2006163665A (ja) * | 2004-12-06 | 2006-06-22 | Toshiba Corp | 数値制御加工機の数値制御情報確認装置および方法 |
JP2008027045A (ja) * | 2006-07-19 | 2008-02-07 | Fanuc Ltd | 干渉チェック機能を備える数値制御装置 |
WO2014068667A1 (ja) * | 2012-10-30 | 2014-05-08 | 株式会社牧野フライス製作所 | 加工プログラム作成方法および装置 |
WO2015097887A1 (ja) * | 2013-12-27 | 2015-07-02 | 株式会社牧野フライス製作所 | 工作機械の制御装置 |
JP2016201031A (ja) * | 2015-04-13 | 2016-12-01 | ファナック株式会社 | 工具と被加工物の干渉チェックが可能な数値制御装置 |
JP2017033346A (ja) * | 2015-08-03 | 2017-02-09 | オークマ株式会社 | 工作機械の情報取得装置 |
JP2017111516A (ja) | 2015-12-14 | 2017-06-22 | Dmg森精機株式会社 | 加工プログラム編集装置、およびこれを備えた工作機械 |
JP2017211872A (ja) * | 2016-05-26 | 2017-11-30 | ファナック株式会社 | アラーム解決のためのプログラム修正支援機能を備えた数値制御装置 |
JP2019219878A (ja) * | 2018-06-19 | 2019-12-26 | ファナック株式会社 | 数値制御装置及び誤入力検出方法 |
Also Published As
Publication number | Publication date |
---|---|
JP7440614B2 (ja) | 2024-02-28 |
CN115298624A (zh) | 2022-11-04 |
DE112021001698T5 (de) | 2023-02-09 |
US20230185272A1 (en) | 2023-06-15 |
JPWO2021187487A1 (ja) | 2021-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10007254B2 (en) | CAM integrated CNC control of machines | |
US20110257778A1 (en) | Method and device for simulating nc working machine | |
CN110405532B (zh) | 工具选定装置以及机器学习装置 | |
US11947332B2 (en) | CAD data-based automatic operation device of machining center | |
US10088824B2 (en) | Toolpath evaluation method, toolpath generation method, and toolpath generation device | |
JP2020071734A (ja) | 数値制御装置 | |
CN103348295B (zh) | 数控装置 | |
US20230286169A1 (en) | Numerical control system and robot control method | |
KR100898034B1 (ko) | 공구경로 수정 방법 | |
WO2021187487A1 (ja) | プログラム解析装置及び制御システム | |
CN110618657A (zh) | 数值控制装置和错误输入检测方法 | |
WO2022102578A1 (ja) | 数値制御装置、及び数値制御システム | |
US10996655B2 (en) | Numerical controller | |
JP2009538744A (ja) | 旋削加工を制御する方法、および旋削加工に適したnc機械 | |
US10564630B2 (en) | Numerical controller | |
WO2020008891A1 (ja) | 数値制御装置 | |
CN109884982B (zh) | 数值控制装置 | |
JP7175340B2 (ja) | 工作機械、情報処理装置および情報処理プログラム | |
JP7448736B1 (ja) | 数値制御装置及び数値制御システム | |
WO2023162001A1 (ja) | 加工面推定装置およびコンピュータ読み取り可能な記憶媒体 | |
US20240042610A1 (en) | Robot control device, robot control system, and non-transitory computer-readable medium storing a computer program | |
WO2022264338A1 (ja) | 制御装置、干渉チェック装置、及び制御システム | |
JP7414849B2 (ja) | 移動経路描画装置 | |
US20240134342A1 (en) | Command generation device and non-transitory computer-readable medium storing a computer program | |
KR100872394B1 (ko) | 공구경로 수정 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21772059 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022508382 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2021772059 Country of ref document: EP Effective date: 20221018 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21772059 Country of ref document: EP Kind code of ref document: A1 |