WO2022138056A1 - Information processing device and information processing program - Google Patents

Information processing device and information processing program Download PDF

Info

Publication number
WO2022138056A1
WO2022138056A1 PCT/JP2021/044340 JP2021044340W WO2022138056A1 WO 2022138056 A1 WO2022138056 A1 WO 2022138056A1 JP 2021044340 W JP2021044340 W JP 2021044340W WO 2022138056 A1 WO2022138056 A1 WO 2022138056A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
code
information processing
function
machine tool
Prior art date
Application number
PCT/JP2021/044340
Other languages
French (fr)
Japanese (ja)
Inventor
浩也 坂本
陽司 津久井
路彦 伊藤
Original Assignee
Dmg森精機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dmg森精機株式会社 filed Critical Dmg森精機株式会社
Publication of WO2022138056A1 publication Critical patent/WO2022138056A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical 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/4093Numerical 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

Definitions

  • the present invention relates to an information processing device and a program.
  • Patent Document 1 discloses a technique for automatically optimizing the positioning path of CL (Cutter Location) data generated by CAM (Computer Aided Manufacturing).
  • CL data is generated not only in the format standardized by ISO (International Organization for Standardization) but also in a unique format different for each CAM manufacturer.
  • the present invention An information processing device that processes programs executed by the numerical control device of a machine tool. Delete or ignore the preset function code of the function codes whose functions are not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 from the program before processing, and before processing An information processing device including an information processing unit that detects a starting point code that is a starting point among a plurality of codes included in a program, performs a process of adding an additional code corresponding to the starting point code, and generates a processed program. Is to provide.
  • the present invention also provides an information processing device, a machine tool, a program, and the like.
  • the information processing apparatus 100 as the first embodiment of the present invention will be described with reference to FIG.
  • the information processing apparatus 100 is an apparatus for generating a machining program 130 used in the numerical control device 120 based on the machining program 150 generated in the CAM apparatus 140 as a computer-aided manufacturing system.
  • Examples of the machining program 150 include an NC (Numerical Control) program.
  • the information processing apparatus 100 includes a code filter unit 101, a machining program interpretation unit 102, an optimization processing unit 103, and a storage unit 104.
  • the code filter unit 101 performs filtering to delete non-standardized codes from a plurality of codes included in the machining program 150 generated by the CAM device 140.
  • the machining program interpretation unit 102 interprets a plurality of codes included in the filtering program 160, respectively.
  • the result of interpreting the machining program 160 may be expressed in any format.
  • it may be in the form of CL data as tool path data described by APT (automatically programmed tools) or internal data of the information processing apparatus 100.
  • APT is a programming language developed for numerical control of machine tools, and can automatically determine tool paths and machining procedures based on the shape of machine parts to be manufactured.
  • EXAPT extended subset of APT
  • the machining program interpretation unit 102 may output a machining program in which the non-standardized code (not deleted) included in the machining program 160 is replaced with the standardized code as an interpretation result.
  • the optimization processing unit 103 executes the optimization processing on the result of the interpretation in the machining program interpretation unit 102. Specifically, the code included in the machining program 150 is updated according to the specifications of the machine tool 110 and the numerical control device 120 to generate the optimized machining program 130. The optimization processing program 130 subjected to the optimization processing is transmitted to the numerical control device 120.
  • Various program modules 141 are stored in the storage unit 104.
  • a processor (not shown) realizes the functions of the code filter unit 101, the machining program interpretation unit 102, and the optimization processing unit 103 by executing various program modules 141.
  • the storage unit 104 further stores the code list 142 of the non-standardized code.
  • the code filter unit 101 deletes at least a part of the non-standardized code, and then proceeds to the interpretation by the machining program interpretation unit 102.
  • the optimization function peculiar to the machine tool and the numerical control device can be automatically added to the machining program without depending on the type of the CAM device, and the function of the machine tool and the numerical control device can be fully utilized. be able to.
  • the machining program after filtering is interpreted by the code filter unit 101, the development load of the machining program interpretation unit can be reduced.
  • the function of the information processing apparatus 100 may be mounted inside the machine tool 110.
  • the information processing apparatus 200 as the second embodiment of the present invention will be described with reference to FIG.
  • the information processing device 200 is a device for generating an NC program 230 as a machining program used in the numerical control device 220.
  • the numerical control device 220 is a device that numerically controls machining in the machine tool 210, and includes an NC interpreter 221 that interprets the NC program 230 and a command output unit 222 that outputs a control command to the machine tool 210.
  • Examples of the machine tool 210 include a machine that adds additive manufacturing to the work, a machine that applies subtractive manufacturing to the work, a machine that irradiates light such as a laser, and the like. Specifically, like lathes, drilling machines, milling machines, milling machines, gear cutting machines, grinding machines, multi-axis machines, laser machines, laminating machines, etc., numerically controlled based on the NC program, metals, Any machine may be used as long as it is a machine that performs various processing such as turning, cutting, drilling, grinding, polishing, rolling, forging, bending, molding, fine processing, and laminating processing on a work such as wood, stone, and resin. Further, the machine tool may have a measuring function, or may be configured to be able to measure the dimensions of the work using a measuring instrument such as a touch probe or a camera.
  • a measuring instrument such as a touch probe or a camera.
  • the machine tool 210 is, for example, a 3-axis machine tool, and includes a spindle motor 211 and a feed shaft motor 212 as machine elements.
  • the spindle motor 211 rotates the tool, and the feed shaft motor 212 linearly moves the table in the X and Y axis directions and linearly moves the tool or the table in the Z axis direction via a ball screw or the like.
  • the machine tool 210 may of course be a 5-axis machine tool.
  • the spindle motor servo controller 213 controls the spindle motor 211 based on a control command from the command output unit 222.
  • the feed shaft motor servo controller 214 controls the feed shaft motor 212 based on a control command from the command output unit 222.
  • the information processing device 200 includes an NC program acquisition unit 201, a code filter unit 202, an NC interpreter 203, an APT conversion unit 204, an optimization processing unit 205, a program transmission unit 206, and a storage unit 207.
  • the NC program acquisition unit 201 acquires the NC program 250 generated by the CAM device 240.
  • the CAM device 240 has a main processor unit 241 and a post processor unit 242.
  • the main processor unit 241 generates CL data 243 based on the shape data acquired from the CAD (Computer-Aided Design) device 260.
  • the post processor unit 242 generates the NC program 250 from the CL data 243.
  • the code filter unit 202 reads out a list of codes that are not compliant with ISO4343: 2000 stored in the storage unit 207 among the codes included in the machining program, and deletes them from the NC program.
  • the standard code defined in ISO4343: 2000 is a code for NC control such as shaft position and feed rate, PLC (Programmable Logic Controller) control such as gripping of a work and on / off of coolant. These are the basic control commands that can be interpreted by any numerical controller.
  • the NC interpreter 203 interprets each of a plurality of codes included in the filtered NC program.
  • the NC interpreter 203 realizes the same function as the NC interpreter 221 included in the numerical control device 220.
  • the APT conversion unit 204 performs inverse conversion from the interpreted NC program to the CL data described in APT. Normally, the post processor unit 242 performs the conversion from APT to NC in general, but the APT conversion unit 204 performs the inverse conversion from NC to APT.
  • the optimization processing unit 205 generates an NC program 230 optimized for the CL data described in APT.
  • the optimization processing unit 205 deletes unnecessary codes that are unnecessary for the machine tool 210 or the numerical control device 220, and adds a function code that realizes a function unique to the machine tool 210 or the numerical control device 220, at least one of them. Is executed in the machining program 250.
  • the program transmission unit 206 transmits the optimized NC program 230 to the numerical control device 220.
  • the optimization process has advantages for machining such as shortening of machining time, improvement of machining accuracy, saving of electric power and coolant, efficient removal of chips, efficiency improvement by visualization of process control, measurement processing, etc. It is a concept that includes all the processes that bring about. Specifically, examples of the optimization process include, but are not limited to, the following (1) to (4).
  • machining accuracy and machining time are optimized by specifying the desired machining mode. be able to.
  • A) Time priority mode A mode in which shortening of machining time is given top priority. Used when the required accuracy is low such as roughing.
  • B) Intermediate mode A mode between the time priority mode and the accuracy priority mode. Used for semi-finishing, etc., where high accuracy and short time are required.
  • Accuracy highest priority mode A mode in which machining accuracy is further prioritized over accuracy priority mode.
  • the storage unit 207 stores a program module that realizes an NC program acquisition unit 201, an NC interpreter 203, an APT conversion unit 204, an optimization processing unit 205, and a program transmission unit 206. Further, the storage unit 207 stores the command table and machine tool information in addition to the above-mentioned optimization processing information.
  • the command table is a table showing the correspondence between the commands and arguments of the standardized format and the commands (NC code) of the NC program.
  • the machine tool information is information about various machine tools of different machine tool manufacturers and models, such as machine origin, model stroke length, machine-specific command G code, M code (Mxx, Mxy), etc. It may contain the following information: (1) Model number of machine tool (2) Option information (number of turrets, spindle diameter, servo, type and presence of chip conveyor, type and presence of measuring device) (3) Usable tool types (eg drill, end mill) (4) Magazine pot number and pot number
  • FIG. 3 is a diagram conceptually explaining the flow of processing from the CAM device 240 to the machine tool 210.
  • the model is input in step S301, the machining shape is defined in step S302, and then the process design (cutting condition setting) is performed in step S303. Further, in step S304, CL data is generated based on the process design.
  • CL simulation is performed in step S305 and it is confirmed whether or not interference occurs in the path of the tool, NC program is generated from CL data in S306.
  • the information processing apparatus 200 filters and deletes the non-standardized code in step S307, interprets the received NC program in step S308, and optimizes the NC program in step S309. Specifically, regarding cutting, standardization of cutting force and tool feed, and regarding AM (Additive Manufacturing), stacking conditions, stage feed, laser output, powder supply amount, etc., or measurement functions are optimized, and the CAM device 240 is used. Add code to the NC program. After that, in the machine tool 210, actual machining is performed in step S310.
  • AM Advanced Manufacturing
  • FIG. 4 illustrates that the information processing apparatus 200 interprets and optimizes different types of NC programs 250a to 250c generated by the respective post processor units 242a to 242c by the CAM apparatus 240a to 240c of different vendors. It is a conceptual diagram to be processed. As shown in FIG. 4, the optimization function peculiar to the machine tool or the numerical control device can be automatically added to the NC program without depending on the type of the CAM device. As a result, the functions of the machine tool and the numerical control device can be fully utilized. For example, it is possible to shorten the processing time, improve the surface quality, save electric power and coolant, efficiently remove facets, and improve efficiency by visualizing process control.
  • the code filter unit 202 of the present embodiment has decided to filter and delete the non-standardized code, but the present invention is not limited to this.
  • the configuration may be such that the user can select from the following two options. It is desirable that the GM code filter can be edited by the machining operator. 1. Output as it is 2. Delete the code in the GM code filter
  • G0, G1, G2, and G3 have a common G code for all CAM devices (specified by ISO), but the optimization processing unit 204 uses such an ISO compliant G code. , Gives an optimization function.
  • a setting unit for setting whether or not to delete a plurality of types of non-standardized codes from the machining program is further provided, and the code filter unit 202 filters the machining program according to the setting contents in the setting unit. You may.
  • FIGS. 5A and 5B are diagrams showing specific examples from filtering to optimization of NC programs.
  • the code filter unit 202 deletes the ISO non-compliant code for the NC program example 250a output from the post processor unit 242a of the CAM device 240a.
  • ISO non-compliant G-codes and M-codes are recorded in the code list in advance.
  • G code and M code that do not exist in the code list are output to NC interpreter 203 as they are.
  • the NC interpreter 203 gives the interpretation result 501 to the NC program.
  • FIGS. 5A and 5B are merely conceptually shown, and do not mean that data is added in Japanese in this way.
  • the optimization processing unit 205 analyzes the interpretation result 501 and inserts a cutting mode setting code 502 called G332 immediately before the cutting start code G01 to optimize the machining before the cutting start.
  • G332 is a code for selecting the machining mode (cutting mode) of the above-mentioned (a) to (d). Specifically, in the NC program, any one of "G332R1", “G332R2", “G332R3”, and “G332R4" is inserted immediately before the cutting start code G01.
  • the arguments R1 to R4 are set in the following cases, respectively.
  • R1 Set at the time of rough machining (time priority mode)
  • R2 Set at the time of semi-finishing (intermediate mode)
  • R3 Set at the time of finishing (precision priority mode)
  • R4 User manually sets only when he / she wants to set (precision top priority mode)
  • G332 is a code that depends on the vendor of the numerical control device 220, and realizes optimization according to the numerical control device 220. Specifically, when the NC program 250a is inversely converted by the NC interpreter 203 to optimize the APT format CL data generated by executing a predetermined script, and then the NC program is converted to the NC program again. , G332 is inserted before G01. As another method, the optimization macro that searches for G01 and inserts G332 immediately before G01 may be executed while the NC program 250a remains. In this case, it is preferable to have a table in which the code to be inserted (for example, G332) and its position (for example, immediately before G01) are associated with each other.
  • the code to be inserted for example, G332
  • its position for example, immediately before G01
  • the NC program 230a to which the machining conditions are given is output to the numerical control device 220.
  • a predetermined code is deleted by the code filter unit 202 with respect to an example 250a of the program before processing output from the post processor unit 242a of the CAM device 240a.
  • the predetermined G code and M code are recorded in the code list in advance. G code and M code that do not exist in the code list are output to NC interpreter 203 as they are.
  • the NC interpreter 203 imparts an interpretation result 501 to the processed program.
  • the information processing apparatus 200 deletes or ignores the preset function code among the function codes whose functions are not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 from the program before processing. (Comment out) Process. Then, it is provided with an information processing unit that detects a starting point code that is a starting point among a plurality of codes included in the program before processing, performs a process of adding an additional code corresponding to the starting point code, and generates a program after the processing. ..
  • JIS B 6315-1 2013
  • M07 to M09 do not have a function description in JIS B 6315-1: 2013, but include codes specified by other ISOs. If it is M07, it is described as "Refer to ISO / TR 6983-2.”
  • Codes whose functions are not specified in JIS B 6315-1: 2013 are G05, G07, G50 to G52, G100 to G999, etc. This G code is numbered in JIS B 6315-1: 2013, but the function is not specified.
  • codes whose functions are not specified in JIS B 6315-1: 2013 include codes that are not described in JIS B 6315-1: 2013 such as M51 and M59.
  • An example of the starting code is G01, and the additional code corresponding to G01 is G332, which is added before G01.
  • NC programs having different output positions and output codes can be similarly supported, and ISO-compliant NC codes can be interpreted. It is possible to generate and output an NC program with machining conditions.
  • G84 is a code whose function is not specified in JIS B 6315-1: 2013, and the function can be set for each numerical control device manufacturer. For example, it is assumed that maker A and maker B set G84 as a tapping cycle. The code filter unit 202 may delete or ignore this G84, but may leave it. Even if the function is not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013, it is possible to leave a specific code in which a function common to many manufacturers is set. Specifically, if the acquired CL data contains information that identifies the G84 and the numerical control device manufacturer, it may be converted into an NC program corresponding to the G84 of that manufacturer.
  • G84 may be used as a starting point code. That is, the code to be deleted or ignored because the function is not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 may be the same as the starting code.
  • the origin code may be deleted in the output NC program after functioning as the origin.
  • FIG. 6 is a diagram for explaining the configuration of the information processing apparatus 600 according to the present embodiment.
  • the information processing apparatus 600 according to the present embodiment is different from the second embodiment in that it has a standardized CL data acquisition unit 601 and an NC program generation unit 602. Since other configurations and operations are the same as those in the second embodiment, the same configurations and operations are designated by the same reference numerals and detailed description thereof will be omitted.
  • a CL data standardization unit 644 that generates standardized CL data 645 with standardization information added to the CL data 643 output from the main processor unit 641 can be incorporated.
  • the "standardized information” is information based on a rule defined between a plurality of output devices such as a CAM device and a numerical control device.
  • the CL data standardization unit 644 identifies the unique control information contained in the CL data and generates standardized CL data 645 labeled in a standardized format corresponding to the unique control information.
  • the standardized CL data acquisition unit 601 of the information processing apparatus 600 acquires the standardized CL data 645, and the NC program generation unit 602 generates an NC program 630 based on the NC code and CL data corresponding to the standardization information.
  • machining process information 632 and NC macro 633 linked with the CL data standardization unit 644 can be added to the NC program 630 generated in this way.
  • specific control commands including the following specific control information can also be incorporated into the NC program 630.
  • A "Specific control information of the numerical control device” originally implemented by the numerical control device manufacturer of the machine tool.
  • B "Machine tool specific control information” originally implemented by the machine tool manufacturer
  • C "Specific control information of the machine tool user” independently implemented by the machine tool user.
  • (a) specific control information of the numerical control device includes the following.
  • Model number of numerical control device example: RPFK
  • Numerical control device manufacturer's custom macro Tapping cycle (TAP), G84XYZRPFK (manufacturer A), G84XYZPF, R00, I, J, L (manufacturer B)
  • Model number of machine tool (example: MORI) (2) Custom macro of machine tool manufacturer Example: Macro related to drill corresponding to the model number of machine tool (G432 etc.)
  • unique control information that can be set by the user of the machine tool includes the following.
  • Drilling cycle pattern example: CYCLE
  • Custom macros for machine tool users Example: Macros that correspond to the drilling cycle pattern (CYCLE) (G65P1000, etc.)
  • standardized CL data 645 is generated using standardized information based on the rules defined between the CAM device and the numerical control device, such as a standardized format for standardizing the specifications. Generated. That is, in the present embodiment, the specific control information is information such as custom macros, machining process information, etc. other than the information specified in ISO4343: 2000.
  • NC macro 633 which is one of the unique control information, is a program for extending G code and M code.
  • the NC macro 633 allows each machine tool manufacturer, machine tool maker, and machine tool user to implement their own unique functions (Gxx, Gxy, Mxx, Mxy, etc.).
  • the machining process information 632 which is one of the unique control information, is additional information for grasping the process management and various machining information by the HMI 610 and realizing the function for the purpose of work efficiency and traceability.
  • the HMI 610 is an application program for operating a machine tool and an application program for monitoring the state of the machine tool, and can be mounted on a tablet, a smartphone, or the like. Therefore, by visualizing various data in the HMI, the operability of the machine tool is improved.
  • the unique control information of the numerical control device (b) the unique control information of the machine tool, and (c) the unique control information of the user of the machine tool are not necessarily all required. Depending on the type of work and the machining method, it may be sufficient to generate the NC program in consideration of at least one or two unique control information.
  • the standardized format which is one of the standardized information, includes a command name and an argument name that can be specified by the command, and is stored in advance in the information processing apparatus 600.
  • a command name indicating the measurement function
  • an argument "FIN” indicating finishing processing
  • an argument "ROUGH” indicating rough processing
  • the PLC (programmable logic controller) 620 can be controlled by the NC macro 633, which is a control peculiar to the machine maker.
  • the information processing device 600 may be configured to display the function selection dialog 700 as shown in FIG. 7 on the display device so that the user can select the optimization process.
  • the NC program generation unit 602 outputs an NC program that has been optimized by the user. It is converted into the NC program which has been subjected to the optimization processing selected in the standardization correspondence display part 801.
  • the standardized CL data includes data related to the movement (operation link) that connects operations, but depending on the CAM model, the output CL data may not include such data. be. Therefore, the NC program generation unit 602 may add an operation link.
  • the NC program generation unit 602 may add an operation link. For example, in the operation link selection unit 801 of the function selection dialog 700 as shown in FIG. 8, it is also possible to generate an NC program including a path selected by the user. With this configuration, the user can use the optimum path generation function without depending on the CAM model.
  • FIG. 9 and 10 are diagrams showing an example of optimizing an NC program.
  • the CAM devices 640a to 640c of the companies A, B, and C are provided with the CL data standardization function and the CAD data is taken in, they are labeled in the standardized format (PROCMOD / FIN) that specifies the finishing process.
  • the created CL data 645 is output.
  • the information processing apparatus 600 reads the NC code (G915H42) corresponding to the standardized format (PROCMOD / FIN) from the command table 1001, reflects it in the NC program, and outputs it as an optimized NC program 630.
  • the measurement function is automatically turned on only in finish machining and the measurement function is automatically turned off in rough machining.
  • the NC program is optimized to correspond to the extended function by the user.
  • a high-speed deep drilling cycle G73 is selected from the fixed cycles of the G code.
  • G73 high-speed deep drilling cycle
  • standardized formats such as "DRILL1" and "DRILL2" that indicate the extended function by the user are defined in advance in the command table, and the corresponding NC code is left blank (reserved state). Then, the custom macro (G65P1000) to be called is additionally implemented in the blank corresponding to "DRILL1".
  • the information processing apparatus 600 that has received the CL data 645 reads the NC code (G65P1000) corresponding to the standardized format from the command table 1101, reflects it in the NC program, and outputs it as the optimized NC program 630.
  • the custom macro created by the user is called and the drilling is executed.
  • the NC program can be optimized to correspond to the extended function by the user.
  • a framework for generating a post processor that incorporates an optimization function has been constructed.
  • a standardized APT can be constructed and many optimization functions can be realized based on the generated standardized CL code.
  • the information processing device 600 functions as a common post processor that does not depend on the CAM device or the numerical control device, and the optimization function can be realized.
  • the optimization function which conventionally had to be implemented individually for each machine, can be used as a POST standard function, and the burden on the machine tool user can be reduced.
  • NC programs have already been standardized by ISO, but other machine manufacturer-specific controls can also be standardized and optimized.
  • CL data standardization unit 644 By standardizing the CL data in the CL data standardization unit 644, various optimization functions can be used in the NC program generation unit 602.
  • the present invention may be applied to a system composed of a plurality of devices, or may be applied to a single device. Further, the present invention is also applicable when an information processing program that realizes the functions of the embodiment is supplied to a system or an apparatus and executed by a built-in processor.
  • the technical scope of the present invention includes a program installed in the computer, a medium containing the program, a server for downloading the program, and a processor for executing the program. ..
  • at least a non-transitory computer readable medium containing a program that causes a computer to execute the processing steps included in the above-described embodiment is included in the technical scope of the present invention.
  • it is an information processing method for generating a machining program used in a numerical control device for controlling machining in a machine tool.
  • a code filter step that filters to remove non-standardized code from multiple codes contained in a machining program generated in a computer-aided manufacturing system.
  • a machining program interpretation step that interprets a plurality of codes included in the machining program filtered by the code filter step, respectively.
  • An optimization processing step that optimizes the code included in the machining program according to the interpretation result of the machining program interpretation step to generate a new optimized machining program, and Information processing methods including An information processing program that generates a machining program used in a numerical control device that controls machining in a machine tool.
  • a code filter step that filters to remove non-standardized code from multiple codes contained in a machining program generated in a computer-aided manufacturing system.
  • a machining program interpretation step that interprets a plurality of codes included in the machining program filtered by the code filter step, respectively.
  • An optimization processing step that optimizes the code included in the machining program according to the interpretation result of the machining program interpretation step to generate a new optimized machining program, and
  • An information processing program for causing a computer to execute an information processing program is also included in the technical scope of the present invention.

Abstract

An information processing device for processing a program which is executed by a numerical control device of a machine tool, the information processing device comprising an information processing unit that performs processing for deleting or ignoring, from a program before processing, a preset setting function code among function codes of which functions are not specified by ISO 6983-1:2009 or JIS B 6315-1:2013, detects an origin code that is an origin of a plurality of codes included in the program before processing, performs processing for adding an additional code corresponding to the origin code, and generates a program after processing.

Description

情報処理装置および情報処理プログラムInformation processing equipment and information processing programs
 本発明は、情報処理装置やプログラムに関する。 The present invention relates to an information processing device and a program.
 上記技術分野において、特許文献1には、CAM(Computer Aided Manufacturing)で生成されたCL(Cutter Location)データの位置決め経路を自動的に最適化するための技術が開示されている。 In the above technical field, Patent Document 1 discloses a technique for automatically optimizing the positioning path of CL (Cutter Location) data generated by CAM (Computer Aided Manufacturing).
特許第6438023号公報Japanese Patent No. 6438023
 しかしながら、上記文献に記載の技術では、CLデータは、ISO(International Organization for Standardization:国際標準化機構)で標準化されたフォーマットのみならず、CAMメーカーごとに異なる独自のフォーマットで生成されている。 However, in the technique described in the above document, CL data is generated not only in the format standardized by ISO (International Organization for Standardization) but also in a unique format different for each CAM manufacturer.
 このため、CLデータをNCプログラムへ変換するには、異なるCAM装置ごとに独自のポストプロセッサを開発しなければならず、その開発に膨大な費用や時間がかかる。 Therefore, in order to convert CL data to an NC program, it is necessary to develop a unique post processor for each different CAM device, and the development requires enormous cost and time.
 一方、工作機械メーカー各社から多種多様の工作機械が展開されているため、CAM装置の販売店が、各工作機械が有する様々なオプション機能を盛り込んだNCプログラムへ変換可能なポストプロセッサを開発することは困難である。よって、特許文献1のようにCLデータにおいて、工作機械に有用な機能が実装されていても、CLデータからNCプログラムへ変換することができず、汎用的な機能しか利用できていない。 On the other hand, since a wide variety of machine tools are being developed by machine tool manufacturers, CAM equipment dealers should develop postprocessors that can be converted into NC programs that incorporate various optional functions of each machine tool. It is difficult. Therefore, even if a function useful for the machine tool is implemented in the CL data as in Patent Document 1, the CL data cannot be converted into an NC program, and only a general-purpose function can be used.
 そこで、本発明は、
 工作機械の数値制御装置で実行されるプログラムを処理する情報処理装置であって、
 処理前のプログラムからISO 6983-1:2009またはJIS B 6315-1:2013で機能が未指定である機能コードのうちのあらかじめ設定された設定機能コードを削除または無視する処理をし、処理前のプログラムに含まれる複数のコードのうちの起点になる起点コードを検出し、前記起点コードに対応した追加コードを追加する処理をし、処理後のプログラムを生成する情報処理部を備える、情報処理装置を提供するものである。
 また、本発明は、情報処理装置、工作機械、プログラムなどを提供するものである。
Therefore, the present invention
An information processing device that processes programs executed by the numerical control device of a machine tool.
Delete or ignore the preset function code of the function codes whose functions are not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 from the program before processing, and before processing An information processing device including an information processing unit that detects a starting point code that is a starting point among a plurality of codes included in a program, performs a process of adding an additional code corresponding to the starting point code, and generates a processed program. Is to provide.
The present invention also provides an information processing device, a machine tool, a program, and the like.
 本発明によれば、工作機械などの機械のパフォーマンスをより高いレベルで実現できるプログラムの生成が可能ある。 According to the present invention, it is possible to generate a program that can realize the performance of a machine tool or the like at a higher level.
第1実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on 1st Embodiment. 第2実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の流れを説明する図である。It is a figure explaining the process flow of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の概要を示す図である。It is a figure which shows the outline of the processing of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の一例を示す図である。It is a figure which shows an example of the processing of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の他の例を示す図である。It is a figure which shows the other example of the processing of the information processing apparatus which concerns on 2nd Embodiment. 第3実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の処理の具体例を示す図である。It is a figure which shows the specific example of the processing of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の処理の具体例を示す図である。It is a figure which shows the specific example of the processing of the information processing apparatus which concerns on 3rd Embodiment.
 以下に、図面を参照して、本発明の実施の形態について例示的に詳しく説明する。ただし、以下の実施の形態に記載されている構成要素はあくまで例示であり、本発明の技術範囲をそれらのみに限定する趣旨のものではない。 Hereinafter, embodiments of the present invention will be described in detail exemplary with reference to the drawings. However, the components described in the following embodiments are merely examples, and the technical scope of the present invention is not limited to them.
 [第1実施形態]
 本発明の第1実施形態としての情報処理装置100について、図1を用いて説明する。情報処理装置100は、コンピュータ支援製造システムとしてのCAM装置140において生成された加工プログラム150に基づいて、数値制御装置120で用いられる加工プログラム130を生成するための装置である。加工プログラム150としては、例えばNC(Numerical Control)プログラムなどが挙げられる。
[First Embodiment]
The information processing apparatus 100 as the first embodiment of the present invention will be described with reference to FIG. The information processing apparatus 100 is an apparatus for generating a machining program 130 used in the numerical control device 120 based on the machining program 150 generated in the CAM apparatus 140 as a computer-aided manufacturing system. Examples of the machining program 150 include an NC (Numerical Control) program.
 図1に示すように、情報処理装置100は、コードフィルタ部101と、加工プログラム解釈部102と、最適化処理部103と、記憶部104とを含む。 As shown in FIG. 1, the information processing apparatus 100 includes a code filter unit 101, a machining program interpretation unit 102, an optimization processing unit 103, and a storage unit 104.
 コードフィルタ部101は、CAM装置140において生成された加工プログラム150に含まれる複数のコードのうち、標準化されていないコードを削除するフィルタリングを行う。 The code filter unit 101 performs filtering to delete non-standardized codes from a plurality of codes included in the machining program 150 generated by the CAM device 140.
 加工プログラム解釈部102は、フィルタリング後の加工プログラム160に含まれる複数のコードをそれぞれ解釈する。 The machining program interpretation unit 102 interprets a plurality of codes included in the filtering program 160, respectively.
 加工プログラム160を解釈した結果は、如何なる形式で表されてもよい。例えば、APT(automatically programmed tools)で記述された工具経路データとしてのCLデータ、もしくは情報処理装置100の内部データといった形式でもよい。APTとは、工作機械の数値制御用に開発されたプログラミング言語であり、製作する機械部品の形状に基づいて工具経路や加工手順を自動的に決定することができる。APTの工具経路決定機能をより精密に改良したEXAPT(extended subset of APT)を用いてもよい。また、加工プログラム解釈部102は、加工プログラム160に含まれている非標準化コード(削除されなかったもの)を標準化コードに置き換えた加工プログラムを解釈結果として出力してもよい。 The result of interpreting the machining program 160 may be expressed in any format. For example, it may be in the form of CL data as tool path data described by APT (automatically programmed tools) or internal data of the information processing apparatus 100. APT is a programming language developed for numerical control of machine tools, and can automatically determine tool paths and machining procedures based on the shape of machine parts to be manufactured. EXAPT (extended subset of APT), which is a more precise improvement of the tool route determination function of APT, may be used. Further, the machining program interpretation unit 102 may output a machining program in which the non-standardized code (not deleted) included in the machining program 160 is replaced with the standardized code as an interpretation result.
 最適化処理部103は、加工プログラム解釈部102における解釈の結果に最適化処理を実行する。具体的には、工作機械110や数値制御装置120の仕様に応じて加工プログラム150に含まれるコードを更新して最適化加工プログラム130を生成する。最適化処理を施された最適化加工プログラム130は、数値制御装置120に送信される。 The optimization processing unit 103 executes the optimization processing on the result of the interpretation in the machining program interpretation unit 102. Specifically, the code included in the machining program 150 is updated according to the specifications of the machine tool 110 and the numerical control device 120 to generate the optimized machining program 130. The optimization processing program 130 subjected to the optimization processing is transmitted to the numerical control device 120.
 記憶部104には各種プログラムモジュール141が保存されている。不図示のプロセッサが、各種プログラムモジュール141を実行することにより、コードフィルタ部101や加工プログラム解釈部102や最適化処理部103の機能を実現する。 Various program modules 141 are stored in the storage unit 104. A processor (not shown) realizes the functions of the code filter unit 101, the machining program interpretation unit 102, and the optimization processing unit 103 by executing various program modules 141.
 記憶部104は、さらに標準化されていないコードのコードリスト142を記憶している。コードフィルタ部101がコードリスト142を参照することにより、非標準化コードの少なくとも一部を削除してから加工プログラム解釈部102での解釈に進む。 The storage unit 104 further stores the code list 142 of the non-standardized code. By referring to the code list 142, the code filter unit 101 deletes at least a part of the non-standardized code, and then proceeds to the interpretation by the machining program interpretation unit 102.
 以上の構成によれば、様々なCAM装置から出力される加工プログラムを解釈して最適化機能を付与した新たな加工プログラムを工作機械の数値制御装置に出力できる。結果としてCAM装置の種別に依存することなく、工作機械や数値制御装置に固有の最適化機能を自動的に加工プログラムに付与することができ、工作機械や数値制御装置の機能を最大限に生かすことができる。例えば、加工時間の短縮、面品位の向上、電力やクーラントの節約、切子の効率的な除去、工程管理の可視化による効率化などを実現することができる。この際、コードフィルタ部101によるフィルタリング後の加工プログラムの解釈を行うため、加工プログラム解釈部の開発負荷を小さくすることができる。なお、情報処理装置100が有する機能を工作機械110内部に実装させてもよい。 According to the above configuration, it is possible to interpret the machining programs output from various CAM devices and output a new machining program with an optimization function to the numerical control device of the machine tool. As a result, the optimization function peculiar to the machine tool and the numerical control device can be automatically added to the machining program without depending on the type of the CAM device, and the function of the machine tool and the numerical control device can be fully utilized. be able to. For example, it is possible to shorten the processing time, improve the surface quality, save electric power and coolant, efficiently remove facets, and improve efficiency by visualizing process control. At this time, since the machining program after filtering is interpreted by the code filter unit 101, the development load of the machining program interpretation unit can be reduced. The function of the information processing apparatus 100 may be mounted inside the machine tool 110.
 [第2実施形態]
 本発明の第2実施形態としての情報処理装置200について、図2を用いて説明する。情報処理装置200は、数値制御装置220で用いられる加工プログラムとしてのNCプログラム230を生成するための装置である。数値制御装置220は、工作機械210における加工を数値制御する装置であり、NCプログラム230を解釈するNCインタプリタ221と工作機械210を制御指令を出力する指令出力部222とを含む。
[Second Embodiment]
The information processing apparatus 200 as the second embodiment of the present invention will be described with reference to FIG. The information processing device 200 is a device for generating an NC program 230 as a machining program used in the numerical control device 220. The numerical control device 220 is a device that numerically controls machining in the machine tool 210, and includes an NC interpreter 221 that interprets the NC program 230 and a command output unit 222 that outputs a control command to the machine tool 210.
 工作機械210としては、例えば、ワークに付加加工(Additive Manufacturing)を加える機械、ワークに除去加工(Subtractive Manufacturing)を加える機械、レーザなどの光を照射して加工する機械などが挙げられる。具体的には、旋盤、ボール盤、中ぐり盤、フライス盤、歯切り盤、研削盤、多軸加工機、レーザ加工機、積層加工機等のように、NCプログラムに基づいて数値制御され、金属、木材、石材、樹脂等のワークに対して、旋削、切断、穿孔、研削、研磨、圧延、鍛造、折り曲げ、成形、微細加工、積層加工等の各種の加工を施す機械であればよい。さらに、工作機械は計測機能を有するものでもよく、タッチプローブやカメラ等の計測器を用いてワークの寸法等を計測可能に構成されたものでもよい。 Examples of the machine tool 210 include a machine that adds additive manufacturing to the work, a machine that applies subtractive manufacturing to the work, a machine that irradiates light such as a laser, and the like. Specifically, like lathes, drilling machines, milling machines, milling machines, gear cutting machines, grinding machines, multi-axis machines, laser machines, laminating machines, etc., numerically controlled based on the NC program, metals, Any machine may be used as long as it is a machine that performs various processing such as turning, cutting, drilling, grinding, polishing, rolling, forging, bending, molding, fine processing, and laminating processing on a work such as wood, stone, and resin. Further, the machine tool may have a measuring function, or may be configured to be able to measure the dimensions of the work using a measuring instrument such as a touch probe or a camera.
 工作機械210は、例えば3軸加工機であり、機械要素として、主軸モータ211および送り軸モータ212を含む。主軸モータ211は、工具を回転させ、送り軸モータ212は、ボールねじ等を介してテーブルをX,Y軸方向に直線移動させたり、工具またはテーブルをZ軸方向に直線移動させたりする。工作機械210はもちろん5軸加工機でもよい。 The machine tool 210 is, for example, a 3-axis machine tool, and includes a spindle motor 211 and a feed shaft motor 212 as machine elements. The spindle motor 211 rotates the tool, and the feed shaft motor 212 linearly moves the table in the X and Y axis directions and linearly moves the tool or the table in the Z axis direction via a ball screw or the like. The machine tool 210 may of course be a 5-axis machine tool.
 主軸モータサーボコントローラ213は、指令出力部222からの制御指令に基づいて主軸モータ211を制御する。送り軸モータサーボコントローラ214は指令出力部222からの制御指令に基づいて送り軸モータ212を制御する。 The spindle motor servo controller 213 controls the spindle motor 211 based on a control command from the command output unit 222. The feed shaft motor servo controller 214 controls the feed shaft motor 212 based on a control command from the command output unit 222.
 情報処理装置200は、NCプログラム取得部201と、コードフィルタ部202と、NCインタプリタ203と、APT変換部204と、最適化処理部205と、プログラム送信部206と、記憶部207を含む。 The information processing device 200 includes an NC program acquisition unit 201, a code filter unit 202, an NC interpreter 203, an APT conversion unit 204, an optimization processing unit 205, a program transmission unit 206, and a storage unit 207.
 NCプログラム取得部201は、CAM装置240において生成されたNCプログラム250を取得する。CAM装置240は、メインプロセッサ部241とポストプロセッサ部242とを有する。メインプロセッサ部241は、CAD(Computer-Aided Design)装置260から取得した形状データに基づいてCLデータ243を生成する。ポストプロセッサ部242は、CLデータ243からNCプログラム250を生成する。 The NC program acquisition unit 201 acquires the NC program 250 generated by the CAM device 240. The CAM device 240 has a main processor unit 241 and a post processor unit 242. The main processor unit 241 generates CL data 243 based on the shape data acquired from the CAD (Computer-Aided Design) device 260. The post processor unit 242 generates the NC program 250 from the CL data 243.
 コードフィルタ部202は、加工プログラムに含まれているコードのうち、記憶部207に記憶されたISO4343:2000に非準拠のコードのリストを読み出し、NCプログラムから削除する。ISO4343:2000で規定されている標準コードは、軸位置や送り速度等のNC制御や、ワークの把持、クーラントのオン/オフ等のPLC(Programmable Logic Controller)制御などのためのコードである。これらはどんな数値制御装置でも解釈可能な基本的な制御指令である。 The code filter unit 202 reads out a list of codes that are not compliant with ISO4343: 2000 stored in the storage unit 207 among the codes included in the machining program, and deletes them from the NC program. The standard code defined in ISO4343: 2000 is a code for NC control such as shaft position and feed rate, PLC (Programmable Logic Controller) control such as gripping of a work and on / off of coolant. These are the basic control commands that can be interpreted by any numerical controller.
 NCインタプリタ203は、フィルタリング後のNCプログラムに含まれる複数のコードをそれぞれ解釈する。NCインタプリタ203は、数値制御装置220が備えているNCインタプリタ221と同等の機能を実現する。APT変換部204は、解釈したNCプログラムからAPTで記述されたCLデータへの逆変換を行う。通常は、ポストプロセッサ部242でAPT→NCの変換が一般的に行われるが、APT変換部204では、NC→APTという逆変換を行う。 The NC interpreter 203 interprets each of a plurality of codes included in the filtered NC program. The NC interpreter 203 realizes the same function as the NC interpreter 221 included in the numerical control device 220. The APT conversion unit 204 performs inverse conversion from the interpreted NC program to the CL data described in APT. Normally, the post processor unit 242 performs the conversion from APT to NC in general, but the APT conversion unit 204 performs the inverse conversion from NC to APT.
 最適化処理部205は、APTで記述されたCLデータに対して最適化したNCプログラム230を生成する。最適化処理部205は、工作機械210または数値制御装置220に不要な不要コードの削除、および、工作機械210または数値制御装置220に固有の機能を実現する機能コードの追加、の少なくともいずれか一方を加工プログラム250に実行する。プログラム送信部206は、最適化されたNCプログラム230を数値制御装置220に送信する。 The optimization processing unit 205 generates an NC program 230 optimized for the CL data described in APT. The optimization processing unit 205 deletes unnecessary codes that are unnecessary for the machine tool 210 or the numerical control device 220, and adds a function code that realizes a function unique to the machine tool 210 or the numerical control device 220, at least one of them. Is executed in the machining program 250. The program transmission unit 206 transmits the optimized NC program 230 to the numerical control device 220.
 ここで最適化処理とは、加工時間の短縮、加工精度の向上、電力やクーラントの節約、切屑の効率的な除去、工程管理の可視化による効率化、計測処理等のように、機械加工にメリットをもたらす全ての処理を含む概念である。具体的には、最適化処理として、以下に示す(1)~(4)のようなものが挙げられるが、これらに限定されない。 Here, the optimization process has advantages for machining such as shortening of machining time, improvement of machining accuracy, saving of electric power and coolant, efficient removal of chips, efficiency improvement by visualization of process control, measurement processing, etc. It is a concept that includes all the processes that bring about. Specifically, examples of the optimization process include, but are not limited to, the following (1) to (4).
(1)サーボ特性の最適化
 カスタムマクロによって下記(a)~(d)のような加工モードが実装されている場合、所望の加工モードを指定することにより、加工精度や加工時間を最適化することができる。
 (a)時間優先モード:加工時間の短縮を最優先するモード。荒加工など要求精度が低い場合に使用する。
 (b)中間モード:時間優先モードと精度優先モードとの中間にあたるモード。高精度と短時間が要求される中仕上げ加工等に使用する。
 (c)精度優先モード:加工精度の向上を優先するモード。加工精度や仕上げ面を要求される場合に使用する。
 (d)精度最優先モード:精度優先モードよりも加工精度をさらに優先するモード。
(1) Optimization of servo characteristics When the following machining modes (a) to (d) are implemented by the custom macro, the machining accuracy and machining time are optimized by specifying the desired machining mode. be able to.
(A) Time priority mode: A mode in which shortening of machining time is given top priority. Used when the required accuracy is low such as roughing.
(B) Intermediate mode: A mode between the time priority mode and the accuracy priority mode. Used for semi-finishing, etc., where high accuracy and short time are required.
(C) Accuracy priority mode: A mode that prioritizes improvement of machining accuracy. Used when machining accuracy and finished surface are required.
(D) Accuracy highest priority mode: A mode in which machining accuracy is further prioritized over accuracy priority mode.
(2)サーボ特性の自動最適化
 PLCによってサーボを自動調整する機能が実装されている場合、ワークや治具の質量や慣性モーメントを計測し、そのフィードバック値に基づいて最適な加減速を設定する。具体的には、ワークや治具の質量が重く、慣性モーメントが大きい場合、加減速を抑制し、安定した位置決めを実現する。一方、ワークや治具の質量が軽く、慣性モーメントが小さい場合、加減速を最大限に引き上げ、加工時間の短縮を実現する。
(2) Automatic optimization of servo characteristics When the function to automatically adjust the servo by PLC is implemented, the mass and moment of inertia of the work or jig are measured, and the optimum acceleration / deceleration is set based on the feedback value. .. Specifically, when the mass of the work or jig is heavy and the moment of inertia is large, acceleration / deceleration is suppressed and stable positioning is realized. On the other hand, when the mass of the work or jig is light and the moment of inertia is small, acceleration / deceleration is maximized and the machining time is shortened.
(3)チップコンベアのオン/オフ制御の最適化
 PLCによって切屑を排出するチップコンベヤのオン/オフ機能が実装されている場合、加工シミュレーションによって時間経過に伴う切屑の体積を算出し、その切屑の量に応じてチップコンベアのオン/オフ制御を最適化する。具体的には、非切削時や切屑の量が少ない時間帯にはチップコンベヤをオフにすることで、チップコンベヤの駆動電力が節約されるとともに、切削油の使用効率が向上する。
(3) Optimization of on / off control of chip conveyor When the on / off function of the chip conveyor that discharges chips is implemented by PLC, the volume of chips over time is calculated by machining simulation, and the chips are calculated. Optimize the on / off control of the chip conveyor according to the amount. Specifically, by turning off the chip conveyor during non-cutting or when the amount of chips is small, the driving power of the chip conveyor is saved and the efficiency of cutting oil usage is improved.
(4)工程管理の最適化
 CAM装置、情報処理装置、工作機械のHMIのNCビューワー間で同一加工に対して、共通の加工工程IDでタグ付けする機能が実装されている場合、以下のような機能を実現でき、工程管理が最適化される。
 ・後工程で変更点を表示または更新する機能
 ・工作機械を運転する際は変更点をハイライト表示する機能
 ・直前の位置決め指令で停止する機能
 ・送り速度や主軸回転数等の数値のみ変更されている場合は、前工程に変更点をアップデートする機能
