WO2023276801A1 - 工作機械制御装置 - Google Patents

工作機械制御装置 Download PDF

Info

Publication number
WO2023276801A1
WO2023276801A1 PCT/JP2022/024813 JP2022024813W WO2023276801A1 WO 2023276801 A1 WO2023276801 A1 WO 2023276801A1 JP 2022024813 W JP2022024813 W JP 2022024813W WO 2023276801 A1 WO2023276801 A1 WO 2023276801A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool
mdi
program
snippet
parameter
Prior art date
Application number
PCT/JP2022/024813
Other languages
English (en)
French (fr)
Inventor
彬央 真田
Original Assignee
Dmg森精機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dmg森精機株式会社 filed Critical Dmg森精機株式会社
Publication of WO2023276801A1 publication Critical patent/WO2023276801A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • 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/409Numerical 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 using manual data input [MDI] or by using control panel, e.g. controlling functions with the panel; characterised by control panel details or by setting parameters
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine

Definitions

  • the present invention relates to a machine tool control device.
  • Patent Document 1 discloses a technique for displaying a tool selection button figure on the display screen of the operation panel in MDI mode operation and controlling attachment of the tool to the tool spindle by button operation.
  • An object of the present invention is to provide a technology that solves the above problems.
  • a machine tool control device includes: a tool management unit that generates and displays a tool management screen that displays a list of tools prepared for the machine tool; an MDI program generation unit that calls a fixed form program, adds tool information of the tool selected on the tool management screen to the fixed form program, and generates an MDI (Manual Data Input) program; with When two or more tools are selected on the tool management screen, the MDI program generation unit adds tool information of the selected tools to each of the fixed programs corresponding to the number of selected tools.
  • the MDI program is generated by arranging the .
  • a machine tool control device includes: a tool management unit that generates and displays a tool management screen that displays a list of tools prepared for the machine tool; an MDI program generation unit that calls a fixed form program, adds tool information of the tool selected on the tool management screen to the fixed form program, and generates an MDI (Manual Data Input) program; with The MDI program generator generates the MDI program by placing an optional stop command between the continuously arranged fixed form programs.
  • a machine tool control device includes: a tool management unit that generates and displays a tool offset screen that displays the offset values of the tools prepared for the machine tool; an MDI program generator that calls a fixed form program, adds the offset value of the tool selected on the tool offset screen to the fixed form program, and generates an MDI (Manual Data Input) program; provided.
  • a tool management unit that generates and displays a tool offset screen that displays the offset values of the tools prepared for the machine tool
  • an MDI program generator that calls a fixed form program, adds the offset value of the tool selected on the tool offset screen to the fixed form program, and generates an MDI (Manual Data Input) program
  • MDI programs can be generated efficiently.
  • FIG. 1 is a block diagram showing the configuration of a machine tool control device according to a first embodiment;
  • FIG. It is a figure which shows the display operation part of the machine tool control apparatus which concerns on 2nd Embodiment. It is a figure which shows the transition of the display operation part of the machine tool control apparatus which concerns on 2nd Embodiment. It is a figure which shows the structure of the machine tool containing the machine tool control apparatus which concerns on 2nd Embodiment. It is a figure explaining the functional composition of the machine tool containing the machine tool control device concerning a 2nd embodiment. It is a figure which shows the operation
  • FIG. 11 is a block diagram showing the configuration of a tool management module of the machine tool control device according to the second embodiment;
  • FIG. 10 is a diagram showing configurations of a tool information table and a generation definition table according to the second embodiment;
  • FIG. 8 is a block diagram showing the configuration of an MDI transfer module of the machine tool control device according to the second embodiment;
  • FIG. 11 is a diagram showing the configuration of a program generation definition storage unit and a snippet storage unit according to the second embodiment;
  • 9 is a flow chart showing a processing procedure of an MDI transfer module of the machine tool control device according to the second embodiment;
  • 9 is a flowchart showing the procedure of program generation processing according to the second embodiment;
  • FIG. 10 is a flowchart showing the procedure of parameter partial search processing according to the second embodiment;
  • FIG. 9 is a flow chart showing the procedure of manual input processing according to the second embodiment;
  • FIG. 12 is a diagram showing an example of a format of a parameter portion according to the second embodiment;
  • FIG. 10 is a diagram showing a table of an example of an MDI program using the parameter part format according to the second embodiment;
  • FIG. 9 is a diagram showing an example 921 of an MDI program in the machining center according to the second embodiment;
  • FIG. 10 is a diagram showing an example 922 of an MDI program in the machining center according to the second embodiment;
  • FIG. 10 is a diagram showing an example 923 of an MDI program in the machining center according to the second embodiment;
  • FIG. 11 is a diagram showing an example 924 of an MDI program in the machining center according to the second embodiment;
  • FIG. 11 is a diagram showing an example 925 of an MDI program in the machining center according to the second embodiment;
  • FIG. 11 is a diagram showing an example 926 of an MDI program in the machining center according to the second embodiment;
  • FIG. FIG. 11 is a diagram showing an example 927 of an MDI program in the machining center according to the second embodiment;
  • FIG. FIG. 11 is a diagram showing an example 928 of an MDI program in the machining center according to the second embodiment;
  • FIG. FIG. 11 is a diagram showing display of an example 931 of an MDI program in a turning center according to the second embodiment;
  • FIG. 11 is a diagram showing an example 932 of an MDI program in the turning center according to the second embodiment;
  • FIG. 11 is a diagram showing an example of a tool management screen in the turning center according to the second embodiment;
  • FIG. 11 is a diagram showing a display of an example 941 of an MDI program in tool offset according to the second embodiment;
  • FIG. 11 is a diagram showing an example 942 of an MDI program in tool offset according to the second embodiment;
  • FIG. It is a figure which shows the display operation part of the machine tool control apparatus which concerns on 3rd Embodiment.
  • It is a figure which shows the example of the tool management screen of the machine tool control apparatus which concerns on 3rd Embodiment.
  • FIG. 12 is a diagram showing a snippet generation screen of the machine tool control device according to the third embodiment
  • FIG. 12 is a diagram showing a snippet editing screen of the machine tool control device according to the third embodiment
  • FIG. 11 is a block diagram showing the configuration of an MDI transfer module of the machine tool control device according to the third embodiment
  • It is a figure which shows the structure of the data storage part for snippet editing which concerns on 3rd Embodiment.
  • FIG. 12 is a flowchart showing the procedure of snippet generation and editing processing of the machine tool control device according to the third embodiment
  • FIG. FIG. 14 is a flow chart showing a procedure of a parameter part description insertion process according to the third embodiment
  • FIG. 11 is a block diagram showing the configuration of an MDI transfer module of a machine tool control device according to a fourth embodiment
  • FIG. 14 is a flow chart showing a procedure of program definition generation and editing processing of the machine tool control device according to the fourth embodiment
  • FIG. 14 is a flowchart showing the procedure of snippet change processing according to the fourth embodiment
  • snippet used in this embodiment is a reusable short program that is used to create and edit programs.
  • snippet corresponds to a "fixed form program” in the claims.
  • a machine tool control device 100 as a first embodiment of the present invention will be described with reference to FIG.
  • a machine tool control device 100 is a device that controls a machine tool.
  • the machine tool control device 100 includes a tool management unit 101 and an MDI (Manual Data Input) program generation unit 102.
  • the tool management unit 101 generates and displays a tool management screen 111 that displays a list of tools prepared for the machine tool.
  • the MDI program generation unit 102 calls the fixed form program 121 and adds the tool information 112 of the tool selected on the tool management screen 111 to the fixed form program 121 to generate the MDI program 122 .
  • an MDI program can be efficiently generated.
  • the machine tool control device 200 provides a snippet with tool information of a single or a plurality of tools/pots/STs (stations) designated by the operator as parameters and transfers the snippet to the MDI function.
  • Machine tool controller 200 generates an MDI program including at least one snippet according to the program generation definition.
  • the program generation definition is logic for generating a program using a part not based on a snippet and a part based on a snippet.
  • a snippet may include a parameter part for entering tool information as a parameter, and specifying what information is to be received by describing variables in a specific format in the parameter part.
  • the parameter portion can be classified into an automatic input parameter portion for automatically inputting parameters and a manual input parameter portion for manually inputting parameters by the user. If a snippet including a manual input parameter part is specified in the program generation definition, the parameter manual input screen is displayed when the MDI transfer button is touched, and the value is reflected by the worker inputting the parameter. An MDI program is generated. When multiple pieces of tool/pot/ST information are specified on the tool management screen, multiple snippets are synthesized based on each piece of information. At that time, an arbitrary command such as an optional stop can be inserted between snippets according to the program generation definition.
  • the first example snippet is T?TOOL:Q1?; G30X0.Y0.Z0.; M6; This is an example of automatic input described in .
  • the first line indicates the indexing of the Q1 tool to the ATC position
  • the second line indicates return to origin
  • the third line indicates ATC.
  • TOOL is a description to be replaced with the tool number indicated by the following parameter identifier Q1.
  • the second example snippet is G324H#149B300.M0X?TOOL:Q1102?; This is an example of automatic input of diameter correction shape correction value in automatic tool length measurement (G324) described in .
  • Q1102 is a parameter identifier indicating a diameter correction shape correction value.
  • FIG. 2A is a diagram for explaining the operation procedure in the display operation unit 201 of the machine tool control device 200 of the machine tool 250.
  • FIG. 2A When an MDI mode for generating and executing an MDI program is set using a switch (not shown), a tool management screen 210 and an MDI screen 220 are displayed on the display operation unit 201 as shown in FIG. 2A. .
  • the user selects the tool 211 on the tool management screen 210 and then touches one of the buttons 216 and 217, the generation definition of the MDI program corresponding to each button is read. Then, the snippet specified in the read generation definition is read.
  • the read snippet includes a parameter portion 225 described in a specific format, and the tool information of the tool 211 (here, as an example, tool number 10002) is added to the parameter portion 225 to execute the MDI program. generated.
  • the generated MDI program is displayed on the MDI screen 220.
  • the tool information includes tool identification information (tool number), tool length shape, tool length wear, tool radius shape, tool radius wear, parameters such as correction values, and other information related to tools. It is a concept that can include various information.
  • MDI transfer buttons 216 and 217 are displayed on the tool management screen 210 . Processing when each button is touched will be described with reference to FIG. 2B.
  • the display operation unit 201 calls the program generation definition linked to the MDI transfer (measurement) button 217 .
  • the user refers to the preview 231 of the MDI program, inputs numerical values in the manual input field 232, and then touches the MDI transfer button 233, thereby realizing manual input of the parameters of the snippet 229.
  • machine tool 250 includes machine tool controller 200 and machining center 302 controlled by machine tool controller 200 .
  • the machining center 302 in FIG. 3A is an example of a vertical machining center, but there are other types such as a horizontal type and a portal type.
  • the X, Y, and Z axes are defined as in FIG. 3A.
  • the machine tool control device 200 has a display operation section 201 , an input key group 303 and a control key group 304 .
  • the machine tool control device 200 has a tool management module that manages tools to be used.
  • the machine tool control device 200 also has an MDI (Manual Data Input) mode and has an MDI function module that operates with an MDI program.
  • Mode selection keys of the control key group 304 include an MDI mode key 305 .
  • function instructions as shown in FIG. 3B are defined, and the MDI program is described by these function instructions. Classification of function instructions and basic function instructions are shared, but some optional dedicated function instructions are also used.
  • the machine tool controller 200 includes a tool management module 310, an MDI transfer module 320, and an MDI function module 330, as shown in FIG. 3C.
  • the tool management module 310 has a tool management section 311 and a tool information storage section 312 .
  • the tool management module 310 also manages the tool management screen 210.
  • the MDI transfer module 320 has an MDI program generation unit 321 , a program generation definition storage unit 322 , a snippet storage unit 323 and a parameter manual input unit 324 .
  • the MDI transfer module 320 manages the parameter manual input screen 230 in the case of parameter manual input.
  • the MDI function module 330 has an NC MDI function unit 331 .
  • the MDI function module 330 manages the MDI screen 220 .
  • the tool management unit 311 of the tool management module 310 refers to the tool information stored in the tool information storage unit 312, displays the tool information on the tool management screen 210, and displays the tool information input to the tool management screen 210. Stored in the tool information storage unit 312 .
  • the tool management unit 311 also sends the identifier of one or more tools selected on the tool management screen 210 and the identifier of the selected program generation definition to the MDI transfer module 320 ((#1 in FIG. 3C). )reference).
  • the tool management unit 311 waits for a request from the MDI program generation unit 321 for tool information to replace the parameter part described in the snippet.
  • the tool management unit 311 includes a tool identifier indicating tool information that replaces the parameter portion and a specific tool information identifier (eg, Q0).
  • the tool management unit 311 selects specific tool information (for example, If it is Q0, the tool number) is extracted.
  • the tool management unit 311 passes the extracted specific tool information to the MDI program generation unit 321 (see (#4) in FIG. 3C), and the MDI program generation unit 321 extracts the predetermined parameter part of the snippet.
  • the MDI program is generated by replacing with the specified tool information.
  • the exchange of specific tool information in (#3) and (#4) in FIG. 3C is repeated the number of times (the number of selected tools ⁇ the number of automatic input parameter portions).
  • the specific tool information is extracted in the tool management module 310, but the MDI program generation unit 321 accesses the tool information storage unit 312 and extracts the specific tool information necessary for replacing the parameter part. Tool information may be extracted.
  • the MDI program generation unit 321 of the MDI transfer module 320 uses the program generation definition identifier received from the tool management unit 311 to read the program generation definition corresponding to the pressed button from the program generation definition storage unit 322 (FIG. 3C). See (#2) inside).
  • the MDI program generation unit 321 searches for a snippet identifier described in the read program generation definition. Then, using the snippet identifier, the snippet is read from the snippet storage unit 323 (see (#2) in FIG. 3C).
  • the MDI program generation unit 321 finds a parameter part of a specific format in the read snippet, it analyzes the specific format and identifies attributes of the parameter part.
  • the MDI program generation unit 321 When the MDI program generation unit 321 confirms that the specified parameter part is the automatic input of the tool information of the selected tool, the MDI program generation part 321 requests the tool management part 311 for the specific tool information to replace the parameter part described in the snippet. do. That is, a request for information transmission including the identifier of the tool and the identifier of the specific tool information (for example, Q0) is transmitted to the tool management section 311 (see (#3) in FIG. 3C). The MDI program generation unit 321 receives specific tool information (for example, tool number if Q0) among all tool information related to each selected tool from the tool management unit 311 ((# in FIG. 3C). 4)), replace this parameter portion with the received specific tool information for the selected tool.
  • specific tool information for example, tool number if Q0
  • the exchange of specific tool information (#3) and (#4) in FIG. 3C is repeated the number of times (the number of selected tools ⁇ the number of automatic input parameter portions).
  • the MDI program generation unit 321 may access the tool information storage unit 312 and extract specific tool information necessary for replacing the parameter portion.
  • the MDI program generation unit 321 replaces the specified parameter portion with the tool information input by the user from the parameter manual input screen 230 when it is confirmed that the tool information of the selected tool is manually input.
  • an MDI program is generated in which the parameter portion in the program is replaced with specific tool information (parameters are fixed).
  • the generated MDI program is sent from the MDI program generation unit 321 to the MDI function unit 331 of the NC of the MDI function module 330, and the MDI program is executed. Also, the generated MDI program and its execution state are displayed on the MDI screen 220 .
  • the MDI screen 220 is displayed when the MDI program is generated here, the present invention is not limited to this. In order to set the generated program to the MDI function of the NC, the MDI screen 220 should be displayed in that state. Alternatively, the MDI function may be used internally without displaying the MDI screen 220 .
  • the tool management module 310 includes a module interface 401, an input/output interface 402, a tool information acquisition/storage unit 403, a display control unit 404, and an operation control unit 405.
  • the tool management module 310 also includes a tool information acquisition unit 406, a tool identifier transmission unit 407, a generation definition identifier acquisition unit 408, a generation definition identifier transmission unit 409, an automatic parameter input unit 411 for tool information, a database 410;
  • (#1), (#3), and (#4) indicate the same processing as the processing in FIG. 3C.
  • a module interface 401 is an interface that controls data exchange between the tool management module 310 and the MDI transfer module 320 .
  • the input/output interface 402 is an interface that controls data exchange between the tool management module 310 and internal and external peripheral devices.
  • the database 410 as a storage unit is connected as an internal peripheral device, and the display operation unit 201 is connected as an external peripheral device, but the present invention is not limited to this.
  • the tool information acquisition storage unit 403 acquires tool information input from the display operation unit 201 and stores it in the tool information storage unit 312 of the database 410 .
  • a display control unit 404 controls display of tool information on the display operation unit 201 .
  • the operation control unit 405 controls user input operations from the display operation unit 201 . For example, the operation control unit 405 acquires the identifier of the tool selected by the user from the tools displayed on the display operation unit 201, and generates a program corresponding to when the user presses the button displayed on the display operation unit 201. Control to get the definition identifier.
  • the tool identifier transmission unit 407 transmits the tool identifier acquired by the operation control unit 405 to the MDI transfer module 320 (see (#1) in FIG. 4A).
  • the generation definition identifier acquisition unit 408 has a generation definition identifier table 481, and uses the generation definition identifier table 481 to acquire the identifier of the program generation definition specified by the user from the display operation unit 201 under the control of the operation control unit 405. do.
  • the program generation definition identifier is input by pressing the software button additionally displayed on the tool management screen 210 according to the present embodiment.
  • the generation definition identifier transmission unit 409 transmits the program generation definition identifier acquired by the generation definition identifier acquisition unit 408 to the MDI transfer module 320 . Also, if a snippet can be directly selected from the display operation unit 201, the snippet identifier 491 may be included.
  • the parameter automatic input unit 411 for tool information has a parameter table 412 for tool information.
  • the parameter automatic input unit 411 for tool information receives from the MDI transfer module 320 the identifier of the tool and the identifier of the specific tool information for selecting the specific tool information to be added to the parameter portion of the snippet (see FIG. 4A). (See #3)). Then, the tool information parameter automatic input unit 411 passes the tool identifier to the tool information acquisition unit 406 and instructs it to acquire all the tool information corresponding to the tool identifier from the tool information storage unit 312 .
  • the tool information acquisition unit 406 has a tool information table 461, and uses the tool information table 461 to obtain all the tools specified by the user from the display operation unit 201 based on a request from the automatic parameter input unit 411 for tool information. Get information.
  • the parameter automatic input unit 411 for tool information uses the parameter table 412 of the tool information to select the specific tool information corresponding to the identifier of the specific tool information from all the tool information corresponding to the identifier of the tool acquired by the tool information acquiring unit 406 .
  • the tool information is extracted and sent back to the MDI transfer module 320 (see (#4) in FIG. 4A).
  • Tool information table The tool information table 461 in FIG. 4B is used to acquire from the tool information storage unit 312 all tool information corresponding to the tool identifier requested by the parameter automatic input unit 411 for tool information.
  • the tool information table 461 stores all tool information 422 acquired from the tool information storage unit 312 in association with the tool identifier 421 requested by the automatic parameter input unit 411 for tool information. Then, the tool identifier 423 is stored in association with each instruction screen position 432 .
  • Tool information parameter table The tool information parameter table 412 of FIG. 4B is used by the automatic parameter input unit 411 for tool information to extract specific information (parameters) of the tool to be added to the parameter portion of the snippet requested by the MDI transfer module 320. be done.
  • the tool information parameter table 412 stores specific tool information 443 extracted from the corresponding tool information in association with the tool identifier 441 and the specific tool information identifier 442 requested by the MDI transfer module 320 .
  • the generation definition identifier table 481 in FIG. 4B is used by the generation definition identifier acquisition unit 408 to acquire the program generation period identifier corresponding to the button displayed on the tool management screen 210 and selected by the user.
  • the generated definition identifier table 481 stores the position where at least one button is displayed as the instruction screen position 432 in association with the display screen identifier 431 of the tool management screen 210 indicating the type of tool.
  • a button type 433 is associated with each instruction screen position 432, and a menu position 434 and a generation definition identifier 435 when one button includes a plurality of menus (for example, a pull-down menu) are stored.
  • the MDI transfer module 320 includes a module interface 501, an input/output interface 502, a tool identifier acquisition section 503, a program generation definition identifier acquisition section 505, and a program generation definition acquisition section 506.
  • the MDI transfer module 320 also includes a snippet acquisition unit 507 , an MDI program generation unit 321 , a parameter manual input unit 324 and a database 510 .
  • (#1), (#3), and (#4) indicate the same processes as those in FIGS. 3C and 4A.
  • the module interface 501 is an interface that controls data exchange between the MDI transfer module 320 and the tool management module 310 and MDI function module 330 .
  • the input/output interface 502 is an interface that controls data exchange between the MDI transfer module 320 and internal and external peripherals.
  • the database 510 which is a storage unit, is connected as an internal peripheral device, and the display operation unit 201 is connected as an external peripheral device, but the present invention is not limited to this.
  • the tool identifier acquisition unit 503 acquires one or more tool identifiers sent from the tool management module 310 (see (#1) in FIG. 5A) and sends them to the MDI program generation unit 321 .
  • the program generation definition identifier acquisition unit 505 acquires the program generation definition identifier sent from the tool management module 310 corresponding to the button (see (#1) in FIG. 5A).
  • the program generation definition acquisition unit 506 acquires the program generation definition from the program generation definition storage unit 322 of the database 510 using the program generation definition identifier.
  • the snippet acquisition unit 507 acquires a snippet from the snippet storage unit 323 of the database 510 using the snippet identifier specified in the program generation definition.
  • the MDI program generation unit 321 Based on the program generation definition, the MDI program generation unit 321 generates an MDI program in which a snippet in which the parameter part is replaced with a tool identifier or other tool information is arranged, and sends it to the MDI function module 330 .
  • the MDI program generation unit 321 automatically replaces the parameter portion with a tool identifier or other tool information if the format of the parameter portion of the acquired snippet indicates automatic input.
  • the parameter manual input unit 324 displays a manual input field on the display operation unit 201 to acquire manual input data. Then, the parameter manual input unit 324 replaces the parameter portion with the tool information manually input by the user.
  • the process for automatically replacing the above parameter part with a tool identifier or other tool information is as follows.
  • the MDI program generation unit 321 transmits a tool information request to the tool management module 310 to request specific tool information (see (#3) in FIG. 5A).
  • the request for tool information includes the identifier of the tool that replaces the parameter portion of the one or more tool identifiers acquired by the tool identifier acquisition unit 503 from the tool management module 310, and the identifier of the specific tool information.
  • the MDI program generation unit 321 receives specific tool information corresponding to the requested tool identifier and the specific tool information identifier from the tool management module 310, the MDI program generation unit 321 replaces the parameter portion with the received specific tool information.
  • the program generation definition storage unit 322 in FIG. 3C stores the program generation definition 532 in association with the generation definition identifier 531 as shown in FIG. 5B. At least one snippet identifier and the location of the snippet in the MDI program (snippet position) are associated with the program generation definition 532 (533). The program generation definition 532 is also associated with a program other than the snippet and its placement location 534 .
  • the snippet storage unit 323 in FIG. 3C stores snippets as shown in FIG. 5B, and provides the MDI transfer module 320 with the snippets linked by the snippet identifier included in the program generation definition. That is, each row of the snippet storage unit 323 specifies a snippet, and stores a fixed form part 542, an automatic input parameter part 543, and a manual input parameter part 544 in association with the snippet identifier 541.
  • FIG. 6 is a flow chart showing the processing procedure of the MDI transfer module 320. As shown in FIG. The processing shown in this flowchart is executed using a CPU (Central Processing Unit) and RAM (Random Access Memory) (not shown) provided in the machine tool control device 200, and implements each functional configuration of the MDI transfer module 320. .
  • CPU Central Processing Unit
  • RAM Random Access Memory
  • the MDI transfer module 320 determines in step S601 whether or not it is in the MDI mode. If not in MDI mode, other processing is executed. If in MDI mode, MDI transfer module 320 waits for tool selection by the user using tool management screen 210 in step S607. If there is a tool selection, the MDI transfer module 320 waits for the user to touch the MDI transfer buttons 216 and 217 on the tool management screen 210 in step S609. If the MDI transfer buttons 216 and 217 are touched, the process proceeds to step S611, and the MDI program generation unit 321 acquires the program generation definition corresponding to the touched MDI transfer button from the program generation definition storage unit 322.
  • the MDI program generation unit 321 acquires the extracted tool information regarding the selected tool. Further, the flow advances to step S615 to execute MDI program generation processing in accordance with the acquired program generation definition.
  • the MDI transfer module 320 outputs the generated MDI program to the MDI function module 330 in step S617.
  • FIG. 7 is a flowchart showing in detail the flow of processing in the MDI program generation processing S615 of FIG.
  • the MDI program generation unit 321 reads a snippet specified by the program generation definition from the snippet storage unit 323 in step S701.
  • the MDI program generation unit 321 executes parameter partial search processing in the read snippet.
  • the MDI program generation unit 321 determines whether the format of the found parameter portion is automatic input or manual input. If it is an automatic input parameter portion, the MDI program generator 321 inputs specific tool information selected from the tool information acquired in step S613 into the parameter portion in step S707.
  • the MDI program generation unit 321 executes manual input processing in step S709.
  • the MDI program generation unit 321 determines in step S711 whether or not the search for the parameter part in the snippet is completed. If the parameter part search is not completed, the MDI program generation unit 321 returns to step S703 and repeats the replacement process for the remaining parameter parts in the snippet.
  • step S713 the MDI program generation unit 321 arranges the snippet with all parameter parts replaced in the MDI program according to the program generation definition.
  • step S715 the MDI program generation unit 321 determines whether or not there is the next snippet designated by the program generation definition. If another snippet is specified, the MDI program generator 321 returns to step S701, reads the next snippet specified in the program generation definition, and starts searching for the parameter part.
  • FIG. 8A is a flowchart explaining in detail the flow of processing in the parameter partial search processing S703 of FIG.
  • the MDI program generator 321 searches the parameter part in the snippet to find its format in step S801.
  • the parameter portion of the automatic input is the parameter portion starting with "?TOOL” and ending with "?”.
  • the manual input parameter portion is a parameter portion that starts with "?MANUALINPUT” and ends with "?”. Note that the format is not limited to this format.
  • the MDI program generation unit 321 determines whether or not "?TOOL” is found in step S811. If “?TOOL” is found, the MDI program generator 321 sets in step S813 that it is a parameter portion for automatically inputting specific tool information. If “? TOOL” is not found, the MDI program generator 321 determines in step S821 whether or not "? MANUALINPUT” is found. If “?MANUALINPUT” is found, the MDI program generator 321 sets in step S823 that it is a parameter part for manually inputting specific information. If “?MANUALINPUT” is not found, the MDI program generator 321 optionally determines in step S831 whether the conventional parameter part mark “?” or the conventional function selection mark “[[” was found. judge. If either is found, the MDI program generator 321 executes the existing manual character-by-character input and function selection. If neither, the MDI program generator 321 returns to step S801 to continue the parameter partial search.
  • the MDI program generation unit 321 generates a parameter manual input screen in step S843.
  • the MDI program generation unit 321 displays a parameter manual input screen on the tool management screen 210 or the MDI screen 220 in step S845.
  • the MDI transfer module 320 waits for manual input by the user in step S847. If there is a manual input by the user, the MDI program generator 321 acquires the input value (parameter) in step S849. Then, in step S851, the MDI program generation unit 321 adds an input value to the parameter portion of the manual input.
  • a specific value of the tool information may be set as the initial value of the parameter input field.
  • FIG. 9A shows an example of a parameter part format (parameter part format) 910.
  • the parameter part in a snippet is a character string sandwiched between "?" and "?".
  • Format 1 in the parameter automatic input request is a format for entering the value of a specific parameter, ? ⁇ Identifier of automatic parameter input part>: ⁇ Parameter identifier>? defined by
  • ⁇ identifier of parameter automatic input unit> is defined as "TOOL”. For example, if there is a description "T?TOOL:Q0?" becomes.
  • Format 2 in the parameter automatic input request is a format for entering a value obtained by calculating a constant value for a specific parameter value, and ? ⁇ Identifier of automatic parameter input unit>: ⁇ Parameter identifier> ⁇ Operator> ⁇ Constant value>? defined by For example, if the snippet contains the description "G324H#149B?TOOL:Q1101+100.?M0X0.”, Q1101 indicates the tool length correction value. If it was 100., it will be replaced with G324H#149B200.M0X0.
  • the initial value of the input field for manual input is an empty definition, and ? ⁇ Identifier of parameter manual input unit>: ⁇ Parameter identifier>? defined by
  • ⁇ identifier of parameter manual input section> is defined as "MAMUALINPUT”. For example, if the snippet contains "G324H#149B300.M0X?MANUALINPUT:G324X?", the G324X field will be displayed on the parameter manual input screen (the initial value is empty) and enter "10.” is replaced with G324H#149B300.M0X10.
  • FIG. 9B shows a table 920 summarizing characteristics of example MDI programs 921-942 using the parameter part format 910.
  • FIG. 10A is a diagram explaining an example 921 of the MDI program in the machining center shown in FIG. 9B.
  • a case is explained in which one tool is selected by a check box 1001 on the tool management screen 210 and the MDI transfer button 216 is pressed. The selected tool has a tool number of 10001.
  • a single tool selection on the tool management screen 210 replaces the parameter portion of a single snippet.
  • the MDI program generation unit 321 inserts snippet 1 according to the program generation definition associated with the MDI transfer button 216. Next, search for the parameter portion of snippet 1. Then, the tool number 10001 of the selected tool is input to ?TOOL:Q0? of the retrieved parameter portion to be automatically input, and the generated MDI program 1012 is displayed on the MDI screen 220.
  • FIG. 1 the MDI transfer button 216 is touched.
  • the tool number is 10001.
  • Snippet 1 is T?TOOL:Q0?; G91G30Z0.; G91G30X0.Y0.; M6; is.
  • T?TOOL:Q0?; corresponds to Format 1 of the parameter automatic input request in FIG. This is an identifier that indicates a tool number, which is tool information.
  • T10001; is a command to index the 10001st tool in the magazine
  • G91G30Z0.;” and “G91G30X0.Y0.;” are commands to move the spindle to the tool change position
  • M6;" is an order.
  • FIG. 10B is a diagram illustrating an example MDI program 922 in the machining center shown in FIG. 9B. A case is explained in which two tools are selected with check boxes on the tool management screen 210 and the MDI transfer button 216 is pressed. The first tool has a tool number of 10001 . The second tool has tool number 10002 .
  • the MDI program generation unit 321 inserts snippet 1 according to the program generation definition associated with the MDI transfer button 216. Since multiple tools are selected, multiple snippets 1 are arranged and M1 (optional stop command) is inserted between them.
  • the first tool enter the tool number 10001 in the automatic input parameter part ?TOOL:Q0? in snippet 1 (1012). Furthermore, since there is a second tool, an optional stop (M01) 1025 is inserted, and the tool number 10002 is input to the automatic input parameter ?TOOL:Q0? in the same snippet 1 (1022). An MDI program 1021 combining these is displayed on the MDI screen 220 .
  • Snippet 1 is T?TOOL:Q0?; G91G30Z0.; G91G30X0.Y0.; M6; is.
  • T10001; is a command to index the 10001st tool in the magazine
  • "G91G30Z0.;” and “G91G30X0.Y0.;” are commands to move the spindle to the tool change position
  • M6;” is an order.
  • FIG. 10C is a diagram explaining an example 923 of the MDI program in the machining center shown in FIG. 9B. A case is described in which three tools are selected by check boxes on the tool management screen 210 and the MDI transfer button 217 is pressed.
  • the first tool is a drill tool with tool number 10001 .
  • the second tool is an end mill tool with tool number 10002 .
  • the third tool is an end mill tool with a tool number of 10003.
  • the MDI program generation unit 321 inserts snippet 1 according to the program generation definition associated with the MDI transfer button 216, and then inserts snippet 2 if the tool type is a drill. , then insert snippet 3 if it is an end mill. If multiple tools are selected, insert M1 (optional stop directive) between the set of snippets 1 and 2 and the set of snippets 1 and 3.
  • the first selected tool enter the first tool number 10001 in the automatic input parameter part ?TOOL:Q0? of snippet 1 (1012). Then, it is determined whether the first selected tool type is a drill or an end mill. Since the first selected tool type is a drill, snippet 2 (automatic call of tool length measurement macro) is inserted (1035). After inserting the optional stop (M01) 1025, the second tool number 10002 is entered in the automatic input parameter section ?TOOL:Q0? of snippet 1 (1022). Then, it is determined whether the second selected tool type is a drill or an end mill. Since the second selected tool type is an end mill, automatically set the tool diameter shape correction value (“20.” in FIG.
  • the third tool number 10003 is entered in the automatic input parameter section ?TOOL:Q0? of snippet 1 (1032). Then, it is determined whether the third selected tool type is a drill or an end mill. Since the third selected tool type is an end mill, the automatic input parameter part ?TOOL:Q1102? of snippet 3 is automatically set to the tool diameter shape correction value of the selected end mill ("30.” An MDI program 1031 combining these programs is displayed on the MDI screen 220 .
  • Snippet 1 is T?TOOL:Q0?; G91G30Z0.; G91G30X0.Y0.; M6; is.
  • Snippet 2 is G324H#149; , which is an instruction to call the macro for tool length measurement.
  • Snippet 3 is G324H#149B300.M0X?TOOL:Q1102?; is a command to call the tool length measurement macro, set the temporary tool length to 300, and input the tool diameter shape correction value set for the selected tool as the X-axis shift amount.
  • Q1102 is a parameter identifier indicating a tool diameter shape correction value.
  • T10001;" to "M6;” are operation instructions for snippet 1 by the tool with tool number 10001.
  • “G324H#149;” is an instruction to call the tool length measurement macro.
  • FIG. 10D is a diagram illustrating an example MDI program 924 in the machining center shown in FIG. 9B.
  • Example 924 is an example of generating an MDI program by reading not snippet 3 but snippet 4 including format 2 shown in FIG. 9A of the parameter automatic input request in example 923 .
  • the tool length measurement macro is automatically called to automatically input the temporary tool length.
  • FIG. 10D is the same as FIG. 10C except that snippet 3 is changed to snippet 4, so the same reference numbers are given to the same components, and the description of the same processing is omitted to avoid duplication.
  • the MDI program generation unit 321 inserts snippet 1 according to the program generation definition associated with the MDI transfer button 217, and then inserts snippet 2 if the tool type is a drill. , then insert snippet 4 if it is an end mill. If multiple tools are selected, insert M1 (optional stop directive) between the set of snippets 1 and 2 and the set of snippets 1 and 4.
  • the MDI program 1041 generated in this manner is displayed on the MDI screen 220 .
  • Snippet 4 is G324H#149B?TOOL:Q1101+100.?M0X0.; , which corresponds to format 2 of the parameter automatic input request in FIG. 9A.
  • Snippet 4 calls the tool length measurement macro, inputs the value obtained by adding 100 to the tool diameter shape correction value set for the selected tool as the temporary tool length, and inputs 0. as the X-axis shift amount.
  • Q1101 is a parameter identifier indicating the tool length shape correction value.
  • "G324H#149B200.M0X0.;" calls the tool length measurement macro, and for the tool with tool number 10002, the temporary tool length is calculated using the tool length shape correction value "100" of the selected tool.
  • FIG. 10E is a diagram illustrating an example MDI program 925 in the machining center shown in FIG. 9B. A case is described in which three tools are selected by check boxes on the tool management screen 210 and the MDI transfer button 217 is pressed.
  • Example 925 is an example in which, in Example 923, instead of snippet 3, snippet 5 including format 3 of the parameter manual input request shown in FIG. 9A is read to generate an MDI program.
  • the tool length measurement macro is automatically called to set the initial value of the X-axis shift amount to the tool diameter shape correction value of the selected tool, and then the user can manually input the X-axis shift amount.
  • FIG. 10E is the same as FIG. 10C except that snippet 3 is changed to snippet 5, so the same components are given the same reference numerals, and the description of the same processing is omitted to avoid duplication.
  • the MDI program generation unit 321 inserts snippet 1 according to the program generation definition associated with the MDI transfer button 217, inserts snippet 2 if the tool type is a drill, and inserts snippet 2 if the tool type is an end mill. Insert snippet 5 next. If multiple tools are selected, insert M1 (optional stop directive) between the set of snippets 1 and 2 and the set of snippets 1 and 3.
  • Q1102 is a parameter identifier indicating the tool radius shape correction value of the selected tool.
  • FIG. 10F is a diagram illustrating an example MDI program 926 in the machining center shown in FIG. 9B. A case is described in which three tools are selected by check boxes on the tool management screen 210 and the MDI transfer button 217 is pressed. Example 926 uses snippet 6 instead of snippet 3 in example 923 .
  • the macro for measuring the tool length is automatically called, the temporary tool length is automatically input according to format 2 of the parameter automatic input request in FIG. 9A, and the X-axis shift amount is manually input according to the parameter manual input request format 1.
  • FIG. 10F is the same as FIG. 10C except that snippet 3 is changed to snippet 6, so the same components are given the same reference numerals, and the description of the same processing is omitted to avoid duplication.
  • the MDI program generation unit 321 inserts snippet 1 according to the program generation definition associated with the MDI transfer button 217, inserts snippet 2 if the tool type is a drill, and inserts snippet 2 if the tool type is an end mill. Insert snippet 6 next. If multiple tools are selected, insert M1 (optional stop directive) between the set of snippets 1 and 2 and the set of snippets 1 and 6.
  • snippet 6 is inserted after snippet 1.
  • snippet 6 (tool length shape correction value of the selected tool+100) is input corresponding to ?TOOL:Q1101+100.? indicating automatic input of the temporary tool length.
  • ?MANUALINPUT:G324X? for requesting manual input of the X-axis shift amount is described, the parameter manual input screen 230 is opened to wait for manual input of the X-axis shift amount.
  • the user refers to the preview 231 of the MDI program in the parameter manual input screen 230, performs manual input in the manual input field 232 of the tool diameter shape correction value, and touches the MDI transfer button 233, so that the parameters of the snippet 6 Manual entry into parts is realized.
  • FIG. 10F for tool number 10002, "200.” Since "21.” is entered in the manual input field 232 of the tool number 10002, "21.” is entered in the manual input parameter section ?MANUALINPUT:G324X? (1066). Also, for tool number 10003, "200.” is input to the automatic input parameter portion ?TOOL:Q1101+100.?
  • Snippet 6 is G324H#149B3?TOOL:Q1101+100.?M0X?MANUALINPUT:G324X?; is an instruction to call the tool length measurement macro, automatically input the temporary tool length, and manually input the X-axis shift amount.
  • Q1101 is a parameter identifier indicating the tool length shape correction value
  • Q1102 is a parameter identifier indicating the tool diameter shape correction value.
  • "G324H#149B200.M0X21.;” calls the macro for tool length measurement, and for the tool with tool number 10002, the temporary tool length is set to "200" using the automatically input tool length shape correction value of the tool.
  • FIG. 10G is a diagram illustrating an example MDI program 927 in the machining center shown in FIG. 9B. A case is described in which three tools are selected by check boxes on the tool management screen 210 and the MDI transfer button 217 is pressed.
  • Example 927 is example 923 with snippet 7 instead of snippet 3 .
  • the measurement macro is automatically called, the temporary tool length is manually input according to format 4 of the parameter manual input request shown in FIG. 9A, and the X-axis shift amount is manually input according to parameter manual input request format 2.
  • FIG. 10G is the same as FIG. 10C except that snippet 3 is changed to snippet 7, so the same components are given the same reference numerals, and the description of the same processing is omitted to avoid duplication.
  • the MDI program generation unit 321 inserts snippet 1 according to the program generation definition associated with the MDI transfer button 217, inserts snippet 2 if the tool type is a drill, and inserts snippet 2 if the tool type is an end mill. Insert snippet 7 next. If multiple tools are selected, insert M1 (optional stop command) between the set of snippets 1 and 2 and the set of snippets 1 and 7.
  • snippet 7 is inserted after snippet 1.
  • the user changes the initial values, manually inputs the manual input field 1072 for the temporary tool length and the manual input field 232 for the X-axis shift amount, and touches the MDI transfer button 233 to transfer to the parameter part of the snippet 7.
  • manual input is realized.
  • "150.” was entered in the manual input field 1072 of the tool number 10002 and "21.”
  • "150.” is input to Q1101+100.?
  • Q1101 is a parameter identifier indicating the tool length shape correction value.
  • FIG. 10H is a diagram illustrating an example MDI program 928 in the machining center shown in FIG. 9B.
  • Example 928 is an example of reading snippet 8 and generating an MDI program.
  • the tool diameter wear correction value is read out as a macro variable (#100) and changed, and the changed value is written back from the macro variable (#100) as the tool diameter wear correction value.
  • the MDI program generation unit 321 inserts the tool number of the selected tool into the snippet 8 according to the program generation definition associated with the MDI transfer button 216. Specifically, the tool number of the selected tool is entered in the automatic input parameter section ?TOOL:Q0? (1082). The generated MDI program 1081 is displayed on the MDI screen 220. FIG.
  • G388 is a tool data read command
  • G389 is a tool data write command.
  • A100 represents variable number 100.
  • Q1104 is a parameter identifier indicating a tool diameter wear correction value.
  • G388A100.T10001.Q1104; #100 #100+0.1; G389A100.T10001.Q1104; is generated.
  • G369A100.T10001.Q1104 is an instruction to write the value of macro variable #100 (that is, read macro variable #100+0.1) to the tool radius wear correction value of tool number 10001 in the tool management function.
  • FIG. 11A is a diagram illustrating an example MDI program 931 in the turning center shown in FIG. 9B.
  • a tool 1111 selected on the tool management screen 1110 in the turning center has a station number and a correction number as tool information.
  • the MDI program generation unit 321 inserts the snippet 9 corresponding to the selected tool based on the program generation definition of the MDI program linked to the MDI transfer button 1112 .
  • the snippet 9 describing station indexing and correction number commands is read, the T code indicated by the parameter identifier Q1118 is input to the snippet 9 from the tool information of the tool 1111, and the generated MDI Program 1114 is displayed on MDI screen 220 .
  • Snippet 9 is T?TOOL:Q1118?; is.
  • Q1118 is a parameter identifier indicating a T code.
  • T0121 is generated.
  • the left two digits represent the station number (01) and the right two digits represent the correction number (21).
  • FIG. 11B is a diagram illustrating an example MDI program 932 in the turning center shown in FIG. 9B.
  • An example 932 is an MDI program generated when multiple tools 1111 and 1121 are selected.
  • the MDI program generation unit 321 inserts a snippet 9 corresponding to each of the selected tools based on the program generation definition of the MDI program linked to the MDI transfer button 1112. do. If multiple tools are selected, insert an optional stop (M1) between them.
  • the snippet 9 describing station indexing and correction number commands is read, and the T code indicated by the parameter identifier Q1118 is input to the snippet 9 from the tool information of the tool 1111 (1114). Also, snippet 9 is read, and the T code indicated by parameter identifier Q1118 is input to snippet 9 from tool information 1121 (1124).
  • an optional stop (M1) 1125 is inserted between the MDI programs 1114, 1124 by snippet 9 of the two tools 1111, 1121.
  • the selected tools are T code 0121 and T code 0222.
  • Snippet 9 is T?TOOL:Q1118?; is.
  • Q1118 is a parameter identifier indicating a T code.
  • T0121; M1; T0222; is generated.
  • the left 2 digits represent the station number and the right 2 digits represent the correction number. 22) are collectively executed.
  • FIG. 11C Screen 1130 appears as shown in FIG. 11C.
  • an MDI program can be automatically generated.
  • FIG. 12A is a diagram illustrating a specific example 941 of the MDI program in the tool offset shown in FIG. 9B.
  • the tool correction information 1211 of the tool selected on the tool offset screen 1210 used for tool offset has a correction number, a tool diameter shape correction value, and a tool radius wear correction value.
  • the MDI program generation unit 321 generates a snippet based on the program generation definition of the MDI program linked to the MDI transfer button 1212. Insert 10.
  • the snippet 10 is read, and a program is generated for inputting the tool offset and increasing the tool radius wear correction value by a certain amount (1214).
  • a generated program 1214 is displayed on the MDI screen 220 as an MDI program 1213 .
  • TOOLOFFSET is an identifier of an automatic parameter input unit for tool offset information
  • DWEARVAR is a parameter identifier indicating a system variable for tool radius wear correction value.
  • #12001 #12001+0.1; is generated.
  • the selected correction number is 1 and the tool radius wear correction value is 10
  • the MDI program 1241 sets the system variable #12001 to the tool radius wear correction value with the correction number of 1, and the tool radius wear correction value By increasing a certain amount, you can escape.
  • machining accuracy is generally required more in the radial direction than in the longitudinal direction. For example, screw holes.
  • the tolerance is ⁇ 0.01
  • the workpiece is measured after machining with a relief of 0.1, and the correction value is adjusted based on the measurement results to produce defective products. It will be done without.
  • FIG. 12B is a diagram illustrating an example MDI program 942 for the tool offsets shown in FIG. 9B.
  • the tool correction information 1211 of the tool selected on the tool offset screen 1210 used for tool offset has a correction number, a tool radius shape correction value, and a tool radius wear correction value.
  • the MDI program generation unit 321 generates a snippet based on the program generation definition of the MDI program linked to the MDI transfer button 1212. Insert 11.
  • the snippet 11 is read, and a program is generated for inputting the tool offset and rewriting the tool diameter wear compensation value by the specified value (1224).
  • a generated program 1224 is displayed on the MDI screen 220 as an MDI program 1223 .
  • Snippet 11 is G10G90L13P?TOOLOFFSET:NUMBER?R?TOOLOFFSET:DWEAR+0.1?; is.
  • NUMBER is a correction number
  • DWEAR is a parameter identifier indicating a tool diameter wear correction value.
  • G10G90L13P1R10.1 is generated.
  • G10L13 is a command to rewrite the tool diameter wear compensation value
  • P is the compensation number
  • R is the compensation value.
  • the parameter portion described in the fixed form program is automatically replaced with the specific tool information of the tool selected on the tool management screen. It is possible to automatically set and generate an MDI program without key input by .
  • the parameter portion described in the fixed form program is automatically replaced with the offset value of the tool selected on the tool offset screen, the offset value of the tool is automatically set without key input by the user and the MDI program can be executed. can be generated.
  • the parameter part described in the snippet is defined by a specific format, it is easy for the user to edit the snippet by modifying it, and the generation and editing of the MDI program can be realized without mistakes.
  • the machine tool control device differs from the second embodiment in that snippets generated and edited by the user can be used.
  • a parameter portion having a specific format is automatically inserted into the fixed form program according to the user's selection instruction on the screen. Since other configurations and operations are similar to those of the second embodiment, the same configurations and operations are denoted by the same reference numerals, and detailed description thereof will be omitted.
  • FIG. 13B shows an example of displaying a pull-down menu 1318 without displaying a plurality of MDI transfer buttons on the tool management screen 210 as in FIG. 13A.
  • MDI Transfer User Defined
  • a subordinate menu 1319 is displayed.
  • FIG. 13C is a diagram showing a snippet generation edit screen 1320 of the machine tool controller.
  • the snippet generation/edit screen 1320 first, in the snippet display screen 1321, the beginning of the first line of the snippet "T (Index to ATC (Automatic Tool Changer) position)" is input.
  • T Index to ATC (Automatic Tool Changer) position
  • “?TOOL:” is automatically input in the snippet display screen 1323 .
  • “tool number” is specified in the snippet generation/edit window 1324
  • “Q0” is automatically entered in the snippet display screen 1325 .
  • FIG. 13C shows an example of initial input, but even when reading and editing an existing snippet, input can be easily performed by the same operation.
  • FIG. 13D is a diagram showing another snippet generation edit screen 1340 of the machine tool control device.
  • a snippet is generated or edited for each command of each line.
  • a snippet display screen 1341 and numerical input fields 1342 for each function (G28 function in the figure) are shown. Touching the Insert button 1343 inserts the numerical value in the input field 1342 into the snippet.
  • the snippet creation/editing screen 1340 is used for simple creation/editing of snippets.
  • FIG. 14 is a block diagram showing the configuration of the MDI transfer module 1420. As shown in FIG. In addition, in FIG. 14, the same reference numerals are given to the same components as those in FIG. 5A, and overlapping explanations are omitted.
  • the MDI transfer module 1420 includes a snippet acquisition unit 1421, a snippet editing data acquisition unit 1422, and a snippet generation/editing unit 1423.
  • the MDI transfer module 1420 also includes a database 1410 having a snippet editing data repository 1424 .
  • the snippet acquisition unit 1421 acquires a snippet for editing from the snippet storage unit 323 using the snippet identifier.
  • the snippet editing data acquisition unit 1422 acquires snippet editing data from the snippet editing data storage unit 1424 .
  • the snippet generation/editing unit 1423 edits the snippet acquired by the snippet acquisition unit 1421 using the snippet editing data. If there is no acquired snippet, a snippet is generated.
  • the generated or edited snippet is stored in the snippet storage unit 323 in a searchable manner.
  • FIG. 15 is a diagram showing the configuration of the snippet editing data storage unit 1424.
  • the snippet editing data storage unit 1424 has an input mode table 1510 , a format table 1520 and an input data table 1530 .
  • the input mode table 1510 stores a snippet descriptor 1412 corresponding to the user setting 1511 of whether the input mode of the parameter part is automatic input or manual input. In this embodiment, "? TOOL” is stored for automatic input, and "? MANUALINPUT" is stored for manual input.
  • the format table 1520 stores a format definition 1522 and an input description example 1523 in association with the format number 1521 shown in FIG. 9A. An example input description 1523 is displayed for the user's reference.
  • Input data table 1530 stores parameter identifier 1532 and format number 1533 to be used in association with input data name 1531 . For example, if the input data name 1531 is the tool number, the parameter identifier 1532 stores "Q0". Also, if the input data name 1531 is a tool length compensation shape, the parameter identifier 1532 stores “Q1101”. If the input data name 1531 is a tool radius compensation shape, the parameter identifier 1532 stores "Q1102".
  • FIG. 16A is a flowchart showing the procedure of snippet generation and editing processing of the machine tool control device according to the present embodiment.
  • the MDI transfer module 1420 determines whether to generate or edit a snippet in step S1601. For snippet generation, the MDI transfer module 1420 sets a new snippet identifier in step S1611. The MDI transfer module 1420 sequentially inputs the functional description of the snippets in step S1613. MDI transfer module 1420 then determines in step S1615 that an input parameter position has been reached. When the input parameter position has been reached, the MDI transfer module 1420 executes description insertion processing for the parameter portion in step S1617. Then, in step S1619, the MDI transfer module 1420 determines the end of snippet generation. If snippet generation is not finished, the MDI transfer module 1420 returns to step S1613 to continue snippet generation.
  • the MDI transfer module 1420 inputs a snippet identifier in step S1621.
  • the MDI transfer module 1420 reads the snippet using the snippet identifier and displays it on the MDI screen in step S1623.
  • the MDI transfer module 1420 sets which position of the existing snippet to edit in step S1625.
  • MDI transfer module 1420 determines in step S1627 whether the edit position is the parameter partial edit position. If it is at the parameter part edit position, the MDI transfer module 1420 executes parameter part description insertion processing in step S1629. On the other hand, if it is not at the parameter part edit position, the MDI transfer module 1420 corrects the function description of the parameter part in step S1631. Then, in step S1633, the MDI transfer module 1420 determines end of snippet editing. If editing of the snippet is not finished, the MDI transfer module 1420 returns to step S1625 to continue editing the snippet.
  • the MDI transfer module 1420 Upon determining the end of snippet generation or snippet editing, the MDI transfer module 1420 stores the generated new snippet or the edited existing snippet in step S1620.
  • FIG. 16B is a flow chart showing the procedure of the parameter part description insertion processing S1617 and S1629.
  • MDI transfer module 1420 determines in step S1641 whether the input is automatic or manual. If it is automatic input, the MDI transfer module 1420 inserts "? TOOL" at the input position of the snippet in step S1643. On the other hand, if it is a manual input, the MDI transfer module 1420 inserts "?MANUALINPUT" at the snippet input position in step S1643.
  • step S1647 the MDI transfer module 1420 determines whether the data to be input next is an input value identifier. If it is an input value identifier, MDI transfer module 1420, in step S1649, inputs the input value identifier or makes a selection from a pull-down menu or the like. If it is not an input value identifier, the MDI transfer module 1420 determines whether it is a function identifier in step S1651. If it is a function identifier, the MDI transfer module 1420, in step S1653, inputs the function identifier or makes a selection from a pull-down menu or the like. If it is not a function identifier, do nothing and proceed to the next step. The MDI transfer module 1420 determines in step S1655 whether or not the input of the parameter portion has ended. If the input of the parameter portion is not completed, MDI transfer module 1420 returns to step S1647 and repeats the process until the parameter is completed.
  • the MDI transfer module 1420 inserts "?” at the end of the parameter part in step S1647 and ends the process.
  • a snippet can be generated and edited by automatically inserting a parameter portion without key input by the user. Then, an MDI program can be efficiently generated using the user-generated and edited znippets.
  • the machine tool control apparatus differs from the above-described second and third embodiments in that the generation and editing of the program generation definition are realized with simple operations.
  • the program generation definition is automatically edited by changing and correcting snippets in the program generation definition according to the user's selection instructions on the screen. Since other configurations and operations are similar to those of the second embodiment, the same configurations and operations are denoted by the same reference numerals, and detailed description thereof will be omitted.
  • FIG. 17 shows the generation and editing procedure of the program generation definition of the machine tool control device.
  • the program definition display screen 1721 displays the old snippet of the program generation definition.
  • the new snippet is displayed on the program definition display screen 1723.
  • FIG. 17 When "correction" is instructed in the program definition generation and editing window 1722, the content of the program generation definition is updated by correcting the old snippet according to the description of the third embodiment.
  • FIG. 18 is a block diagram showing the configuration of the MDI transfer module 1820 of the machine tool controller.
  • the same reference numerals are given to the same components as in FIGS. 5 and 14, and overlapping descriptions are omitted.
  • the MDI transfer module 1820 comprises a program generation definition acquisition unit 1821 and a program generation definition generation and editing unit 1822 .
  • the program generation definition acquisition unit 1821 acquires the program generation definition from the program generation definition storage unit 322 using the program generation definition identifier.
  • the program generation definition generation editing unit 1822 edits the acquired program generation definition by, for example, replacing the snippet or changing the snippet. Also, if the program generation definition has not been acquired, a new program generation definition is generated.
  • FIG. 19A is a flow chart showing the procedure of program definition generation and editing processing.
  • the MDI transfer module 1820 determines in step S1901 whether to generate or edit a program generation definition. If it is a program generation definition generation, the MDI transfer module 1820 sets a new program generation definition identifier in step S1911. The MDI transfer module 1820 writes the program generation definition in step S1913. Then, in step S1915, the MDI transfer module 1820 determines that the snippet placement position has been reached. When the snippet placement position is reached, the MDI transfer module 1820 executes snippet change processing in step S1817. Then, in step S1919, the MDI transfer module 1820 determines completion of generation of the program generation definition. If the generation of the program generation definition is not finished, the MDI transfer module 1820 returns to step S1913 to continue generation of the program generation definition.
  • the MDI transfer module 1820 inputs the program generation definition identifier in step S1921.
  • the MDI transfer module 1820 reads the program generation definition using the program generation definition identifier and displays it on the MDI screen in step S1923.
  • MDI transfer module 1820 sets which position of the existing program generation definition to edit in step S1925.
  • the MDI transfer module 1820 determines in step S1827 whether the editing position is the snippet editing position. If it is at the snippet edit position, the MDI transfer module 1820 executes snippet change processing in step S1929. On the other hand, if it is not the snippet edit position, the MDI transfer module 1820 corrects the description of the program generation definition in step S1931. Then, in step S1933, the MDI transfer module 1820 determines the end of editing of the program generation definition. If editing of the program generation definition is not finished, the MDI transfer module 1820 returns to step S1925 to continue editing the program generation definition.
  • the MDI transfer module 1820 Upon determining the end of generation of the program generation definition or the end of editing of the program generation definition, the MDI transfer module 1820 stores the generated new program generation definition or the edited existing program generation definition in step S1920.
  • FIG. 19B is a flowchart showing the procedure of snippet change processing S1917 and S1929.
  • the MDI transfer module 1820 determines in step S1941 whether or not the snippet has been changed. If it is a snippet change, MDI transfer module 1820 inputs a new snippet identifier in step S1943. MDI transfer module 1820 reads the new snippet to replace the original snippet in step S1945. The MDI transfer module 1820 determines in step S1947 whether to edit the retrieved and replaced snippet. When editing a snippet, snippet editing in the third embodiment is performed.
  • the MDI transfer module 1820 determines whether to edit the original snippet in step S1949. When editing a snippet, snippet editing in the third embodiment is performed. If none of them is snippet editing, the process is terminated.
  • the snippet can be automatically changed and modified to generate and edit the program generation definition without key input by the user.
  • the present invention may be applied to a system composed of a plurality of devices, or may be applied to a single device. Furthermore, the present invention can also be applied when an information processing program that implements the functions of the embodiments is supplied to a system or apparatus and executed by a built-in processor.
  • the technical scope of the present invention includes a program installed in a computer, a medium storing the program, a server for downloading the program, and a processor executing the program. .
  • non-transitory computer readable media storing programs that cause a computer to perform at least the processing steps included in the above-described embodiments are included within the technical scope of the present invention.

Landscapes

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

Abstract

本発明によれば、効率的にMDIプログラムを生成することができる。工作機械に用意された工具のリストを表示する工具管理画面を生成し、表示する工具管理部と、定型プログラムを呼び出し、工具管理画面で選択された工具の工具情報を定型プログラムに加えて、MDI(Manual Data Input)プログラムを生成するMDIプログラム生成部と、を備え、MDIプログラム生成部は、工具管理画面で2つ以上の工具が選択された場合、選択された工具の工具情報を、選択された工具の数に対応する数の定型プログラムのそれぞれに加えて連続的に配置することにより、MDIプログラムを生成する工作機械制御装置である。

Description

工作機械制御装置
 本発明は、工作機械制御装置に関する。
 上記技術分野において、特許文献1には、MDIモード運転において、工具選択ボタン図形を操作盤の表示画面に表示して、ボタン操作で工具主軸への工具取り付けを制御する技術が開示されている。
特開2002-166335号公報
 しかしながら、上記文献に記載の技術では、効率的にMDIプログラムを生成することができなかった。
 本発明の目的は、上述の課題を解決する技術を提供することにある。
 上記目的を達成するため、本発明に係る工作機械制御装置は、
 工作機械に用意された工具のリストを表示する工具管理画面を生成し、表示する工具管理部と、
 定型プログラムを呼び出し、前記工具管理画面で選択された工具の工具情報を定型プログラムに加えて、MDI(Manual Data Input)プログラムを生成するMDIプログラム生成部と、
 を備え、
 前記MDIプログラム生成部は、前記工具管理画面で2つ以上の工具が選択された場合、選択された工具の工具情報を、選択された工具の数に対応する数の前記定型プログラムのそれぞれに加えて連続的に配置することにより、前記MDIプログラムを生成する。
 上記目的を達成するため、本発明に係る工作機械制御装置は、
 工作機械に用意された工具のリストを表示する工具管理画面を生成し、表示する工具管理部と、
 定型プログラムを呼び出し、前記工具管理画面で選択された工具の工具情報を定型プログラムに加えて、MDI(Manual Data Input)プログラムを生成するMDIプログラム生成部と、
 を備え、
 前記MDIプログラム生成部は、連続的に配置された前記定型プログラムの間に、オプショナルストップ指令を配置することにより、前記MDIプログラムを生成する。
 上記目的を達成するため、本発明に係る工作機械制御装置は、
 工作機械に用意された工具のオフセット値を表示する工具オフセット画面を生成し、表示する工具管理部と、
 定型プログラムを呼び出し、前記工具オフセット画面で選択された工具のオフセット値を定型プログラムに加えて、MDI(Manual Data Input)プログラムを生成するMDIプログラム生成部と、
 を備えた。
 本発明によれば、効率的にMDIプログラムを生成することができる。
第1実施形態に係る工作機械制御装置の構成を示すブロック図である。 第2実施形態に係る工作機械制御装置の表示操作部を示す図である。 第2実施形態に係る工作機械制御装置の表示操作部の遷移を示す図である。 第2実施形態に係る工作機械制御装置を含む工作機械の構成を示す図である。 第2実施形態に係る工作機械制御装置を含む工作機械の機能構成を説明する図である。 第2実施形態に係る工作機械制御装置の動作概要を示す図である。 第2実施形態に係る工作機械制御装置の工具管理モジュールの構成を示すブロック図である。 第2実施形態に係る工具情報テーブルと生成定義テーブルとの構成を示す図である。 第2実施形態に係る工作機械制御装置のMDI転送モジュールの構成を示すブロック図である。 第2実施形態に係るプログラム生成定義保管部とスニペット保管部との構成を示す図である。 第2実施形態に係る工作機械制御装置のMDI転送モジュールの処理手順を示すフローチャートである。 第2実施形態に係るプログラム生成処理の手順を示すフローチャートである。 第2実施形態に係るパラメータ部分探索処理の手順を示すフローチャートである。 第2実施形態に係る手動入力処理の手順を示すフローチャートである。 第2実施形態に係るパラメータ部分の書式の一例を示す図である。 第2実施形態に係るパラメータ部分の書式を用いたMDIプログラムの例の表を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例921を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例922を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例923を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例924を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例925を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例926を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例927を示す図である。 第2実施形態に係るマシニングセンタにおけるMDIプログラムの例928を示す図である。 第2実施形態に係るターニングセンタにおけるMDIプログラムの例931の表示を示す図である。 第2実施形態に係るターニングセンタにおけるMDIプログラムの例932を示す図である。 第2実施形態に係るターニングセンタにおける工具管理画面の例を示す図である。 第2実施形態に係る工具オフセットにおけるMDIプログラムの例941の表示を示す図である。 第2実施形態に係る工具オフセットにおけるMDIプログラムの例942を示す図である。 第3実施形態に係る工作機械制御装置の表示操作部を示す図である。 第3実施形態に係る工作機械制御装置の工具管理画面の例を示す図である。 第3実施形態に係る工作機械制御装置のスニペット生成画面を示す図である。 第3実施形態に係る工作機械制御装置のスニペット編集画面を示す図である。 第3実施形態に係る工作機械制御装置のMDI転送モジュールの構成を示すブロック図である。 第3実施形態に係るスニペット編集用データ保管部の構成を示す図である。 第3実施形態に係る工作機械制御装置のスニペットの生成編集処理の手順を示すフローチャートである。 第3実施形態に係るパラメータ部分の記述挿入処理の手順を示すフローチャートである。 第4実施形態に係る工作機械制御装置のプログラム定義の生成編集手順を示す図である。 第4実施形態に係る工作機械制御装置のMDI転送モジュールの構成を示すブロック図である。 第4実施形態に係る工作機械制御装置のプログラム定義生成編集処理の手順を示すフローチャートである。 第4実施形態に係るスニペット変更処理の手順を示すフローチャートである。
 以下に、図面を参照して、本発明の実施の形態について例示的に詳しく説明する。ただし、以下の実施の形態に記載されている構成要素は単なる例示であり、本発明の技術範囲をそれらのみに限定する趣旨のものではない。なお、本実施形態で使用する文言「スニペット」は、再利用可能な短いプログラムであり、プログラムの作成や編集に用いられる。例えば、NCプログラムでは、短いプログラムのことを言う。「スニペット」は、請求項における「定型プログラム」に相当する。
 [第1実施形態]
 本発明の第1実施形態としての工作機械制御装置100について、図1を用いて説明する。工作機械制御装置100は、工作機械を制御する装置である。
 図1に示すように、工作機械制御装置100は、工具管理部101と、MDI(Manual Data Input)プログラム生成部102と、を含む。工具管理部101は、工作機械に用意された工具のリストを表示する工具管理画面111を生成し、表示する。MDIプログラム生成部102は、定型プログラム121を呼び出し、工具管理画面111で選択された工具の工具情報112を定型プログラム121に加えて、MDIプログラム122を生成する。
 本実施形態によれば、効率的にMDIプログラムを生成することができる。
 [第2実施形態]
 次に、本発明の第2実施形態に係る工作機械制御装置200について説明する。工作機械制御装置200は、作業者が指定した単一または複数の工具/ポット/ST(ステーション)の工具情報をパラメータとしてスニペットへ与えてMDI機能へ転送する。
工作機械制御装置200は、プログラム生成定義に従って、少なくとも1つのスニペットを含むMDIプログラムを生成する。ここで、プログラム生成定義とは、スニペットによらない部分とスニペットによる部分とを用いてプログラムを生成するロジックである。
 スニペットは、工具情報をパラメータとして入力するためのパラメータ部分を含んでも良く、パラメータ部分に特定のフォーマットで変数を記述することで、何の情報を受け取るのかを指定する。パラメータ部分は、パラメータを自動で入力する自動入力パラメータ部分と、ユーザに手動入力させる手動入力パラメータ部分に分類することができる。手動入力パラメータ部分を含むスニペットがプログラム生成定義に指定されている場合には、MDI転送ボタンをタッチしたときにパラメータ手動入力画面が表示され、作業者がパラメータを入力することでその値を反映したMDIプログラムが生成される。工具管理画面で複数の工具/ポット/ST情報が指定された場合、それぞれの情報に基づいて複数のスニペットが合成される。その際、プログラム生成定義に応じてスニペット間にオプショナルストップなど任意の指令を挟むことができる。
 ここで、3つの簡単なスニペット例について説明する。
 1つ目のスニペット例は、
T?TOOL:Q1?;
G30X0.Y0.Z0.;
M6;
で記述される自動入力の例である。
 ここで、1行目は、Q1番の工具をATC位置へ割り出し、2行目は、原点復帰、3行目は、ATC、を表し、全体として、選択された工具の交換位置における交換の例である。ここで、TOOLは、続くパラメータ識別子Q1で示される工具番号に置き換えられる記述である。
 2つ目のスニペット例は、
G324H#149B300.M0X?TOOL:Q1102?;
で記述される自動工具長測定(G324)における径補正形状補正値の自動入力の例である。
 ここでQ1102は径補正形状補正値を示すパラメータ識別子である。
 3つ目のスニペット例は、
G324H#149B300.M0X?MANUALINPUT:G324X=TOOL:Q1102?;
で記述される、自動工具長測定(G324)における径補正形状補正値の手動入力の例である。
 <工作機械制御装置の操作手順>
 以下、図2A~図2Dを参照して、工作機械250に組み込まれた工作機械制御装置200の表示操作部について説明する。
 図2Aは、工作機械250が有する工作機械制御装置200の表示操作部201における操作手順を説明するための図である。不図示のスイッチを用いて、MDIプログラムを生成および実行させるためのMDIモードに設定されると、図2Aのように、表示操作部201に、工具管理画面210とMDI画面220とが表示される。ユーザが、工具管理画面210で工具211を選択し、次に、ボタン216、217のいずれかにタッチすることで、各ボタンに対応するMDIプログラムの生成定義が読み出される。そして、読み出された生成定義で指定されたスニペットが読み出される。読み出されたスニペットには特定のフォーマットで記述されたパラメータ部分225が含まれており、そのパラメータ部分225に工具211の工具情報(ここでは一例として工具番号10002)が加えられて、MDIプログラムが生成される。生成されたMDIプログラムはMDI画面220に表示される。ここで、工具情報とは、工具の識別情報(工具番号)の他、工具長形状、工具長摩耗、工具径形状、工具径摩耗、または補正値といったパラメータなど、工具に関する情報であればどのような情報をも含みうる概念である。
 工具管理画面210には、MDI転送ボタン216、217が表示されている。各ボタンがタッチされた場合の処理について、図2Bを用いて説明する。
 MDI転送(呼出し)ボタン216がタッチされた場合、表示操作部201は、ボタン216に紐付けられたプログラム生成定義を呼出し、プログラム生成定義によって指定されたスニペットを組み合わせて生成したMDIプログラムをMDI画面226を表示する。この際、スニペットのパラメータ部分を工具管理画面210で選択された工具213の特定の工具情報(工具番号やパラメータなど)に置換する。また、複数のスニペット間には、オプショナルストップ(M機能=M01)228を自動挿入する。
 一方、MDI転送(計測)ボタン217がタッチされた場合には、表示操作部201は、MDI転送(測定)ボタン217に紐付けられたプログラム生成定義を呼び出す。MDI転送(測定)ボタン217に紐付けられたプログラム生成定義には、計測を伴うGコード(ここではG324)を含むスニペット“G324H#149B300.M0X?MANUALINPUT…?”229が指定されている。このスニペット229は、変数の手動入力を要するものであるため、MDI転送(測定)ボタン217のタッチと同時に、手動入力画面230が表示される。ユーザは、MDIプログラムのプレビュー231を参照して、手動入力欄232に数値を入力した後、MDI転送ボタン233をタッチすることで、スニペット229のパラメータの手動入力が実現する。
 <工作機械の構成および動作>
 図3Aに示すように、工作機械250は、工作機械制御装置200と、工作機械制御装置200により制御されるマシニングセンタ302とを備える。図3Aのマシニングセンタ302は立形マシニグセンタの例であるが、他に横形や門形などがある。立形では、図3Aのように、X軸、Y軸、Z軸が定義される。
 工作機械制御装置200は、表示操作部201と、入力キー群303と、制御キー群304とを有する。工作機械制御装置200は、使用する工具を管理する工具管理モジュールを有する。また、工作機械制御装置200は、MDI(Manual Data Input)モードを有し、MDIプログラムで動作するMDI機能モジュールを有する。制御キー群304のモード選択キーにはMDIモードキー305が含まれる。
 MDIモードにおいては、図3Bのような機能命令が定義されており、かかる機能命令によりMDIプログラムが記述される。機能命令の分類や基本的な機能命令は共有されているが、一部にはオプショナルな専用機能命令も使用される。
 (機能構成概要)
 工作機械制御装置200は、図3Cに示すように、工具管理モジュール310と、MDI転送モジュール320と、MDI機能モジュール330と、を含む。工具管理モジュール310は、工具管理部311と、工具情報保管部312と、を有する。また、工具管理モジュール310は、工具管理画面210を管理する。MDI転送モジュール320は、MDIプログラム生成部321と、プログラム生成定義保管部322と、スニペット保管部323と、パラメータ手動入力部324と、を有する。また、MDI転送モジュール320は、パラメータ手動入力の場合に、パラメータ手動入力画面230を管理する。MDI機能モジュール330は、NCのMDI機能部331を有する。また、MDI機能モジュール330は、MDI画面220を管理する。
 工具管理モジュール310の工具管理部311は、工具情報保管部312に保管された工具情報を参照して、工具管理画面210に工具情報を表示すると共に、工具管理画面210に入力された工具情報を工具情報保管部312に保管する。また、工具管理部311は、工具管理画面210で選択された1つまたは複数の工具の識別子と、選択されたプログラム生成定義の識別子とをMDI転送モジュール320に送る(図3C中の(#1)参照)。
 工具管理部311は、MDIプログラム生成部321からの、スニペットに記述されているパラメータ部分を置き換える工具情報の要求を待つ。工具管理部311は、パラメータ部分を置き換える工具情報を示す工具の識別子と特定の工具情報の識別子(例えばQ0)とを含む。情報送付の要求を受信すると(図3C中の(#3)参照)、工具管理部311は、選択された各工具に関する全ての工具情報(全工具情報)のうちの特定の工具情報(例えば、Q0であれば工具番号)を抽出する。工具管理部311が、抽出された特定の工具情報をMDIプログラム生成部321へ渡すことで(図3C中の(#4)参照)、MDIプログラム生成部321がスニペットの所定のパラメータ部分を抽出された特定の工具情報に置き換えてMDIプログラムを生成する。図3C中の(#3)と(#4)の特定の工具情報のやり取りは、(選択した工具の数×自動入力のパラメータ部分の数)の回数だけ繰り返される。なお、ここでは、工具管理モジュール310内で、特定の工具情報を抽出することとしたが、MDIプログラム生成部321が工具情報保管部312にアクセスして、パラメータ部分の置き換えに必要となる特定の工具情報を抽出してもよい。
 MDI転送モジュール320のMDIプログラム生成部321は、工具管理部311から受信したプログラム生成定義の識別子を用いて、プログラム生成定義保管部322から押下されたボタンに対応するプログラム生成定義を読み出す(図3C中の(#2)参照)。次に、MDIプログラム生成部321は、読み出したプログラム生成定義に記述されたスニペット識別子を探索する。そして、スニペット識別子を用いて、スニペット保管部323からスニペットを読み出す(図3C中の(#2)参照)。MDIプログラム生成部321は、読み出したスニペットに特定フォーマットのパラメータ部分を見つけると、その特定フォーマットを解析してパラメータ部分の属性を特定する。MDIプログラム生成部321は、特定されたパラメータ部分が選択された工具の工具情報の自動入力と確認されれば、スニペットに記述されているパラメータ部分を置き換える特定の工具情報を工具管理部311に要求する。すなわち、工具の識別子および特定の工具情報の識別子(例えばQ0)を含む情報送付の要求を工具管理部311に送信する(図3C中の(#3)参照)。MDIプログラム生成部321は、工具管理部311から、選択された各工具に関する全工具情報のうちの特定の工具情報(例えば、Q0であれば工具番号)を受信して(図3C中の(#4)参照)、このパラメータ部分を選択された工具の受信した特定の工具情報で置き換える。なお、図3C中の(#3)と(#4)の特定の工具情報のやり取りは、(選択した工具の数×自動入力のパラメータ部分の数)の回数だけ繰り返される。また、MDIプログラム生成部321が工具情報保管部312にアクセスして、パラメータ部分の置き換えに必要となる特定の工具情報を抽出してもよい。一方、MDIプログラム生成部321は、特定されたパラメータ部分が選択された工具の工具情報の手動入力と確認されれば、このパラメータ部分をユーザがパラメータ手動入力画面230から入力した工具情報で置き換える。このMDIプログラム生成手順をプログラム生成定義に従って実行することにより、プログラム中のパラメータ部分が特定の工具情報に置き換えられた(パラメータが確定した)、MDIプログラムが生成される。
 生成されたMDIプログラムは、MDIプログラム生成部321からMDI機能モジュール330のNCのMDI機能部331に送られて、MDIプログラムが実行される。また、生成されたMDIプログラムやその実行状態は、MDI画面220に表示される。なお、ここではMDIプログラム生成の際にMDI画面220を表示しているが、本発明はこれに限定されない。生成したプログラムをNCのMDI機能へセットするため、その状態でMDI画面220を表示すればよい。また、MDI画面220を表示せずに内部的にMDI機能を利用してもよい。
 <工具管理モジュールの構成>
 図4Aにおいて、工具管理モジュール310は、モジュールインタフェース401と、入出力インタフェース402と、工具情報取得保管部403と、表示制御部404と、操作制御部405と、を備える。また、工具管理モジュール310は、工具情報取得部406と、工具識別子送信部407と、生成定義識別子取得部408と、生成定義識別子送信部409と、工具情報用のパラメータ自動入力部411と、データベース410と、を備える。なお、図4Aにおいて、(#1),(#3),(#4)は図3Cにおける処理と同様の処理を示す。
 モジュールインタフェース401は、工具管理モジュール310とMDI転送モジュール320とのデータ交換を制御するインタフェースである。入出力インタフェース402は、工具管理モジュール310と、内部および外部の周辺機器とのデータ交換を制御するインタフェースである。本実施形態においては、内部の周辺機器として記憶部としてのデータベース410を接続し、外部の周辺機器として表示操作部201を接続しているが、これに限定されない。
 工具情報取得保管部403は、表示操作部201から入力された工具情報を取得して、データベース410の工具情報保管部312に保管する。表示制御部404は、表示操作部201への工具情報の表示を制御する。操作制御部405は、表示操作部201からのユーザの入力操作を制御する。例えば、操作制御部405は、表示操作部201に表示された工具からユーザにより選択された工具の識別子を取得し、表示操作部201に表示されたボタンをユーザが押した場合に対応するプログラム生成定義の識別子を取得するよう制御する。
 工具識別子送信部407は、操作制御部405が取得した工具識別子をMDI転送モジュール320に送信する(図4Aの(#1)参照)。生成定義識別子取得部408は、生成定義識別子テーブル481を有し、生成定義識別子テーブル481を用いて、操作制御部405の制御に基づき表示操作部201からユーザが指示したプログラム生成定義の識別子を取得する。なお、プログラム生成定義の識別子は、本実施形態により工具管理画面210に追加表示されたソフトウェアボタンを押すことにより入力される。生成定義識別子送信部409は、生成定義識別子取得部408が取得したプログラム生成定義の識別子をMDI転送モジュール320に送信する。また、表示操作部201からからスニペットを直接選択可能な場合は、スニペット識別子491を含んでもよい。
 工具情報用のパラメータ自動入力部411は、工具情報のパラメータテーブル412を有する。工具情報用のパラメータ自動入力部411は、MDI転送モジュール320からスニペットのパラメータ部分に加える特定の工具情報を選定するための、工具の識別子と特定の工具情報の識別子とを受信する(図4Aの(#3)参照)。そして、工具情報用のパラメータ自動入力部411は、工具の識別子を工具情報取得部406に渡して、工具の識別子に対応する全工具情報を工具情報保管部312から取得するように指示する。工具情報取得部406は、工具情報テーブル461を有し、工具情報テーブル461を用いて、工具情報用のパラメータ自動入力部411からの要求に基づき表示操作部201からユーザが指示した工具の全工具情報を取得する。
 工具情報用のパラメータ自動入力部411は、工具情報のパラメータテーブル412を用いて、工具情報取得部406が取得した工具の識別子に対応する全工具情報から特定の工具情報の識別子に対応する特定の工具情報を抽出して、MDI転送モジュール320に返信する(図4Aの(#4)参照)。
 (工具情報テーブル)
 図4Bの工具情報テーブル461は、工具情報用のパラメータ自動入力部411から要求された、工具の識別子に対応する全工具情報を工具情報保管部312から取得するために使用される。工具情報テーブル461は、工具情報用のパラメータ自動入力部411が要求する工具識別子421に対応付けて、工具情報保管部312から取得した全工具情報422として記憶する。そして、指示画面位置432のそれぞれに対応付けて工具識別子423を記憶する。
 (工具情報のパラメータテーブル)
 図4Bの工具情報のパラメータテーブル412は、工具情報用のパラメータ自動入力部411がMDI転送モジュール320から要求された、スニペットのパラメータ部分に加える工具の特定の情報(パラメータ)を抽出するために使用される。工具情報のパラメータテーブル412は、MDI転送モジュール320から要求された工具の識別子441および特定の工具情報の識別子442に対応付けて、対応する工具情報から抽出した特定の工具情報443を記憶する。
 (生成定義識別子テーブル)
 図4Bの生成定義識別子テーブル481は、生成定義識別子取得部408が工具管理画面210に表示されユーザにより選択されたボタンに対応するプログラム生成定期の識別子を取得するために使用される。生成定義識別子テーブル481は、工具の種別を示す工具管理画面210の表示画面識別子431に対応付けて、少なくとも1つのボタンをそれぞれ表示する位置を指示画面位置432として記憶する。そして、指示画面位置432のそれぞれに対応付けてボタン種類433と、1つのボタンに複数のメニューが含まれる場合(例えば、プルダウンメニュー)はメニュー位置434と、生成定義識別子435とを記憶する。
 <MDI転送モジュールの構成>
 図5Aにおいて、MDI転送モジュール320は、モジュールインタフェース501と、入出力インタフェース502と、工具識別子取得部503と、プログラム生成定義識別子取得部505と、プログラム生成定義取得部506と、を備える。また、MDI転送モジュール320は、スニペット取得部507と、MDIプログラム生成部321と、パラメータ手動入力部324と、データベース510と、を備える。なお、図5Aにおいて、(#1),(#3),(#4)は図3Cおよび図4Aにおける処理と同様の処理を示す。
 モジュールインタフェース501は、MDI転送モジュール320と、工具管理モジュール310およびMDI機能モジュール330とのデータ交換を制御するインタフェースである。入出力インタフェース502は、MDI転送モジュール320と、内部および外部の周辺機器とのデータ交換を制御するインタフェースである。本実施形態においては、内部の周辺機器として記憶部であるデータベース510を接続し、外部の周辺機器として表示操作部201を接続しているが、これに限定されない。
 工具識別子取得部503は、工具管理モジュール310から送られた1つまたは複数の工具の識別子を取得して(図5Aの(#1)参照)、MDIプログラム生成部321に送る。プログラム生成定義識別子取得部505は、工具管理モジュール310からボタンに対応して送られたプログラム生成定義識別子を取得する(図5Aの(#1)参照)。プログラム生成定義取得部506は、プログラム生成定義識別子を用いて、データベース510のプログラム生成定義保管部322からプログラム生成定義を取得する。
 スニペット取得部507は、プログラム生成定義で指定されたスニペットの識別子を用いて、データベース510のスニペット保管部323からスニペットを取得する。MDIプログラム生成部321は、プログラム生成定義に基づいて、パラメータ部分を工具識別子や他の工具情報で置換したスニペットを配置したMDIプログラムを生成して、MDI機能モジュール330に送る。MDIプログラム生成部321は、プログラム生成定義に基づいて、取得したスニペットのパラメータ部分のフォーマットが自動入力を示していれば、パラメータ部分を工具識別子や他の工具情報によって自動的に置換する。一方、取得したスニペットのパラメータ部分のフォーマットが手動入力を示していれば、パラメータ手動入力部324により表示操作部201に手動入力欄を表示して、手動入力データを取得する。そして、パラメータ手動入力部324は、パラメータ部分をユーザが手動入力した工具情報によって置換する。
 上記パラメータ部分を工具識別子や他の工具情報によって自動的に置換する場合の処理は、以下の通りである。MDIプログラム生成部321は、スニペットのパラメータ部分のフォーマットが自動入力を示す場合、工具情報の要求を工具管理モジュール310に送信して、特定の工具情報を要求する(図5Aの(#3)参照)。工具情報の要求には、工具識別子取得部503が工具管理モジュール310から取得した1つまたは複数の工具の識別子のうちのパラメータ部分を置換する工具の識別子、および特定の工具情報の識別子を含む。そして、MDIプログラム生成部321は、工具管理モジュール310から要求した工具の識別子および特定の工具情報の識別子に対応する特定の工具情報を受信すると、パラメータ部分を受信した特定の工具情報で置換する。
 (プログラム生成定義保管部とスニペット保管部)
 図3Cのプログラム生成定義保管部322は、図5Bに示すように、生成定義識別子531に対応付けてプログラム生成定義532を記憶する。プログラム生成定義532には、少なくとも1つのスニペット識別子とそのスニペットのMDIプログラム中の配置場所(スニペット位置)が紐付けられている(533)。プログラム生成定義532には、スニペット以外のプログラムとその配置場所534も紐付けられている。
 図3Cのスニペット保管部323は、図5Bに示すように、スニペットを保管し、プログラム生成定義に含まれるスニペット識別子により紐付いたスニペットをMDI転送モジュール320に提供する。つまり、スニペット保管部323の各行がそれぞれスニペットを特定しており、スニペット識別子541に対応付けて、定型部分542と、自動入力パラメータ部分543と、手動入力パラメータ部分544と、を記憶する。
 <MDI転送モジュールの処理手順>
 図6は、MDI転送モジュール320の処理手順を示すフローチャートである。このフローチャートで示された処理は、工作機械制御装置200が備える不図示のCPU(Central Processing Unit)およびRAM(Random Access Memory)を使用して実行され、MDI転送モジュール320の各機能構成を実現する。
 MDI転送モジュール320は、ステップS601において、MDIモードであるか否かを判定する。MDIモードでない場合は、他の処理を実行する。MDIモードであれば、MDI転送モジュール320は、ステップS607において、工具管理画面210を用いたユーザによる工具選択を待つ。工具選択があれば、MDI転送モジュール320は、ステップS609において、工具管理画面210でのユーザによるMDI転送ボタン216、217へのタッチを待つ。MDI転送ボタン216、217へのタッチがあれば、ステップS611に進み、MDIプログラム生成部321は、タッチされたMDI転送ボタンに対応するプログラム生成定義をプログラム生成定義保管部322から取得する。そして、ステップS613に進み、MDIプログラム生成部321は、選択された工具に関して抽出された工具情報を取得する。さらに、ステップS615に進み、取得したプログラム生成定義に従うMDIプログラム生成処理を実行する。MDI転送モジュール320は、ステップS617において、生成したMDIプログラムをMDI機能モジュール330に出力する。
 (MDIプログラム生成処理)
 図7は、図6のMDIプログラム生成処理S615における処理の流れを詳細に示すフローチャートである。MDIプログラム生成部321は、ステップS701において、プログラム生成定義で指定されたスニペットをスニペット保管部323から読み出す。次に、MDIプログラム生成部321は、ステップS703において、読み出したスニペット内のパラメータ部分探索処理を実行する。そして、MDIプログラム生成部321は、ステップS705において、見つかったパラメータ部分のフォーマットが自動入力であるか手動入力であるかを判定する。自動入力のパラメータ部分であれば、MDIプログラム生成部321は、ステップS707において、ステップS613で取得した工具情報から選定された特定の工具情報をパラメータ部分に入力する。一方、手動入力であれば、MDIプログラム生成部321は、ステップS709において、手動入力処理を実行する。スニペット内の1つのパラメータ部分へのパラメータ入力が終了すると、MDIプログラム生成部321は、ステップS711において、スニペット内のパラメータ部分探索が完了したか否かを判定する。パラメータ部分探索が完了してなければ、MDIプログラム生成部321は、ステップS703に戻ってスニペット内の残るパラメータ部分の置換処理を繰り返す。
 1つのスニペットのパラメータ部分探索が完了すると、MDIプログラム生成部321は、ステップS713において、全パラメータ部分を置き換えたスニペットをプログラム生成定義に従ってMDIプログラム中に配置する。次に、MDIプログラム生成部321は、ステップS715において、プログラム生成定義で指定された次のスニペットがあるか否かを判定する。さらにスニペットが指定されていれば、MDIプログラム生成部321は、ステップS701に戻ってプログラム生成定義で指定された次のスニペット読み出して、パラメータ部分の探索を始める。
 一方、他のスニペットが無ければ、MDIプログラム生成部321は、ステップS717において、まだ選択された工具が残っているかを判定する。まだ選択された工具が残っていれば、MDIプログラム生成部321は、ステップS719において、スニペットの後にオプショナルストップ(M機能=M01)を挿入して、ステップS701に戻る。他に選択された工具がなければ、MDIプログラム生成処理を終了する。
 (パラメータ部分探索処理)
 図8Aは、図7のパラメータ部分探索処理S703における処理の流れを詳しく説明するフローチャートである。MDIプログラム生成部321は、ステップS801において、スニペット内のパラメータ部分をそのフォーマットを見付けるべく探索する。本実施形態においては、自動入力のパラメータ部分は“?TOOL”から開始して“?”で終わるパラメータ部分である。また、手動入力のパラメータ部分は“?MANUALINPUT”から開始して“?”で終わるパラメータ部分である。なお、このフォーマットに限定されるものではない。
 MDIプログラム生成部321は、ステップS811において、“?TOOL”が見付かったか否かを判定する。“?TOOL”が見付かれば、MDIプログラム生成部321は、ステップS813において、特定の工具情報を自動入力するパラメータ部分であることをセットする。“?TOOL”が見付からなければ、MDIプログラム生成部321は、ステップS821において、“?MANUALINPUT”が見付かったか否かを判定する。“?MANUALINPUT”が見付かれば、MDIプログラム生成部321は、ステップS823において、特定の情報を手動入力するパラメータ部分であることをセットする。“?MANUALINPUT”が見付からなければ、MDIプログラム生成部321は、ステップS831において、オプショナルとして従来のパラメータ部分目印である“??”、または、従来の機能選択目印“[[”が見付かったか否かを判定する。いずれかが見付かれば、MDIプログラム生成部321は、既存のキャラクタ単位の手動入力や機能選択を実行する。どちらでもなければ、MDIプログラム生成部321は、ステップS801に戻って、パラメータ部分探索を継続する。
 (手動入力処理)
 図7の手動入力処理S709においては、図8Bのフローチャートに示す処理が行われる。MDIプログラム生成部321は、ステップS843において、パラメータ手動入力画面を生成する。MDIプログラム生成部321は、ステップS845において、パラメータ手動入力画面を工具管理画面210やMDI画面220に表示する。MDI転送モジュール320は、ステップS847において、ユーザによる手動入力を待つ。ユーザによる手動入力があれば、MDIプログラム生成部321は、ステップS849において、入力された入力値(パラメータ)を取得する。そして、MDIプログラム生成部321は、ステップS851において、手動入力のパラメータ部分に入力値を追加する。なお、パラメータ入力欄の初期値として工具情報の特定の値をセットしてもよい。
 <パラメータ部分の書式>
 図9Aは、パラメータ部分の書式(パラメータ部分のフォーマット)910の一例であり、本実施形態において、スニペット内のパラメータ部分は、“?”と“?”とで挟まれたキャラクタ列とする。
 パラメータ自動入力要求における書式1は、特定のパラメータの値を入力する書式であり、?<パラメータ自動入力部の識別子>:<パラメータ識別子>?で定義される。ここで、<パラメータ自動入力部の識別子>は“TOOL”と定義する。例えば、スニペット内に“T?TOOL:Q0?”との記述があれば、TOOLは工具情報用のパラメータ自動入力部の識別子、Q0は工具番号を示すとして、例えば、工具番号10001に置換されT10001となる。
 パラメータ自動入力要求における書式2は、特定のパラメータの値に定数値を演算した値を入力する書式であり、?<パラメータ自動入力部の識別子>:<パラメータ識別子><演算子><定数値>?で定義される。例えば、スニペット内に、“G324H#149B?TOOL:Q1101+100.?M0X0.”との記述があれば、Q1101は工具長形状補正値を示すとし、例えば、当該工具の工具長形状補正値が100.だった場合、G324H#149B200.M0X0.に置換される。
 パラメータ手動入力要求における書式1は、手動入力の入力欄の初期値が空定義であり、?<パラメータ手動入力部の識別子>:<パラメータ識別子>?で定義される。ここで、<パラメータ手動入力部の識別子>は“MAMUALINPUT”と定義する。例えば、スニペット内に、“G324H#149B300.M0X?MANUALINPUT:G324X?”との記載があれば、パラメータ手動入力画面にてG324Xの欄が表示され(初期値は空)、“10.”を入力した場合、G324H#149B300.M0X10.に置換される。
 パラメータ手動入力要求における書式2は、手動入力の入力欄の初期値が定数値であり、?<パラメータ手動入力部の識別子>:<パラメータ識別子>=<定数値>?で定義される。例えば、スニペット内に、“G324H#149B300.M0X?MANUALINPUT:G324X=0.?”との記述があれば、パラメータ手動入力画面にてG324Xの欄に初期値0.が表示され、“10.”を入力した場合、G324H#149B300.M0X10.に置換される。
 パラメータ手動入力要求における書式3は、手動入力の入力欄の初期値はパラメータ自動入力の書式1と同様に決定され、?<パラメータ手動入力部の識別子>:<パラメータ識別子>=<パラメータ自動入力部の識別子>:<パラメータ識別子>?で定義される。例えば、スニペット内に、“G324H#149B300.M0X?MANUALINPUT:G324X=TOOL:Q1102?”との記述があれば、パラメータ手動入力画面にてG324Xの欄に初期値として工具径形状補正値が表示され(Q1102は工具径形状補正値を示すとする)、“10.”を入力した場合、G324H#149B300.M0X10.に置換される。
 パラメータ手動入力要求における書式4は、手動入力の入力欄の初期値はパラメータ自動入力の書式2と同様に決定され、?<パラメータ手動入力部の識別子>:<パラメータ識別子>=<パラメータ自動入力部の識別子>:<パラメータ識別子><演算子><定数値>?で定義される。例えば、“G324H#149B?MANUALINPUT:G324B=TOOL:Q1101+100.?M0X0.”との記述があれば、パラメータ手動入力画面にてG324Bの欄に初期値として工具長形状補正値を+100.した値が表示され(Q1101は工具長形状補正値を示す)、“150.”を入力した場合、G324H#149B250.M0X0.と置換される。
 図9Aのパラメータ部分の書式(フォーマット)は、一例に過ぎず、種々の変更や組み合わせが可能である。
 <MDIプログラムの具体例>
 図9Bは、パラメータ部分の書式910を用いたMDIプログラムの例921~942の特徴をまとめた表920を示す。具体的には、例921~928(マシニングセンタに対する)、931-932(ターニングセンタに対する)、941-942(工具オフセットにおける)のそれぞれにおいて、使用された書式、工具情報の選択対象、プログラム生成定義の複雑さ、スニペットの複雑さ、などを○で示している。
 ≪マシニングセンタにおける例≫
 (例921)
 図10Aは、図9Bに示したマシニングセンタにおけるMDIプログラムの例921を説明する図である。工具管理画面210上でチェックボックス1001により、1つの工具が選択され、MDI転送ボタン216が押された場合を説明している。選択された工具は、工具番号が10001である。工具管理画面210での1つの工具選択で1つのスニペットのパラメータ部分を置換する。
 MDI転送ボタン216がタッチされると、MDIプログラム生成部321は、MDI転送ボタン216に紐付いたプログラム生成定義に従って、スニペット1を挿入する。次に、スニペット1のパラメータ部分を検索する。そして、検索された自動入力するパラメータ部分の?TOOL:Q0?に選択された工具の工具番号10001を入力し、生成されたMDIプログラム1012がMDI画面220に表示される。
工具番号は10001である。
スニペット1は、
T?TOOL:Q0?;
G91G30Z0.;
G91G30X0.Y0.; 
M6; 
である。“T?TOOL:Q0?;”は、図9Aにおけるパラメータ自動入力要求の書式1に対応し、TOOLは工具情報を入力するパラメータ自動入力部を示す識別子(コード列)であり、Q0は特定の工具情報である工具番号を示す識別子である。
 スニペット1のパラメータ部分“T?TOOL:Q0?;”に対して、工具管理画面210上で選択された工具番号10001が、?TOOL:Q0?の位置に挿入される。
MDIプログラム1012として、
T10001; 
G91G30Z0.;
G91G30X0.Y0.; 
M6;
が生成される。
ここで、“T10001;”はマガジンで10001番の工具を割り出す命令、“G91G30Z0.;”および“G91G30X0.Y0.;”は主軸を工具交換位置へ移動する命令、“M6;”は工具交換の命令である。
 (例922)
 図10Bは、図9Bに示したマシニングセンタにおけるMDIプログラムの例922を説明する図である。工具管理画面210上でチェックボックスにより、2つの工具が選択され、MDI転送ボタン216が押された場合を説明している。1つ目の工具は、工具番号が10001である。2つ目の工具は、工具番号が10002である。
 MDI転送ボタン216がタッチされると、MDIプログラム生成部321は、MDI転送ボタン216に紐付いたプログラム生成定義に従って、スニペット1を挿入する。複数工具が選択されているので、複数のスニペット1を並べその間にM1(オプショナルストップ指令)を挿入する。
 具体的には、1つ目の工具に対しては、スニペット1における自動入力のパラメータ部分?TOOL:Q0?に工具番号10001を入力する(1012)。さらに、2つ目の工具があるので、オプショナルストップ(M01)1025を挿入して、同じスニペット1における自動入力のパラメータ部分?TOOL:Q0?に工具番号10002を入力する(1022)。これらを合成したMDIプログラム1021がMDI画面220に表示される。
スニペット1は、
T?TOOL:Q0?;
G91G30Z0.;
G91G30X0.Y0.; 
M6; 
である。
MDIプログラムとして、
T10001;
G91G30Z0.;
G91G30X0.Y0.;
M6;
M1; 
T10002;
G91G30Z0.;
G91G30X0.Y0.;
M6;
が生成される。
ここで、“T10001;”はマガジンで10001番の工具を割り出す命令、“G91G30Z0.;”および“G91G30X0.Y0.;”は主軸を工具交換位置へ移動する命令、“M6;”は工具交換の命令である。オプショナルストップ(M1;)を挟んで、“T10002;”はマガジンで10002番の工具を割り出す命令、“G91G30Z0.;”および“G91G30X0.Y0.;”は主軸を工具交換位置へ移動する命令、“M6;”は工具交換の命令である。
 (例923)
 図10Cは、図9Bに示したマシニングセンタにおけるMDIプログラムの例923を説明する図である。工具管理画面210上でチェックボックスにより3つの工具が選択され、MDI転送ボタン217が押された場合を説明している。1つ目の工具は、ドリル工具であり、工具番号が10001である。2つ目の工具は、エンドミル工具であり、工具番号が10002である。3つ目の工具は、エンドミル工具であり、工具番号が10003である。
 MDI転送ボタン217がタッチされると、MDIプログラム生成部321は、MDI転送ボタン216に紐付いたプログラム生成定義に従って、スニペット1を挿入した後、工具種がドリルであれば次にスニペット2を挿入し、エンドミルであれば次にスニペット3を挿入する。複数工具が選択されている場合は、スニペット1および2の組と、スニペット1および3の組との間にM1(オプショナルストップ指令)を挿入する。
 具体的には、1つ目の選択工具については、スニペット1の自動入力パラメータ部分?TOOL:Q0?に1つ目の工具番号10001を入力する(1012)。そして、1つ目の選択工具種がドリルかエンドミルかを判定する。1つ目の選択工具種がドリルなので、スニペット2(工具長計測用マクロの自動呼出し)を挿入する(1035)。オプショナルストップ(M01)1025を挿入の後、スニペット1の自動入力パラメータ部分?TOOL:Q0?に2つ目の工具番号10002を入力する(1022)。そして、2つ目の選択工具種がドリルかエンドミルかを判定する。2つ目の選択工具種がエンドミルなので、スニペット3の自動入力パラメータ部分?TOOL:Q1102?に、選択されたエンドミルの工具径形状補正値(図10Cでは“20.”)を自動設定する(1036)。さらに、オプショナルストップ(M01)1025を挿入の後、スニペット1の自動入力パラメータ部分?TOOL:Q0?に3つ目の工具番号10003を入力する(1032)。そして、3つ目の選択工具種がドリルかエンドミルかを判定する。3つ目の選択工具種がエンドミルなので、スニペット3の自動入力パラメータ部分?TOOL:Q1102?に、選択されたエンドミルの工具径形状補正値(図10Cでは“30.”を自動設定する(1037)。これらのプログラムを合成したMDIプログラム1031がMDI画面220に表示される。
スニペット1は、
T?TOOL:Q0?;
G91G30Z0.;
G91G30X0.Y0.; 
M6; 
である。
スニペット2は、
G324H#149;
であり、工具長計測用マクロを呼び出す命令である。
スニペット3は、
G324H#149B300.M0X?TOOL:Q1102?;
であり、工具長計測用マクロを呼び出して、仮工具長を300とし、選択された工具に設定されている工具径形状補正値を、X軸シフト量として入力する命令である。ここで、Q1102は、工具径形状補正値を示すパラメータ識別子である。
MDIプログラムとして、
T10001;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149;
M1;
T10002;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B300.M0X20.;
M1;
T10003;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B300.M0X30.;
が生成される。
ここで、“T10001;”から“M6;”までは、工具番号10001の工具によるスニペット1の動作命令である。“G324H#149;”は、工具長計測用マクロを呼び出す命令である。オプショナルストップ(M1;)を挟んで、“T10002;”から“M6;”までは、工具番号10002の工具によるスニペット1の動作命令である。“G324H#149B300.M0X20.;”は、工具長計測用マクロを呼び出し、工具番号10002の工具について、仮工具長をスニペット3の“300.”に指定し、X軸シフト量を工具径形状補正値として自動入力された“20.”に指定する命令である。オプショナルストップ(M1;)を挟んで、“T10003;”から“M6;”までは、工具番号10003の工具によるスニペット1の動作命令である。“G324H#149B300.M0X30.;”は、工具長計測用マクロを呼び出し、工具番号10003の工具について、仮工具長をスニペット3の“300.”に指定し、X軸シフト量を工具径形状補正値として自動入力された“30.”に指定する命令である。
 (例924)
 図10Dは、図9Bに示したマシニングセンタにおけるMDIプログラムの例924を説明する図である。例924は、例923において、スニペット3ではなく、パラメータ自動入力要求の図9Aに示した書式2を含むスニペット4を読み出してMDIプログラム生成する例である。スニペット4においては、工具長計測用マクロを自動に呼出して、仮工具長を自動入力する。なお、図10Dにおいて、スニペット3をスニペット4に変更する以外は図10Cと同様であるので,同じ構成要素には同じ参照番号を付して、同じ処理の説明については重複を避けるため省略する。
 MDI転送ボタン217がタッチされると、MDIプログラム生成部321は、MDI転送ボタン217に紐付いたプログラム生成定義に従って、スニペット1を挿入した後、工具種がドリルであれば次にスニペット2を挿入し、エンドミルであれば次にスニペット4を挿入する。複数工具が選択されている場合は、スニペット1および2の組と、スニペット1および4の組との間にM1(オプショナルストップ指令)を挿入する。
 具体的には、選択された2つ目および3つ目の工具がエンドミルなので、スニペット1の次にスニペット4が挿入される。そして、スニペット4の自動入力パラメータ部分?TOOL:Q1101+100.?に、選択された工具に設定されている工具長形状補正値に100を加えた値を入力する(1046,1047)。すなわち、命令1046では自動入力パラメータ部分?TOOL:Q1101+100.?に200.(=100+100)が入力され、命令1046では自動入力パラメータ部分?TOOL:Q1101+100.?に250.(=150+100)が入力される。このように生成されたMDIプログラム1041がMDI画面220に表示される。
スニペット4は、
G324H#149B?TOOL:Q1101+100.?M0X0.;
であり、図9Aのパラメータ自動入力要求の書式2に相当する。スニペット4は、工具長計測用マクロを呼び出して、選択された工具に設定されている工具径形状補正値に100を加算した値を仮工具長として入力し、X軸シフト量として0.を入力する命令である。ここで、Q1101は工具長形状補正値を示すパラメータ識別子である。
MDIプログラムとして、
T10001;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149;
M1;
T10002;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B200.M0X0.;
M1;
T10003;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B250.M0X0.;
が生成される。
ここで、 “G324H#149B200.M0X0.;”は、工具長計測用マクロを呼び出し、工具番号10002の工具について、仮工具長を、選択された工具の工具長形状補正値“100”を用いて“200.(=100+100)”に指定し、X軸シフト量をスニペット4の“0.”に指定する命令である。“G324H#149B250.M0X0.;”は、工具長計測用マクロを呼び出し、工具番号10003の工具について、仮工具長を、選択された工具の工具長形状補正値“150”を用いて“250.(=150+100)”に指定し、X軸シフト量をスニペット4の“0.”に指定する命令である。
 (例925)
 図10Eは、図9Bに示したマシニングセンタにおけるMDIプログラムの例925を説明する図である。工具管理画面210上でチェックボックスにより3つの工具が選択され、MDI転送ボタン217が押された場合を説明している。例925は、例923において、スニペット3ではなく、パラメータ手動入力要求の図9Aに示した書式3を含むスニペット5を読み出してMDIプログラム生成する例である。スニペット5においては、工具長計測用マクロを自動に呼出して、X軸シフト量の初期値を選択された工具の工具径形状補正値に設定した後、ユーザがX軸シフト量を手動入力できる。なお、図10Eにおいて、スニペット3をスニペット5に変更する以外は図10Cと同様であるので、同じ構成要素には同じ参照番号を付して、同じ処理の説明については重複を避けるため省略する。
 MDI転送ボタン217がタッチされると、MDIプログラム生成部321は、MDI転送ボタン217に紐付いたプログラム生成定義に従って、スニペット1を挿入し、工具種がドリルであればスニペット2を、エンドミルであればスニペット5を次に挿入する。複数工具が選択されている場合は、スニペット1および2の組と、スニペット1および3の組との間にM1(オプショナルストップ指令)を挿入する。
 具体的には、選択された2つ目および3つ目の工具がエンドミルなので、スニペット1の次にスニペット5を挿入する。そして、スニペット5には、X軸シフト量の手動入力を求める?MANUALINPUT:G324X=TOOL:Q1102?が記述されているので、パラメータ手動入力画面230をオープンして、X軸シフト量の手動入力を待つ。スニペット5ではTOOL:Q1102が指定されているので、パラメータ手動入力画面230の手動入力欄232には選択された工具の工具径形状補正値(“20.”と“30.”)が初期値として表示される。ユーザは、パラメータ手動入力画面230中のMDIプログラムのプレビュー231を参照して、手動入力欄232の初期値を維持してもよいし変更してもよい。
 ユーザが手動入力欄232の変更を入力してMDI転送ボタン233をタッチすることで、スニペット5のパラメータ部分への手動入力が実現する。図10Eにおいては、工具番号10002の手動入力欄232に“21.”が入力されたので、スニペット5の手動入力パラメータ部分?MANUALINPUT:G324X=TOOL:Q1102?に“21.”が入力される(1056)。また、工具番号10003の手動入力欄232に“31.”が入力されたので、スニペット5の手動入力パラメータ部分?MANUALINPUT:G324X=TOOL:Q1102?に“31.”が入力される(1057)。これらを合成したMDIプログラム1051がMDI画面220に表示される。
スニペット5は、
G324H#149B300.M0X?MANUALINPUT:G324X=TOOL:Q1102?;
であり、工具長計測用マクロを呼び出して、X軸シフト量として工具径形状補正値を手動入力する命令である。ここで、Q1102は、選択された工具の工具径形状補正値を示すパラメータ識別子である。
MDIプログラムとして、
T10001;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149;
M1;
T10002;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B300.M0X21.;
M1;
T10003;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B300.M0X31.;
が生成される。
ここで、“G324H#149B300.M0X21.;”は、工具長計測用マクロを呼び出し、工具番号10002の工具について、仮工具長をスニペット5の“300.”に指定し、X軸シフト量を手動入力した“21.”に設定する命令である。“G324H#149B300.M0X31.;”は、工具長計測用マクロを呼び出し、工具番号10003の工具について、仮工具長をスニペット5の“300.”に指定し、X軸シフト量を手動入力した“31.”に設定する命令である。
 (例926)
 図10Fは、図9Bに示したマシニングセンタにおけるMDIプログラムの例926を説明する図である。工具管理画面210上でチェックボックスによる3つの工具が選択され、MDI転送ボタン217が押された場合を説明している。例926は、例923において、スニペット3の代わりにスニペット6が用いられる。スニペット6においては、工具長計測用マクロを自動に呼出して、図9Aのパラメータ自動入力要求の書式2に従い仮工具長を自動入力し、パラメータ手動入力要求の書式1に従いX軸シフト量を手動入力する。なお、図10Fにおいて、スニペット3をスニペット6に変更する以外は、図10Cと同様であるので同じ構成要素には同じ参照番号を付して、同じ処理の説明については重複を避けるため省略する。
 MDI転送ボタン217がタッチされると、MDIプログラム生成部321は、MDI転送ボタン217に紐付いたプログラム生成定義に従って、スニペット1を挿入し、工具種がドリルであればスニペット2を、エンドミルであればスニペット6を次に挿入する。複数工具が選択されている場合は、スニペト1および2の組と、スニペスト1および6の組との間にM1(オプショナルストップ指令)を挿入する。
 具体的には、選択された2つ目および3つ目の工具がエンドミルなので、スニペット1の次にスニペット6を挿入する。スニペット6には、仮工具長の自動入力を示す?TOOL:Q1101+100.?に対応して、(選択された工具の工具長形状補正値+100)が入力される。また、X軸シフト量の手動入力を求める?MANUALINPUT:G324X?が記述されているので、パラメータ手動入力画面230をオープンして、X軸シフト量の手動入力を待つ。ユーザは、パラメータ手動入力画面230中のMDIプログラムのプレビュー231を参照して、工具径形状補正値の手動入力欄232に手動入力を行ってMDI転送ボタン233をタッチすることで、スニペット6のパラメータ部分への手動入力が実現する。図10Fにおいては、工具番号10002に対して、スニペット6の自動入力パラメータ部分?TOOL:Q1101+100.?に“200.”が入力される。そして、工具番号10002の手動入力欄232に“21.”が入力されたので、手動入力パラメータ部分?MANUALINPUT:G324X?に“21.”が入力される(1066)。また、工具番号10003に対して、スニペット6の自動入力パラメータ部分?TOOL:Q1101+100.?に“200.”が入力される。そして、工具番号10003の手動入力欄232に“31.”が入力されたので、手動入力パラメータ部分?MANUALINPUT:G324X?に“31.”が入力される(1067)。これらのプログラムを合成したMDIプログラム1061がMDI画面220に表示される。
スニペット6は、
G324H#149B3?TOOL:Q1101+100.?M0X?MANUALINPUT:G324X?;
であり、工具長計測用マクロを呼び出して、仮工具長を自動入力してX軸シフト量を手動入力する命令である。ここで、Q1101は、工具長形状補正値を示すパラメータ識別子であり、Q1102は、工具径形状補正値を示すパラメータ識別子である。
MDIプログラムとして、
T10001;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149;
M1;
T10002;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B200.M0X21.;
M1;
T10003;
G91G30Z0.;
G91G30X0.Y0.;
M6;G324H#149B250.M0X31.;
が生成される。
ここで、“G324H#149B200.M0X21.;”は、工具長計測用マクロを呼び出し、工具番号10002の工具について、仮工具長を、自動入力された工具の工具長形状補正値を用いて“200.(=100+100)”に設定し、X軸シフト量を手動入力した“21.”に設定する命令である。“G324H#149B200.M0X31.;”は、工具長計測用マクロを呼び出し、工具番号10003の工具について、仮工具長を、自動入力された工具の工具長形状補正値を用いて “250.(=150+100)”に設定し、X軸シフト量を手動入力した“31.”に設定する命令である。
 (例927)
 図10Gは、図9Bに示したマシニングセンタにおけるMDIプログラムの例927を説明する図である。工具管理画面210上でチェックボックスによる3つの工具が選択され、MDI転送ボタン217が押された場合を説明している。例927は、例923において、スニペット3の代わりにスニペット7が用いられる。スニペット7においては、計測用マクロを自動に呼出して、図9Aのパラメータ手動入力要求の書式4に従い仮工具長を手動入力し、パラメータ手動入力要求の書式2に従いX軸シフト量を手動入力する。なお、図10Gにおいて、スニペット3をスニペット7に変更する以外は、図10Cと同様であるので同じ構成要素には同じ参照番号を付して、同じ処理の説明については重複を避けるため省略する。
 MDI転送ボタン217がタッチされると、MDIプログラム生成部321は、MDI転送ボタン217に紐付いたプログラム生成定義に従って、スニペット1を挿入し、工具種がドリルであればスニペット2を、エンドミルであればスニペット7を次に挿入する。複数工具が選択されている場合は、スニペット1および2の組と、スニペット1および7の組との間にM1(オプショナルストップ指令)を挿入する。
 具体的には、選択された2つ目および3つ目の工具がエンドミルなので、スニペット1の次にスニペット7を挿入する。スニペット7には、仮工具長の手動入力を示す?MANUALINPUT:G324B=TOOL:Q1101+100.?が記述され、また、X軸シフト量の手動入力を求める?MANUALINPUT:G324X=0.?が記述されているので、パラメータ手動入力画面230をオープンして、仮工具長とX軸シフト量との手動入力を待つ。パラメータ手動入力画面230の手動入力欄1072には、工具番号10002に対して初期値として“200.(=100+100)”が入り、手動入力欄232には初期値として“0.”が入っている。また、工具番号10003に対して初期値として“250.(=150+100)”が入り、手動入力欄232には初期値として“0.”が入っている。ユーザは、パラメータ手動入力画面230中のMDIプログラムのプレビュー231を参照して、手動入力欄1072や232の初期値を維持してもよいし変更してもよい。
 ユーザが初期値を変更して、仮工具長の手動入力欄1072とX軸シフト量の手動入力欄232とに手動入力を行ってMDI転送ボタン233をタッチすることで、スニペット7のパラメータ部分への手動入力が実現する。図10Gにおいては、工具番号10002の手動入力欄1072に“150.”が入力され手動入力欄232に“21.”が入力されたので、スニペット7の手動入力パラメータ部分?MANUALINPUT:G324B=TOOL:Q1101+100.?に“150.”が入力され、手動入力パラメータ部分?MANUALINPUT:G324X=0.?に“21.”が入力される(1076)。また、工具番号10003の手動入力欄1072に“200.”が入力され手動入力欄232に“31.”が入力されたので、スニペット7の?MANUALINPUT:G324B=TOOL:Q1101+100.?に “200”が入力され、手動入力パラメータ部分?MANUALINPUT:G324X=0.?に “31.”が入力される(1077)。これらのプログラムを合成したMDIプログラム1071がMDI画面220に表示される。
スニペット7は、
G324H#149B3?MANUALINPUT:G324B=TOOL:Q1101+100.?M0X?MANUALINPUT:G324X=0.?;
であり、工具長計測用マクロを呼び出して、仮工具長を手動入力しX軸シフト量を手動入力する命令である。ここで、Q1101は、工具長形状補正値を示すパラメータ識別子である。
MDIプログラムとして、
T10001;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149;
M1;
T10002;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B150.M0X21.;
M1;
T10003;
G91G30Z0.;
G91G30X0.Y0.;
M6;
G324H#149B200.M0X31.;
が生成される。
 ここで、“G324H#149B250.M0X21.;”は、工具長計測用マクロを呼び出し、工具番号10002の工具について、仮工具長を、手動入力した工具長形状補正値“150.”に設定し、X軸シフト量を手動入力した“21.”に設定する命令である。“G324H#149B300.M0X31.;”は、工具長計測用マクロを呼び出し、工具番号10003の工具について、仮工具長を、手動入力した工具長形状補正値“200.”に設定し、X軸シフト量を手動入力した“31.”に設定する命令である。
 (例928)
 図10Hは、図9Bに示したマシニングセンタにおけるMDIプログラムの例928を説明する図である。例928は、スニペット8を読み出してMDIプログラムを生成する例である。スニペット8では、工具径摩耗補正値をマクロ変数(#100)として読み出して変更し、変更した値を工具径摩耗補正値としてマクロ変数(#100)から書き戻す。
 MDI転送ボタン216がタッチされると、MDIプログラム生成部321は、MDI転送ボタン216に紐付いたプログラム生成定義に従って、選択された工具の工具番号をスニペット8に挿入する。具体的には、自動入力パラメータ部分?TOOL:Q0?に選択された工具の工具番号を入力する(1082)。生成されたMDIプログラム1081がMDI画面220に表示される。
スニペット8は、
G388A100.T?TOOL:Q0?.Q1104;
#100=#100+0.1;
G389A100.T?TOOL:Q0?.Q1104;
である。ここで、G388は工具データ読み出し指令であり、G389は工具データ書き込み指令である。A100は変数番号100を表す。Q1104は工具径摩耗補正値を示すパラメータ識別子である。
MDIプログラムとして、
G388A100.T10001.Q1104; 
#100=#100+0.1;
G389A100.T10001.Q1104;
が生成される。
ここで、G388A100.T10001.Q1104;は、工具管理機能から工具番号10001の工具径摩耗補正値をマクロ変数#100へ読み出す命令である。#100=#100+0.1;は、読み出された工具径摩耗補正値に“0.1”を加える命令である。G369A100.T10001.Q1104;は、工具管理機能の工具番号10001の工具径摩耗補正値へマクロ変数#100の値(すなわち、読み出したマクロ変数#100+0.1)を書き込む命令である。
 ≪ターニングセンタにおける例≫
 (例931)
 図11Aは、図9Bに示したターニングセンタにおけるMDIプログラムの例931を説明する図である。ターニングセンタにおける工具管理画面1110上で選択された工具1111は、工具情報としてステーション番号と補正番号とを有する。MDI転送ボタン1112がタッチされると、MDIプログラム生成部321は、MDI転送ボタン1112に紐付けされたMDIプログラムのプログラム生成定義に基づいて、選択された工具に対応してスニペット9を挿入する。
 具体的には、ステーションの割り出しと補正番号の指令を記述するスニペット9が読み出されて、工具1111の工具情報からパラメータ識別子Q1118で示されるTコードがスニペット9に入力されて、生成されたMDIプログラム1114がMDI画面220に表示される。
スニペット9は、
T?TOOL:Q1118?;
である。ここで、Q1118はTコードを示すパラメータ識別子である。
MDIプログラムとして、
T0121;
が生成される。
ターニングセンタのT指令では左2桁がステーション番号(01)、右2桁が補正番号(21)を表し、ステーションの割り出しと補正番号の指令とをまとめて行う。
 (例932)
 図11Bは、図9Bに示したターニングセンタにおけるMDIプログラムの例932を説明する図である。例932は、複数の工具1111、1121を選択していた場合に生成されるMDIプログラムである。MDI転送ボタン1112がタッチされると、MDIプログラム生成部321は、MDI転送ボタン1112に紐付けされたMDIプログラムのプログラム生成定義に基づいて、選択された工具のそれぞれに対応してスニペット9を挿入する。複数工具が選択されている場合はその間に、オプショナルストップ(M1)を挿入する。
 具体的には、ステーションの割り出しと補正番号の指令を記述するスニペット9が読み出されて、工具1111の工具情報からパラメータ識別子Q1118で示されるTコードがスニペット9に入力される(1114)。また、スニペット9が読み出されて、工具情報1121からパラメータ識別子Q1118で示されるTコードがスニペット9に入力される(1124)。表示されるMDIプログラム1123では、2つの工具1111、1121のスニペット9によるMDIプログラム1114、1124間に、オプショナルストップ(M1)1125が挿入される。
選択した複数の工具は、Tコード0121とTコード0222とである。
スニペット9は、
T?TOOL:Q1118?;
である。ここで、Q1118はTコードを示すパラメータ識別子である。
MDIプログラムとして、
T0121;
M1;
T0222;
が生成される。
ターニングセンタのT指令では左2桁がステーション番号、右2桁が補正番号を表し、ステーション01の割り出しと補正番号(21)の指令とをまとめて行った後、ステーション02の割り出しと補正番号(22)の指令とをまとめて行う。
 なお、タレットのステーションに工具ホルダを付けて、2個や4個など複数の工具を付けることが可能であるが、タレットのステーションに工具ホルダを付けて2個の工具を付けた場合の工具管理画面1130は、図11Cに示すようになる。工具管理画面1130において、例えば、ST1の2本目の工具1131を選択して、MDI転送ボタン1132をタッチすることにより、MDIプログラムを自動生成することができる。
 ≪工具オフセットにおける例≫
 (例941)
 図12Aは、図9Bに示した工具オフセットにおけるMDIプログラムの具体例941を説明する図である。工具オフセットにおいて用いられる工具オフセット画面1210で選択された工具の工具補正情報1211は、補正番号と工具径形状補正値と工具径摩耗補正値とを有する。そして、工具オフセット画面上で工具オフセット番号が選択されてMDI転送ボタン1212がタッチされると、MDI転送ボタン1212に紐付けされたMDIプログラムのプログラム生成定義に基づいて、MDIプログラム生成部321がスニペット10を挿入する。具体的には、スニペット10が読み出されて、工具オフセットを入力して工具径摩耗補正値を一定量増やすプログラムが生成される(1214)。生成されたプログラム1214がMDIプログラム1213としてMDI画面220に表示される。
スニペット10は、
?TOOLOFFSET:DWEARVAR?=?TOOLOFFSET:DWEARVAR?+0.1;
である。ここで、TOOLOFFSETは、工具オフセット情報用のパラメータ自動入力部の識別子、DWEARVARは工具径摩耗補正値のシステム変数を示すパラメータ識別子である。
MDIプログラムとして、
#12001=#12001+0.1;
が生成される。
ここで、選択された補正番号が1番で工具径摩耗補正値が10であり、MDIプログラム1241によって、システム変数#12001を補正番号が1番の工具径摩耗補正値とし、工具径摩耗補正値を一定量増やすことで逃がすことを行う。一般に、長方向に比べて径方向の方が一般的に加工精度を要求される。例えばネジ穴である。例えば公差が±0.01だとして、その工具・そのワークの組み合わせの初めての加工時に、一旦0.1逃がして加工してワークを計測し、計測結果に基づいて補正値を調整することで、不良品を出さずに済むことになる。
 (例942)
 図12Bは、図9Bに示した工具オフセットにおけるMDIプログラムの例942を説明する図である。図12Aと同様に、工具オフセットにおいて用いられる工具オフセット画面1210で選択された工具の工具補正情報1211は、補正番号と工具径形状補正値と工具径摩耗補正値とを有する。そして、工具オフセット画面上で工具オフセット番号が選択されてMDI転送ボタン1212がタッチされると、MDI転送ボタン1212に紐付けされたMDIプログラムのプログラム生成定義に基づいて、MDIプログラム生成部321がスニペット11を挿入する。具体的には、スニペット11が読み出されて、工具オフセットを入力して工具径摩耗補正値を指定値だけ書き換えるプログラムが生成される(1224)。生成されたプログラム1224がMDIプログラム1223としてMDI画面220に表示される。
スニペット11は、
G10G90L13P?TOOLOFFSET:NUMBER?R?TOOLOFFSET:DWEAR+0.1?;
である。ここで、NUMBERは補正番号、DWEARは工具径摩耗補正値を示すパラメータ識別子である。
MDIプログラムとして、
G10G90L13P1R10.1;
が生成される。
ここで、G10L13が工具径摩耗補正値の書き換えの指令であり、Pが補正番号、Rが補正値である。
 以上、本実施形態によれば、定型プログラムに記述されたパラメータ部分を、工具管理画面で選択された工具の特定の工具情報に自動的に置き換えるので、工具番号を含む特定の工具情報を、ユーザによるキー入力なしに自動的に設定してMDIプログラムを生成することができる。また、定型プログラムに記述されたパラメータ部分を、工具オフセット画面で選択された工具のオフセット値に自動的に置き換えるので、工具のオフセット値をユーザによるキー入力なしに自動的に設定してMDIプログラムを生成することができる。
 すなわち、スニペットに記述されたパラメータ部分は特定のフォーマットにより定義されているので、ユーザによる変更修正によるスニペットの編集が簡単であり、MDIプログラムの生成編集をミスなく実現できる。
 本実施形態の技術を用いれば、MDIプログラム生成時の手間や操作間違いの危険性を大きく低減できる。特に、複数の工具を連続的に工具主軸へ呼び出す場合に効果的である。
 [第3実施形態]
 次に、本発明の第3実施形態に係る工作機械制御装置について説明する。本実施形態に係る工作機械制御装置は、上記第2実施形態と比べると、ユーザが生成および編集したスニペットを使用できる点で異なる。本実施形態においては、ユーザによる画面での選択指示に従って、特定フォーマットを有するパラメータ部分を自動的に定型プログラムに挿入する。その他の構成および動作は、第2実施形態と同様であるため、同じ構成および動作については同じ符号を付してその詳しい説明を省略する。
 <スニペット生成編集を含む構成>
 図13Aに示すように、工具管理画面210において、複数の工具213が選択されて、MDI転送(ユーザ定義A)ボタン1314、MDI転送(ユーザ定義B)ボタン1315がタッチされた場合には、MDI画面1316のように、ユーザが生成し、それぞれのボタンに紐付けられたスニペットに基づいてMDIプログラムが生成される。
 図13Bは、図13Aのように、複数のMDI転送ボタンを工具管理画面210に表示せず、プルダウンメニュー1318を表示する例を示している。例えば、MDI転送(ユーザ定義)が選択されると、下位のメニュー1319が表示される。
 <スニペット生成編集手順>
 図13Cは、工作機械制御装置のスニペット生成編集画面1320を示す図である。スニペット生成編集画面1320において、まず、スニペット表示画面1321には、スニペットの第1行の最初“T(ATC(Automatic Tool Changer: 自動工具交換装置)位置へ割り出し)”が入力されている。スニペット生成編集ウィンドウ1322において、“パラメータ自動入力”を指示すると、スニペット表示画面1323には、“?TOOL:”が自動的に入力される。次に、スニペット生成編集ウィンドウ1324において、“工具番号”を指示すると、スニペット表示画面1325には、“Q0”が自動的に入力される。そして、スニペット生成編集ウィンドウ1326において、“確定”を指示すると、“T?TOOL:Q?”のスニペットの第1行の入力が完了する。なお、図13Cには、初期入力の例を示したが、既存のスニペットを読み出して編集する場合も、同様の操作で容易に入力が可能となる。
 図13Dは、工作機械制御装置の他のスニペット生成編集画面1340を示す図である。スニペット生成編集画面1340においては、スニペットを各ラインの命令ごとに生成あるいは編集する。スニペット表示画面1341と、各機能(図ではG28機能)における数値の入力欄1342とを示している。Insertボタン1343のタッチにより入力欄1342の数値がスニペットに挿入される。スニペット生成編集画面1340は、スニペットの簡易な生成編集のために使用される。
 <工具管理モジュールの構成>
 図14は、MDI転送モジュール1420の構成を示すブロック図である。なお、図14において、図5Aと同様の構成要素には同じ参照番号を付して、重複する説明を省略する。
 MDI転送モジュール1420は、スニペット取得部1421と、スニペット編集用データ取得部1422と、スニペット生成編集部1423と、を備える。また、MDI転送モジュール1420は、スニペット編集用データ保管部1424を有するデータベース1410を備える。スニペット取得部1421は、編集用のスニペットをスニペット識別子によりスニペット保管部323から取得する。スニペット編集用データ取得部1422は、スニペット編集用データ保管部1424から、スニペット編集用データを取得する。スニペット生成編集部1423は、スニペット取得部1421が取得したスニペットを、スニペット編集用データを用いて編集する。なお、取得したスニペットが無い場合は、スニペットの生成を行う。生成あるいは編集されたスニペットはスニペット保管部323に検索可能に保管される。
 (スニペット編集用データ保管部)
 図15は、スニペット編集用データ保管部1424の構成を示す図である。スニペット編集用データ保管部1424は、入力モードテーブル1510と、書式テーブル1520と、入力データテーブル1530と、を有する。入力モードテーブル1510は、パラメータ部分の入力モードが自動入力か手動入力かのユーザ設定1511に対応して、スニペット記述子1412を記憶する。本実施形態においては、自動入力の場合は“?TOOL”が記憶され、手動入力の場合は“?MANUALINPUT”が記憶される。書式テーブル1520には、図9Aに示したような書式番号1521に対応付けて、書式の定義1522と入力記述例1523とを記憶する。入力記述例1523は、ユーザの参照のために表示される。入力データテーブル1530は、入力データ名1531に対応付けて、パラメータ識別子1532と使用する書式番号1533とを記憶する。例えば、入力データ名1531が工具番号であれば、パラメータ識別子1532には“Q0”が記憶される。また、入力データ名1531が工具長補正形状であれば、パラメータ識別子1532には“Q1101”が記憶される。また、入力データ名1531が工具径補正形状であれば、パラメータ識別子1532には“Q1102”が記憶される。
 <スニペットの生成編集処理手順>
 図16Aは、本実施形態に係る工作機械制御装置のスニペットの生成編集処理の手順を示すフローチャートである。MDI転送モジュール1420は、ステップS1601において、スニペットの生成か編集かを判定する。スニペットの生成であれば、MDI転送モジュール1420は、ステップS1611において、新たなスニペット識別子を設定する。MDI転送モジュール1420は、ステップS1613において、スニペットの機能記述を順に入力する。そして、MDI転送モジュール1420は、ステップS1615において、入力パラメータ位置になったことを判定する。入力パラメータ位置になった場合、MDI転送モジュール1420は、ステップS1617において、パラメータ部分の記述挿入処理を実行する。そして、MDI転送モジュール1420は、ステップS1619において、スニペットの生成終了を判定する。スニペットの生成終了でなければ、MDI転送モジュール1420は、ステップS1613に戻って、スニペットの生成を継続する。
 一方、スニペットの編集であれば、MDI転送モジュール1420は、ステップS1621において、スニペット識別子を入力する。MDI転送モジュール1420は、ステップS1623において、スニペット識別子を用いてスニペットを読み出してMDI画面に表示する。そして、MDI転送モジュール1420は、ステップS1625において、既存のスニペットのどの位置を編集するかを設定する。MDI転送モジュール1420は、ステップS1627において、編集位置がパラメータ部分編集位置であるか否かを判定する。パラメータ部分編集位置であれば、MDI転送モジュール1420は、ステップS1629において、パラメータ部分の記述挿入処理を実行する。一方、パラメータ部分編集位置でなければ、MDI転送モジュール1420は、ステップS1631において、パラメータ部分の機能記述の修正を行う。そして、MDI転送モジュール1420は、ステップS1633において、スニペットの編集終了を判定する。スニペットの編集終了でなければ、MDI転送モジュール1420は、ステップS1625に戻って、スニペットの編集を継続する。
 スニペットの生成終了またはスニペットの編集終了を判定すると、MDI転送モジュール1420は、ステップS1620において、生成した新規のスニペットあるいは編集した既存のスニペットを保管する。
 (パラメータ部分の記述挿入処理)
 図16Bは、パラメータ部分の記述挿入処理S1617、S1629の手順を示すフローチャートである。MDI転送モジュール1420は、ステップS1641において、自動入力か手動入力かを判定する。自動入力であれば、MDI転送モジュール1420は、ステップS1643において、“?TOOL”をスニペットの入力位置に挿入する。一方、手動入力であれば、MDI転送モジュール1420は、ステップS1643において、“?MANUALINPUT”をスニペットの入力位置に挿入する。
 次に、MDI転送モジュール1420は、ステップS1647において、次に入力するデータが入力値識別子か否かを判定する。入力値識別子であれば、MDI転送モジュール1420は、ステップS1649において、入力値識別子の入力あるいはプルダウンメニューなどからの選択をする。入力値識別子でなければ、MDI転送モジュール1420は、ステップS1651において、機能識別子か否かを判定する。機能識別子であれば、MDI転送モジュール1420は、ステップS1653において、機能識別子の入力あるいはプルダウンメニューなどからの選択をする。機能識別子でなければ、何もせずに次にすすむ。MDI転送モジュール1420は、ステップS1655において、パラメータ部分の入力終了か否かを判定する。パラメータ部分の入力終了でなければ、MDI転送モジュール1420は、ステップS1647に戻って、パタメータの完成まで処理を繰り返す。
 パラメータ部分の入力終了になれば、MDI転送モジュール1420は、ステップS1647において、パラメータ部分の最後に“?”を挿入して処理を終了する。
 本実施形態によれば、ユーザによるキー入力なしに自動的にパラメータ部分を挿入して、スニペットを生成および編集することができる。そして、ユーザが生成および編集したヅニペットを用いてMDIプログラムを効率的に生成することができる。
 [第4実施形態]
 次に、本発明の第4実施形態に係る工作機械制御装置について説明する。本実施形態に係る工作機械制御装置は、上記第2実施形態および第3実施形態と比べると、プログラム生成定義の生成および編集を簡易な操作で実現する点で異なる。本実施形態においては、ユーザによる画面での選択指示に従ってプログラム生成定義内のスニペットを変更および修正して、プログラム生成定義を自動的に編集する。その他の構成および動作は、第2実施形態と同様であるため、同じ構成および動作については同じ符号を付してその詳しい説明を省略する。
 <プログラム定義の生成編集手順>
 図17において、工作機械制御装置のプログラム生成定義の生成編集手順を示す。プログラム定義生成編集画面1720において、まず、プログラム定義表示画面1721には、プログラム生成定義の旧スニペットが表示されている。プログラム定義生成編集ウィンドウ1722において“変更”を指示し、次に、プログラム定義生成編集ウィンドウ1724で新しいスニペットを選定すると、プログラム定義表示画面1723には、新しいスニペットが表示される。プログラム定義生成編集ウィンドウ1722において“修正”を指示した場合は、旧スニペットを第3実施形態の記載に従って修正することによって、プログラム生成定義の内容を更新する。
 <工具管理モジュールの構成>
 図18は、工作機械制御装置のMDI転送モジュール1820の構成を示すブロック図である。なお、図18において、図5および図14と同様の構成要素には同じ参照番号を付して、重複する説明を省略する。
 MDI転送モジュール1820は、プログラム生成定義取得部1821とプログラム生成定義生成編集部1822とを備える。プログラム生成定義取得部1821は、プログラム生成定義識別子を用いて、プログラム生成定義保管部322からプログラム生成定義を取得する。プログラム生成定義生成編集部1822は、取得したプログラム生成定義を、例えばスニペットを取り替える、あるいは、スニペットを変更することにより編集する。また、プログラム生成定義が取得されてなければ、新規なプログラム生成定義を生成する。
 <プログラム定義生成編集処理手順>
 図19Aは、プログラム定義生成編集処理の手順を示すフローチャートである。MDI転送モジュール1820は、ステップS1901において、プログラム生成定義の生成か編集かを判定する。プログラム生成定義の生成であれば、MDI転送モジュール1820は、ステップS1911において、新たなプログラム生成定義識別子を設定する。MDI転送モジュール1820は、ステップS1913において、プログラム生成定義を記述する。そして、MDI転送モジュール1820は、ステップS1915において、スニペット配置位置になったことを判定する。スニペット配置位置になった場合、MDI転送モジュール1820は、ステップS1817において、スニペットの変更処理を実行する。そして、MDI転送モジュール1820は、ステップS1919において、プログラム生成定義の生成終了を判定する。プログラム生成定義の生成終了でなければ、MDI転送モジュール1820は、ステップS1913に戻って、プログラム生成定義の生成を継続する。
 一方、プログラム生成定義の編集であれば、MDI転送モジュール1820は、ステップS1921において、プログラム生成定義識別子を入力する。MDI転送モジュール1820は、ステップS1923において、プログラム生成定義識別子を用いてプログラム生成定義を読み出してMDI画面に表示する。そして、MDI転送モジュール1820は、ステップS1925において、既存のプログラム生成定義のどの位置を編集するかを設定する。MDI転送モジュール1820は、ステップS1827において、編集位置がスニペット編集位置であるか否かを判定する。スニペット編集位置であれば、MDI転送モジュール1820は、ステップS1929において、スニペットの変更処理を実行する。一方、スニペット編集位置でなければ、MDI転送モジュール1820は、ステップS1931において、プログラム生成定義の記述の修正を行う。そして、MDI転送モジュール1820は、ステップS1933において、プログラム生成定義の編集終了を判定する。プログラム生成定義の編集終了でなければ、MDI転送モジュール1820は、ステップS1925に戻って、プログラム生成定義の編集を継続する。
 プログラム生成定義の生成終了またはプログラム生成定義の編集終了を判定すると、MDI転送モジュール1820は、ステップS1920において、生成した新規のプログラム生成定義あるいは編集した既存のプログラム生成定義を保管する。
 (スニペット変更処理)
 図19Bは、スニペット変更処理S1917,S1929の手順を示すフローチャートである。MDI転送モジュール1820は、ステップS1941において、スニペットの変更か否かを判定する。スニペットの変更であれば、MDI転送モジュール1820は、ステップS1943において、新たなスニペット識別子を入力する。MDI転送モジュール1820は、ステップS1945において、新たなスニペットを読み出して元のスニペットと置換する。MDI転送モジュール1820は、ステップS1947において、読み出して置換したスニペットを編集するか否かを判定する。スニペットを編集する場合は、第3実施形態におけるスニペット編集を実行する。
 スニペットの変更でなければ、MDI転送モジュール1820は、ステップS1949において、元のスニペットを編集するか否かを判定する。スニペットを編集する場合は、第3実施形態におけるスニペット編集を実行する。いずれもスニペット編集でなければ、処理を終了する。
 本実施形態によれば、ユーザによるキー入力なしに自動的にスニペットを変更および修正して、プログラム生成定義を生成および編集することができる。
 [他の実施形態]
 以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の技術的範囲で当業者が理解し得る様々な変更をすることができる。また、それぞれの実施形態に含まれる別々の特徴を如何様に組み合わせたシステムまたは装置も、本発明の技術的範囲に含まれる。
 また、本発明は、複数の機器から構成されるシステムに適用されてもよいし、単体の装置に適用されてもよい。さらに、本発明は、実施形態の機能を実現する情報処理プログラムが、システムあるいは装置に供給され、内蔵されたプロセッサによって実行される場合にも適用可能である。本発明の機能をコンピュータで実現するために、コンピュータにインストールされるプログラム、あるいはそのプログラムを格納した媒体、そのプログラムをダウンロードさせるサーバも、プログラムを実行するプロセッサも本発明の技術的範囲に含まれる。特に、少なくとも、上述した実施形態に含まれる処理ステップをコンピュータに実行させるプログラムを格納した非一時的コンピュータ可読媒体(non-transitory computer readable medium)は本発明の技術的範囲に含まれる。
 この出願は、2021年6月28日に出願された日本国特許出願 特願2021-107005号を基礎とする優先権を主張し、その開示の全てをここに取り込む。

Claims (5)

  1.  工作機械に用意された工具のリストを表示する工具管理画面を生成し、表示する工具管理部と、
     定型プログラムを呼び出し、前記工具管理画面で選択された工具の工具情報を定型プログラムに加えて、MDI(Manual Data Input)プログラムを生成するMDIプログラム生成部と、
     を備え、
     前記MDIプログラム生成部は、前記工具管理画面で2つ以上の工具が選択された場合、選択された工具の工具情報を、選択された工具の数に対応する数の前記定型プログラムのそれぞれに加えて連続的に配置することにより、前記MDIプログラムを生成する工作機械制御装置。
  2.  工作機械に用意された工具のリストを表示する工具管理画面を生成し、表示する工具管理部と、
     定型プログラムを呼び出し、前記工具管理画面で選択された工具の工具情報を定型プログラムに加えて、MDI(Manual Data Input)プログラムを生成するMDIプログラム生成部と、
     を備え、
     前記MDIプログラム生成部は、連続的に配置された前記定型プログラムの間に、オプショナルストップ指令を配置することにより、前記MDIプログラムを生成する工作機械制御装置。
  3.  前記定型プログラムを記憶する記憶部をさらに備え、
     前記MDIプログラム生成部は、前記記憶部から前記定型プログラムを読み出して前記MDIプログラムを生成する請求項1または2に記載の工作機械制御装置。
  4.  前記MDIプログラム生成部は、前記定型プログラムの記述に応じた種別の工具情報を前記工具管理部から取得して、前記定型プログラムに加える請求項1から3のいずれか1項に記載の工作機械制御装置。
  5.  工作機械に用意された工具のオフセット値を表示する工具オフセット画面を生成し、表示する工具管理部と、
     定型プログラムを呼び出し、前記工具オフセット画面で選択された工具のオフセット値を定型プログラムに加えて、MDI(Manual Data Input)プログラムを生成するMDIプログラム生成部と、
     を備えた工作機械制御装置。
PCT/JP2022/024813 2021-06-28 2022-06-22 工作機械制御装置 WO2023276801A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021-107005 2021-06-28
JP2021107005A JP7032596B1 (ja) 2021-06-28 2021-06-28 工作機械制御装置および工作機械制御方法

Publications (1)

Publication Number Publication Date
WO2023276801A1 true WO2023276801A1 (ja) 2023-01-05

Family

ID=81212831

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/024813 WO2023276801A1 (ja) 2021-06-28 2022-06-22 工作機械制御装置

Country Status (2)

Country Link
JP (1) JP7032596B1 (ja)
WO (1) WO2023276801A1 (ja)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6215607A (ja) * 1985-07-12 1987-01-24 Matsushita Electric Ind Co Ltd 数値制御装置
JPH04184504A (ja) * 1990-11-20 1992-07-01 Okuma Mach Works Ltd 工具オフセット量自動設定機能を有する数値制御装置
JPH06119028A (ja) * 1992-10-07 1994-04-28 Hideaki Okaya コンピュータ制御加工機の駆動方法
JP2000066711A (ja) * 1998-08-19 2000-03-03 Mori Seiki Co Ltd 工作機械の数値制御装置
JP2002166335A (ja) * 2000-11-30 2002-06-11 Toyoda Mach Works Ltd 工具交換機能付工作機械用数値制御装置の操作盤
JP2004268189A (ja) * 2003-03-07 2004-09-30 Fanuc Ltd 加工プログラム作成装置
JP2016186686A (ja) * 2015-03-27 2016-10-27 ファナック株式会社 状況に応じたプログラムの提示機能を備えた数値制御装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6215607A (ja) * 1985-07-12 1987-01-24 Matsushita Electric Ind Co Ltd 数値制御装置
JPH04184504A (ja) * 1990-11-20 1992-07-01 Okuma Mach Works Ltd 工具オフセット量自動設定機能を有する数値制御装置
JPH06119028A (ja) * 1992-10-07 1994-04-28 Hideaki Okaya コンピュータ制御加工機の駆動方法
JP2000066711A (ja) * 1998-08-19 2000-03-03 Mori Seiki Co Ltd 工作機械の数値制御装置
JP2002166335A (ja) * 2000-11-30 2002-06-11 Toyoda Mach Works Ltd 工具交換機能付工作機械用数値制御装置の操作盤
JP2004268189A (ja) * 2003-03-07 2004-09-30 Fanuc Ltd 加工プログラム作成装置
JP2016186686A (ja) * 2015-03-27 2016-10-27 ファナック株式会社 状況に応じたプログラムの提示機能を備えた数値制御装置

Also Published As

Publication number Publication date
JP7032596B1 (ja) 2022-03-08
JP2023005227A (ja) 2023-01-18

Similar Documents

Publication Publication Date Title
US5544046A (en) Numerical control unit
Suh et al. STEP-compliant CNC system for turning: Data model, architecture, and implementation
US6112133A (en) Visual system and method for generating a CNC program for machining parts with planar and curvilinear surfaces
US7949422B1 (en) Machine tool control system
WO2015097886A1 (ja) 加工情報管理装置および工具経路生成装置
EP0002750A1 (en) Computerized numerical controller for a machine tool
US20130006396A1 (en) Machine control program creating device
CN105706009A (zh) 控制数控机床操作的控制系统及用于该系统的后端和前端控制装置
JP2017191541A (ja) パラメータ設定装置、パラメータ設定プログラム及びパラメータ設定方法
CN102681483A (zh) 一种自动补偿温度形变和刀具形偏的坐标系系统
WO2023276801A1 (ja) 工作機械制御装置
JP2005502950A (ja) 工具データを準備し処理し保守するための方法
US20200225642A1 (en) Method For Controlling A Machine Tool And Machine Tool
KR0182361B1 (ko) 프로그래머블 콘트롤러의 프로그래밍기기, 프로그래머블 콘트롤러용 기능유닛 및 프로그래밍 기기의 메모리표시 입력방법
JP2020015143A (ja) 工具管理システム、工具管理装置及び工具管理方法
WO2023153205A1 (en) Information processing device, machine tool, and information processing program
EP3872588B1 (en) Nc program conversion processing method and computer for conversion
WO2000028393A1 (en) Visual cnc program for generating machining parts
JP2002166335A (ja) 工具交換機能付工作機械用数値制御装置の操作盤
US20220342381A1 (en) Managing a machine tool method, for example method of mapping toolpath data and machine code, a control device, and a machine tool
Goncalves et al. Universal parameter language for the programming of numerical controlled machines
US6957122B2 (en) Method for generating and visualizing a task-oriented step representation
WO2023153206A1 (en) Information processing device, machine tool, and information processing program
JP7301486B1 (ja) 情報処理装置およびプログラム
WO2022138055A1 (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: 22832949

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE