WO2020084814A1 - Ncプログラム変換処理方法及び変換用計算機 - Google Patents

Ncプログラム変換処理方法及び変換用計算機 Download PDF

Info

Publication number
WO2020084814A1
WO2020084814A1 PCT/JP2019/015568 JP2019015568W WO2020084814A1 WO 2020084814 A1 WO2020084814 A1 WO 2020084814A1 JP 2019015568 W JP2019015568 W JP 2019015568W WO 2020084814 A1 WO2020084814 A1 WO 2020084814A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
conversion
tool
program
path
Prior art date
Application number
PCT/JP2019/015568
Other languages
English (en)
French (fr)
Inventor
一平 河野
幸治 内海
英次 坂本
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to US17/286,246 priority Critical patent/US20210356932A1/en
Priority to CN201980066256.3A priority patent/CN112805638B/zh
Priority to EP19876760.0A priority patent/EP3872588B1/en
Publication of WO2020084814A1 publication Critical patent/WO2020084814A1/ja

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/408Numerical 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 data handling or data format, e.g. reading, buffering or conversion of data
    • G05B19/4083Adapting programme, configuration
    • 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/402Numerical 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 control arrangements for positioning, e.g. centring a tool relative to a hole in the workpiece, additional detection means to correct position
    • 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/19Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • G05B19/21Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device
    • G05B19/25Numerical 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 positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path using an incremental digital measuring device for continuous-path control
    • 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/408Numerical 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 data handling or data format, e.g. reading, buffering or conversion of data
    • G05B19/4086Coordinate conversions; Other special calculations
    • 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
    • G05B19/40937Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34093Real time toolpath generation, no need for large memory to store values
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36043Correction or modification of program
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36232Before machining, convert, adapt program to specific possibilities of machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36237Prepare nc program for selected, distinct nc machines
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36407Follow path with probe, store deviations for correction during normal operation

Definitions

  • the present invention relates to a technique for converting an NC program for numerical control (NC).
  • a workpiece (hereinafter sometimes referred to as a workpiece) may be processed by inputting an NC program into an NC cutting machine.
  • the NC program device 1 preliminarily determines a machining shape required for a workpiece 5 according to designation of machining conditions including a machining start point, a machining end point, and a size of an end mill E to be used.
  • the calculation of the predicted value of the cutting resistance applied to the end mill E that is moved along the feed path assumed in this fixed machining cycle is replaced with the predetermined fixed value. It is repeated until the comparative evaluation result of is obtained, and the feed path of the end mill E is determined including the feed speed in each part thereof.
  • Patent Document 1 attempts to realize high machining accuracy by changing the feed rate and the depth of cut while the tool is in contact with the workpiece (referred to as a workpiece in the present application). A level difference will occur on the cutting surface due to correction during cutting.
  • the present invention has been made in view of the above circumstances, and an object thereof is to provide an NC program capable of ensuring an appropriate machining accuracy while avoiding a step on the cutting surface of a workpiece due to a correction during the cutting. It is to provide a technology for converting into a program.
  • An NC program conversion processing method is an NC program conversion processing method for converting a pre-correction NC program to generate a post-correction NC program, based on a plurality of blocks in the pre-correction NC program.
  • a non-contact block that is a block that specifies the non-contact partial tool path that is the path that the tool of the processing machine that executes the NC program does not contact the workpiece during the process corresponding to the block Determine the tool path correction amount in the tool radial direction in the machining process of the work according to the subsequent block that is one block or more following the non-contact block, and set the tool path by the tool path correction amount before the subsequent block. Create a block containing the description to correct.
  • an NC program can be converted into an NC program capable of ensuring an appropriate processing accuracy.
  • FIG. 1 is an overall configuration diagram of a processing system according to an embodiment.
  • FIG. 2 is a configuration diagram of the conversion computer according to the embodiment.
  • FIG. 3 is a configuration diagram of the conversion input screen according to the embodiment.
  • FIG. 4 is a configuration diagram of a download confirmation screen according to the embodiment.
  • FIG. 5 is a flowchart of the conversion process according to the embodiment.
  • FIG. 6 is a diagram showing a shape of the work before cutting according to the embodiment.
  • FIG. 7: is a figure which shows the target shape after cutting of the workpiece
  • FIG. 8 is a diagram showing a shape of the workpiece during the cutting process according to the embodiment.
  • FIG. 8 is a diagram showing a shape of the workpiece during the cutting process according to the embodiment.
  • FIG. 9 is a diagram illustrating a description of an NC program before correction according to one embodiment and a path of a tool in a cutting process of a corresponding work.
  • FIG. 10 is a diagram illustrating a description of a corrected NC program according to an embodiment and a path of a tool in a cutting process of a corresponding work.
  • FIG. 1 is an overall configuration diagram of a processing system according to an embodiment.
  • the processing system 1 includes a conversion computer 10, a plurality of NC cutting machines 20 (an example of a processing machine), and a plurality of on-site computers 30.
  • the conversion computer 10, the plurality of NC cutting machines 20, and the plurality of on-site computers 30 are connected via a network 40.
  • the network 40 may be a wired network or a wireless network.
  • the NC cutting machine 20 and the on-site computer 30 are arranged in each of the place A and the place B, and the conversion computer 10 is arranged in the place C.
  • the conversion computer 10 may be placed in either the place A or the place B. Further, the plurality of NC cutting machines 20 and the plurality of on-site computers 30 may be arranged at the same place.
  • the conversion computer 10 uses an NC program for a certain NC cutting machine 20 (NC program for conversion source: NC program before correction) for another NC cutting machine 20 (NC program for conversion destination: after correction). (NC program) is executed. Details of the conversion computer 10 will be described later.
  • the on-site computer 30 is a computer operated by an on-site worker, and is configured by, for example, a PC (Personal Computer) including a processor, storage resources, and the like.
  • a PC Personal Computer
  • the site referred to here is typically a place where the NC cutting machine 20 is installed in FIG. 1 (for example, in a factory, a building, a floor, etc.).
  • the on-site computer 30 may be used at a place other than the place where the NC cutting machine 20 is installed, as long as it is used for displaying the screen of the conversion computer 10.
  • the on-site computer 30 is in charge of download processing and screen display of the converted NC program and screen display of the input screen for conversion, and the actual conversion processing is handled by the conversion computer 10. It is explained as an example. However, although the convenience is somewhat reduced, the roles (including some roles) of the respective computers can be exchanged or integrated with each other. Further, the conversion computer 10 may be composed of a plurality of computers. Therefore, in the following description, the term "conversion system" may be used. The system is a system that includes one or more computers (the site computer 30 or the conversion computer 10) and performs the processes that are performed by the conversion computer 10 and the site computer 30 described below. In addition, a part of the processing realized by the on-site computer 30 may be omitted.
  • the NC cutting machine 20 is, for example, a machining center, and includes a main body 22 that executes a machining process, an NC controller 21 that controls the machining process of the main body 22, and one or more tool sets used in the main body 22.
  • the tool magazine 25 is provided as an example of a storage unit that can store the tools TL.
  • the tool magazine 25 has a plurality of slots (SL: 25a, 25b, 25c) each capable of accommodating one tool TL.
  • the NC controller 21 controls the machining process of the main body 22 and the tool replacement process according to the NC program stored therein.
  • the main body unit 22 includes a processing head unit 23, a stage 24, and a tool exchanging unit 26 as an example of an exchanging unit.
  • the processing head unit 23 is equipped with a tool TL and has a rotatable main shaft.
  • the processing head unit 23 may be the spindle itself.
  • the stage 24 is capable of mounting and moving a workpiece (work) W to be cut, which is a processing target.
  • the tool exchanging unit 26 removes the tool TL from the processing head unit 23 and stores it in an empty slot of the tool magazine 25. Further, the tool exchanging unit 26 takes out the tool TL from the slot of the tool magazine 25 and mounts it on the processing head unit 23.
  • An example of the tool changer 26 is a change arm (also called an ATC arm) of an automatic tool changer (ATC).
  • the tool magazine 25 described above is also a component of the automatic tool changer.
  • the NC program can internally describe a series of commands that mean a tool change command (called a code or a word in which parameters are added to the code in the NC program term), and the tool change command is stored in the tool magazine 25.
  • the slot number indicating the position of the slot (meaning that the operation will be performed later) is included.
  • the tool exchanging section 26 takes out the tool TL from the slot designated by the slot number included in the parameter of the tool exchanging instruction according to the instruction of the NC controller 21 which has read the tool exchanging instruction, and attaches it to the processing head section 23.
  • the number of tools TL that can be accommodated in the tool magazine 25 is limited, but one or more tool sets 50 are prepared in advance, and the tool magazine 25 can be prepared according to the machining process to be executed. By exchanging the tool set accommodated in the, it is possible to deal with various processing.
  • the tool TL is assumed to include a blade portion TLa such as an end mill for cutting the work W, a drill, and a cutting tool, and a holder TLb for mounting the blade portion TLa on the processing head portion 23.
  • a blade portion TLa such as an end mill for cutting the work W, a drill, and a cutting tool
  • a holder TLb for mounting the blade portion TLa on the processing head portion 23.
  • the holder TLb may not be included, and at least the blade portion TLa may be included.
  • the presence of at least a processing machine that has been processing using the NC program to be converted (that is, the conversion source NC program) and a tool set corresponding to the processing machine will be described. It may be called the "source environment”. Further, an existence including at least a processing machine that is planned to be processed by using the converted NC program (that is, a conversion destination NC program) and a tool set corresponding to the processing machine is referred to as a "conversion destination environment”. Sometimes. In the conversion source environment and the conversion destination environment, physical or logical existence included in each place (for example, temperature at that place, temperature sensor, humidity, humidity sensor, or a processing machine installed at that place) Floors, buildings that make up the place) may be included.
  • the “tool set corresponding to the processing machine” includes not only the tool set already stored in the tool magazine of the processing machine but also a tool set that may be stored in the tool magazine in the future and used.
  • the tool set corresponding to the processing machine is typically installed at the same place as the processing machine.
  • FIG. 2 is a configuration diagram of a conversion computer according to an embodiment.
  • the conversion computer 10 is, for example, a personal computer or a general-purpose computer.
  • the conversion computer 10 includes a CPU 11 as an example of a processor, a network interface 12 (abbreviated as Net I / F in the figure), a user interface 13 (User I / F in the figure), a storage resource 14 as an example of a storage unit, and It includes an internal network connecting these components.
  • the CPU 11 can execute a program stored in the storage resource 14.
  • the storage resource 14 stores a program to be executed by the CPU 11, various information used by this program, an NC program used by the NC cutting machine 20, and the like.
  • the storage resource 14 may be, for example, a semiconductor memory, a flash memory, a HDD (Hard Disk Drive), an SSD (Solid State Drive), etc., and may be a volatile type memory or a non-volatile type memory.
  • the network interface 12 is an interface for communicating with an external device (for example, the on-site computer 30, the NC controller 21 of the NC cutting machine 20, etc.) via the network 40.
  • an external device for example, the on-site computer 30, the NC controller 21 of the NC cutting machine 20, etc.
  • the user interface 13 is, for example, a touch panel, a display, a keyboard, a mouse, etc., but may be another device as long as it can receive an operation from a worker (user) and display information.
  • the user interface 13 may be composed of these plural devices.
  • the storage resource 14 stores processing machine configuration information 1421, tool set information 1422, individual tool information 1423, a conversion source NC program 1424, a conversion destination NC program 1425, and conversion history information 1426.
  • the storage resource 14 may store other information. Details of each data and program are explained from the next paragraph. Note that each piece of information or a part of each piece of information may be omitted.
  • the processing machine configuration information 1421 is configured as, for example, a table that stores information regarding each NC cutting processing machine 20.
  • the processing machine configuration information 1421 includes the following information for each NC cutting machine 20.
  • A5 Temperature of a predetermined part of the NC cutting machine 20. The predetermined part may be the spindle of the NC cutting machine 20 or the stage 24.
  • the predetermined portion may be the main shaft of the processing head portion 23 of the NC cutting machine 20 or the stage 24.
  • the shape of the predetermined portion may be the length of the spindle of the NC cutting machine 20 or the length of the stage 24.
  • This offset value is a value used for finely correcting the coordinates when the tool is moved in the NC program, for example, a value used for correcting a situation where the stage is slightly tilted due to deterioration over time. .
  • the NC controller 21 may have a slightly different NC program description format depending on the manufacturer and model number, and is used to determine such a situation.
  • the NC controller 21 of the NC cutting machine 20 for example, from the NC controller 21 of the NC cutting machine 20.
  • (a3), (a6), (a7), and (a11) are acquired from the input information by the operator.
  • the method of acquiring information is not limited to this, and at least a part of (a1), (a2), (a4), (a5), (a8), (a9), and (a10) depends on the operator.
  • the information that can be acquired from the input information via the user interface 13 may also be acquired from the NC controller 21 in (a3), (a6), (a7), and (a11). It may be acquired from the NC controller 21.
  • the information acquired from the NC controller 21 may also be acquired from an alternative device (for example, another computer or the sensor itself).
  • the tool set information 1422 is information for managing a group (set) composed of one or more tools TL.
  • the tool set information 1422 is a set of identification information (tool set ID) of the tool set, and identifiers of one or more tools TL included in the set, or a model number.
  • the individual tool information 1423 is information regarding each tool.
  • the individual tool information 1423 includes the following pieces of information.
  • (B1) Identifier of the tool TL (tool ID: serial number, etc.).
  • the value may be that value. If not attached, the CPU 11 that executes the configuration information acquisition program 1412 It may be automatically assigned.
  • (B2) Model number of the tool TL (an example of tool identification information). For example, the model numbers of the blade portion TLa and the holder TLb that form the tool TL.
  • the model number of the blade portion TLa is required.
  • the blade part TLa When the blade part TLa is composed of a plurality of parts, all the model numbers may be used, or some of the model numbers may be used.
  • B3 Material, shape, rigidity (Young's modulus, deflection amount, etc.), usage history, temperature, etc. of the tool TL (for example, each of the blade portion TLa and the holder TLb).
  • rigidity Young's modulus, deflection amount, etc.
  • usage history temperature, etc. of the tool TL (for example, each of the blade portion TLa and the holder TLb).
  • the term “shape” generally refers to the three-dimensional shape and cross-sectional shape indicated by the drawing or CAD data, and the length and the length of the blade portion TLa protruding from the holder TLb (the blade).
  • the information of (b1) to (b4) is acquired from the input information of the operator via the user interface 13, but the information that can be acquired from the NC controller 21 is used. May be acquired from the NC controller 21.
  • the conversion source NC program 1424 is the NC program used for processing in the conversion source NC cutting machine 20 (referred to as the conversion source NC cutting machine 20).
  • the conversion source NC program 1424 matches the characteristics and state of the conversion source NC cutting machine 20 in order to maintain the processing accuracy of the target object obtained by the processing by the conversion source NC cutting machine 20 at a predetermined accuracy. May have been tuned.
  • the conversion destination NC program 1425 is an NC program obtained by converting the conversion source NC program 1424 so as to match the conversion destination NC cutting machine 20 (referred to as the conversion destination NC cutting machine 20). . If the conversion process is not performed on any of the conversion source NC programs 1424, the conversion destination NC program 1425 does not exist.
  • the conversion history information 1426 is information for managing the history of conversion processing when converting the conversion source NC program 1424 to the conversion destination NC program 1425.
  • the conversion history information 1426 is, for example, information in which identification information for identifying a conversion process and various types of information used during the conversion process (input information or the like) are associated with each other.
  • the storage resource 14 may store the following information.
  • Work W information This information is, for example, information such as the shape data of the workpiece W before processing, the material, the rigidity, and the processing target shape data of the workpiece W.
  • the processing target shape data is data indicating a target shape when processing by the NC program. If the work W can be machined into the target shape, it means that the error is zero.
  • the conversion program 1411 executes the following processes by being executed by the CPU 11.
  • the conversion unit is configured by the CPU 11 executing the conversion program 1411.
  • the conversion program 1411 stores various information input to the conversion input screen 100 when the conversion start button 120 of the conversion input screen 100 (see FIG. 3) described later is pressed, the processing machine configuration information 1421, the tool set.
  • Information of the conversion destination environment which is reflected in the information 1422 and the individual tool information 1423 and is input to the conversion input screen 100, and included in the processing machine configuration information 1421, the tool set information 1422, and the individual tool information 1423.
  • a conversion process for converting the conversion source NC program 1424 to be converted to the conversion destination NC program 1425 is executed, and the obtained conversion destination NC program 1425 is stored in the storage resource 14. Store.
  • the conversion program 1411 is used in the rigidity of the conversion destination NC cutting machine 20 or in the conversion destination NC cutting machine 20.
  • Data in which the command of the conversion source NC program 1424 is changed or added based on the information on the rigidity of the tool TL of the tool set 50 is set as the conversion destination NC program 25.
  • a tool diameter correction, a tool length correction, a tool wear correction, a feed speed, or a cutting speed is performed, so that a large machining operation such as an increase in the number of machining of the work W by the tool TL is performed. You may avoid changing.
  • a command that increases the number of times of machining the work W (for example, a command corresponding to trial cutting) may be added.
  • the conversion program 1411 includes the NC controller 21 of the conversion source NC cutting machine 20 and the NC of the conversion destination NC cutting machine 20. If at least a part of the description format of the NC program is different from the controller 21, the NC controller 21 of the conversion destination NC cutting machine 20 will be used for the part of the description of the conversion source NC program having a different description format. Convert to the description format for. Accordingly, the NC controller 21 of the conversion destination NC cutting machine 20 can perform the processing without any trouble.
  • the conversion program 1411 includes, as comments in the conversion destination NC program 1425, the processing machine ID of the conversion destination NC cutting machine 20 and each tool TL of the tool set designated to be used by the conversion destination NC cutting machine 20.
  • the model number (or identifier) and the arrangement position information (slot number) of each tool TL may be described.
  • “MC2: SL1: ML7x, ...” may be described as a comment.
  • MC2 is the processing machine ID
  • SL1 is the slot number
  • ML7x is the model number of the mill.
  • each tool TL designated to be used and the arrangement position information of each tool TL may be described as comments in the conversion destination NC program 1425.
  • the amount of data of the conversion destination NC program 1425 increases by adding such a comment, since it can always be managed integrally with the conversion destination NC program, an unexpected NC cutting machine 20 or tool TL can be mistakenly used. You can reduce the use.
  • the comment described in this paragraph may be referred to as a "conversion destination device or tool comment".
  • the conversion program 1411 stores the conversion process ID (conversion history ID) as a comment in the conversion destination NC program 1425, and the conversion history ID and various information input to the conversion input screen 100.
  • the conversion program 1411 it is possible to perform multiple conversion processes by the conversion program 1411. For example, there is a case where the conversion destination NC program 1425 converted for the first time is to be converted for another NC cutting machine 20 or tool set. In such a case, the "conversion destination device or tool comment” and the “history comment” may exist in the conversion destination NC program 1425 by the conversion multiplicity. However, it is preferable to leave only those comments generated by the last conversion, and delete those comments before that. This is because, in particular, in the “conversion destination device or tool comment”, what the operator should see is only the comment given in the last conversion.
  • the conversion program 1411 causes the download confirmation screen 200 (see FIG. 4) described later to be displayed after the conversion processing, and when the download button 210 is pressed, the conversion destination NC program 1425 is changed to the conversion destination NC cutting machine 20.
  • the NC controller 21 or the conversion destination NC cutting machine 20 is transmitted to the on-site computer 30.
  • the configuration information acquisition program 1412 is executed by the CPU 11 to execute the following processing.
  • the CPU 11 executes the configuration information acquisition program 1412 to configure the rigidity information receiving unit.
  • the configuration information acquisition program 1412 acquires various information regarding the NC cutting machine 20 from the NC controller 21.
  • the information to be acquired includes the information of (a1), (a2), (a4), (a5), (a8), (a9), and (a10) described above.
  • the configuration information acquisition program 1412 causes the conversion input screen 100 to be displayed on the user interface 13, and various information from the worker via the conversion input screen 100 (information regarding the NC cutting machine 20 acquired from the worker (( a3), (a6), (a7), and (a11)), and information regarding the tool set 50 (information regarding (b1) to (b4))).
  • the configuration information acquisition program 1412 displays an alert symbol (in the vicinity of the input area of the information). "!) Is displayed.
  • the configuration information acquisition program 1412 for example, presses the conversion start button 120 of the conversion input screen 100 so that the conversion process does not start if necessary information is not input or is not appropriate. You may display as an impossible state. By doing so, it is possible to appropriately suppress the execution of the conversion process when an error occurs in the conversion.
  • the configuration information acquisition program 1412 inputs the selection in the conversion destination environment based on the information of the conversion source environment (that is, the information of the conversion source NC cutting machine 20 and the information about the tool set 50 of the conversion source NC cutting machine 20). A filtering process of setting an input value in the area to an appropriate value or narrowing down selection candidates that can be selected by pulldown is executed. For example, the configuration information acquisition program 1412 narrows down only tool sets having the same number of tools as the tool set selected in the conversion source environment as selection candidates for the tool set in the conversion destination.
  • FIG. 3 is a configuration diagram of the conversion input screen according to the embodiment.
  • the conversion input screen 100 is a screen including, for example, the following drawing areas, and each area includes a screen object for input or display.
  • Environment area before conversion 100B This area includes a screen object for inputting or displaying the environment before conversion.
  • Conversion destination environment area 100C This area includes a screen object for inputting or displaying the conversion destination environment.
  • Processing information area 100A This area includes a screen object for inputting or displaying information that is independent of the pre-conversion environment and the conversion destination environment.
  • the processing information area 100A includes the following.
  • area for display and input is used, but this refers to a screen object for display or an area including a screen object for input.
  • File name input area 101 for inputting the file name of the NC program to be converted (conversion source).
  • the pre-conversion environment area 100B includes the following. * A conversion source processing machine designation area 102 for selectively designating a processing machine ID or configuration information of the conversion source NC cutting machine 20. * Conversion source machine information input area 103 for inputting various information regarding the conversion source NC cutting machine 20. A conversion source tool set designation area 104 for selecting and designating the tool set used in the processing according to the conversion source NC program in the conversion source NC cutting machine 20. * Conversion source tool information input areas 105, 106, 107 for inputting information about each tool included in the tool set.
  • the conversion destination environment area 100C includes the following.
  • Conversion destination machine specification area 110 for selecting and specifying the processing machine ID and configuration information of the conversion destination NC cutting machine 20.
  • Conversion destination machine information input area 111 for inputting various information regarding the conversion destination NC cutting machine 20.
  • Conversion destination tool set designation area 112 for selecting and designating a tool set to be used in machining processing according to the NC program for conversion destination in the conversion destination NC cutting machine 20.
  • Conversion destination tool information input areas 113, 114, 115 for inputting information about each tool included in the tool set.
  • Conversion start button 120 for accepting the start of conversion processing from the conversion source NC program to the conversion destination NC program.
  • the file name input area 101 may be regarded as part of the pre-conversion environment together with the tool set TL in the conversion source environment, and may be included in the pre-machining environment area 100B, or conversely may be included in the machining information 100A.
  • the above-mentioned "work W information", "other environment information before conversion”, and "other conversion destination environment information” input or display areas are not shown. However, by displaying these areas on this screen, information input may be accepted or information may be displayed.
  • the work W information may be included in the area 100A. It is preferable if the information on the work W is small in each environment.
  • the shape of the workpiece W before processing is different for each environment, such an input or display area may be included in the area 100B or the area 100C.
  • a screen object for designating a file name storing the shape data such as the area 101 in FIG. 3, may be used.
  • the conversion source processing machine information input area 103 allows the operator to input information that needs to be input by the operator (conversion source processing machine required input information), such as the above-mentioned information (a6), (a7), and (a11). Alternatively, it is an area for displaying already acquired information and for inputting correction information.
  • the conversion source tool information input areas 105, 106 and 107 allow the operator to input information (conversion source tool request input information), for example, the above-mentioned information of (b3) and (b4), or the like. This is an area for displaying the acquired information and for inputting correction information.
  • the conversion source tool information input area 105 is an input area corresponding to the tool of TL1 in the conversion source tool set designation area 104
  • the conversion source tool information input area 106 is the conversion source tool set designation area 104.
  • the conversion source tool information input area 107 is an input area corresponding to the tool of TL2
  • the conversion source tool information input area 107 is an input area corresponding to the tool of TL3 of the conversion source tool set designation area 104.
  • the conversion destination machine information input area 111 allows the operator to input the information that needs to be input, such as the information (a6), (a7), and (a11) described above, or the information that has already been acquired. This is an area for displaying and inputting correction information.
  • the conversion-destination tool information input areas 113, 114, and 115 allow the operator to input the information that needs to be input, for example, the information (b3) and (b4) described above, or display the information that has already been acquired. This is an area for inputting correction information.
  • the conversion destination tool information input area 113 is an input area corresponding to the tool of TL1 in the conversion destination tool set designation area 112, and the conversion destination tool information input area 114 is the conversion destination tool set designation area 112.
  • the conversion destination tool information input area 115 is an input area corresponding to the tool of TL2, and the conversion destination tool information input area 115 is an input area corresponding to the tool of TL3 of the conversion destination tool set designation area 112.
  • the positions in the conversion destination tool information input areas 113, 114, and 115 indicate the position information (slot number) of the tool magazine 25 in which each tool is to be arranged, but the slot number in which each tool is arranged is the conversion destination tool information.
  • the same slot number in which the same or similar tools are arranged in the input areas 113, 114, 115 may be set in advance.
  • the slot number for arranging each tool may be such that the operator inputs an arbitrary slot number. In this case, it is necessary to properly place the corresponding tool in the slot having the input slot number.
  • the conversion input screen 100 in order to display selection candidates in the conversion source machine information input area 103, the conversion source tool set specification area 104, the conversion destination machine specification area 110, the conversion destination tool set specification area 112, etc.
  • the pull-down button 130 When the pull-down button 130 is pressed, the selection candidates in the corresponding area are displayed in a selectable manner.
  • the alert symbol 131 is displayed. According to the alert symbol 131, the operator can know that the information is insufficient or out of date, and that it is necessary to input necessary information or perform additional measurement. .
  • the user of this screen does not have to input text in the pre-conversion environment area 100B and the conversion destination environment area 100C each time conversion is performed.
  • the information to be stored in the storage resource 14 by the conversion computer 10 is stored in advance before displaying this screen, the information stored in advance is displayed on this screen, and the information is selected by the user interface 13. May be.
  • the display on this screen may be omitted for some information about the environment before conversion or the environment after conversion.
  • the alert symbol 131 is displayed near the text displayed inside the areas 102, 104, 110, 112 (for example, next to the text), and information belonging to the processing machine or tool set is insufficient, You may suggest that it is old. With this kind of suggestion, the user of this screen can confirm that the items selected before conversion cannot be converted, or that even if they are converted, the processing accuracy after conversion may decrease, so the conversion process will take longer. Is more preferable when required.
  • FIG. 4 is a configuration diagram of a download confirmation screen according to the embodiment.
  • the download confirmation screen 200 includes a conversion history ID display area 201 that displays a conversion history ID that identifies the executed conversion process, and conversion destination processing machine information that displays the processing machine ID and configuration information of the conversion destination NC cutting machine 20.
  • the tool placement position display area 204 for displaying the placement position information (slot number) of each tool in the tool magazine 25 of 20, and the NC program 2125 for the conversion destination, the NC controller 21 of the NC cutting machine 20 at the conversion destination or the site.
  • a download button 210 for receiving an instruction for the computer 30 to download.
  • the download confirmation screen 200 since the arrangement position information (slot number) of each tool in the tool magazine 25 of the conversion destination NC cutting machine 20 is displayed, the tool TL used by the operator is incorrect in the tool magazine 25. It can be appropriately prevented from being placed in a slot.
  • the NC program describes the position information (slot number) of the tool magazine 25 accommodating the tools used in each process, as described partially. Which tool is to be placed in which slot in the tool magazine 25 can be arbitrarily set in each NC cutting machine 20. Therefore, a tool for performing the same process between the conversion source NC cutting machine 20 and the conversion destination NC cutting machine 20 may be arranged in slots of different numbers in the tool magazine 25. .
  • the NC program for the conversion destination that has been subjected to the conversion processing is used as it is on the premise that the slots in the tool magazine 25 of the tools used in the same process at the conversion source and the conversion destination have the same number.
  • completely different tools are used, which may damage the work W or the tool TL.
  • tool placement errors are likely to occur, and such a situation is likely to occur.
  • the download confirmation screen 200 since the slot number of each tool in the tool magazine 25 of the conversion destination NC cutting machine 20 is displayed, the tool TL to be used is the wrong slot. The operator can be prompted to confirm whether or not they have been arranged, and the situation in which the tool TL is arranged in the wrong slot can be reduced.
  • a download screen such as this screen may be integrated with the screen of FIG. 3 described above.
  • the download screen shown in FIG. 4 can be provided separately from the conversion start button screen shown in FIG. This is because, after the conversion process is started, the user of the screen can close the screen and perform another work.
  • the other advantages of dividing the screen are as described in this embodiment.
  • the configuration information acquisition program 1412 (strictly speaking, the CPU 11 that executes the configuration information acquisition program 1412) can acquire each of the NC controllers 21 of the NC cutting machines 20 connected via the network 40.
  • Various information for example, (a1), (a2), (a4), (a5), (a8), (a9), and (a10)) regarding the NC cutting machine 20 is acquired. It should be noted that this process does not need to be performed every time the process 2 and subsequent processes described below are performed.
  • the configuration information acquisition program 1412 causes the conversion input screen 100 (see FIG. 3) to be displayed, and receives the following designation via the conversion input screen 100.
  • Designation of information (machining machine ID) that identifies the NC cutting machine 20 (conversion source NC cutting machine) that was processing the work W by the conversion source NC program 1424.
  • Designation of information (tool set ID) that identifies the tool set used in the processing by the conversion source NC program 1424.
  • the configuration information acquisition program 1412 causes various information ((a3), (a6), (a7), and (a11)) regarding the conversion source NC cutting machine 20 and the conversion destination NC cutting machine 20 and the conversion source.
  • Input direct input or selection input
  • information information of (b1) to (b4) regarding the tool set 50 used in the NC cutting machine 20 and the tool set 50 used in the conversion destination NC cutting machine 20 Accept.
  • the configuration information acquisition program 1412 sends a conversion start instruction to the conversion program 1411.
  • the conversion start instruction includes various information input (direct input or selective input) to the conversion input screen 100.
  • the conversion program 1411 Upon receiving the conversion start instruction, the conversion program 1411 reads the specified conversion source NC program 1424 (pre-correction NC program), and includes the information (at least the conversion destination NC cutting machine) included in the conversion start instruction. 20 or the information about the rigidity of the tool set used in the conversion destination NC cutting machine 20), the conversion source NC program 1424 is converted into the conversion destination NC program 1425 (corrected NC program), and is converted.
  • the converted NC program 1425 for conversion destination is stored in the storage resource 14.
  • the conversion program 1411 displays the download confirmation screen 200 (see FIG. 4). It should be noted that the download confirmation screen 200 may be displayed in response to an operation of the user of the on-site computer 30 on the computer as an alternative to being automatically displayed after the process 4 is completed. After that, when the download button 210 is pressed, the conversion program 1411 causes the NC program 1425 for the conversion destination to change to the NC controller 21 of the conversion destination NC cutting machine 20 or the site where the conversion destination NC cutting machine 20 is located. To the computer 30 for use.
  • the conversion destination NC program 1425 received by the NC controller 21 is stored, and in the subsequent processing, the conversion destination NC program 1425 is stored. 1425 can be executed.
  • the on-site computer 30 stores the conversion destination NC program 1425. After that, the conversion destination NC program 1425 of the on-site computer 30 is stored in the NC controller 21 via the network 40 or via a recording medium or the like, so that the conversion destination NC program 1425 is stored in the NC controller 21. You will be able to run.
  • FIG. 5 is a flowchart of the conversion process according to the embodiment.
  • the conversion program 1411 reads all blocks of the conversion source NC program 1424 to be processed into the work area of the memory of the storage resource 14 (S11).
  • the block indicates a description portion including a command (address) that can be instructed to the NC cutting machine 20 at one time in the machining process executed by the conversion source NC program 1424.
  • the block includes one or more instructions (addresses) that can be designated at the same time. Some addresses include, for example, a code indicating the type of instruction and a parameter related to the content of the instruction. If the conversion source program 1424 has a large capacity and cannot call all blocks in the work area of the memory, the blocks to be read may be switched according to the progress of processing.
  • the conversion program 1411 identifies, based on the read block, one or more paths (referred to as non-contact partial tool paths) in which the tool does not contact the workpiece during the processing (block processing) based on the instruction indicated by the block (S12). ). Whether or not the tool contacts the work can be specified by simulating the processing based on the shape of the work to be processed and the movement path of the tool in the block. Here, all non-contact partial tool paths of the conversion source program 1424 may be specified, or only some non-contact partial tool paths may be specified. If the code in the block is the positioning "G00" (JIS B 6314), it basically means that the tool is not in contact with the work. The entire path of this block may be determined to be the non-contact partial tool path without further processing.
  • the conversion program 1411 performs the processing of loop 1 (S13 to S18) for each of the non-contact partial tool paths identified in step S12.
  • the initial value of the variable i is 1
  • the condition for continuing the processing of the loop 1 is that the variable i is equal to or less than the number of non-contact partial tool paths specified in S12, and the variable i is the loop. Is incremented by one each time.
  • the conversion program 1411 identifies a block (referred to as a specific block) including the non-contact partial tool path [i] (i-th path of the specified non-contact partial tool paths) to be processed. Yes (S13).
  • the conversion program 1411 determines whether or not the non-contact partial tool path [i] is a part of the path of the specific block (S14). As a result, when the non-contact partial tool path [i] is not a part of the path of the specific block, that is, when the entire path of the specific block is the non-contact partial tool path [i] and the specific block is the non-contact block In (S14: N), the conversion program 1411 does not execute the processes of steps S15 to S18, and ends the process for this non-contact partial tool path [i].
  • the conversion program 1411 sets the specific block to at least a part of the non-contact partial tool path [i].
  • a process of dividing into blocks including a block having a path of (non-contact block after division) is executed (for example, steps S15 to S17).
  • the conversion program 1411 indicates that the previous A block (divided previous block) corresponding to a path including the contact path and the front part of the non-contact partial tool path [i] is generated (S15), and only the intermediate part of the non-contact partial tool path [i] is passed.
  • a block (divided non-contact block: divided intermediate block) corresponding to is generated (S16), and a block corresponding to a path including a rear part of the non-contact partial tool path [i] and a rear contact path ( A block after division) is generated (S17).
  • the conversion program 1411 causes the contact path and the non-contact partial tool path [i] to be on the front side.
  • a block corresponding to a path including a part (pre-divided block) and a block corresponding to the path of the remaining part of the non-contact partial tool path [i] (divided non-contact block) are generated. If the paths of the specific block are the non-contact partial tool path [i] and the contact path in order from the front, the conversion program 1411 causes only the front part of the non-contact partial tool path [i].
  • a block corresponding to a partial path (divided non-contact block), a block including a rear part (remaining part) of the non-contact partial tool path [i] and a rear contact path (divided post-division) Block) is generated.
  • a specific block has a plurality of non-contact partial tool paths, the same processing is performed for each non-contact partial tool path by repeating the processing of loop 1.
  • the conversion program 1411 divides the specific block of the work area of the memory into a plurality of blocks (for example, The blocks are replaced with pre-divided blocks, divided non-contact blocks, and post-division blocks (S18).
  • the conversion program 1411 advances the process to step S19.
  • step S19 the conversion program 1411 specifies the plurality of block groups (delimited block groups) by dividing the entire NC program being processed before the non-contact block (non-contact block or divided non-contact block). .
  • the conversion program 1411 performs the processing of Loop 2 (S20 to S23) for each of the delimited block groups identified in step S19.
  • the initial value of the variable i is 1, and the condition for continuing the processing of the loop 2 is that the variable i is equal to or less than the number of the delimited block groups specified in S19. Each time it is performed, 1 is added.
  • the conversion program 1411 performs conversion processing on the post-delimiter block group [i] (i-th block group of the specified post-delimiter block group) to be processed, which is the conversion destination NC cutting machine 20.
  • the tool path correction amount of the tool to be used in the tool radial direction is determined (S20).
  • the tool path correction amount calculated in advance may be specified based on the spindle rigidity of the cutting machine 20 and the tool rigidity.
  • the tool path correction amount may be the tool route correction amount corresponding to the maximum deflection amount, and corresponds to the minimum deflection amount.
  • the correction amount may be the tool path correction amount or the tool path correction amount corresponding to the average amount of deflection.
  • the conversion program 1411 generates a block (correction block) including an address for causing the conversion destination NC cutting machine 20 to execute the path correction of the determined tool path correction amount (S21).
  • the correction block is a parameter different from the tool shape parameter on the memory of the NC cutting machine 20, and is a tool radius correction address (for example, G41).
  • G42 JIS B 6314
  • the tool shape parameter is a parameter that is referred to as a standard when using the tool radius correction address, and may be manually set by the user, for example.
  • the conversion program 1411 inserts the generated correction block into the head of the delimited block group, that is, before the non-contact block (S22). It should be noted that a new correction block is created, and the destination NC cutting machine 20 is made to perform path correction of the determined tool path correction amount in the non-contact block without inserting the correction block before the non-contact block.
  • a block for correction may be created by including the address.
  • the conversion program 1411 inserts a comment block (comment block) indicating that the correction block has been added before the correction block (S23).
  • variable i exceeds the number of delimiter block groups specified in S19, that is, when the process of loop 2 is executed for all the specified delimiter block groups, the process exits loop 2 and the conversion program 1411 advances the process to step S24.
  • step S24 the conversion program 1411 stores all the created blocks in the work area in the storage of the storage resource 14 as the NC program after conversion (NC program for conversion destination 1425).
  • FIG. 6 is a diagram showing a shape of a work before cutting according to an embodiment.
  • 6A shows a top view (XY plan view)
  • FIG. 6B shows a side view (YZ plan view)
  • FIG. 6C shows a side view (XZ plan view). .
  • the work 300 Before cutting, the work 300 has a notch 302 formed in a part thereof, and has a substantially rectangular shape in a top view.
  • An opening 301 having a cylindrical hole extending in the Z-axis direction is formed on the negative side of the work 300 in the negative direction of the Y-axis (rightward in FIG. 6A). The height of the work 300 increases as it goes in the plus direction of the X axis.
  • FIG. 7 is a diagram showing a target shape after cutting of the work according to the embodiment.
  • 7A shows a top view (XY plan view)
  • FIG. 7B shows a side view (YZ plan view)
  • FIG. 7C shows a side view (XZ plan view). .
  • the target shape of the workpiece 300 after cutting is such that a step portion 303 that is continuous in the vicinity of the minus side of the X axis and in the vicinity of the minus side of the Y axis is formed in the workpiece 300 before cutting. There is.
  • FIG. 8 is a diagram showing the shape of the workpiece during the cutting process according to the embodiment.
  • FIG. 8 shows the shape of the work immediately before reaching the target shape shown in FIG.
  • the dotted line in the figure indicates the target shape.
  • the final cutting portions 304 and 305 to be cut last remain.
  • FIG. 9 is a diagram illustrating a description of an NC program before correction according to one embodiment and a path of a tool in cutting processing of a corresponding work.
  • FIG. 9A shows a tool path in the final cutting process
  • FIG. 9B shows a description of a portion corresponding to the final cutting process of the NC program before correction.
  • the NC program before correction is a block 501 for linearly moving a tool from point A to point B shown in FIG. 9 (A) for cutting, and an arc-shaped tool for moving from point B to point C for cutting. It includes a block 502 and a block 503 for linearly moving a tool from point C to point D for cutting.
  • the tool width correction amount is always the same, so the cutting resistance is close to the point C.
  • the amount of cutting differs between the side and the side close to the point D, which deviates from the target shape, and the cutting accuracy deteriorates.
  • FIG. 10 is a diagram illustrating a description of a corrected NC program according to an embodiment and a path of a tool in cutting processing of a corresponding work.
  • FIG. 10A shows a tool path in the final cutting process
  • FIG. 10B shows a description of a portion corresponding to the final cutting process of the NC program after correction.
  • FIG. 10 (B) additions / changes from the NC program before correction are shown in bold and italic. Note that the following description will be given with reference to the contents of FIGS. 5 and 9 as appropriate.
  • step S12 of the conversion process shown in FIG. 5 the non-contact part tool path from the point A to the contact with the work 300 and the part corresponding to the opening 301 are detected.
  • the block 501 is specified as the specific block, and the front path of the non-contact partial tool path (from the point A to the point E).
  • a block 603 corresponding to the point), a rear path of the non-contact partial tool path, and a block 604 corresponding to the path (point E to point B) including the path where the tool contacts the workpiece are generated, and the block 501.
  • the block does not include information on the starting point, and therefore the block 604 is the same as the block 501 as a description.
  • the block 503 is specified as the specific block, and the path where the tool contacts the work and the front part of the non-contact partial tool path.
  • Block 606 corresponding to the path (point C to F), a block 609 corresponding to only the middle path of the non-contact partial tool path (point F to G), and the rear path of the non-contact partial tool path.
  • step S19 a block group (block group after division) separated before the block 603 and the block 609 which are non-contact blocks is specified. That is, the blocks 603 to 606 and the blocks 609 and 610 are specified as a block group after division.
  • the tool path correction amount (calculated value 1 in the figure) corresponding to the processing up to point B is determined for the block group after the division of blocks 603 to 606, and the correction of this tool path correction amount is performed.
  • a block 602 (correction block) for performing the above is inserted before the block 603, and a block 601 (comment block) for a comment indicating that the correction block has been inserted is inserted before the block 602.
  • the block 602 for performing the correction is executed before the block 603 in which the tool does not come into contact with the work. Therefore, it is possible to prevent the tool path from being corrected during the cutting, which results from the correction during the cutting. It is possible to appropriately prevent the occurrence of a step or the like on the work.
  • the tool path correction amount (calculated value 2 in the drawing) corresponding to the machining process from the point G to the point D is determined for the block group after the division of the block 609 and the block 610.
  • a block 608 (correction block) for correcting the path correction amount is inserted before the block 609, and a comment block 607 (comment block) indicating that the correction block has been inserted is inserted before the block 608.
  • the block 608 that performs the correction is executed before the block 609 in which the tool does not come into contact with the work. Therefore, it is possible to prevent the tool path from being corrected during the cutting, which results from the correction during the cutting. It is possible to appropriately prevent the occurrence of a step or the like on the work.
  • the blocks 601 to 610 created in this way become parts of the NC program after change corresponding to the blocks 501 to 503 of the NC program before correction.
  • the tool radius correction amount is corrected between points A and E, which is suitable for cutting from point E to point B, and the cutting process from point E to point B is performed. It can be executed with appropriate accuracy, and the correction of the tool radius correction amount suitable for the cutting processing from the G point to the D point is performed between the F point and the G point.
  • the cutting process of can be performed with appropriate accuracy. Thereby, the cutting accuracy for the work can be improved.
  • the conversion source NC program tuned for the conversion source NC cutting machine 20 is converted into the conversion destination NC program in consideration of at least the information regarding the rigidity of the conversion destination NC cutting machine 20. Therefore, it is possible to improve the processing accuracy in the processing of the conversion destination NC cutting machine 20. Further, according to the above-described processing, it is possible to correct the tool path correction amount suitable for the cutting processing. Further, since it is possible to prevent the correction during the cutting, it is possible to appropriately prevent the occurrence of a step or the like on the work due to the correction during the cutting.
  • the tool path correction amount can be calculated while effectively using the description of the NC program before correction. Since the correction is possible, the user who has read the NC program before the correction can easily understand the NC program after the correction. In addition, since the comment indicating the converted portion is added to the corrected NC program, the user can more easily understand the corrected NC program.
  • Candidate NC cutting machine candidate (setting candidate or selection candidate of the converting machine designation area 110) For example, as a candidate NC cutting machine set as the conversion destination NC cutting machine or narrowed down as a selection candidate, another NC cutting machine 20 including all the functions of the conversion source NC cutting machine 20. May be Specifically, for example, when the conversion source NC cutting machine 20 is a milling machine or a drilling machine, the candidate NC cutting machine may be used as the machining center. Further, when the conversion source NC cutting machine is a 3-axis machining center, the candidate NC cutting machine may be a 5-axis machining center.
  • an NC cutting machine capable of executing all the processing steps described in the conversion source NC program 1424 may be For example, even if the conversion source NC cutting machine is a 5-axis machining center, if all the processing steps described in the conversion source CN program 1424 can be executed by the 3-axis machining center, the candidate NC cutting is performed.
  • the processing machine may be a three-axis machining center.
  • the NC cutting machine 20 that can be loaded with a smaller number of tools than the number of tools used in the conversion source NC program 1424 may be excluded from the candidate NC cutting machines.
  • the conversion destination tool set candidate may be a tool set having the same number of tools as the conversion source tool set. In terms of machining accuracy, it may be preferable to use the same number of tools as the conversion source tool set as a candidate. For example, in the conversion source, when conversion is performed by the number of steps such as a roughing process, a medium processing process, and a finishing process by three tools, and the number of steps such as a roughing process and a finishing process is performed by two tools, and This is because it is difficult to obtain the same processing accuracy as that of the conversion source even if the order is performed. Note that such applications may be stored for each tool TL, and a tool set including all applications of the tool TL included in the conversion source tool set may be used as a candidate.
  • the candidate for the conversion destination tool set may be a tool set that includes the same type of tools as each tool of the conversion source tool set.
  • the same type may have the same purpose.
  • a tool set including a tool for which necessary information has not been acquired in advance may be excluded from the conversion destination tool set candidates.
  • an operator who uses the screen of FIG. 3 can convert the tool TL included in the tool set of the conversion destination environment to the conversion destination environment of the same purpose as the tool TL of the pre-conversion environment.
  • An operator's input rule of inputting the same slot number as that of the tool may be set. Such rules may not be observed due to operator error.
  • the configuration information acquisition program 1412 accepts the input of the application (for example, for rough machining process, for medium machining process, for finishing process) for each tool TL included in the tool set, and stores it in the individual tool information 1423. , You may use this information to solve the problem.
  • the program is included in the tool set of the selected conversion-destination environment and the correspondence (referred to as correspondence 1) between the use of the tool TL included in the tool set of the selected conversion-source environment and the slot number.
  • the usage (conversion destination tool usage) of the tool TL to be read is read, the correspondence 1 having the same usage as the conversion destination tool usage is searched, and the slot number of the correspondence 1 is set as the slot number of the conversion destination tool set.
  • the conversion process by the conversion program 1411 is performed after determining which slot TL can be used for which tool TL in the conversion destination environment.
  • it is desired to dynamically determine the slot for storing each tool after the conversion processing For example, since the conversion process may take a long time (for example, one day), it is desirable to start the conversion immediately.
  • the slot number and the tool TL are required at the start of the conversion. It is when the relationship with
  • the slot number of each tool input or selected on the screen of FIG. 3 is regarded as a temporary slot number
  • conversion processing is performed by the conversion program 1411, and then the temporary slot number is converted to an actual slot number (temporary (Slot number conversion processing) may be performed.
  • the program that performs the temporary slot conversion process may be referred to as a temporary slot conversion program.
  • the temporary slot number conversion process may be performed immediately before the download is started by pressing the download button 210 on the download screen of FIG. 4, or may be executed by another program in the on-site computer 30 after the download.
  • the conversion information (slot number conversion information) between the temporary slot number and the actual slot number, which is the information necessary to execute the temporary slot number conversion process, is the information before the temporary slot number conversion process is executed.
  • the temporary slot number is preferably a number, but may be another identifier. Since the introduction of the temporary slot number conversion processing can be performed before the determination of which tool TL is to be stored in each slot, the execution timing of the high-load or long-time processing by the conversion program 1411 can be targeted. It can be said that it becomes possible to effectively use the computer resources of the computer 10 for use.
  • the temporary slot number to be given to the tool TL in the tool set selected as the conversion destination environment may be determined as follows before the conversion processing by the conversion program 1411 is started. In any case, the relationship between the determined tool TL and the temporary slot number is stored in the individual tool information and referred to during the slot number conversion processing.
  • the slot number conversion information it is sufficient to simply input the relationship between the temporary slot number and the actual slot number into the computer, but it is difficult to input it in a situation where it is not known which tool TL the temporary slot number is for. . Therefore, on the conversion information input screen, the information of the tool TL to which the temporary slot number has been assigned may be displayed together on the conversion information input screen.
  • the conversion input screen 100 and the download confirmation screen 200 may be displayed on any of the on-site computers 30 to accept the input.
  • the location where the conversion destination NC cutting machine 20 is present. May be displayed on the on-site computer 30 to accept the input.
  • a part of the conversion input screen 100 is displayed on the on-site computer 30 at the place where the conversion source NC cutting machine 20 is present so as to accept the input, and the remaining part of the conversion input screen 100 is converted.
  • the NC cutting machine 20 may be displayed on the site computer 30 where the NC cutting machine 20 is located to receive the input.
  • Step A1 A physical phenomenon during processing is simulated using the information of the conversion destination environment and the work W information, and the shape of the work W is predicted. Information on the conversion source environment may be used in the simulation. The simulation may be performed by a program other than the conversion program 1411. * (Step A2) Calculation of an error based on comparison between the predicted shape of the work W and the target shape of the work W.
  • Step A3 Add or change the description (the above-mentioned tool diameter correction, tool length correction, tool wear correction, feed speed, cutting speed, etc.) to eliminate the error to the conversion source NC program 1424, and convert the NC to the conversion destination. It is stored as the program 1425.
  • Step B1 The information of the conversion destination environment, the work W information, the information of the conversion source environment, and the target shape of the work W are input to the artificial intelligence program to obtain the error. It should be noted that the machining shape after machining the workpiece W or the target shape using the conversion source NC program in the conversion source environment may be pre-input together with the information of the conversion source environment as the educational data of the artificial intelligence program.
  • the machining shape after machining the work W by the NC program other than the NC program for the conversion destination environment and the target shape may be pre-input together with the information of the conversion destination environment.
  • the artificial intelligence program may be executed by a program other than the conversion program 1411. * (Step B2) Add or change the description (the above-mentioned tool diameter correction, tool length correction, tool wear correction, feed rate, cutting speed, etc.) to eliminate the error to the conversion source NC program 1424, and convert it to the conversion destination NC. It is stored as the program 1425.
  • FIGS. 3 and 4 may be divided as follows. It should be noted that although a part of the description below is based on the screen as a subject, it is actually achieved by executing a program executed by each site computer by the CPU.
  • the work computer 30 in the conversion source environment may display the areas 100A (at least the NC program name 101) and 100B in FIG. This is because the information to be input in these areas is relatively obtained in the conversion source environment, and it is efficient to have the operator in the conversion source environment input the information. However, it is not necessary to display all the input areas included in the areas 100A and 100B of FIG.
  • the information input by the work computer in the environment before conversion is stored in the conversion computer 10 with a predetermined identifier (hereinafter, also referred to as a library name). Note that these inputs are also useful as information that could be processed with the intended error in the environment before conversion.
  • ⁇ Work computer in the conversion destination environment >>> It is conceivable to display the area 100C in FIG. 3 on the work computer in the conversion destination environment. This is because the information to be input in these areas is relatively obtained in the conversion destination environment, and it is efficient to have the operator in the conversion destination environment input the information.
  • the screen of the work computer in the conversion destination environment includes an area for designating the above-mentioned library name in order to call the contents input in the work computer 30 in the conversion source environment. By doing so, the input in the conversion source environment can be appropriately specified, and the information necessary for the conversion processing by the conversion program 1411 can be specified. However, it is difficult to input the appropriate conversion destination environment because the information on the conversion source environment is unknown only by the library name. Therefore, on the screen of the work computer in the conversion destination environment, the input information corresponding to the library name may be displayed after the library name is specified.
  • the worker in the conversion source environment can create the conversion destination NC program 1425 that can be executed in a plurality of conversion destination environments, despite one input work.
  • the library name before conversion over time may be specified and the environment after change over time may be input as the conversion destination environment.
  • a part or all of the processing performed by the CPU 11 may be performed by a hardware circuit.
  • the program in the above embodiments may be installed from a program source.
  • the program source may be a program distribution server or a non-volatile storage medium (for example, a portable storage medium).
  • the non-contact partial tool path in which the tool does not contact the workpiece is detected
  • the NC program is divided into a plurality of block groups based on the block corresponding to the non-contact partial tool path, and the cutting of the block group is executed.
  • the block that performs the tool path correction is generated before the block to be cut.
  • the NC program is divided into a plurality of block groups based on the inflection point of the cutting resistance applied to the tool, and the cutting resistance is divided into groups.
  • a block for tool path correction may be generated before the portion that becomes the inflection point of.
  • the comment indicating that the correction block has been added is added.
  • the difference from the description of the division source of the block is added as a comment.
  • a comment indicating the correspondence with the change before may be added.
  • the pre-conversion NC program may be an NC program immediately after being generated from the target shape data by the CAM program and before being cut by the processing machine.
  • the tool set in this case may be input with the tool data when the NC program is generated by the CAM program.
  • the tool path correction amount is determined by the rigidity of the work W and the thermal expansion amount during cutting of the work W (in other words, the thermal contraction amount after cutting) in addition to the above-described spindle rigidity or tool rigidity. May be based on.
  • machining center was mainly described as an example of a processing machine, but other processing machines may be used as long as NC control is possible.
  • data transmission / reception between the on-site computer and conversion computer was partially omitted, but of course, data transmission / reception is performed between the on-site computer and conversion computer.
  • the conversion program 1411 is executed by the conversion computer and the user interface display or the information display or information input by the operation is performed on the site computer
  • one of the processes performed by the configuration information acquisition program is performed by the site computer.
  • the program responsible for the department is executed on the on-site computer.
  • the program that bears the part transmits the input information to the conversion computer, or the program that bears the part receives the display information transmitted from the conversion computer and displays the user interface. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Geometry (AREA)
  • Numerical Control (AREA)

Abstract

NCプログラムを、ワークの切削面に切削途中での補正による段差の発生を回避しつつ、適切な加工精度を確保可能なNCプログラムに変換する技術を提供する。 変換元用NCプログラム1424を変換して変換先用NCプログラム1425を生成するNCプログラム変換処理方法において、変換元用NCプログラム1424中の複数のブロックに基づいて、変換元用NCプログラムを実行する加工機の工具がブロックに対応する処理中にワークに接触しないパスである非接触部分工具パスを特定し、非接触部分工具パスのみをパスとするブロックである非接触ブロックを特定し、非接触ブロックに続く1以上のブロックである後続ブロックに従うワークの加工処理における工具径方向の工具経路補正量を決定し、後続ブロックよりも前に、工具経路補正量だけ前記工具の経路を補正するための記述を含むブロックを作成するようにする。

Description

NCプログラム変換処理方法及び変換用計算機
 本発明は、数値制御(NC)用のNCプログラムを変換する技術に関する。
 近年、NCプログラムをNC切削加工機に入力することによって、被加工物(以後、ワークと呼ぶことがある)の加工を行うことがある。
 例えば、特許文献1には、「NCプログラム装置1は、加工開始点、加工終了点、使用するエンドミルEのサイズを含む加工条件の指定に応じて被加工物5に要求される加工形状を予め定めた固定加工サイクルに置き換え、この固定加工サイクル内にて仮定された送り経路に沿って送り移動されるエンドミルEに加わる切削抵抗の予測値の算出を、予め定めた適正値との間に所定の比較評価結果が得られるまで繰り返し、エンドミルEの送り経路を、その各部における送り速度を含めて決定する。」ことが開示されている。
特開2003-263208号公報
 特許文献1に開示の技術では、工具が被加工物(本願ではワークと呼ぶ)に接触中に送り速度や切込み量を変更することで、高い加工精度を実現しようとしているが、その結果としてワークの切削面に切削途中での補正による段差が発生してしまう。
 本発明は、上記事情に鑑みなされたものであり、その目的は、NCプログラムを、ワークの切削面に切削途中での補正による段差の発生を回避しつつ、適切な加工精度を確保可能なNCプログラムに変換する技術を提供することにある。
 一観点に係るNCプログラム変換処理方法は、補正前NCプログラムを変換して補正後NCプログラムを生成するNCプログラム変換処理方法であって、補正前NCプログラム中の複数のブロックに基づいて、補正前NCプログラムを実行する加工機の工具がブロックに対応する処理中にワークに接触しないパスである非接触部分工具パスを特定し、非接触部分工具パスのみをパスとするブロックである非接触ブロックを特定し、非接触ブロックに続く1以上のブロックである後続ブロックに従うワークの加工処理における工具径方向の工具経路補正量を決定し、後続ブロックよりも前に、工具経路補正量だけ工具の経路を補正するための記述を含むブロックを作成する。
 本発明によると、NCプログラムを、適切な加工精度を確保することのできるNCプログラムに変換することができる。
図1は、一実施形態に係る加工処理システムの全体構成図である。 図2は、一実施形態に係る変換用計算機の構成図である。 図3は、一実施形態に係る変換用入力画面の構成図である。 図4は、一実施形態に係るダウンロード確認画面の構成図である。 図5は、一実施形態に係る変換処理のフローチャートである。 図6は、一実施形態に係るワークの切削前の形状を示す図である。 図7は、一実施形態に係るワークの切削後の目標形状を示す図である。 図8は、一実施形態に係るワークの切削処理中の形状を示す図である。 図9は、一実施形態に係る補正前のNCプログラムの記述と、対応するワークの切削処理における工具のパスと、を説明する図である。 図10は、一実施形態に係る補正後のNCプログラムの記述と、対応するワークの切削処理における工具のパスと、を説明する図である。
 実施形態について、図面を参照して説明する。なお、以下に説明する実施形態は特許請求の範囲に係る発明を限定するものではなく、また実施形態の中で説明されている諸要素及びその組み合わせの全てが発明の解決手段に必須であるとは限らない。
<システム構成>
 図1は、一実施形態に係る加工処理システムの全体構成図である。
 加工処理システム1は、変換用計算機10と、複数のNC切削加工機20(加工機の一例)と、複数の現場用計算機30とを備える。変換用計算機10と、複数のNC切削加工機20と、複数の現場用計算機30とが、ネットワーク40を介して接続されている。ネットワーク40は、有線ネットワークでも無線ネットワークでもよい。本実施形態では、場所Aと場所Bとのそれぞれに、NC切削加工機20と、現場用計算機30とが配置され、場所Cに、変換用計算機10が配置されている。なお、変換用計算機10は、場所A又は場所Bのいずれかに配置されてもよい。また、複数のNC切削加工機20と、複数の現場用計算機30とが同一の場所に配置されていてもよい。
 変換用計算機10は、或るNC切削加工機20用のNCプログラム(変換元用NCプログラム:補正前NCプログラム)を他のNC切削加工機20用のNCプログラム(変換先用NCプログラム:補正後NCプログラム)に変換する処理を実行する。変換用計算機10の詳細については、後述する。
 現場用計算機30は、現場の作業者により操作される計算機であり、例えば、プロセッサ、記憶資源等を備えるPC(Personal Computer)によって構成される。なお、ここで言う現場は、図1ではNC切削加工機20が設置された場所(例えば工場内、建物、フロア等)が典型例である。ただし、現場用計算機30は、変換用計算機10の画面表示用として用いるのであれば、NC切削加工機20が設置された場所以外で使用されてもよい。
 なお、以後の説明では、現場用計算機30は変換したNCプログラムのダウンロード処理及び画面表示や、変換用入力画面等の画面表示を担当し、実際の変換処理は変換用計算機10が担当することを例として説明している。しかし、多少の利便性は低下するものの、各計算機が担当する役割(一部の役割も含めて)お互いに交換又は統合可能である。また、変換用計算機10は複数の計算機で構成されていてもよい。従って、以後の説明では、「変換システム」という言葉を使うことがある。当該システムは1以上の計算機(現場用計算機30又は変換用計算機10)を含み、下記で説明する変換用計算機10と現場用計算機30が担当する処理を行うシステムである。なお、現場用計算機30で実現する処理の一部は省略されてもよい。
 NC切削加工機20は、例えば、マシニングセンタであり、加工処理を実行する本体部22と、本体部22の加工処理を制御するNCコントローラ21と、本体部22で使用される1以上の工具セットの工具TLを収容可能な収容部の一例としてのツールマガジン25とを備える。
 ツールマガジン25は、それぞれ1つの工具TLを収容可能な複数のスロット(SL:25a,25b,25c)を有する。
 NCコントローラ21は、内部に記憶されているNCプログラムに従って、本体部22の加工処理や工具の交換処理を制御する。
 本体部22は、処理ヘッド部23と、ステージ24と、交換部の一例としての工具交換部26とを含む。処理ヘッド部23は、工具TLを装着可能であり、且つ回動可能な主軸を備える。なお、処理ヘッド部23は、主軸それ自体であってもよい。ステージ24は、加工処理の対象となる被切削加工物(ワーク)Wを載置して移動可能である。工具交換部26は、処理ヘッド部23から工具TLを外して、ツールマガジン25の空きスロットに収容する。また、工具交換部26は、工具TLをツールマガジン25のスロットから取り出し、処理ヘッド部23に装着する。工具交換部26の一例は、工具自動交換装置(ATC)のチェンジアーム(ATCアームとも呼ばれる)である。なお、前述のツールマガジン25も工具自動交換装置の構成物である。NCプログラムは内部に工具交換命令を意味する一連の命令(NCプログラムの用語ではコードや、コードにパラメータを追加したワードと呼ばれる)を記述可能であり、当該工具交換命令には、ツールマガジン25内のスロット(意味は後術する)の位置を示すスロット番号が含まれている。工具交換部26は工具交換命令を読み込んだNCコントローラ21の指示により工具交換命令のパラメータに含まれるスロット番号で指定されたスロットから工具TLを取り出し、処理ヘッド部23に取り付ける。
 NC切削加工機20においては、ツールマガジン25に収容可能な工具TLの数には制限があるが、予め1以上の工具セット50を用意しておき、実行する加工処理に応じて、ツールマガジン25に収容する工具セットを入れ替えることにより、種々の加工処理に対応することができる。
 本実施形態では、工具TLは、ワークWを切削するためのエンドミル、ドリル、バイト等の刃物部TLaと、刃物部TLaを処理ヘッド部23に装着するためのホルダTLbとを含んだものとしているが、例えば、処理ヘッド部23に刃物部TLaをそのまま装着できる場合には、ホルダTLbを含んでいなくてもよく、少なくとも刃物部TLaを含んでいればよい。
 なお、以後の説明では、変換対象とするNCプログラム(即ち、変換元用NCプログラム)を使用して加工を行っていた加工機と、当該加工機に対応する工具セットと、を少なくとも含む存在を「変換元環境」と呼ぶことがある。また、変換されたNCプログラム(即ち、変換先用NCプログラム)を使用して加工を予定する加工機と、当該加工機に対応する工具セットと、をすくなくとも含む存在を「変換先環境」と呼ぶことがある。なお、変換元環境及び変換先環境には、それぞれの場所に含まれる物理的又は論理的な存在(例えば、その場所の温度や、温度センサ、湿度、湿度センサ、或いはその場所で加工機が設置された床、場所を構成する建物)が含まれてもよい。なお、「加工機に対応する工具セット」とは、加工機の工具マガジンに格納済の工具セットに加えて、将来工具マガジンに格納して使用する可能性のある工具セットも含む。典型的には加工機に対応する工具セットは、加工機と同じ場所に設置されている。
 次に、変換用計算機10について詳細に説明する。
 図2は、一実施形態に係る変換用計算機の構成図である。
 <<ハードウェア>>
 変換用計算機10は、一例としてはパーソナルコンピュータ、汎用計算機である。変換用計算機10は、プロセッサの一例としてのCPU11、ネットワークインターフェース12(図ではNet I/Fと省略)、ユーザインターフェース13(図ではUser I/F)、記憶部の一例としての記憶資源14、及びこれら構成物を接続する内部ネットワークを含む。
 CPU11は、記憶資源14に格納されたプログラムを実行することができる。記憶資源14は、CPU11で実行対象となるプログラムや、このプログラムで使用する各種情報、NC切削加工機20で使用するNCプログラム等を格納する。記憶資源14としては、例えば、半導体メモリ、フラッシュメモリ、HDD(Hard Disk Drive)、SSD(Solid State Drive)等であってよく、揮発タイプのメモリでも、不揮発タイプのメモリでもよい。
 ネットワークインターフェース12は、ネットワーク40を介して外部の装置(例えば、現場用計算機30、NC切削加工機20のNCコントローラ21等)と通信するためのインターフェースである。
 ユーザインターフェース13は、例えば、タッチパネル、ディスプレイ、キーボード、マウス等であるが、作業者(ユーザ)からの操作を受け付け、情報表示ができるのであれば、他のデバイスであってもよい。ユーザインターフェース13は、これら複数のデバイスで構成されてもよい。
 <<データ等>>
 記憶資源14は、加工機構成情報1421と、工具セット情報1422と、個別工具情報1423と、変換元用NCプログラム1424と、変換先用NCプログラム1425と、変換履歴情報1426とを格納する。なお、記憶資源14は、これ以外の情報を格納してもよい。次の段落から各データやプログラムの詳細について説明する。なお、各情報、又は各情報の一部の項目は省略してもよい。
 *加工機構成情報1421。加工機構成情報1421は、例えば、各NC切削加工機20に関する情報を格納するテーブルとして構成される。加工機構成情報1421は、各NC切削加工機20ごとに、以下に示す各情報を含む。
(a1)NC切削加工機20の識別子(加工機ID)。加工機IDとして、NCコントローラ21の識別子や、NCコントローラ21のネットワークアドレスを代用してもよい。
(a2)NC切削加工機20の型番。
(a3)NC切削加工機20の設置場所。
(a4)NC切削加工機20の使用実績、例えば、使用時間等。
(a5)NC切削加工機20の所定の部位の温度。所定の部位としては、NC切削加工機20の主軸や、ステージ24であってもよい。
(a6)NC切削加工機20の所定の部位の剛性に関する情報(例えば、部位のヤング率や、たわみ量等)。所定の部位としては、NC切削加工機20の処理ヘッド部23の主軸や、ステージ24であってもよい。
(a7)NC切削加工機20の所定の部位の形状。所定の部位の形状としては、NC切削加工機20の主軸の長さや、ステージ24の長さであってもよい。
(a8)ツールマガジン25に収容可能な最大の工具数、すなわち、スロットの数。
(a9)経年変化や設置環境に合わせて設定されるオフセット値。このオフセット値は、NCプログラムにおける工具移動時の座標を微修正するために使用される値であり、例えば経年劣化でステージが微妙に傾いた等の状況を補正するために使用される値である。
(a10)NCコントローラ21のメーカ、型番等。NCコントローラ21は、メーカや型番に応じて、NCプログラムの記述形式が多少異なる場合があり、このような状況を判断するために用いられる。
(a11)主軸やステージ等のコンポーネントのがたつき、移動精度(例えば、ステージのバックラッシュ量等)、直線度、平面度、平行移動度、装置稼働時の振動幅や振動周波数。
 本実施形態では、(a1)、(a2)、(a4)、(a5)、(a8)、(a9)、及び(a10)の情報については、例えば、NC切削加工機20のNCコントローラ21から取得する一方、(a3)、(a6)、(a7)、及び(a11)については、作業者による入力情報から取得している。なお、情報を取得する方法はこれに限られず、(a1)、(a2)、(a4)、(a5)、(a8)、(a9)、及び(a10)の少なくとも一部について、作業者によるユーザインターフェース13を介しての入力情報から取得するようにしてもよく、また、(a3)、(a6)、(a7)、及び(a11)の中のNCコントローラ21から取得可能な情報については、NCコントローラ21から取得するようにしてもよい。なお、NCコントローラ21から取得するとした情報についても、代替のデバイス(例えば別な計算機や、センサ自体)から取得してもよい。
 *工具情報(工具セット情報1422及び個別工具情報1423)
 工具セット情報1422は、1以上の工具TLで構成されるグループ(セット)を管理するための情報である。工具セット情報1422は、工具セットの識別情報(工具セットID)と、セットを構成する1以上の工具TLの識別子、又は型番の集合である。
 個別工具情報1423は、各工具に関する情報である。個別工具情報1423は、以下に示す各情報を含む。
(b1)工具TLの識別子(工具ID:例えば、シリアル番号等)。工具TLの識別子としては、刃物部TLaやホルダTLbに個体IDが与えられている場合は、その値であってもよく、付されていない場合には、構成情報取得プログラム1412を実行するCPU11が自動付与してもよい。
(b2)工具TLの型番(工具特定情報の一例)。例えば、工具TLを構成する刃物部TLaとホルダTLbとのそれぞれの型番。なお、工具TLが、刃物部TLaのみで構成される場合には、刃物部TLaの型番のみでよい。また、刃物部TLaが複数の部品で構成される場合には、それらすべての型番であってもよく、一部の型番であってもよい。
(b3)工具TL(例えば、刃物部TLaと、ホルダTLbのそれぞれ)についての材質、形状、剛性(ヤング率、たわみ量等)、使用履歴、温度等。ここで、工具TLの材質、形状によって剛性が変化するので、これらの情報も剛性に関する情報である。なお、明記しない限りは、「形状」とは、一般的に言うところの図面やCADデータが示す立体形状や断面形状に加えて、長さ、刃物部TLaがホルダTLbから突出する長さ(刃物飛び出し長さ)、刃物部TLaの太さ、刃物部TLaの直線度、といった形状から得られる代表的な値も含むものとする。
(b4)工具が収容されるべきツールマガジン25の配置位置(スロット)の情報(位置情報、スロット番号)。
 なお、本実施形態では、(b1)~(b4)の情報については、例えば、作業者によるユーザインターフェース13を介しての入力情報から取得するようにしているが、NCコントローラ21から取得可能な情報については、NCコントローラ21から取得するようにしてもよい。
 *変換元用NCプログラム1424は、変換元のNC切削加工機20(変換元NC切削加工機20という。)において、加工処理に使用しているNCプログラムである。変換元用NCプログラム1424は、変換元NC切削加工機20による加工処理によって得られる目的物の加工精度を所定の精度に維持するために、変換元NC切削加工機20の特性や状態等に合わせてチューニングされている場合がある。
 *変換先用NCプログラム1425は、変換先のNC切削加工機20(変換先NC切削加工機20という。)に合うように、変換元用NCプログラム1424を変換して得られたNCプログラムである。なお、いずれの変換元用NCプログラム1424に対しても変換処理が行われていない場合には、変換先用NCプログラム1425は、存在しない。
 *変換履歴情報1426は、変換元用NCプログラム1424を変換先用NCプログラム1425に変換する際の変換処理の履歴を管理する情報である。変換履歴情報1426は、例えば、変換処理を識別する識別情報と、その変換処理時に使用した各種情報(入力された情報等)とを対応付けた情報である。
 その他、記憶資源14には下記の情報を格納してもよい。
*ワークW情報。本情報は、例えばワークWの加工前の形状データ、材質、剛性、ワークWの加工目標形状データ等の情報。加工目標形状データとは、NCプログラムによって加工する時の目標とする形状を示すデータである。当該目標形状にワークWを加工できた場合は誤差がゼロであることを意味する。
*加工機構成情報1421、工具セット情報1422、個別工具情報1423以外の、変換前環境又は変換先環境の情報。本情報を明示するために「その他変換前環境情報」や「その他変換前環境情報」と呼ぶことがある。
<変換用計算機で動作するプログラム>
<<変換プログラム1411>>
 変換プログラム1411は、CPU11に実行されることにより、以下の処理を実行する。ここで、CPU11が変換プログラム1411を実行することにより、変換部が構成される。
*変換プログラム1411は、後述する変換用入力画面100(図3参照)の変換開始ボタン120が押下された場合に、変換用入力画面100に入力された各種情報を加工機構成情報1421、工具セット情報1422、及び個別工具情報1423に反映させ、変換用入力画面100に入力された各種情報と、加工機構成情報1421、工具セット情報1422、及び個別工具情報1423に含まれる、変換先環境の情報或いは変換元環境の情報とに基づいて、変換対象の変換元用NCプログラム1424を変換先用NCプログラム1425に変換する変換処理を実行し、得られた変換先用NCプログラム1425を記憶資源14に格納する。
 変換元用NCプログラム1424を変換先用NCプログラム1425に変換する変換処理においては、例えば、変換プログラム1411は、変換先NC切削加工機20の剛性、又は変換先NC切削加工機20で使用される工具セット50の工具TLの剛性、に関する情報に基づいて、変換元用NCプログラム1424の命令を変更或いは追加したデータを、変換先用NCプログラム25とする。なお、追加又は変更する命令としては、工具径補正、工具長補正、工具摩耗補正、送り速度、又は切削速度とすることで、工具TLによるワークWの加工回数が増える等の大幅な加工作業が変わることを回避してもよい。しかし、ワークWの加工回数が増えるような命令(例えばためし削りに相当する命令)を追加してもよい。
 また、変換元用NCプログラム1424を変換先用NCプログラム1425に変換する変換処理においては、変換プログラム1411は、変換元NC切削加工機20のNCコントローラ21と、変換先NC切削加工機20のNCコントローラ21とで、NCプログラムについての記述形式の少なくとも一部が異なっている場合には、変換元用NCプログラムの記述における、記述形式が異なる部分について、変換先NC切削加工機20のNCコントローラ21用の記述形式に変換する。これにより、変換先NC切削加工機20のNCコントローラ21において支障なく加工処理を行うことができる。
 変換プログラム1411は、変換先用NCプログラム1425内に、コメントとして、変換先NC切削加工機20の加工機IDと、変換先NC切削加工機20で使用すると指定された工具セットの各工具TLの型番(或いは識別子)と、各工具TLの配置位置情報(スロット番号)とを記載するようにしてもよい。例えば、コメントとして、「MC2:SL1:ML7x、・・・」と記載してもよい。ここで、MC2は、加工機IDであり、SL1は、スロット番号であり、ML7xは、ミルの型番である。このコメントを参照することにより、変換先用NCプログラム1425が、どのNC切削加工機20を対象とし、どのような工具をどのスロットに格納すればよいのかを把握することができる。また、変換先用NCプログラム1425内に、コメントとして、使用すると指定された各工具TLの用途と、各工具TLの配置位置情報とを記載するようにしてもよい。このようなコメントを追加することで変換先用NCプログラム1425のデータ量が増加するが、必ず変換先NCプログラムと一体で管理できるため、想定していないNC切削加工機20や工具TLを間違って使うことを軽減できる。なお、以後の説明では本段落で説明したコメントを「変換先装置又は工具コメント」と呼ぶ場合がある。
 また、変換プログラム1411は、変換先用NCプログラム1425内に、コメントとして、変換処理のID(変換履歴ID)を格納するようにし、変換履歴IDと、変換用入力画面100に入力された各種情報とを対応付けた変換履歴情報1426を記憶資源14に格納する。変換先用NCプログラム1425内のコメントとして格納された変換履歴IDを変換履歴情報1426と突き合わせることにより、変換時に考慮した各種値を把握することができ、変換先用NCプログラム1425による加工処理の精度が不十分である場合における原因追及を行うことができる。なお、以後の説明では本段落のようなコメントを「履歴コメント」と呼ぶ場合がある。
 なお、変換プログラム1411による変換処理を多重に行う場合が考えられる。例えば、1回目に変換した変換先用NCプログラム1425を、さらに別なNC切削加工機20又は工具セット向けに変換したい場合である。このような場合に上記「変換先装置又は工具コメント」と「履歴コメント」はその変換多重度分だけ変換先用NCプログラム1425に存在してもよい。しかし、一番最後の変換によって生成されたこれらコメントのみを残し、それより前のこれらコメントは削除することが好ましい。特に「変換先装置又は工具コメント」では作業者が見るべきものは最後の変換で付与されたコメントだけだからである。
*変換プログラム1411は、変換処理後に、後述するダウンロード確認画面200(図4参照)を表示させ、ダウンロードボタン210が押下された場合に、変換先用NCプログラム1425を、変換先NC切削加工機20のNCコントローラ21又は変換先NC切削加工機20のある場所の現場用計算機30に送信する。
<<構成情報取得プログラム1412>>
 構成情報取得プログラム1412は、CPU11に実行されることにより、以下の処理を実行する。ここで、CPU11が構成情報取得プログラム1412を実行することにより、剛性情報受付部が構成される。
*構成情報取得プログラム1412は、NCコントローラ21からNC切削加工機20に関する各種情報を取得する。取得する情報としては、上記した(a1)、(a2)、(a4)、(a5)、(a8)、(a9)、及び(a10)の情報がある。
*構成情報取得プログラム1412は、変換用入力画面100をユーザインターフェース13に表示させ、変換用入力画面100を介して作業者からの各種情報(作業者から取得するNC切削加工機20に関する情報((a3)、(a6)、(a7)、及び(a11))、及び工具セット50に関する情報((b1)~(b4)の情報))を取得する。
*構成情報取得プログラム1412は、変換用入力画面100において、必要な情報が入力されていない場合や、適切でない場合(情報が古い場合)には、その情報の入力領域の近傍に、アラート記号(「!」等)を表示する。なお、構成情報取得プログラム1412は、必要な情報が入力されていない場合や、適切でない場合には、変換処理の実行が開始されないように、例えば、変換用入力画面100の変換開始ボタン120を押下不能な状態として表示させてもよい。このようにすると、変換でエラーが発生するような場合に、変換処理の実行を適切に抑止することができる。
*構成情報取得プログラム1412は、変換元環境の情報(つまり、変換元NC切削加工機20の情報や変換元NC切削加工機20の工具セット50に関する情報)に基づいて、変換先環境における選択入力領域における入力値を適切な値に設定したり、或いは、プルダウンで選択可能となる選択候補を絞り込んだりするフィルタリング処理を実行する。例えば、構成情報取得プログラム1412は、変換元環境で選択されている工具セットの工具数と同じ工具数の工具セットだけを変換先における工具セットの選択候補として絞り込む。
 次に、構成情報取得プログラム1412によって表示される変換用入力画面100について詳細に説明する。
<変換用入力画面>
 図3は、一実施形態に係る変換用入力画面の構成図である。変換用入力画面100は、例えば下記描画領域より構成され、各領域に入力又は表示用の画面オブジェクトを含む画面である。
*変換前環境領域100B。この領域は、変換前環境の入力又は表示用の画面オブジェクトを含む。
*変換先環境領域100C。この領域は、変換先環境の入力又は表示用の画面オブジェクトを含む。
*加工情報領域100A。この領域は、変換前環境や変換先環境とは独立した情報に関する入力又は表示用の画面オブジェクトを含む。
 加工情報領域100Aは下記を含む。なお、以後の説明では表示や入力のための「領域」という用語を用いているが、これは表示用の画面オブジェクト、又は入力用の画面オブジェクトを含む領域を指している。
*変換対象(変換元)のNCプログラムのファイル名を入力するためのファイル名入力領域101。
 変換前環境領域100Bは、下記を含む。
*変換元NC切削加工機20の加工機IDや構成情報を選択指定する変換元加工機指定領域102。
*変換元NC切削加工機20に関する各種情報を入力するための変換元加工機情報入力領域103。
*変換元NC切削加工機20において変換元用NCプログラムに従った加工処理で使用した工具セットを選択指定するための変換元工具セット指定領域104。
*工具セットに含まれる各工具に関する情報を入力するための変換元工具情報入力領域105,106,107。
 変換先環境領域100Cは、下記を含む。
*変換先NC切削加工機20の加工機IDや構成情報を選択指定する変換先加工機指定領域110。
*変換先NC切削加工機20に関する各種情報を入力するための変換先加工機情報入力領域111。
*変換先NC切削加工機20において変換先用NCプログラムに従った加工処理で使用する工具セットを選択指定するための変換先工具セット指定領域112。
*工具セットに含まれる各工具に関する情報を入力するための変換先工具情報入力領域113,114,115。
*変換元用NCプログラムから変換先用NCプログラムへの変換処理の開始を受け付ける変換開始ボタン120。
 なお、上記領域分けは一例である。例えば、ファイル名入力領域101は変換元環境で工具セットTLと共に変換前環境の一部とみなし、加工前環境領域100Bに含まれてもよく、逆にまとめて加工情報100Aに含まれてもよい。本図では前述の「ワークW情報」、「その他変換前環境情報」、及び「その他変換先環境情報」入力又は表示領域の図示を省略している。しかし、これら領域を本画面で表示することで、情報入力を受け付けたり、情報を表示させたりしてもよい。ワークW情報は、領域100Aに含めればよい。ワークWの情報が各環境での変化が小さいのであれば好適である。一方で、環境毎にワークWの加工前の形状が異なるような場合は、そのような入力や表示領域は領域100Bや領域100Cに含めればよい。なお、形状データは図3の領域101のように形状データを格納したファイル名を指定する画面オブジェクトを用いればよい。
 変換元加工機情報入力領域103は、作業者による入力が必要な情報(変換元加工機要入力情報)、例えば、上記した(a6)、(a7)、及び(a11)の情報等を入力させたり、すでに取得されている情報を表示させて、修正の情報を入力させたりするための領域である。
 変換元工具情報入力領域105,106,107は、作業者による入力が必要な情報(変換元工具要求入力情報)、例えば、上記した(b3)、(b4)の情報等を入力させたり、すでに取得されている情報を表示させて、修正の情報を入力させたりするための領域である。本実施形態では、変換元工具情報入力領域105は、変換元工具セット指定領域104のTL1の工具に対応する入力領域であり、変換元工具情報入力領域106は、変換元工具セット指定領域104のTL2の工具に対応する入力領域であり、変換元工具情報入力領域107は、変換元工具セット指定領域104のTL3の工具に対応する入力領域である。
 変換先加工機情報入力領域111は、作業者による入力が必要な情報、例えば、上記した(a6)、(a7)、及び(a11)の情報等を入力させたり、すでに取得されている情報を表示させて、修正の情報を入力させたりするための領域である。
 変換先工具情報入力領域113,114,115は、作業者による入力が必要な情報、例えば、上記した(b3)、(b4)の情報等を入力させたり、すでに取得されている情報を表示させて、修正の情報を入力させたりするための領域である。本実施形態では、変換先工具情報入力領域113は、変換先工具セット指定領域112のTL1の工具に対応する入力領域であり、変換先工具情報入力領域114は、変換先工具セット指定領域112のTL2の工具に対応する入力領域であり、変換先工具情報入力領域115は、変換先工具セット指定領域112のTL3の工具に対応する入力領域である。変換先工具情報入力領域113,114,115における位置は、各工具を配置すべきツールマガジン25の位置情報(スロット番号)を示しているが、各工具を配置するスロット番号は、変換先工具情報入力領域113,114,115の同一又は同種の工具が配置されているスロット番号と同じものを予め設定するようにしてもよい。なお、各工具を配置するスロット番号は、作業者が任意のスロット番号を入力するようにしてもよい。なお、この場合には、入力したスロット番号のスロットに、対応する工具を適切に配置する必要がある。
 変換用入力画面100においては、変換元加工機情報入力領域103、変換元工具セット指定領域104、変換先加工機指定領域110、変換先工具セット指定領域112等には、選択候補を表示させるためのプルダウンボタン130が配置されており、プルダウンボタン130が押下されると、対応する領域における選択候補が選択可能に表示されることとなる。
 また、変換用入力画面100においては、入力が必要である領域に対して入力がない場合、或いは、表示されている情報が現時点より所定の期間より前に取得された情報である場合等には、アラート記号131が表示される。このアラート記号131によると、作業者が、情報が不足していたり、古かったりすることを把握することができ、必要な情報について入力したり、追加測定を行ったりする必要があることを把握できる。
 なお、これまでの説明でも一部述べたが、変換前環境領域100B、変換先環境領域100Cは、変換の度に本画面の利用者がテキスト入力しなくてもよい。例えば、本画面表示前に変換用計算機10が記憶資源14に格納する情報を事前に格納し、本画面では事前に格納した情報を表示し、その情報をユーザインターフェース13にて選択する形式であってもよい。そのような場合、変換前環境又は変換先環境に関する一部の情報については本画面での表示を省略してもよい。ただし、アラート記号131については領域102、104、110、112の内部で表示されているテキストの近傍(例えばテキストの横)に表示させ、当該加工機や工具セットに属する情報が不足していたり、古いことを示唆したりしてもよい。このような示唆により、本画面の利用者は変換開始前に選択した項目では変換ができない、或いは変換したとしても変換後の加工精度が低下するおそれがあることを確認できるため、変換処理に時間を要する場合はより好適である。
 次に、変換プログラム1411によって表示されるダウンロード確認画面200について詳細に説明する。
<ダウンロード確認画面>
 図4は、一実施形態に係るダウンロード確認画面の構成図である。
 ダウンロード確認画面200は、実行された変換処理を識別する変換履歴IDを表示する変換履歴ID表示領域201と、変換先NC切削加工機20の加工機IDや構成情報を表示する変換先加工機情報表示領域202と、変換先NC切削加工機20で使用する工具セットの工具セットIDと、工具セットを構成する工具の型番とを表示する変換先工具セット表示領域203と、変換先NC切削加工機20のツールマガジン25における各工具の配置位置情報(スロット番号)を表示する工具配置位置表示領域204と、変換先用NCプログラム1425を変換先の場所のNC切削加工機20のNCコントローラ21又は現場用計算機30にダウンロードさせる指示を受け付けるダウンロードボタン210と、を含む。
 このダウンロード確認画面200によると、変換先NC切削加工機20のツールマガジン25における各工具の配置位置情報(スロット番号)が表示されているので、作業者が使用する工具TLをツールマガジン25の間違ったスロットに配置してしまうことを適切に防止することができる。
 ここで、具体的な状況に即して説明すると、加工処理においては、荒加工、中仕上げ加工、仕上げ加工等の複数の工程で、異なる工具を使うことがある。この場合には、NCプログラムには、一部説明した通り、各工程で使用する工具を収容したツールマガジン25の位置情報(スロット番号)が記述されている。ツールマガジン25においてどの工具をどのスロットに配置するかは、各NC切削加工機20のそれぞれにおいて任意とすることができる。このため、変換元NC切削加工機20と、変換先NC切削加工機20との間で、同一工程を行うための工具が、ツールマガジン25の異なる番号のスロットに配置されていることも起こりうる。例えば、変換元と変換先とで同一の工程で使用する工具のツールマガジン25におけるスロットを同一番号とすることを前提として変換処理が行われた変換先用NCプログラムをそのまま用いると、同一番号のスロットに異なる種類の工具が収容されていると、全く異なる工具が使用されることとなり、ワークWに損傷を与えてしまったり、工具TLに損傷を与えてしまったりする虞がある。特に、繁忙期等においては、工具の配置間違いが発生しやすく、このような状況が発生してしまう可能性が高い。
 これに対して、上記したように、ダウンロード確認画面200によると、変換先NC切削加工機20のツールマガジン25における各工具のスロット番号が表示されているので、使用する工具TLが間違ったスロットに配置されてしまっていないかを確認することを作業者に促すことができ、工具TLが間違ったスロットに配置されてしまう状況を低減することができる。
 なお、本画面のようなダウンロード画面は前述した図3の画面と統合してもよい。しかし、変換処理に時間を要する場合は図4に記すダウンロード画面を図3の変換開始ボタン画面とは別に提供できることが好適である。なぜならば、変換処理を開始させた後に、画面の利用者はその画面を閉じて別作業をすることが可能だからである。その他の画面を分割する利点は本実施例に記した通りである。
 次に、変換用計算機10による処理動作について説明する。
 (処理1)構成情報取得プログラム1412(厳密には、構成情報取得プログラム1412を実行するCPU11)は、ネットワーク40を介して接続された各NC切削加工機20のNCコントローラ21から、取得可能な各NC切削加工機20に関する各種情報(例えば、(a1)、(a2)、(a4)、(a5)、(a8)、(a9)、及び(a10))を取得する。なお、本処理は、以下で説明する処理2以降の処理を行う度に行う必要はない。
 (処理2)次いで、構成情報取得プログラム1412は、変換用入力画面100(図3参照)を表示させて、変換用入力画面100を介して、下記指定を受け付ける。
*変換対象である変換元用NCプログラム1424の指定。
*変換元用NCプログラム1424によってワークWの加工処理を行っていたNC切削加工機20(変換元NC切削加工機)を特定する情報(加工機ID)の指定。
*変換元用NCプログラム1424による加工処理において使用していた工具セットを特定する情報(工具セットID)の指定。
*変換元用NCプログラム1424を変換させた変換先用NCプログラム1425により新たにワークWの切削加工を行わせるNC切削加工機(変換先NC切削加工機20)を特定する情報(加工機ID)の指定。
*変換先NC切削加工機20で使用する工具セットを特定する情報(工具セットID)の指定。
これとともに、構成情報取得プログラム1412は、変換元NC切削加工機20及び変換先NC切削加工機20に関する各種情報((a3)、(a6)、(a7)、及び(a11))や、変換元NC切削加工機20で使用されていた工具セット50や、変換先NC切削加工機20で使用する工具セット50に関する情報((b1)~(b4)の情報)の入力(直接入力又は選択入力)を受け付ける。
 (処理3)変換開始ボタン120が押下されると、構成情報取得プログラム1412は、変換プログラム1411に変換開始指示を送信する。ここで、変換開始指示には、変換用入力画面100に入力(直接入力又は選択入力)された各種情報が含まれる。
 (処理4)変換プログラム1411は、変換開始指示を受け取ると、指定された変換元用NCプログラム1424(補正前NCプログラム)を読み込んで、変換開始指示に含まれる情報(少なくとも変換先NC切削加工機20又は、変換先NC切削加工機20で使用される工具セットの剛性に関する情報)に基づいて、変換元用NCプログラム1424を変換先用NCプログラム1425(補正後NCプログラム)に変換し、変換された変換先用NCプログラム1425を記憶資源14に格納する。
 (処理5)次いで、変換プログラム1411は、ダウンロード確認画面200(図4参照)を表示させる。なお、ダウンロード確認画面200は処理4完了後に自動的に表示させる代替として、現場計算機30の利用者の当該計算機への操作に応じて表示させてもよい。この後、ダウンロードボタン210が押下された場合に、変換プログラム1411は、変換先用NCプログラム1425を、変換先NC切削加工機20のNCコントローラ21又は変換先NC切削加工機20のある場所の現場用計算機30に送信する。
 例えば、変換先用NCプログラム1425をNCコントローラ21に送信するようにする場合においては、NCコントローラ21が受信した変換先用NCプログラム1425を格納し、以降の加工処理において、この変換先用NCプログラム1425を実行可能となる。一方、変換先用NCプログラム1425を現場用計算機30に送信するようにする場合においては、現場用計算機30が変換先用NCプログラム1425を格納する。この後、現場用計算機30の変換先用NCプログラム1425を、ネットワーク40を経由して、又は記録媒体等を介してNCコントローラ21に格納させることにより、NCコントローラ21に変換先用NCプログラム1425を実行させることができるようになる。
 <変換プログラムによる変換処理の具体例>
 次に、変換用計算機10による処理動作の具体例について説明する。
 図5は、一実施形態に係る変換処理のフローチャートである。
 まず、変換プログラム1411は、処理対象の変換元用NCプログラム1424の全ブロックを記憶資源14のうちのメモリのワーク領域に対して読み出す(S11)。ここで、ブロックとは、変換元用NCプログラム1424により実行する加工処理において、NC切削加工機20に対して1回に指示することのできる命令(アドレス)を含む記述部分を示す。ブロックには、同時に指示することのできる1以上の命令(アドレス)が含まれる。アドレスとしては、例えば、命令の種類を示すコードと、命令の内容に関するパラメータとが含まれるものがある。なお、変換元用プログラム1424の容量が大きくて、メモリのワーク領域に全てのブロックを呼び出すことができなければ、処理の進行に応じて読み出すブロックを切り替えるようにすればよい。
 次いで、変換プログラム1411は、読み出したブロックに基づいて、ブロックが示す命令に基づく処理(ブロック処理)中に工具がワークに接触しない1以上のパス(非接触部分工具パスという)を特定する(S12)。工具がワークに接触しないか否かは、加工対象のワークの形状と、ブロック中の工具の移動パスとに基づいて加工処理をシミュレートすることにより特定することができる。ここで、変換元用プログラム1424の全ての非接触部分工具パスを特定してもよいし、一部の非接触部分工具パスのみを特定してもよい。なお、ブロック中のコードが位置決め「G00」(JIS B 6314)である場合には、基本的には、工具がワークに接触していないことを意味しているので、このブロックのパスについては、それ以上の処理を行うことなく、このブロックのパス全体が非接触部分工具パスであると判定してもよい。
 次に、変換プログラム1411は、ステップS12で特定した各非接触部分工具パスのそれぞれを対象に、ループ1の処理(S13~S18)を行う。ループ1は、変数iの初期値は1であり、ループ1の処理を継続する条件は、変数iがS12で特定した非接触部分工具パスの数以下であることであり、変数iは、ループを1回行うごとに1が加算される。
 ループ1の処理では、まず、変換プログラム1411は、処理対象の非接触部分工具パス[i](特定した非接触部分工具パスのうちのi番目のパス)を含むブロック(特定ブロックという)を特定する(S13)。
 次いで、変換プログラム1411は、非接触部分工具パス[i]が特定ブロックのパスの一部分であるか否かを判定する(S14)。この結果、非接触部分工具パス[i]が特定ブロックのパスの一部分でない場合、すなわち、特定ブロックの全体のパスが非接触部分工具パス[i]であり、特定ブロックが非接触ブロックである場合(S14:N)には、変換プログラム1411は、ステップS15からS18の処理を実行しないで、この非接触部分工具パス[i]に対する処理を終了する。
 一方、非接触部分工具パス[i]が特定ブロックのパスの一部分である場合(S14:Y)には、変換プログラム1411は、特定ブロックを、非接触部分工具パス[i]の少なくとも一部のみをパスとするブロック(分割後非接触ブロック)を含むブロックに分割する処理を実行する(例えば、ステップS15~S17)。
 例えば、特定ブロックのパスが、前から順に、工具とワークが接触するパス(接触パス)、非接触部分工具パス[i]、接触パスとなっている場合には、変換プログラム1411は、前の接触パスと、非接触部分工具パス[i]の前側部分とを含むパスに対応するブロック(分割済前ブロック)を生成し(S15)、非接触部分工具パス[i]の中間部分のみのパスに対応するブロック(分割済非接触ブロック:分割済中間ブロック)を生成し(S16)、非接触部分工具パス[i]の後側部分と後ろの接触パスと、を含むパスに対応するブロック(分割済後ブロック)を生成する(S17)。
 また、特定ブロックのパスが、前から順に接触パスと、非接触部分工具パス[i]となっている場合には、変換プログラム1411は、接触パスと、非接触部分工具パス[i]の前側部分とを含むパスに対応するブロック(分割済前ブロック)と、非接触部分工具パス[i]の残りの部分のパスに対応するブロック(分割済非接触ブロック)を生成する。また、特定ブロックのパスが、前から順に、非接触部分工具パス[i]と、接触パスとなっている場合には、変換プログラム1411は、非接触部分工具パス[i]の前側部分のみの部分のパスに対応するブロック(分割済非接触ブロック)と、非接触部分工具パス[i]の後側部分(残りの部分)と後ろの接触パスとを含むパスに対応するブロック(分割済後ブロック)を生成する。なお、特定ブロックに複数の非接触部分工具パスがある場合には、ループ1の処理を繰り返すことにより、各非接触部分工具パスを対象に同様な処理が行われることとなる。
 特定ブロックを分割する処理が行われた後(例えば、S15~S17の実行後)には、変換プログラム1411は、メモリのワーク領域の特定ブロックを、分割処理で生成された複数のブロック(例えば、分割済前ブロック、分割済非接触ブロック、分割済後ブロック)と入れ替える(S18)。
 その後、変数iがS12で特定した非接触部分工具パスの数を超えた場合、すなわち、特定した非接触部分工具パスの全てを対象にループ1の処理を実行した場合には、ループ1を抜けて、変換プログラム1411は、処理をステップS19に進める。
 ステップS19では、変換プログラム1411は、処理中のNCプログラムの全体を、非接触ブロック(非接触ブロック又は分割済非接触ブロック)の前で区切って複数のブロック群(区切り後ブロック群)を特定する。
 次いで、変換プログラム1411は、ステップS19で特定した各区切り後ブロック群のそれぞれを対象に、ループ2の処理(S20~S23)を行う。ループ2は、変数iの初期値は1であり、ループ2の処理を継続する条件は、変数iがS19で特定した区切り後ブロック群の数以下であることであり、変数iは、ループを1回行うごとに1が加算される。
 ループ2の処理では、まず、変換プログラム1411は、処理対象の区切り後ブロック群[i](特定した区切り後ブロック群のi番目のブロック群)での加工処理について、変換先NC切削加工機20の主軸剛性と工具剛性とに基づいて、使用する工具の工具径方向の工具経路補正量を決定する(S20)。ここで、工具径方向の工具経路補正量の決定方法としては、変換先NC切削加工機20の主軸剛性と工具剛性とに基づいて、このステップで算出するようにしてもよいし、変換先NC切削加工機20の主軸剛性と工具剛性とに基づいて、予め算出しておいた工具経路補正量を特定するようにしてもよい。また、区切り後ブロック群における切削時の工具のたわみ量が変化する場合には、工具経路補正量としては、最大のたわみ量に対応する工具経路補正量としてもよく、最小のたわみ量に対応する工具経路補正量としてもよく、平均のたわみ量に対応する工具経路補正量としてもよい。
 次いで、変換プログラム1411は、決定した工具経路補正量の経路補正を変換先NC切削加工機20に実行させるアドレスを含むブロック(補正ブロック)を生成する(S21)。ここで、補正ブロックは、NC切削加工機20において実行されると、例えば、NC切削加工機20におけるメモリ上の工具形状パラメータとは別なパラメータであって、工具径補正用アドレス(例えば、G41,G42(JIS B 6314))に影響を及ぼすメモリ上のパラメータの値を変更するブロックとしてもよい。ここで、工具形状パラメータは、工具径補正用アドレスを用いる際に標準で参照されるパラメータであり、例えば、ユーザにより手動で設定される場合もある。この工具形状パラメータを変更させてしまうと、手動で設定された値が使用できなくなり、そのNC切削加工機20での他のNCプログラムの実行時に不具合が発生する可能がある。これに対して、上記したように、補正ブロックによって、この工具形状パラメータとは別なパラメータを変更することにより、このような不具合の発生を適切に防止することができる。また、このようにすると、補正ブロックでは、工具形状パラメータとは別のパラメータを指定する表記となるので、補正後のNCプログラムを使用するユーザが補正ブロックを容易に視認して把握することができ、補正ブロックによる工具経路補正量を容易に把握することができる。
 次いで、変換プログラム1411は、生成した補正ブロックを区切りブロック群の先頭、すなわち、非接触ブロックの前に挿入する(S22)。なお、新たな補正ブロックを作成し、非接触ブロックの前に補正ブロックを挿入せずに、非接触ブロック中に、決定した工具経路補正量の経路補正を変換先NC切削加工機20に実行させるアドレスを含めることにより、補正用のブロックを作成するようにしてもよい。
 次いで、変換プログラム1411は、補正ブロックの前に、補正ブロックが追加されたことを示すコメントのブロック(コメントブロック)を挿入する(S23)。
 その後、変数iがS19で特定した区切りブロック群の数を超えた場合、すなわち、特定した区切りブロック群の全てを対象にループ2の処理を実行した場合には、ループ2を抜けて、変換プログラム1411は、処理をステップS24に進める。
 ステップS24では、変換プログラム1411は、ワーク領域にある作成した全ブロックを変換後のNCプログラム(変換先用NCプログラム1425)として、記憶資源14のストレージに格納する。
 次に、具体的なワークに対する加工処理を行う変換元用NCプログラムの変換処理について説明する。
 図6は、一実施形態に係るワークの切削前の形状を示す図である。図6(A)は、上面図(XY平面図)を示し、図6(B)は、側面図(YZ平面図)を示し、図6(C)は、側面図(XZ平面図)を示す。
 ワーク300は、切削前においては、一部に切り欠き302が形成され、上面視で略矩形形状となっている。ワーク300のY軸のマイナス方向(図6(A)の右方向)側に、Z軸方向に延びる円柱状の穴が形成された開口部301が形成されている。ワーク300の高さは、X軸のプラス方向に行くほど高くなっている。
 図7は、一実施形態に係るワークの切削後の目標形状を示す図である。図7(A)は、上面図(XY平面図)を示し、図7(B)は、側面図(YZ平面図)を示し、図7(C)は、側面図(XZ平面図)を示す。
 ワーク300の切削後の目標形状は、切削前のワーク300に対して、X軸のマイナス側の近傍と、Y軸のマイナス側の近傍とに連続する段差部303が形成されたものとなっている。
 図8は、一実施形態に係るワークの切削処理中の形状を示す図である。図8は、図7に示す目標形状に到達する直前のワークの形状を示す。なお、図中の点線は、目標形状を示している。
 図8に示すように、目標形状到達前のワーク300においては、最後に切削すべき最終切削部分304、305が残った状態となっている。
 次に、ワーク300を図8に示す状態から最終切削部分304,305を切削する切削処理(最終切削処理)を実行するためのNCプログラムの記述について説明する。
 図9は、一実施形態に係る補正前のNCプログラムの記述と、対応するワークの切削処理における工具のパスと、を説明する図である。図9(A)は、最終切削処理における工具パスを示し、図9(B)は、補正前のNCプログラムの最終切削処理に対応する部分の記述を示す。
 補正前のNCプログラムは、図9(A)に示すA点からB点に工具を直線的に移動させて切削させるブロック501と、B点からC点に円弧状に工具を移動させて切削させるブロック502と、C点からD点に工具を直線的に移動させて切削させるブロック503とを含んでいる。
 C点からD点に工具を移動させる際においては、工具がC点から移動を開始すると、切削部分の厚さ(高さ)が徐々に厚くなるので、工具に加えられる切削抵抗は徐々に上昇する。その後、開口部301に相当する部分においては、工具とワークが接触しないので、切削抵抗がなくなる。その後、工具が開口部301に相当する部分を通過すると、ワークと再び接触し、切削部分の厚さがさらに厚くなるので、切削抵抗が更に上昇していく。
 この補正前のNCプログラムによると、C点からD点に工具を直線的に移動させて切削させるブロック503においては、常に同じ工具幅補正量となっているので、切削抵抗が異なるC点に近い側と、D点に近い側とで、切削量が異なってしまい、目標とする形状からずれ、切削精度が低下してしまう。
 次に、ワーク300を図8に示す状態から最終切削部分304,305を切削する切削処理(最終切削処理)を実行するための補正前のNCプログラムを変換する変換処理及び補正後のNCプログラムについて説明する。
 図10は、一実施形態に係る補正後のNCプログラムの記述と、対応するワークの切削処理における工具のパスと、を説明する図である。図10(A)は、最終切削処理における工具パスを示し、図10(B)は、補正後のNCプログラムの最終切削処理に対応する部分の記述を示す。なお、図10(B)においては、補正前のNCプログラムからの追加・変更箇所については、ボールド&イタリックで示している。なお、以下の説明では、図5及び図9の内容を適宜参照して説明する。
 図5に示す変換処理のステップS12では、非接触部分工具パスとして、A点からワーク300に接触するまでの間と、開口部301に相当する部分とが検出される。
 ループ1の処理では、A点からワーク300に接触するまでの間の非接触部分工具パスについては、ブロック501が特定ブロックとして特定され、非接触部分工具パスの前部のパス(A点からE点)に対応するブロック603と、非接触部分工具パスの後部のパスと、工具がワークと接触するパスとを含むパス(E点からB点)に対応するブロック604とが生成され、ブロック501と入れ替えられる。なお、ブロックには、始点の情報が含まれていないので、記述としては、ブロック604は、ブロック501と同じものとなっている。
 また、ループ1の処理では、開口部301に相当する部分の非接触部分工具パスについては、ブロック503が特定ブロックとして特定され、工具がワークと接触するパスと、非接触部分工具パスの前部のパス(C点からF点)に対応するブロック606と、非接触部分工具パスの中間のみのパス(F点からG点)に対応するブロック609と、非接触部分工具パスの後部のパスと、工具がワークと接触するパスとを含むパス(G点からD点)に対応するブロック610とが生成され、ブロック503と入れ替えられる。
 その後、ステップS19では、非接触ブロックであるブロック603と、ブロック609との前で区切られたブロック群(区切り後ブロック群)が特定される。すなわち、ブロック603~ブロック606と、ブロック609及びブロック610とが区切り後ブロック群として特定される。
 ループ2においては、ブロック603~ブロック606の区切り後ブロック群については、B点までの加工処理に対応する工具経路補正量(図中の計算値1)が決定され、この工具経路補正量の補正を行うブロック602(補正ブロック)がブロック603の前に挿入され、そのブロック602の前に補正ブロックが挿入されたことを示すコメントのブロック601(コメントブロック)が挿入される。この構成により、工具がワークと接触しないブロック603の前に補正を行うブロック602を実行することとなるので、切削途中に工具経路が補正されることを防止でき、切削途中での補正に起因するワークへの段差等の発生を適切に防止できる。
 また、ループ2においては、ブロック609及びブロック610の区切り後ブロック群については、G点からD点までの加工処理に対応する工具経路補正量(図中の計算値2)が決定され、この工具経路補正量の補正を行うブロック608(補正ブロック)がブロック609の前に挿入され、そのブロック608の前に補正ブロックが挿入されたことを示すコメントのブロック607(コメントブロック)が挿入される。この構成により、工具がワークと接触しないブロック609の前に補正を行うブロック608を実行することとなるので、切削途中に工具経路が補正されることを防止でき、切削途中での補正に起因するワークへの段差等の発生を適切に防止できる。また、この処理によると、補正前のNCプログラムでは、1つのブロックとされていた切削処理における一部の切削処理に対して、適切に工具経路を補正することができるNCプログラムを作成できるので、切削処理において、より詳細に経路補正を行うことができ、ワークの切削精度が向上する。
 このようにして作成されたブロック601~610が、補正前のNCプログラムのブロック501~503に対応する変更後のNCプログラムの部分となる。
 変更後のNCプログラムによると、A点~E点の間でE点~B点までの切削処理に適した工具径補正量の補正が行われ、E点~B点までの間の切削処理を適切な精度で実行することができ、また、F点~G点の間でG点~D点までの切削処理に適した工具径補正量の補正が行われ、G点~D点までの間の切削処理を適切な精度で実行することができる。これにより、ワークに対する切削精度を向上することができる。
<作用・効果>
 上記した処理によると、変換元NC切削加工機20向けにチューニングされた変換元用NCプログラムを、変換先NC切削加工機20の少なくとも剛性に関する情報を考慮して変換先用NCプログラムに変換するようにしているので、変換先NC切削加工機20における加工処理における加工精度を向上することができる。また、上記した処理によると、切削処理に適切な工具経路補正量の補正を行うことができる。また、切削途中に補正がされることを防止できるので、ワークに切削途中での補正による段差等の発生を適切に防止できる。また、補正前のNCプログラムのブロックを利用して、1つのブロックを分割したり、補正ブロックを追加したりするので、補正前のNCプログラムの記述を有効に利用しつつ、工具経路補正量を補正することのできるので、補正前のNCプログラムを読んでいたユーザが補正後のNCプログラムを容易に理解することができる。また、補正後のNCプログラムに、変換された部分を示すコメントが追加されているので、補正後のNCプログラムに対するユーザの理解をより容易にすることができる。
<バリエーション>
 なお、本発明は、上述の実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で、適宜変形して実施することが可能である。また、下記で説明した処理は組み合わせて用いてもよい。
<<変換先環境のフィルタリング処理>>
 構成情報取得プログラム1412によるフィルタリング処理においては、以下の処理を行ってもよい。
*変換先NC切削加工機の候補(変換先加工機指定領域110の設定候補又は選択候補)
 例えば、変換先NC切削加工機として設定される又はこの選択候補として絞り込まれる候補NC切削加工機としては、変換元NC切削加工機20のすべての機能を包含している他のNC切削加工機20としてもよい。具体的には、例えば、変換元NC切削加工機20が、フライス盤やボール盤である場合に、候補NC切削加工機を、マシニングセンタとしてもよい。また、変換元NC切削加工機が、3軸のマシニングセンタである場合に、候補NC切削加工機を、5軸のマシニングセンタとしてもよい。
 また、変換先NC切削加工機として設定される又はこの選択候補として絞り込まれる候補NC切削加工機としては、変換元用NCプログラム1424で記述されている全ての処理工程を実行可能なNC切削加工機としてもよい。例えば、変換元NC切削加工機が、5軸のマシニングセンタであっても、変換元CNプログラム1424で記述されている全ての処理工程が3軸のマシニングセンタで実行可能である場合には、候補NC切削加工機を3軸のマシニングセンタとしてもよい。
 また、変換元用NCプログラム1424で使用する工具数よりも少ない工具数しか装填できないNC切削加工機20を、候補NC切削加工機から除外するようにしてもよい。
*工具セットの候補(変換先工具セット指定領域112の設定候補又は選択候補)
 NCプログラムの変換処理を簡易化する場合には、変換先工具セットの候補としては、変換元工具セットの工具数と同じ工具数の工具セットとしてもよい。なお、加工精度の面からも候補としては、変換元工具セットと同じ工具数とすることが好ましい場合がある。例えば、変換元において、3本の工具によって荒加工工程、中加工工程、仕上げ工程といった工程数及び順序で変換を行っている場合に、2本の工具で荒加工工程、仕上げ工程といった工程数及び順序を行っても、変換元と同様な加工精度を出すことは困難であるためである。なお、各工具TLについてこのような用途を記憶し、変換元工具セットに含まれる工具TLのすべての用途を含む工具セットを候補としてもよい。
 また、変換先工具セットの候補としては、変換元工具セットの各工具と同じ種類の工具が含まれる工具セットとしてもよい。ここで、同じ種類とは、用途が同じものとしてもよい。
 また、変換先工具セットの候補から、予め必要な情報が取得されていない工具を含む工具セットを除外するようにしてもよい。
<<工具TLの用途情報に基づいたスロット番号変換処理>>
 変換プログラム1411による変換処理を簡易化する1手法として、図3の画面を利用する作業者は変換先環境の工具セットに含まれる工具TLについて、変換前環境の工具TLと同じ用途の変換先環境の工具とは同じスロット番号を入力する、という作業者の入力ルールを設定してもよい。このようなルールは作業者のミスにより守られない可能性がある。その対策として、構成情報取得プログラム1412は、工具セットに含まれる工具TL各々について用途(例えば、荒加工工程用、中加工工程用、仕上げ工程用)の入力を受け付け、個別工具情報1423に格納し、この情報を利用して解決してもよい。具体的には、当該プログラムは、選択された変換元環境の工具セットに含まれる工具TLの用途とスロット番号との対応(対応1と呼ぶ)と、選択された変換先環境の工具セットに含まれる工具TLの用途(変換先工具用途)を読み出し、変換先工具用途と同じ用途を持つ対応1を検索し、当該対応1のスロット番号を変換先工具セットのスロット番号とする。
<<仮スロット番号変換処理の導入>>
 上述の実施例では、変換先環境に於いて、どのスロット番号にどの工具TLが可能されるかを決定した後に変換プログラム1411による変換処理を行う。しかし、変換先環境での加工効率を踏まえた場合は、変換処理後に動的に各工具を格納するスロットを決めたい場合がある。例えば、変換処理は長時間(例えば1日)程度要する場合があるため、ただちに変換開始したいが、変換先環境での他の加工作業も動的に変換するために変換開始時にはスロット番号と工具TLとの関係をきめられない場合である。
 その対策として、図3の画面で入力または選択した各工具のスロット番号は仮のスロット番号とみなして変換プログラム1411による変換処理を行い、その後仮スロット番号を実際のスロット番号に変換する処理(仮スロット番号変換処理と呼ぶ)を行ってもよい。なお、以後の説明では、仮スロット変換処理を行うプログラムを仮スロット変換プログラムと呼ぶことがある。なお、仮スロット番号変換処理は、図4のダウンロード画面でダウンロードボタン210を押してダウンロードを開始する直前に行ってもよく、或いはダウンロード後に現場用計算機30にて別プログラムにて実行してもよい。なお、仮スロット番号変換処理を実行するにあたって必要となる情報である、仮スロット番号と実際のスロット番号への変換情報(スロット番号変換情報)は、仮スロット番号変換処理の実行前であって、変換プログラム1411による変換処理実行後に、変換用計算機10又は現場用計算機30に作業者の入力により格納される。なお、仮スロット番号は数字であることが好ましいが、他の識別子であってもよい。仮スロット番号変換処理の導入は、変換プログラム1411による高負荷又は長時間の処理の実行タイミングを、各スロットにどの工具TLを格納するか決定する以前も対象とすることができるため、結果として変換用計算機10の計算機資源の有効利用をすることが可能となるともいえる。
 なお、変換先環境として選択した工具セット内の工具TLに付与する仮スロット番号は、変換プログラム1411による変換処理開始前に、下記のように定めてもよい。いずれの場合についても、定めた工具TLと仮スロット番号との関係は、個別工具情報に格納し、スロット番号変換処理時に参照する。
*選択した工具セット内における工具TLの並び順。並び順は、表示順序、データ格納順序、工程に基づいた順序が考えられるがほかでもよい。
*前述の「工具TLの用途情報に基づいたスロット番号変換処理」によって付与する。
 なお、スロット番号変換情報の入力は、単に仮スロット番号と実際のスロット番号との関係を計算機に入力すればよいのだが、仮スロット番号がどの工具TLを対象としているのかわからない状況では入力が難しい。よって、変換情報入力画面では、仮スロット番号が割り当てられていた工具TLの情報を当該変換情報入力画面で合わせて表示してもよい。
 <<現場用計算機の他の利用形態1>>
 また、上記実施形態では、変換用入力画面100と、ダウンロード確認画面200とを変換用計算機10のユーザインターフェース13に表示させて、入力を受け付ける例を説明していたが、本発明はこれに限られず、変換用入力画面100と、ダウンロード確認画面200とを、いずれかの現場用計算機30に表示させて、入力を受け付けるようにしてもよく、例えば、変換先のNC切削加工機20がある場所の現場用計算機30に表示させて入力を受け付けるようにしてもよい。また、変換用入力画面100の一部を、変換元のNC切削加工機20がある場所の現場用計算機30に表示させて入力を受け付けるようにし、変換用入力画面100の残りの部分を、変換先のNC切削加工機20がある場所の現場用計算機30に表示させて入力を受け付けるようにしてもよい。
 <<変換プログラムによる他の変換処理1>>
 変換元用NCプログラム1424を変換先用NCプログラム1425に変換する処理として、下記を行ってもよい。
*(ステップA1)変換先環境の情報と、ワークW情報とを用いた、加工中の物理現象のシミュレーションを行い、ワークWがどのような形状に加工されるか予測する。なお、シミュレーションの際に変換元環境の情報を用いてもよい。なお当該シミュレーションは変換プログラム1411とは他のプログラムで行ってもよい。
*(ステップA2)ワークWの予測形状とワークWの目標形状との比較に基づいた誤差の算出。
*(ステップA3)当該誤差を解消する記述(前述の工具径補正、工具長補正、工具摩耗補正、送り速度、切削速度等)を変換元用NCプログラム1424に追加または変更し、変換先用NCプログラム1425として格納する。
<<変換プログラムによる他の変換処理2>>
 変換元用NCプログラム1424を変換先用NCプログラム1425に変換する処理として、下記を行ってもよい。なお、下記ステップは上記ステップA1乃至A3と組み合わせてもよい。
*(ステップB1)変換先環境の情報と、ワークW情報と、変換元環境の情報と、ワークWの目標形状と、を人工知能プログラムに入力し、誤差を取得する。なお、人工知能プログラムの教育データとして変換元環境における変換元NCプログラムを用いたかワークWの加工後の加工形状と、目標形状と、を変換元環境の情報と共に事前入力してもよい。また、別な教育データとして、変換先環境の変換先用NCプログラム以外のNCプログラムによるワークWの加工後の加工形状と、目標形状と、を変換先環境の情報と共に事前入力してもよい。なお人工知能プログラムは変換プログラム1411とは他のプログラムで行ってもよい。
*(ステップB2)当該誤差を解消する記述(前述の工具径補正、工具長補正、工具摩耗補正、送り速度、切削速度等)を変換元用NCプログラム1424に追加または変更し、変換先用NCプログラム1425として格納する。
 <<作業者の作業範囲に応じた画面の切り分け>>
 図1のように場所Aと場所Bが比較的遠い場合は、図1の通り、場所毎に別な作業者が配置されていることが考えられる。このような場合は、各作業者は、各々が配置された場所に含まれる変換元環境または変換先環境による加工や、図2乃至図4で説明した変換先環境の情報及び変換元環境の情報の計測と変換用計算機への入力を担当することが考えられる。そのような場合に好適な画面として図3及び図4を下記の通り、分割してもよい。なお、以下の説明では画面を主語とした説明を一部しているが、実際には各現場用計算機で実行されるプログラムをCPUで実行することで達成される。
<<<変換元環境の作業用計算機>>>
 変換元環境の作業用計算機30では、図3の領域100A(少なくともNCプログラム名101)及び100Bを表示することが考えられる。なぜならば、これら領域で入力すべき情報は相対的に変換元環境で得られる情報のため、変換元環境の作業者に入力を行ってもらうことが効率的だからである。だたし、図3の領域100A及び100Bに含まれるすべての入力領域を表示する必要はない。変換前環境の作業用計算機で入力した情報を、所定の識別子(以後、ライブラリ名と呼ぶことがある)を付与して変換用計算機10に格納する。なお、これら入力は変換前環境に於いて意図した誤差で加工ができた情報としても有用である。
<<<変換先環境の作業用計算機>>>
 変換先環境の作業用計算機では、図3の領域100Cを表示することが考えられる。なぜならば、これら領域で入力すべき情報は相対的に変換先環境で得られる情報のため、変換先環境の作業者に入力を行ってもらうことが効率的だからである。変換元環境の作業用計算機30で入力した内容を呼び出すために、変換先環境の作業用計算機の画面では前述のライブラリ名を指定する領域を含む。このようにすることで、変換元環境での入力を適切に特定し、変換プログラム1411による変換処理に必要な情報を特定することができる。ただし、ライブラリ名だけでは変換元環境の情報が不明であり、適切な変換先環境の入力が難しい。よって、変換先環境の作業用計算機の画面では、ライブラリ名を指定した後に、ライブラリ名に対応した入力情報を表示してもよい。
 以上、変換元環境と変換先環境の現場計算機での表示分けの一例を説明した。本例によれば、変換元環境の作業者は1回の入力作業にも関わらず、複数の変換先環境にて実行可能な変換先用NCプログラム1425を作成できる。加えて、変換元環境が経年変化した場合も、経年変換前のライブラリ名を指定し、変換先環境として経年変化後の環境を入力してもよい。
<<<その他>>>
 また、上記実施形態において、CPU11が行っていた処理の一部又は全部を、ハードウェア回路で行うようにしてもよい。また、上記実施形態におけるプログラムは、プログラムソースからインストールされてよい。プログラムソースは、プログラム配布サーバ又は不揮発性の記憶メディア(例えば可搬型の記憶メディア)であってもよい。
 上記実施形態では、工具がワークに接触しない非接触部分工具パスを検出し、非接触部分工具パスに対応するブロックを基準にNCプログラムを複数のブロック群に分けて、そのブロック群の切削が実行されるブロックよりも前に工具経路補正を行うブロックを生成するようにしていたが、例えば、工具に加えられる切削抵抗の変曲点を基準にNCプログラムを複数のブロック群に分けて、切削抵抗の変曲点となる部分の前に、工具経路補正を行うブロックを生成するようにしてもよい。
 また、上記実施形態では、補正ブロックが追加されたことを示すコメントを追加するようにしていたが、例えば、ブロックを分割した際には、ブロックの分割元の記述との違いをコメントとして追加するようにしてもよく、また、一部が変更されている場合には、変更前との対応関係を示すコメントを追加するようにしてもよい。
 変換前NCプログラムは、CAMプログラムで目標形状データから生成した直後であって、かつ加工機で切削する前のNCプログラムであってもよい。なお、この場合の工具セットは、CAMプログラムでNCプログラムを生成したときの工具データを入力してもよい。また、工具経路補正量の決定は、上述の主軸剛性又は工具の剛性以外に、ワークWの剛性や、ワークWの切削中の熱膨張量(逆な言い方をすれば切削後の熱収縮量)に基づいて行ってもよい。
 上記説明では主に加工機としてマシニングセンタを例として説明したが、NC制御可能であれば他の加工機であってもよい。
 上記説明では、現場用計算機と変換用計算機とのデータ送受信を一部省略して説明したが、当然ながら、現場用計算機と変換用計算機との間ではデータ送受信が行われている。例えば、変換プログラム1411が変換用計算機で実行され、そして、現場用計算機でユーザインターフェース表示や当該操作による情報表示又は情報入力を行う場合は、現場用計算機に構成情報取得プログラムが担当する処理の一部を担うプログラムが、現場用計算機で実行される。そして、当該一部を担うプログラムが、入力された情報を変換用計算機に送信したり、又は変換用計算機から送信された表示用情報を当該一部を担うプログラムが受信し、ユーザインターフェース表示を行う。
 1 加工処理システム、10 変換用計算機、11 CPU、12 ネットワークインターフェース、13 ユーザインターフェース、14 記憶資源、20 NC切削加工機、21 NCコントローラ、25 ツールマガジン、25a、25b、25c スロット、26 工具交換部、30 現場用計算機、50 工具セット、W ワーク、TL 工具
 
 

 

Claims (12)

  1.  補正前NCプログラムを変換して補正後NCプログラムを生成するNCプログラム変換処理方法であって、
     補正前NCプログラム中の複数のブロックに基づいて、前記補正前NCプログラムを実行する加工機の工具が前記ブロックに対応する処理中にワークに接触しないパスである非接触部分工具パスを特定し、
     前記非接触部分工具パスのみをパスとするブロックである非接触ブロックを特定し、
     前記非接触ブロックに続く1以上のブロックである後続ブロックに従う前記ワークの加工処理における工具径方向の工具経路補正量を決定し、
     前記後続ブロックよりも前に、前記工具経路補正量だけ前記工具の経路を補正するための記述を含むブロックを作成する
    NCプログラム変換処理方法。
  2.  請求項1記載のNCプログラム変換処理方法において、
     前記非接触部分工具パスが、前記非接触部分工具パスを含む第1ブロックに対応するパスの一部である場合に、前記非接触部分工具パスの少なくとも一部のパスに対応するブロックである分割済非接触ブロックと、前記第1ブロックの前記分割済非接触ブロックのパス以外のパスに対応する1以上の分割済ブロックとを生成し、
     前記第1ブロックを、前記分割済非接触ブロックと前記分割済ブロックとに変換し、
     前記分割済非接触ブロックを、前記非接触ブロックとして取り扱う
    NCプログラム変換処理方法。
  3.  請求項2記載のNCプログラム変換処理方法において、
     前記非接触部分工具パスが、前記非接触部分工具パスを含む前記第1ブロックに対応するパスにおける中間部分である場合に、前記非接触部分工具パスよりも前のパスと前記非接触部分工具パス内の前側のパスとを含むパスに対応する分割済前ブロックと、前記分割済非接触部ブロックに対応する前記非接触部分工具パスの中間部分のパスのみに対応する前記分割済中間ブロックと、前記非接触部分工具パスの後側のパスと前記非接触部分工具パスよりも後ろのパスとを含むパスに対応する分割済後ブロックとを生成し、
     前記第1ブロックを、前記分割済前ブロックと、前記分割済中間ブロックと、前記分割済後ブロックとに変換し、
     前記分割済中間ブロックを、前記非接触ブロックとして取り扱う
    NCプログラム変換処理方法。
  4.  請求項1記載のNCプログラム変換処理方法において、
     前記補正ブロックは、前記加工機で実行されると、前記加工機のメモリ上の工具形状パラメータとは別なパラメータであって、工具径補正用アドレスに影響を及ぼすメモリ上のパラメータの値を変更するブロックである
    NCプログラム変換処理方法。
  5.  請求項1記載のNCプログラム変換処理方法において、
     前記補正ブロックを特定可能なコメントを含むブロックを追加する
    NCプログラム変換処理方法。
  6.  プロセッサを含み、補正前NCプログラムを変換して補正後NCプログラムを生成する変換用計算機であって、
     前記プロセッサは、
     補正前NCプログラム中の複数のブロックに基づいて、前記補正前NCプログラムを実行する加工機の工具が前記ブロックに対応する処理中にワークに接触しないパスである非接触部分工具パスを特定し、
     前記非接触部分工具パスのみをパスとするブロックである非接触ブロックを特定し、
     前記加工機の主軸剛性と前記工具の剛性とに基づいて、前記非接触ブロックに続く1以上のブロックである後続ブロックに従う前記ワークの加工処理における工具径方向の工具経路補正量を決定し、
     前記後続ブロックよりも前に、前記工具経路補正量だけ前記工具の経路を補正するための記述を含むブロックを作成する
    変換用計算機。
  7.  請求項6記載の変換用計算機において、
     前記プロセッサは、
     前記非接触部分工具パスが、前記非接触部分工具パスを含む第1ブロックに対応するパスの一部である場合に、前記非接触部分工具パスの少なくとも一部のパスに対応するブロックである分割済非接触ブロックと、前記第1ブロックの前記分割済非接触ブロックのパス以外のパスに対応する1以上の分割済ブロックとを生成し、
     前記第1ブロックを、前記分割済非接触ブロックと前記分割済ブロックとに変換し、
     前記分割済非接触ブロックを、前記非接触ブロックとして取り扱う
    変換用計算機。
  8.  請求項7記載の変換用計算機において、
     前記プロセッサは、
     前記非接触部分工具パスが、前記非接触部分工具パスを含む前記第1ブロックに対応するパスにおける中間部分である場合に、前記非接触部分工具パスよりも前のパスと前記非接触部分工具パス内の前側のパスとを含むパスに対応する分割済前ブロックと、前記分割済非接触部ブロックに対応する前記非接触部分工具パスの中間部分のパスのみに対応する前記分割済中間ブロックと、前記非接触部分工具パスの後側のパスと前記非接触部分工具パスよりも後ろのパスとを含むパスに対応する分割済後ブロックとを生成し、
     前記第1ブロックを、前記分割済前ブロックと、前記分割済中間ブロックと、前記分割済後ブロックとに変換し、
     前記分割済中間ブロックを、前記非接触ブロックとして取り扱う
    変換用計算機。
  9.  請求項6記載の変換用計算機において、
     前記補正ブロックは、前記加工機で実行されると、前記加工機のメモリ上の工具形状パラメータとは別なパラメータであって、工具径補正用アドレスに影響を及ぼすメモリ上のパラメータの値を変更するブロックである
    変換用計算機。
  10.  請求項6記載の変換用計算機において、
     前記プロセッサは、
     前記補正ブロックを特定可能なコメントを含むブロックを追加する
    変換用計算機。
  11.  請求項1記載のNCプログラム変換処理方法において、
    前記工具経路補正量は、前記加工機の主軸剛性又は前記工具の剛性に基づいて決定される
    NCプログラム変換処理方法。
  12.  請求項6記載の変換用計算機において、
    前記工具経路補正量は、前記加工機の主軸剛性又は前記工具の剛性に基づいて決定される
    変換用計算機。
PCT/JP2019/015568 2018-10-23 2019-04-10 Ncプログラム変換処理方法及び変換用計算機 WO2020084814A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/286,246 US20210356932A1 (en) 2018-10-23 2019-04-10 NC Program Conversion Processing Method and Conversion Use Computer
CN201980066256.3A CN112805638B (zh) 2018-10-23 2019-04-10 Nc程序转换处理方法及转换用计算机
EP19876760.0A EP3872588B1 (en) 2018-10-23 2019-04-10 Nc program conversion processing method and computer for conversion

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018199306A JP6629410B1 (ja) 2018-10-23 2018-10-23 Ncプログラム変換処理方法、変換用計算機、及び変換プログラム
JP2018-199306 2018-10-23

Publications (1)

Publication Number Publication Date
WO2020084814A1 true WO2020084814A1 (ja) 2020-04-30

Family

ID=69146680

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/015568 WO2020084814A1 (ja) 2018-10-23 2019-04-10 Ncプログラム変換処理方法及び変換用計算機

Country Status (5)

Country Link
US (1) US20210356932A1 (ja)
EP (1) EP3872588B1 (ja)
JP (1) JP6629410B1 (ja)
CN (1) CN112805638B (ja)
WO (1) WO2020084814A1 (ja)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021039401A (ja) * 2019-08-30 2021-03-11 ファナック株式会社 数値制御装置
JP7245192B2 (ja) 2020-03-27 2023-03-23 株式会社日立製作所 Ncプログラム変換処理方法、変換用計算機、及び変換プログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6299052A (ja) * 1985-10-24 1987-05-08 Hitachi Seiki Co Ltd 溝工具の補正制御装置
JPH0639681A (ja) * 1992-02-07 1994-02-15 Mitsubishi Materials Corp 数値制御式工作機械の工具補正値入力システム
WO1998019820A1 (fr) * 1996-11-07 1998-05-14 Kabushiki Kaisha Mori Seiki Seisakusho Procede et dispositif d'analyse de programme cn destine a l'usinage cn
JP2003263208A (ja) 2002-03-11 2003-09-19 Yoshiaki Kakino Ncプログラムの作成方法、nc装置及びコンピュータプログラム
JP2011237885A (ja) * 2010-05-06 2011-11-24 Fanuc Ltd テーブル形式データでの制御における刃先r補正または工具径補正の機能を備えた数値制御装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4833617A (en) * 1987-08-14 1989-05-23 General Electric Company Solid modeling based adaptive feedrate control for NC machining
US6266572B1 (en) * 1996-11-07 2001-07-24 Okuma Corporation Apparatus for generating a numerical control command according to cut resistance value and cut torque value of machining simulation
US5828574A (en) * 1997-05-19 1998-10-27 General Electric Company Adaptive feedrates from geometry modeling for NC machining
JPH1128610A (ja) * 1997-07-07 1999-02-02 Matsushita Electric Ind Co Ltd Nc加工方法及び装置
JP2006099284A (ja) * 2004-09-28 2006-04-13 Fanuc Ltd 数値制御装置
US8788083B2 (en) * 2011-07-22 2014-07-22 Pratt & Whitney Canada Corp. Compensation for process variables in a numerically-controlled machining operation
CN103676781B (zh) * 2013-12-25 2016-07-06 上海交通大学 一种基于西门子840d二次界面的误差动态补偿***
JP5908552B1 (ja) * 2014-09-24 2016-04-26 ファナック株式会社 工作機械の制御装置
EP3220223B1 (de) * 2016-03-16 2021-07-14 Siemens Aktiengesellschaft Verfahren zur bearbeitung eines werkstücks in einer werkzeugmaschine mit optimierter bearbeitungszeit
JP6865058B2 (ja) * 2016-09-30 2021-04-28 株式会社小松製作所 工作システム、切削加工品の製造方法、加工プログラム修正装置、修正加工プログラムの作成方法、及び工作機械制御装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6299052A (ja) * 1985-10-24 1987-05-08 Hitachi Seiki Co Ltd 溝工具の補正制御装置
JPH0639681A (ja) * 1992-02-07 1994-02-15 Mitsubishi Materials Corp 数値制御式工作機械の工具補正値入力システム
WO1998019820A1 (fr) * 1996-11-07 1998-05-14 Kabushiki Kaisha Mori Seiki Seisakusho Procede et dispositif d'analyse de programme cn destine a l'usinage cn
JP2003263208A (ja) 2002-03-11 2003-09-19 Yoshiaki Kakino Ncプログラムの作成方法、nc装置及びコンピュータプログラム
JP2011237885A (ja) * 2010-05-06 2011-11-24 Fanuc Ltd テーブル形式データでの制御における刃先r補正または工具径補正の機能を備えた数値制御装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3872588A4

Also Published As

Publication number Publication date
EP3872588A1 (en) 2021-09-01
EP3872588B1 (en) 2023-05-03
CN112805638A (zh) 2021-05-14
US20210356932A1 (en) 2021-11-18
JP2020067768A (ja) 2020-04-30
EP3872588A4 (en) 2022-08-03
JP6629410B1 (ja) 2020-01-15
CN112805638B (zh) 2022-02-25

Similar Documents

Publication Publication Date Title
US11561527B2 (en) NC program conversion process method and processing treatment system
EP0881034B1 (en) Method and device for analyzing nc program for nc machining
US6571145B1 (en) Manufacturing system and method
US6502007B1 (en) Optimization method and device of NC program in NC machining
WO2020084814A1 (ja) Ncプログラム変換処理方法及び変換用計算機
CN113950651A (zh) 信息处理装置、信息处理方法及信息处理程序
WO2021005887A1 (ja) 機械加工管理方法及び機械加工管理システム
JP6865055B2 (ja) 加工負荷解析装置、加工負荷解析プログラム、及び加工負荷解析システム
CN110780637A (zh) 工具管理***、工具管理装置以及工具管理方法
JP7253995B2 (ja) 製造工程設計方法及び製造工程設計システム
JP7112375B2 (ja) Ncプログラム生成システム及びncプログラム生成方法
US20200225642A1 (en) Method For Controlling A Machine Tool And Machine Tool
JP6868081B2 (ja) 変換用計算機
WO2021192356A1 (ja) Ncプログラム変換処理方法、変換用計算機、及び変換プログラム
US20220342381A1 (en) Managing a machine tool method, for example method of mapping toolpath data and machine code, a control device, and a machine tool
JP2024066929A (ja) 変換用計算機、ncプログラム変換方法、及びncプログラム変換プログラム
JP2022130952A (ja) 工具経路生成装置、工具経路生成方法、及び工具経路生成プログラム
US20220405866A1 (en) Information processing method, information processing apparatus, and recording medium
US20230384760A1 (en) Control device
JP5851684B2 (ja) Ncプログラム作成方法及び作成装置
EP3876050A1 (en) Processing support system
JP2023037473A (ja) Ncプログラム変換処理方法、変換用計算機、及び変換プログラム
JP2002036031A (ja) 放電加工用nc装置及び放電加工方法
JP2011258138A (ja) 補正工具軌跡情報作成システム、補正工具軌跡情報作成方法、及び、補正工具軌跡情報作成プログラム

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019876760

Country of ref document: EP

Effective date: 20210525