(4) Optimization of process management When the function of tagging the same machining with the common machining process ID is implemented among the NC viewers of the CAM device, information processing device, and HMI of the machine tool, it is as follows. Functions can be realized and process control is optimized.
・ Function to display or update changes in the post-process ・ Function to highlight changes when operating the machine tool ・ Function to stop by the positioning command immediately before ・ Only numerical values such as feed rate and spindle speed are changed If so, the ability to update changes to the previous process
 記憶部207は、NCプログラム取得部201、NCインタプリタ203、APT変換部204、最適化処理部205、およびプログラム送信部206を実現するプログラムモジュールを記憶している。また、記憶部207は、上述の最適化処理情報の他、コマンドテーブルおよび工作機械情報を記憶している。ここでコマンドテーブルは、標準化フォーマットのコマンドおよび引数と、NCプログラムのコマンド(NCコード)との対応関係を示すテーブルである。 The storage unit 207 stores a program module that realizes an NC program acquisition unit 201, an NC interpreter 203, an APT conversion unit 204, an optimization processing unit 205, and a program transmission unit 206. Further, the storage unit 207 stores the command table and machine tool information in addition to the above-mentioned optimization processing information. Here, the command table is a table showing the correspondence between the commands and arguments of the standardized format and the commands (NC code) of the NC program.
 また、工作機械情報は、工作機械メーカや機種が異なる様々な工作機械に関する情報であり、機械原点、機種ストローク長、機械固有指令のGコード、Mコード(Mxx,Mxy)等であり、その他、以下の情報を含む場合がある。
 (1)工作機械の型番
 (2)オプション情報(タレット数、主軸径、サーボ、チップコンベヤの種類や有無、計測装置の種類や有無)
 (3)使用可能工具種(例:ドリル、エンドミル)
 (4)マガジンのポット数やポット番号
The machine tool information is information about various machine tools of different machine tool manufacturers and models, such as machine origin, model stroke length, machine-specific command G code, M code (Mxx, Mxy), etc. It may contain the following information:
(1) Model number of machine tool (2) Option information (number of turrets, spindle diameter, servo, type and presence of chip conveyor, type and presence of measuring device)
(3) Usable tool types (eg drill, end mill)
(4) Magazine pot number and pot number
 図3は、CAM装置240から工作機械210への処理の流れを概念的に説明する図である。
 CAM装置240において、ステップS301でモデル入力を行い、ステップS302で加工形状を定義した後、ステップS303で工程設計(切削条件設定)を行う。さらに、ステップS304では、工程設計に基づいてCLデータを生成する。ステップS305においてCLシミュレーションを行い、工具の経路において干渉が発生しないか確認すると、S306において、CLデータからNCプログラムを生成する。
FIG. 3 is a diagram conceptually explaining the flow of processing from the CAM device 240 to the machine tool 210.
In the CAM device 240, the model is input in step S301, the machining shape is defined in step S302, and then the process design (cutting condition setting) is performed in step S303. Further, in step S304, CL data is generated based on the process design. When CL simulation is performed in step S305 and it is confirmed whether or not interference occurs in the path of the tool, NC program is generated from CL data in S306.
 次に、情報処理装置200は、ステップS307において、非標準化コードをフィルタリングして削除した後、ステップS308において、受け取ったNCプログラムを解釈し、ステップS309において、NCプログラムを最適化する。具体的には、切削に関して切削力の標準化や工具送り、AM(Additive Manufacturing)に関して、積層条件、ステージ送り、レーザ出力、パウダー供給量など、あるいは計測機能などを最適化して、CAM装置240からのNCプログラムにコードを追加する。その後、工作機械210では、ステップS310において実加工を行う。 Next, the information processing apparatus 200 filters and deletes the non-standardized code in step S307, interprets the received NC program in step S308, and optimizes the NC program in step S309. Specifically, regarding cutting, standardization of cutting force and tool feed, and regarding AM (Additive Manufacturing), stacking conditions, stage feed, laser output, powder supply amount, etc., or measurement functions are optimized, and the CAM device 240 is used. Add code to the NC program. After that, in the machine tool 210, actual machining is performed in step S310.
 図4は、異なるベンダのCAM装置240a~240cがそれぞれのポストプロセッサ部242a~242cで生成した異なる種類のNCプログラム250a~250cを、情報処理装置200が解釈して、それぞれ最適化することを説明する概念図である。図4に示すように、CAM装置の種別に依存することなく、工作機械や数値制御装置に固有の最適化機能をNCプログラムに自動的に付与することができる。これにより、工作機械や数値制御装置の機能を最大限に生かすことができる。例えば、加工時間の短縮、面品位の向上、電力やクーラントの節約、切子の効率的な除去、工程管理の可視化による効率化などを実現することができる。 FIG. 4 illustrates that the information processing apparatus 200 interprets and optimizes different types of NC programs 250a to 250c generated by the respective post processor units 242a to 242c by the CAM apparatus 240a to 240c of different vendors. It is a conceptual diagram to be processed. As shown in FIG. 4, the optimization function peculiar to the machine tool or the numerical control device can be automatically added to the NC program without depending on the type of the CAM device. As a result, the functions of the machine tool and the numerical control device can be fully utilized. For example, it is possible to shorten the processing time, improve the surface quality, save electric power and coolant, efficiently remove facets, and improve efficiency by visualizing process control.
 本実施形態のコードフィルタ部202は、非標準化コードをフィルタリングして削除することとしたが、本発明はこれに限定されるものではない。ユーザが以下の2つの選択肢から選択できる構成でもよい。G・Mコードフィルタは加工オペレータが編集できることが望ましい。
1.そのまま出力する
2.G・Mコードフィルタにあるコードは削除する
The code filter unit 202 of the present embodiment has decided to filter and delete the non-standardized code, but the present invention is not limited to this. The configuration may be such that the user can select from the following two options. It is desirable that the GM code filter can be edited by the machining operator.
1. Output as it is 2. Delete the code in the GM code filter
 例えばG0,G1,G2,G3のようにどのCAM装置にも共通のGコードがある(ISOで規定されている)が、最適化処理部204は、このようなISO準拠のGコードを使って、最適化機能を付与する。 For example, G0, G1, G2, and G3 have a common G code for all CAM devices (specified by ISO), but the optimization processing unit 204 uses such an ISO compliant G code. , Gives an optimization function.
 標準化されていない複数種類のコードについて、それぞれ、加工プログラムから削除するか否かを設定する設定部をさらに備え、コードフィルタ部202は、設定部における設定内容に応じて、加工プログラムのフィルタリングを行ってもよい。 A setting unit for setting whether or not to delete a plurality of types of non-standardized codes from the machining program is further provided, and the code filter unit 202 filters the machining program according to the setting contents in the setting unit. You may.
 図5A、図5Bは、NCプログラムのフィルタリングから最適化までの具体例を示す図である。図5Aにおいて、CAM装置240aのポストプロセッサ部242aから出力されたNCプログラムの一例250aに対して、コードフィルタ部202によって、ISO非準拠のコードが削除される。ISO非準拠のGコードおよびMコードについては、あらかじめコードリストに記録されている。コードリストに存在しないGコードやMコードはそのままNCインタプリタ203に出力される。NCインタプリタ203は、NCプログラムに解釈結果501を付与する。図5A、図5Bの例はあくまでも概念的に示したもので、このように日本語でデータが付加されることを意味しない。 5A and 5B are diagrams showing specific examples from filtering to optimization of NC programs. In FIG. 5A, the code filter unit 202 deletes the ISO non-compliant code for the NC program example 250a output from the post processor unit 242a of the CAM device 240a. ISO non-compliant G-codes and M-codes are recorded in the code list in advance. G code and M code that do not exist in the code list are output to NC interpreter 203 as they are. The NC interpreter 203 gives the interpretation result 501 to the NC program. The examples of FIGS. 5A and 5B are merely conceptually shown, and do not mean that data is added in Japanese in this way.
 最適化処理部205は、解釈結果501を分析して、切削開始のコードG01の直前にG332という切削モード設定のコード502を挿入することによって、切削開始前に加工を最適化する。G332は、上述した(a)~(d)の加工モード(切削モード)を選択するためのコードである。具体的には、NCプログラムにおいて「G332R1」「G332R2」「G332R3」「G332R4」のいずれかが、切削開始のコードG01の直前に挿入される。引数であるR1~R4はそれぞれ以下の場合に設定される。
 R1:荒加工の時に設定(時間優先モード)
 R2:中仕上げ加工の時に設定(中間モード)
 R3:仕上げ加工の時に設定(精度優先モード)
 R4:設定したい場合のみユーザが手動で設定(精度最優先モード)
The optimization processing unit 205 analyzes the interpretation result 501 and inserts a cutting mode setting code 502 called G332 immediately before the cutting start code G01 to optimize the machining before the cutting start. G332 is a code for selecting the machining mode (cutting mode) of the above-mentioned (a) to (d). Specifically, in the NC program, any one of "G332R1", "G332R2", "G332R3", and "G332R4" is inserted immediately before the cutting start code G01. The arguments R1 to R4 are set in the following cases, respectively.
R1: Set at the time of rough machining (time priority mode)
R2: Set at the time of semi-finishing (intermediate mode)
R3: Set at the time of finishing (precision priority mode)
R4: User manually sets only when he / she wants to set (precision top priority mode)
 例えば、APT形式のCLデータにおいてAPTコマンドとしてOPTYPE/ROUGH(荒加工)が設定された場合には、G332R1というGコードおよび引数が挿入される。また、切削部分においては、切削力が高い部分が送り速度が遅くなり、切削力が低い部分では送り速度が早くなるように、G01の引数が設定される。一方、APT形式のCLデータにおいてAPTコマンドとしてOPTYPE/FINISH(仕上げ加工)が設定された場合には、G332R3というGコードおよび引数が挿入される。切削部分においては、送り速度が一定となるように、G01の引数が設定される。 For example, when OPTYPE / ROUGH (rough processing) is set as an APT command in APT format CL data, a G code and an argument of G332R1 are inserted. Further, in the cutting portion, the argument of G01 is set so that the feed rate becomes slower in the portion where the cutting force is high and the feed rate becomes faster in the portion where the cutting force is low. On the other hand, when OPTYPE / FINISH (finishing) is set as an APT command in the APT format CL data, a G code and an argument of G332R3 are inserted. In the cutting portion, the argument of G01 is set so that the feed rate becomes constant.
 G332は数値制御装置220のベンダに依存するコードであり、数値制御装置220に合わせた最適化を実現させる。具体的には、NCインタプリタ203でNCプログラム250aを逆変換して生成されたAPT形式のCLデータに対して所定のスクリプトを実行して最適化した後に、再度、NCプログラムへの変換を行うと、G01の前にG332が挿入される。その他のやり方として、NCプログラム250aのまま、G01を検索して、G01の直前にG332を挿入する最適化マクロを実行してもよい。この場合、挿入すべきコード(例えばG332)とその位置(例えばG01直前)とが対応付けられたテーブルを備えていることが好ましい。 G332 is a code that depends on the vendor of the numerical control device 220, and realizes optimization according to the numerical control device 220. Specifically, when the NC program 250a is inversely converted by the NC interpreter 203 to optimize the APT format CL data generated by executing a predetermined script, and then the NC program is converted to the NC program again. , G332 is inserted before G01. As another method, the optimization macro that searches for G01 and inserts G332 immediately before G01 may be executed while the NC program 250a remains. In this case, it is preferable to have a table in which the code to be inserted (for example, G332) and its position (for example, immediately before G01) are associated with each other.
 結果として、加工条件を付与したNCプログラム230aが数値制御装置220に出力される。 As a result, the NC program 230a to which the machining conditions are given is output to the numerical control device 220.
 図5Bにおいて、CAM装置240aのポストプロセッサ部242aから出力された処理前のプログラムの一例250aに対して、コードフィルタ部202によって、所定のコードが削除される。所定のGコードおよびMコードについては、あらかじめコードリストに記録されている。コードリストに存在しないGコードやMコードはそのままNCインタプリタ203に出力される。NCインタプリタ203は、処理後のプログラムに解釈結果501を付与する。 In FIG. 5B, a predetermined code is deleted by the code filter unit 202 with respect to an example 250a of the program before processing output from the post processor unit 242a of the CAM device 240a. The predetermined G code and M code are recorded in the code list in advance. G code and M code that do not exist in the code list are output to NC interpreter 203 as they are. The NC interpreter 203 imparts an interpretation result 501 to the processed program.
 すなわち、情報処理装置200は、処理前のプログラムからISO 6983-1:2009またはJIS B 6315-1:2013で機能が未指定である機能コードのうちのあらかじめ設定された設定機能コードを削除または無視(コメントアウト)する処理をする。そして、処理前のプログラムに含まれる複数のコードのうちの起点になる起点コードを検出し、起点コードに対応した追加コードを追加する処理をし、処理後のプログラムを生成する情報処理部を備える。 That is, the information processing apparatus 200 deletes or ignores the preset function code among the function codes whose functions are not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 from the program before processing. (Comment out) Process. Then, it is provided with an information processing unit that detects a starting point code that is a starting point among a plurality of codes included in the program before processing, performs a process of adding an additional code corresponding to the starting point code, and generates a program after the processing. ..
 JIS B 6315-1:2013で機能が指定されているコードは、G00~G04, G06, G09, M00~M06, M10などである。また、M07~M09は、JIS B 6315-1:2013に機能の記載はないが、他のISO等で規定されているコードも含む。M07であれば、「ISO/TR 6983-2参照。」と記載されている。 The codes whose functions are specified in JIS B 6315-1: 2013 are G00 to G04, G06, G09, M00 to M06, M10, etc. In addition, M07 to M09 do not have a function description in JIS B 6315-1: 2013, but include codes specified by other ISOs. If it is M07, it is described as "Refer to ISO / TR 6983-2."
 JIS B 6315-1:2013で機能が未指定のコードは、G05, G07, G50~G52,G100~G999などである。このGコードは、JIS B 6315-1:2013に番号が記載されているが、機能が未指定と記載されている。また、JIS B 6315-1:2013で機能が未指定のコードは、M51やM59などのJIS B 6315-1:2013に記載がないコードも含まれる。
 起点コードの例は、G01であり、G01に対応した追加コードがG332であり、G01の前に追加される。
Codes whose functions are not specified in JIS B 6315-1: 2013 are G05, G07, G50 to G52, G100 to G999, etc. This G code is numbered in JIS B 6315-1: 2013, but the function is not specified. In addition, codes whose functions are not specified in JIS B 6315-1: 2013 include codes that are not described in JIS B 6315-1: 2013 such as M51 and M59.
An example of the starting code is G01, and the additional code corresponding to G01 is G332, which is added before G01.
 図5A、図5Bに示すように、出力位置や出力コードが異なる様々なNCプログラムに同様に対応することができ、ISO準拠のNCコードを解釈することができる。加工条件を付与したNCプログラムを生成、出力することができる。 As shown in FIGS. 5A and 5B, various NC programs having different output positions and output codes can be similarly supported, and ISO-compliant NC codes can be interpreted. It is possible to generate and output an NC program with machining conditions.
 G84は、JIS B 6315-1:2013で機能が未指定のコードであり、数値制御装置メーカごとに機能を設定できる。例えば、メーカAとメーカBが、G84をタッピングサイクルとして設定しているとする。コードフィルタ部202は、このG84については削除または無視することもできるが、残すこととしてもよい。ISO 6983-1:2009またはJIS B 6315-1:2013で機能が未指定であっても、多くのメーカに共通する機能が設定される特定のコードについては残すようにしてもよい。具体的には、取得したCLデータにG84と数値制御装置メーカを特定する情報が含まれる場合、そのメーカのG84に対応するNCプログラムに変換するようにしてもよい。 G84 is a code whose function is not specified in JIS B 6315-1: 2013, and the function can be set for each numerical control device manufacturer. For example, it is assumed that maker A and maker B set G84 as a tapping cycle. The code filter unit 202 may delete or ignore this G84, but may leave it. Even if the function is not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013, it is possible to leave a specific code in which a function common to many manufacturers is set. Specifically, if the acquired CL data contains information that identifies the G84 and the numerical control device manufacturer, it may be converted into an NC program corresponding to the G84 of that manufacturer.
 G84は、起点コードとされてもよい。すなわち、ISO 6983-1:2009またはJIS B 6315-1:2013で機能が未指定であり削除または無視する対象となるコードと、起点コードとが同じであってもよい。起点コードは、起点として機能した後、出力されるNCプログラムでは削除されてもよい。 G84 may be used as a starting point code. That is, the code to be deleted or ignored because the function is not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 may be the same as the starting code. The origin code may be deleted in the output NC program after functioning as the origin.
 [第3実施形態]
 次に本発明の第3実施形態に係る情報処理装置600について、図6を用いて説明する。図6は、本実施形態に係る情報処理装置600の構成を説明するための図である。本実施形態に係る情報処理装置600は、上記第2実施形態と比べると、標準化CLデータ取得部601と、NCプログラム生成部602を有する点で異なる。その他の構成および動作は、第2実施形態と同様であるため、同じ構成および動作については同じ符号を付してその詳しい説明を省略する。
[Third Embodiment]
Next, the information processing apparatus 600 according to the third embodiment of the present invention will be described with reference to FIG. FIG. 6 is a diagram for explaining the configuration of the information processing apparatus 600 according to the present embodiment. The information processing apparatus 600 according to the present embodiment is different from the second embodiment in that it has a standardized CL data acquisition unit 601 and an NC program generation unit 602. Since other configurations and operations are the same as those in the second embodiment, the same configurations and operations are designated by the same reference numerals and detailed description thereof will be omitted.
 APTを公開しているCAM装置640に対しては、メインプロセッサ部641から出力されたCLデータ643に標準化情報を追加した標準化CLデータ645を生成する、CLデータ標準化部644を組み込むことができる。ここで、「標準化情報」とは、CAM装置と数値制御装置などの複数の出力装置間で規定された規則に基づいた情報である。CLデータ標準化部644は、CLデータに含まれる固有制御情報を特定し、固有制御情報に対応する標準化フォーマットでラベル付けした標準化CLデータ645を生成する。 For the CAM device 640 whose APT is open to the public, a CL data standardization unit 644 that generates standardized CL data 645 with standardization information added to the CL data 643 output from the main processor unit 641 can be incorporated. Here, the "standardized information" is information based on a rule defined between a plurality of output devices such as a CAM device and a numerical control device. The CL data standardization unit 644 identifies the unique control information contained in the CL data and generates standardized CL data 645 labeled in a standardized format corresponding to the unique control information.
 情報処理装置600の標準化CLデータ取得部601は、標準化CLデータ645を取得し、NCプログラム生成部602では、標準化情報に対応するNCコードとCLデータとに基づいてNCプログラム630を生成する。 The standardized CL data acquisition unit 601 of the information processing apparatus 600 acquires the standardized CL data 645, and the NC program generation unit 602 generates an NC program 630 based on the NC code and CL data corresponding to the standardization information.
 このようにして生成されたNCプログラム630には、ISO4343:2000に準拠する標準化コード631以外に、CLデータ標準化部644と連携した加工工程情報632やNCマクロ633を追加することができる。 In addition to the standardization code 631 compliant with ISO4343: 2000, machining process information 632 and NC macro 633 linked with the CL data standardization unit 644 can be added to the NC program 630 generated in this way.
 CLデータに含まれる制御情報以外に、以下の固有制御情報を含む固有の制御指令についてもNCプログラム630に組み込むことができる。
(a)工作機械の数値制御装置メーカによって独自に実装されている「数値制御装置の固有制御情報」
(b)工作機械メーカによって独自に実装されている「工作機械の固有制御情報」
(c)工作機械のユーザによって独自に実装されている「工作機械のユーザの固有制御情報」
In addition to the control information included in the CL data, specific control commands including the following specific control information can also be incorporated into the NC program 630.
(A) "Specific control information of the numerical control device" originally implemented by the numerical control device manufacturer of the machine tool.
(B) "Machine tool specific control information" originally implemented by the machine tool manufacturer
(C) "Specific control information of the machine tool user" independently implemented by the machine tool user.
 ここで、(a)数値制御装置の固有制御情報としては、以下のものが挙げられる。
(1)数値制御装置の型番(例:RPFK)
(2)数値制御装置メーカのカスタムマクロ 例:タッピングサイクル(TAP)、G84XYZRPFK(メーカA)、G84XYZPF,R00,I,J,L(メーカB)
Here, (a) specific control information of the numerical control device includes the following.
(1) Model number of numerical control device (example: RPFK)
(2) Numerical control device manufacturer's custom macro Example: Tapping cycle (TAP), G84XYZRPFK (manufacturer A), G84XYZPF, R00, I, J, L (manufacturer B)
 また、(b)工作機械の固有制御情報としては、以下のものが挙げられる。
(1)工作機械の型番(例:MORI)
(2)工作機械メーカのカスタムマクロ 例:工作機械の型番に対応するドリルに関するマクロ(G432等)
Further, (b) specific control information of the machine tool includes the following.
(1) Model number of machine tool (example: MORI)
(2) Custom macro of machine tool manufacturer Example: Macro related to drill corresponding to the model number of machine tool (G432 etc.)
 一方、(c)工作機械のユーザが設定できる固有制御情報としては、以下のものが挙げられる。
(1)穴あけサイクルパターン(例:CYCLE)
(2)工作機械ユーザのカスタムマクロ 例:穴あけサイクルパターン(CYCLE)と対応関係があるマクロ(G65P1000等)
On the other hand, (c) unique control information that can be set by the user of the machine tool includes the following.
(1) Drilling cycle pattern (example: CYCLE)
(2) Custom macros for machine tool users Example: Macros that correspond to the drilling cycle pattern (CYCLE) (G65P1000, etc.)
 そして、それぞれの固有制御情報について、その仕様を標準化するための標準化フォーマットなどのように、CAM装置と数値制御装置との間で規定された規則に基づいた標準化情報を用いて標準化CLデータ645が生成される。すなわち、本実施形態において、固有制御情報とは、ISO4343:2000で規定されている情報以外のカスタムマクロや加工工程情報等のような情報である。 Then, for each unique control information, standardized CL data 645 is generated using standardized information based on the rules defined between the CAM device and the numerical control device, such as a standardized format for standardizing the specifications. Generated. That is, in the present embodiment, the specific control information is information such as custom macros, machining process information, etc. other than the information specified in ISO4343: 2000.
 なお、固有制御情報の一つであるNCマクロ633は、GコードやMコードを拡張するためのプログラムである。NCマクロ633により、工作機械の数値制御装置メーカ、工作機械メーカ、工作機械のユーザのそれぞれが独自に固有の機能(Gxx,Gxy,Mxx,Mxy等)を実装することが可能である。 Note that NC macro 633, which is one of the unique control information, is a program for extending G code and M code. The NC macro 633 allows each machine tool manufacturer, machine tool maker, and machine tool user to implement their own unique functions (Gxx, Gxy, Mxx, Mxy, etc.).
 また、固有制御情報の一つである加工工程情報632は、HMI610による工程管理や各種加工情報を把握し、作業の効率化やトレーサビリティを目的とする機能を実現するための付加情報である。HMI610は、工作機械を操作するためのアプリケーションプログラムや、工作機械の状態をモニターするためのアプリケーションプログラムであり、タブレットやスマートフォン等にも搭載可能となっている。このため、HMIにおける各種データを可視化することで、工作機械の操作性が向上する。 Further, the machining process information 632, which is one of the unique control information, is additional information for grasping the process management and various machining information by the HMI 610 and realizing the function for the purpose of work efficiency and traceability. The HMI 610 is an application program for operating a machine tool and an application program for monitoring the state of the machine tool, and can be mounted on a tablet, a smartphone, or the like. Therefore, by visualizing various data in the HMI, the operability of the machine tool is improved.
 なお、(a)数値制御装置の固有制御情報、(b)工作機械の固有制御情報および(c)工作機械のユーザの固有制御情報は、必ずしも全て必要なわけではない。ワークの種類や加工方法によっては、少なくともいずれか一つまたは二つの固有制御情報だけを考慮してNCプログラムを生成すればよい場合もある。 Note that (a) the unique control information of the numerical control device, (b) the unique control information of the machine tool, and (c) the unique control information of the user of the machine tool are not necessarily all required. Depending on the type of work and the machining method, it may be sufficient to generate the NC program in consideration of at least one or two unique control information.
 標準化情報の一つである標準化フォーマットは、コマンド名と、当該コマンドにて指定可能な引数名とを含んでおり情報処理装置600においてあらかじめ記憶されている。例えば、計測機能を示すコマンド「PROCMOD」に対して、仕上げ加工を示す引数「FIN」と、荒加工を示す引数「ROUGH」とが定義されている。 The standardized format, which is one of the standardized information, includes a command name and an argument name that can be specified by the command, and is stored in advance in the information processing apparatus 600. For example, for the command "PROCMOD" indicating the measurement function, an argument "FIN" indicating finishing processing and an argument "ROUGH" indicating rough processing are defined.
 これにより、機械メーカ固有の制御であるNCマクロ633でPLC(programmable logic controller)620を制御することができる。 As a result, the PLC (programmable logic controller) 620 can be controlled by the NC macro 633, which is a control peculiar to the machine maker.
 また、加工工程情報632についてAPT仕様を標準化することにより、工作機械210やHMI(Human Machine Interface)610の各種最適化機能を利用できる。 In addition, by standardizing the APT specifications for the machining process information 632, various optimization functions of the machine tool 210 and HMI (Human Machine Interface) 610 can be used.
 情報処理装置600は、表示装置に図7に示すような機能選択ダイヤログ700を表示し、ユーザが最適化処理を選択できる構成としてもよい。NCプログラム生成部602は、ユーザによって選択された最適化処理を施したNCプログラムを出力する。標準化対応表示部分801で選択された最適化処理が施されたNCプログラムに変換される。 The information processing device 600 may be configured to display the function selection dialog 700 as shown in FIG. 7 on the display device so that the user can select the optimization process. The NC program generation unit 602 outputs an NC program that has been optimized by the user. It is converted into the NC program which has been subjected to the optimization processing selected in the standardization correspondence display part 801.
 標準化CLデータには、オペレーションとオペレーションとを繋ぐ動き(オペレーションリンク)に関するデータが含まれているが、CAMの機種によっては、出力されるCLデータに、そのようなデータが含まれていない場合がある。そこで、NCプログラム生成部602が、オペレーションリンクを追加してもよい。例えば図8に示すような機能選択ダイヤログ700のオペレーションリンク選択部801において、ユーザが選択したパスを含むNCプログラムを生成することも可能である。この構成により、ユーザはCAMの機種に依存することなく、最適なパス生成機能を利用できる。 The standardized CL data includes data related to the movement (operation link) that connects operations, but depending on the CAM model, the output CL data may not include such data. be. Therefore, the NC program generation unit 602 may add an operation link. For example, in the operation link selection unit 801 of the function selection dialog 700 as shown in FIG. 8, it is also possible to generate an NC program including a path selected by the user. With this configuration, the user can use the optimum path generation function without depending on the CAM model.
 図9、図10は、NCプログラムを最適化する例を示す図である。図9において、A社、B社、C社の各CAM装置640a~640cにCLデータ標準化機能を持たせてCADデータを取り込ませると、仕上げ加工を指定する標準化フォーマット(PROCMOD/FIN)でラベル付けされたCLデータ645が出力される。 9 and 10 are diagrams showing an example of optimizing an NC program. In FIG. 9, when the CAM devices 640a to 640c of the companies A, B, and C are provided with the CL data standardization function and the CAD data is taken in, they are labeled in the standardized format (PROCMOD / FIN) that specifies the finishing process. The created CL data 645 is output.
 情報処理装置600は、コマンドテーブル1001から、標準化フォーマット(PROCMOD/FIN)に対応するNCコード(G915H42)を読出し、NCプログラムに反映させて最適化されたNCプログラム630として出力する。最適化されたNCプログラム630を用いて工作機械を制御すると、仕上げ加工でのみ計測機能が自動的にオンとなり、荒加工では計測機能が自動的にオフになる。 The information processing apparatus 600 reads the NC code (G915H42) corresponding to the standardized format (PROCMOD / FIN) from the command table 1001, reflects it in the NC program, and outputs it as an optimized NC program 630. When the machine tool is controlled using the optimized NC program 630, the measurement function is automatically turned on only in finish machining and the measurement function is automatically turned off in rough machining.
 このように様々なCAM装置から出力されたCLデータを、簡単かつ正確にNCプログラムに変換することができ、CAM装置に依存することなく、固有制御情報によって特定される様々な最適化機能を利用することができる。また、情報処理装置600が様々なCLデータを一元的に変換するため、最適化機能を情報処理装置600に集約でき、システム全体の開発を効率化することができる。さらに、工作機械の特性を十分に考慮し、工作機械の様々なオプション機能を漏れなく活用したNCプログラムを生成でき、工作機械のパフォーマンスを向上させる。工作機械の機種ごとにポストプロセッサを用意する必要がなく、情報処理装置600で複数の工作機械用のNCプログラムを生成できるため、ポストプロセッサの開発費用や開発に係る時間を削減することができる。 In this way, CL data output from various CAM devices can be easily and accurately converted into NC programs, and various optimization functions specified by unique control information are used without depending on the CAM device. can do. Further, since the information processing apparatus 600 centrally converts various CL data, the optimization function can be integrated into the information processing apparatus 600, and the development of the entire system can be streamlined. Furthermore, it is possible to generate an NC program that fully considers the characteristics of the machine tool and fully utilizes various optional functions of the machine tool, and improves the performance of the machine tool. Since it is not necessary to prepare a post processor for each machine tool model and the information processing apparatus 600 can generate NC programs for a plurality of machine tools, it is possible to reduce the development cost of the post processor and the time required for development.
 図10においては、ユーザによる拡張機能に対応するようにNCプログラムを最適化する。具体的には、拡張しようとする標準機能として、Gコードの固定サイクルのうち、高速深穴あけサイクル(G73)を選択する。このような穴あけ加工では、標準機能による通常の穴あけではなく、ユーザが自ら作成した穴あけ用のカスタムマクロを使用したいという要求がある。 In FIG. 10, the NC program is optimized to correspond to the extended function by the user. Specifically, as a standard function to be expanded, a high-speed deep drilling cycle (G73) is selected from the fixed cycles of the G code. In such drilling, there is a demand to use a custom macro for drilling created by the user instead of the normal drilling by the standard function.
 そこで、図10に示すように、ユーザによる拡張機能を指示する「DRILL1」や「DRILL2」等の標準化フォーマットをあらかじめコマンドテーブルに定義しておき、対応するNCコードは空欄(予約状態)とする。そして、呼び出したいカスタムマクロ(G65P1000)を「DRILL1」に対応する空欄に追加で実装する。 Therefore, as shown in FIG. 10, standardized formats such as "DRILL1" and "DRILL2" that indicate the extended function by the user are defined in advance in the command table, and the corresponding NC code is left blank (reserved state). Then, the custom macro (G65P1000) to be called is additionally implemented in the blank corresponding to "DRILL1".
 その後、図9で示した例と同様、CLデータ生成機能を持たせたCAM装置640a~640cにCADデータを取り込ませると、拡張機能を指定する標準化フォーマット「CYCLE/DRILL1」でラベル付けされたCLデータ645が出力される。 After that, as in the example shown in FIG. 9, when CAD data is taken into the CAM devices 640a to 640c having the CL data generation function, the CL labeled with the standardized format "CYCLE / DRILL1" that specifies the extended function. Data 645 is output.
 つぎに、CLデータ645を受け取った情報処理装置600は、コマンドテーブル1101から、標準化フォーマットに対応するNCコード(G65P1000)を読出し、NCプログラムに反映させ、最適化NCプログラム630として出力する。 Next, the information processing apparatus 600 that has received the CL data 645 reads the NC code (G65P1000) corresponding to the standardized format from the command table 1101, reflects it in the NC program, and outputs it as the optimized NC program 630.
 最適化NCプログラム630を用いて工作機械を制御すると、ユーザによって作成されたカスタムマクロを呼び出して穴あけ加工を実行する。 When the machine tool is controlled using the optimized NC program 630, the custom macro created by the user is called and the drilling is executed.
 このように、情報処理装置600でカスタムマクロに対応するNCコードを標準化フォーマットに対応付けることによって、ユーザによる拡張機能に対応するようにNCプログラムを最適化できる。 In this way, by associating the NC code corresponding to the custom macro with the standardized format in the information processing apparatus 600, the NC program can be optimized to correspond to the extended function by the user.
 以上のように、本実施形態では、最適化機能を入れ込むポストプロセッサを生成するためのフレームワークを構築した。標準化されたAPTを構築し、生成された標準化CLコードに基づいて多くの最適化機能を実現することができる。情報処理装置600がCAM装置にも数値制御装置にも依存しない共通のポストプロセッサとして機能して、最適化機能を実現できる。従来機械個別に実装する必要があった最適化機能をPOST標準機能として利用でき、工作機械のユーザの負担を減らすことができる。 As described above, in this embodiment, a framework for generating a post processor that incorporates an optimization function has been constructed. A standardized APT can be constructed and many optimization functions can be realized based on the generated standardized CL code. The information processing device 600 functions as a common post processor that does not depend on the CAM device or the numerical control device, and the optimization function can be realized. The optimization function, which conventionally had to be implemented individually for each machine, can be used as a POST standard function, and the burden on the machine tool user can be reduced.
 NCプログラムの一部のコードについては既にISOで標準化されているが、それ以外の機械メーカ固有の制御についても標準化し最適化することができる。CLデータ標準化部644でCLデータを標準化することで、NCプログラム生成部602で各種最適化機能を利用することができる。 Some codes of NC programs have already been standardized by ISO, but other machine manufacturer-specific controls can also be standardized and optimized. By standardizing the CL data in the CL data standardization unit 644, various optimization functions can be used in the NC program generation unit 602.
 この際、コードフィルタ部101によるフィルタリング後の加工プログラムの解釈を行うため、加工プログラム解釈部の開発負荷を小さくすることができる。 At this time, since the machining program after filtering is interpreted by the code filter unit 101, the development load of the machining program interpretation unit can be reduced.
 [他の実施形態]
 以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の技術的範囲で当業者が理解し得る様々な変更をすることができる。また、それぞれの実施形態に含まれる別々の特徴を如何様に組み合わせたシステムまたは装置も、本発明の技術的範囲に含まれる。
[Other embodiments]
Although the invention of the present application has been described above with reference to the embodiments, the invention of the present application is not limited to the above-described embodiment. Various changes that can be understood by those skilled in the art can be made to the structure and details of the present invention within the technical scope of the present invention. Also included in the technical scope of the invention are systems or devices in any combination of the different features contained in each embodiment.
 また、本発明は、複数の機器から構成されるシステムに適用されてもよいし、単体の装置に適用されてもよい。さらに、本発明は、実施形態の機能を実現する情報処理プログラムが、システムあるいは装置に供給され、内蔵されたプロセッサによって実行される場合にも適用可能である。本発明の機能をコンピュータで実現するために、コンピュータにインストールされるプログラム、あるいはそのプログラムを格納した媒体、そのプログラムをダウンロードさせるサーバも、プログラムを実行するプロセッサも本発明の技術的範囲に含まれる。特に、少なくとも、上述した実施形態に含まれる処理ステップをコンピュータに実行させるプログラムを格納した非一時的コンピュータ可読媒体(non-transitory computer readable medium)は本発明の技術的範囲に含まれる。
 具体的には、工作機械における加工を制御するための数値制御装置で用いられる加工プログラムを生成する情報処理方法であって、
 コンピュータ支援製造システムにおいて生成された加工プログラムに含まれる複数のコードのうち、標準化されていないコードを削除するフィルタリングを行うコードフィルタステップと、
 前記コードフィルタステップでフィルタリングが行われた加工プログラムに含まれる複数のコードをそれぞれ解釈する加工プログラム解釈ステップと、
 前記加工プログラム解釈ステップによる解釈結果に応じて前記加工プログラムに含まれるコードを最適化して新たな最適化加工プログラムを生成する最適化処理ステップと、
 を含む情報処理方法や、
 工作機械における加工を制御する数値制御装置で用いられる加工プログラムを生成する情報処理プログラムであって、
 コンピュータ支援製造システムにおいて生成された加工プログラムに含まれる複数のコードのうち、標準化されていないコードを削除するフィルタリングを行うコードフィルタステップと、
 前記コードフィルタステップでフィルタリングが行われた加工プログラムに含まれる複数のコードをそれぞれ解釈する加工プログラム解釈ステップと、
 前記加工プログラム解釈ステップによる解釈結果に応じて前記加工プログラムに含まれるコードを最適化して新たな最適化加工プログラムを生成する最適化処理ステップと、
 をコンピュータに実行させる情報処理プログラムも、本願発明の技術範囲に含まれる。
Further, the present invention may be applied to a system composed of a plurality of devices, or may be applied to a single device. Further, the present invention is also applicable when an information processing program that realizes the functions of the embodiment is supplied to a system or an apparatus and executed by a built-in processor. In order to realize the functions of the present invention on a computer, the technical scope of the present invention includes a program installed in the computer, a medium containing the program, a server for downloading the program, and a processor for executing the program. .. In particular, at least a non-transitory computer readable medium containing a program that causes a computer to execute the processing steps included in the above-described embodiment is included in the technical scope of the present invention.
Specifically, it is an information processing method for generating a machining program used in a numerical control device for controlling machining in a machine tool.
A code filter step that filters to remove non-standardized code from multiple codes contained in a machining program generated in a computer-aided manufacturing system.
A machining program interpretation step that interprets a plurality of codes included in the machining program filtered by the code filter step, respectively.
An optimization processing step that optimizes the code included in the machining program according to the interpretation result of the machining program interpretation step to generate a new optimized machining program, and
Information processing methods including
An information processing program that generates a machining program used in a numerical control device that controls machining in a machine tool.
A code filter step that filters to remove non-standardized code from multiple codes contained in a machining program generated in a computer-aided manufacturing system.
A machining program interpretation step that interprets a plurality of codes included in the machining program filtered by the code filter step, respectively.
An optimization processing step that optimizes the code included in the machining program according to the interpretation result of the machining program interpretation step to generate a new optimized machining program, and
An information processing program for causing a computer to execute an information processing program is also included in the technical scope of the present invention.

Claims (2)

  1.  工作機械の数値制御装置で実行されるプログラムを処理する情報処理装置であって、
     処理前のプログラムからISO 6983-1:2009またはJIS B 6315-1:2013で機能が未指定である機能コードのうちのあらかじめ設定された設定機能コードを削除または無視する処理をし、処理前のプログラムに含まれる複数のコードのうちの起点になる起点コードを検出し、前記起点コードに対応した追加コードを追加する処理をし、処理後のプログラムを生成する情報処理部を備える、情報処理装置。
    An information processing device that processes programs executed by the numerical control device of a machine tool.
    Delete or ignore the preset function code of the function codes whose functions are not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 from the program before processing, and before processing An information processing device including an information processing unit that detects a starting point code that is a starting point among a plurality of codes included in a program, performs a process of adding an additional code corresponding to the starting point code, and generates a processed program. ..
  2.  工作機械の数値制御装置で実行されるプログラムを処理する情報処理プログラムであって、
     コンピュータに、
     処理前のプログラムからISO 6983-1:2009またはJIS B 6315-1:2013で機能が未指定である機能コードのうちのあらかじめ設定された設定機能コードを削除または無視する機能と、
     処理前のプログラムに含まれる複数のコードのうちの起点になる起点コードを検出し、前記起点コードに対応した追加コードを追加する機能と、
     処理後のプログラムを生成する機能と、を発揮させる、情報処理プログラム。
    An information processing program that processes a program executed by a numerical control device of a machine tool.
    On the computer
    A function to delete or ignore the preset function code among the function codes whose functions are not specified in ISO 6983-1: 2009 or JIS B 6315-1: 2013 from the program before processing.
    A function to detect the starting point code that is the starting point among multiple codes included in the program before processing and add an additional code corresponding to the starting point code.
    An information processing program that demonstrates the function of generating a program after processing.
PCT/JP2021/044340 2020-12-24 2021-12-02 Information processing device and information processing program WO2022138056A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020215739A JP6987960B1 (en) 2020-12-24 2020-12-24 Information processing equipment
JP2020-215739 2020-12-24

Publications (1)

Publication Number Publication Date
WO2022138056A1 true WO2022138056A1 (en) 2022-06-30

Family

ID=79239695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/044340 WO2022138056A1 (en) 2020-12-24 2021-12-02 Information processing device and information processing program

Country Status (2)

Country Link
JP (1) JP6987960B1 (en)
WO (1) WO2022138056A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7301486B1 (en) 2021-12-22 2023-07-03 Dmg森精機株式会社 Information processing device and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6419412A (en) * 1987-07-15 1989-01-23 Toyota Motor Corp Feed speed controller
JPH04365538A (en) * 1991-05-09 1992-12-17 Amada Co Ltd Rationalization for nc program
JPH10320027A (en) * 1997-05-15 1998-12-04 Fanuc Ltd Numerical controller
JP2005149194A (en) * 2003-11-17 2005-06-09 Honda Motor Co Ltd Source program conversion system
JP2006293744A (en) * 2005-04-12 2006-10-26 Fanuc Ltd Program conversion device
JP2009053736A (en) * 2007-08-23 2009-03-12 Fanuc Ltd Numerical controller for inputting nc command independent of machine tool and working method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6419412A (en) * 1987-07-15 1989-01-23 Toyota Motor Corp Feed speed controller
JPH04365538A (en) * 1991-05-09 1992-12-17 Amada Co Ltd Rationalization for nc program
JPH10320027A (en) * 1997-05-15 1998-12-04 Fanuc Ltd Numerical controller
JP2005149194A (en) * 2003-11-17 2005-06-09 Honda Motor Co Ltd Source program conversion system
JP2006293744A (en) * 2005-04-12 2006-10-26 Fanuc Ltd Program conversion device
JP2009053736A (en) * 2007-08-23 2009-03-12 Fanuc Ltd Numerical controller for inputting nc command independent of machine tool and working method

Also Published As

Publication number Publication date
JP6987960B1 (en) 2022-01-05
JP2022101268A (en) 2022-07-06

Similar Documents

Publication Publication Date Title
JP6868161B1 (en) Information processing equipment, information processing methods and information processing programs
JP5414948B1 (en) Numerical controller
KR100766310B1 (en) Transformation method of G-code into STEP-NC part program and recording medium
JP5143005B2 (en) Methods for optimization of machining processes in machines
US20100138018A1 (en) Method for producing a parts program
CN106886197B (en) Method for controlling machine to implement machining, device and application thereof
CN111258272A (en) Machining parameter adjustment system and machining parameter adjustment method
CN107203188A (en) Method for processing workpiece in lathe with the process time of optimization
WO2022138056A1 (en) Information processing device and information processing program
CN110376962B (en) Setting device and computer readable medium
JP7177905B1 (en) Information processing equipment
WO2022138055A1 (en) Information processing device and information processing program
JP7301486B1 (en) Information processing device and program
KR101108211B1 (en) Device for generating the part programs of multi-functional turning machines and method for generating the syncronizing program between multiful processes
JP6935606B1 (en) Information processing equipment and information processing programs
WO2023120391A1 (en) Information processing device and program that generates a first nc program and converts a second nc program
US9904277B2 (en) Numerical controller configured for operation based on tabular data
WO2022030485A1 (en) Post processor development assistance device, post processor development assistance system, and computer executable method
JP7057593B1 (en) CNC device machining program generation program and CNC device machining program generation method
Broue et al. Feature-oriented programming interface for an autonomous production cell
EP3876050A1 (en) Processing support system
KR100398004B1 (en) Method for g-code generation of numerical control type machine tool
Katarína THE METHODS OF NC PROGRAM CREATING
Chatelain et al. Productivity assessment from advanced integration of canned cycles to CAD/CAM software
Brouër et al. Feature-oriented programming interface of an autonomous production cell

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: 21910208

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21910208

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP