WO2016035869A1 - 加工プログラム編集支援装置 - Google Patents

加工プログラム編集支援装置 Download PDF

Info

Publication number
WO2016035869A1
WO2016035869A1 PCT/JP2015/075137 JP2015075137W WO2016035869A1 WO 2016035869 A1 WO2016035869 A1 WO 2016035869A1 JP 2015075137 W JP2015075137 W JP 2015075137W WO 2016035869 A1 WO2016035869 A1 WO 2016035869A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
machining
shape
data
display area
Prior art date
Application number
PCT/JP2015/075137
Other languages
English (en)
French (fr)
Inventor
一博 木方
守邦 木村
拓朗 片山
俊輔 小池
太田 貴之
Original Assignee
ヤマザキマザック 株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ヤマザキマザック 株式会社 filed Critical ヤマザキマザック 株式会社
Priority to JP2015558689A priority Critical patent/JP5925976B1/ja
Priority to EP15838128.5A priority patent/EP3147736B1/en
Priority to CN201580003827.0A priority patent/CN105900028B/zh
Publication of WO2016035869A1 publication Critical patent/WO2016035869A1/ja
Priority to US15/438,771 priority patent/US10379523B2/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4068Verifying part programme on screen, by drawing or other means
    • 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
    • B23Q1/00Members which are comprised in the general build-up of a form of machine, particularly relatively large fixed members
    • B23Q1/0009Energy-transferring means or control lines for movable machine parts; Control panels or boxes; Control parts
    • B23Q1/0045Control panels or boxes
    • 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
    • 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
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • 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
    • 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
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35505Display two windows, one with nc-data, other with general application data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36041Edit program step by step
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36071Simulate on screen, if operation value out of limits, edit program
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36172Select block, item, highlight, colour this block with respect to rest
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36177Select block and display graphic representation associated with block type
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a machining program editing support apparatus that supports editing of a machining program in which data defining how a workpiece is machined by a machine tool is divided into each machining process.
  • Patent Document 1 in order to perform re-processing for each processing step at the time of trial processing of the processing program, the delimitation of the processing step is recognized based on the process identification information added to the processing program for each processing step unit, A technique for controlling execution and stop for each recognized machining process is disclosed.
  • the machining program becomes longer, it will take time to find the target machining process on the machining program, and this function makes it easier to set the rework start position when reworking during trial machining. It was.
  • Patent Document 1 facilitates the operation at the time of trial machining, there is no viewpoint to facilitate editing of the machining program, and particularly when the machining program is complicated and long, the machining program machining is not performed. Since the configuration cannot be seen from above, it is difficult to find a processing portion to be edited.
  • the present invention has been made in view of such circumstances, and an object of the present invention is to provide a machining program editing support device capable of quickly grasping the correspondence between the data describing the machining process and the machining process. is there.
  • a machining program editing support device that supports editing of a machining program of a machine tool
  • a display device an input device that designates an arbitrary point on the screen of the display device
  • the screen displays program data
  • a display control unit that divides and displays at least two display areas including an area and a process list display area
  • the machining program includes program data including data delimited by each machining process
  • the program includes processing method data that defines a processing method in each processing step, and shape definition data that defines a shape that contributes to processing in each processing step
  • the processing method data includes the processing method data.
  • the display control unit includes process name data indicating a process name of the corresponding machining process, and the display control unit displays a display candidate in the program data display area as the program candidate. And display at least a part of the program data as a display target in the program data display area, set the process list display area display candidate as the process name data, and display at least a part of the process name data as a display target.
  • the one display When the specific part of the region is specified via the input device, the display target specified by the display target of the one display region and the specific part is designated as the specified display target of the one display region,
  • the display area is differentiated from the other display object in the one display area, and the one display area is displayed among the display candidates in the other display area.
  • the display candidate corresponding to the designated display target of the display area is included in the display target of the other display area as the designated display target of the other display area and is different from other display targets in the other display area. Machining program editing support device characterized in that the processing program editing support device.
  • At least one of the following processes is performed by the display control unit.
  • A When a specific part of the program data display area is specified via the input device when the display target is displayed in the program data display area, the display target and the specific part displayed in the program data display area
  • the program data specified by is specified as a designated display target in the program data display area, and is displayed differentiating from other display targets. Further, the designated display target in the process list display area is set as process name data corresponding to the program data, and is displayed differentiating from other display objects.
  • the user who feels interested in the program data displayed in the program data display area designates the corresponding specific part, so that the corresponding process in the process list display area.
  • Name data is differentiated and displayed as a designated display target. For this reason, it is possible to quickly grasp which process in the entire machining process corresponds to the machining process described by the program data concerned.
  • the program data display area can be specified by specifying the process name data. The program data corresponding to the process name data is differentiated and displayed. For this reason, the user can grasp
  • the above apparatus it is possible to quickly grasp the correspondence between the data describing the machining process and the machining process.
  • the program data is long, since only a part of the machining program is displayed in the program data display area, it is difficult to understand the entire machining.
  • the user can understand the outline of the machining by the flow of the machining process displayed in the process list display area and can confirm the details of the machining process in the program data display area.
  • editing or checking the contents it is possible to specify the target location of the program data in a short time.
  • the machining method data includes a tool change command code for specifying a tool to be machined, a coordinate system command code for selecting a coordinate system, and a comment that does not contribute to machining operations in the program data.
  • the shape definition data includes a shape command code for defining a movement path of a tool, and the machining program stores the machining method data and the shape definition data in the order of execution.
  • Each line is defined, and the display control unit recognizes at least one of the tool change command code, the coordinate system command code, and the comment command code as the process name data, and in the machining program, From the line containing the command code recognized as the process name data, the command code recognized as the process name data is Machining program editing support device according to to the line of the previous line, the technical idea 1, characterized in that to recognize as the processing step of the process name data recognized previously containing.
  • the command code for specifying the tool to be machined and the command code for selecting the coordinate system for defining the machining shape are data that are always included in the machining program.
  • a machining process list is displayed with at least one of these command codes as a machining process delimiter, even in a machining program for which data dedicated to the process as a delimiter is not input. Can be made.
  • the machining process is displayed for each process in which a tool is different. For this reason, the user can easily grasp from the machining process displayed in the process list display area whether the machining process is related to the machining process using which tool.
  • the coordinate system command code is used for setting a coordinate system for each workpiece when, for example, a plurality of workpiece machining steps are described by one machining program.
  • the coordinate system command code is adopted as the machining process, the user can easily determine which workpiece each machining process is related to the machining process from the machining processes displayed in the process list display area. I can grasp it.
  • the above comment command code is inserted by the user into the machining program as appropriate. For this reason, when the comment command code is adopted as the machining process, the user can easily understand the location of the machining program to be edited by inputting the comment in the program data in an easy-to-understand expression as the machining process. It can also be quickly identified.
  • the machining program is a program in which command codes defined in EIA / ISO are defined line by line in the execution order, and the display control unit divides at least one specific command code into machining process
  • An instruction to the effect is received via the input device, the received specific command code is defined as a machining process extraction code, the machining process extraction code is recognized as the process name data, and in the machining program, Recognizing from the line containing the command code recognized as process name data to the line immediately before the line containing the command code recognized next as the process name data as the machining process of the process name data previously recognized.
  • a machining program editing support apparatus according to the technical idea 1 characterized by the above.
  • machining programs conforming to the EIA / ISO standard often do not include codes that define machining processes, there are command codes that make it possible to substantially define machining processes.
  • the machining program editing support device can divide the machining program into machining processes, and the machining program has a long EIA / ISO. Even if the machining program conforms to the standard, the user can specify a desired edit target portion in a short time.
  • the display control unit further provides a display area as a display candidate with a definition shape obtained from the shape definition data defined line by line as a display candidate on the screen.
  • a display object When at least a part is displayed as a display object and the display object of the display area is displayed in any one of the program data display area, the process list display area, and the shape display area
  • the display target specified by the display target displayed in the one display area and the specific part is As the designated display object of any one of the display areas, it is displayed in a differentiated manner from the other display objects in the one display area, and the remaining two display areas
  • the display candidates of the remaining two display areas corresponding to the designated display object of any one display area among the display candidates in the above are set as the designated display objects of the remaining two display areas, respectively.
  • the machining program editing support apparatus according to the technical idea 2 which is included in the display target of each display area and is displayed differentiating from other display targets of the display area.
  • the definition shape obtained from the shape definition data including the shape command code that defines the movement path of the tool in each machining process is displayed in association with the program data and the process name. It is possible to more quickly identify the place to be. For example, if the user makes a mistake in the coordinate system setting data that defines the machining shape, only the machining shape that employs the coordinate system is displayed at a location far from other machining shapes.
  • the processing shape By specifying the processing shape, the related processing steps and program data can be specifically specified, so that erroneous data can be easily corrected.
  • a simple input error of coordinate value data for example, when a line to which coordinate value data is input is input with an error of one digit, only the coordinate point has no relation to other coordinate points. Therefore, it is very easy to identify program data that has been input incorrectly.
  • the shape command code has coordinate value data
  • the display control unit analyzes the machining program to determine the storage location of the shape command code, the coordinate value data, and these two data.
  • a coordinate value table that stores the number of program lines indicated is created, and the definition shape is created by sequentially connecting the coordinate points indicated by the coordinate value data of the coordinate value table with a connection line.
  • the movement path may be calculated based on coordinate value data combined with a machining cycle, a special machining cycle, or the like.
  • the definition shape is displayed by simply connecting the points indicated by the commanded coordinate value data, so the definition shape is displayed without any preprocessing for displaying the definition shape.
  • the related definition shape is displayed instantly and the user feels stressed These operations are possible without any problems. Also, even after the user finds an error in the displayed machining shape, specifies the related program data and corrects the error, the related machining shape is displayed again instantly. However, the user can work without feeling stress. Strictly speaking, although the definition shape to be displayed is slightly different from the actual movement path, there is no particular problem because a sufficient shape can be obtained for the user to identify the machining shape corresponding to the machining process.
  • the table in which the candidate for the designated display target of the shape display area is registered is a machining shape table, and the display control unit is configured to display the display target when the display target is displayed in the shape display area.
  • the connection line to be displayed included in a predetermined area centered on the specific part is displayed as the designated display of the shape display area.
  • machining shape table Registering in the machining shape table as a candidate for the target, displaying the candidate for the designated display target registered at the top of the machining shape table as the designated display target in the shape display area, and the display control unit If the locations within a predetermined distance are successively designated via the input device, the next candidate for the designated display object is determined according to the order registered in the machining shape table. Machining program editing support device according to the technical idea 5, characterized in that displayed on the shape display area as the designated display object in the display area.
  • the definition shape corresponding to one line unit of the program data is different from other definition shapes. Is displayed. That is, since the shape and the program data can be specified in units of one line, the line of the program data to be edited can be specified with reference to the shape, and accurate program data can be specified quickly.
  • the display control unit is configured such that a specific part of the process list display area is specified via the input device and the specified display target is displayed.
  • the process name data is specified
  • the program data corresponding to the process name data set as the designation display target in the process list display area the single line processing which uses the process name data as command line data, And selectively performing all line processing as data of all lines of the machining process to which the process name data belongs
  • the designated display target in the program data display area is the program data of the line obtained by the single line processing.
  • the designated display target of the shape display area is a defined shape based on the program data obtained by the all-line processing and is the designated display target. Machining program editing support device according to the technical idea 6, characterized in that display to differentiate the designated display object by not displaying the definition shape excluding the definition shape of the processing step was.
  • the machining method data includes a tool change command code for designating a tool to be machined
  • the shape definition data includes a shape command code for defining a movement path of a tool
  • the machining program includes:
  • the machining method data and the shape definition data are defined line by line in the order of execution, and the display control unit recognizes the tool change command code as the process name data and recognizes it as the process name data in the machining program.
  • a line from the line including the command code to the line immediately before the line including the command code recognized as the process name data next is recognized as the machining process of the process name data previously recognized.
  • the tool change command code that specifies the tool to be machined is always included in the machining program. There are a number of machining programs that can be effectively handled even if the machining process is simply divided by the tool to be machined and the machining process list is simply displayed.
  • the said structure can implement
  • the machining method data includes a tool change command code for specifying a tool to be machined, a coordinate system command code for selecting a coordinate system, and a comment that does not contribute to machining operations in the program data.
  • the shape definition data includes a shape command code for defining a movement path of a tool, and the machining program stores the machining method data and the shape definition data in the order of execution. Each line is defined, and the display control unit instructs whether or not each of the tool change command code, the coordinate system command code, and the comment command code is a machining step. It is received via the input device, the received command code is defined as a machining process extraction code, and the machining process extraction code is defined as the process name data.
  • the process is recognized first.
  • the machining program editing support apparatus according to the technical idea 1, wherein the machining program is recognized as the machining process of name data.
  • a command code for specifying a tool to be machined and a command code for selecting a coordinate system for defining a machining shape are always included in the machining program.
  • a comment command code that inserts a user's comment without affecting the machining operation in the machining program.
  • the configuration of the technical idea 2 realizes a function of analyzing these machining programs and displaying a process list.
  • the divided machining processes may be divided into many meaninglessly, and further improvement may be required upon use.
  • the user can select which command code to use according to the machining program, so that any machining program can be adjusted so that the functions of the process list can be used appropriately. Is possible.
  • FIG. 1 is a system configuration diagram according to a first embodiment.
  • FIG. The figure which shows the structure file of the process program concerning the embodiment. The figure which shows the kind of processing unit concerning the embodiment.
  • the perspective view which shows the product shape concerning the embodiment.
  • FIG. 6 is a plan view illustrating an editing support image according to the embodiment. 6 is a flowchart showing a procedure of initial display processing according to the embodiment.
  • the perspective view which shows the process shape defined by the said process unit.
  • the perspective view which shows the process shape defined by the said process unit.
  • the flowchart which shows the procedure of a process when the shape display area of the embodiment is tapped.
  • FIG. 1 A) And (b) is a figure which illustrates the process when the shape display area of the embodiment is tapped.
  • (A) And (b) is a figure which illustrates the process when the shape display area of the embodiment is tapped.
  • the flowchart which shows the procedure of a process when the process list display area of the embodiment is tapped.
  • the flowchart which shows the procedure of a process when the program data display area of the embodiment is tapped.
  • 6 is a flowchart showing a processing procedure when data in a program data display area of the embodiment is updated.
  • (A) And (b) is a figure which illustrates the image when the data of the program data display area of the embodiment are updated.
  • 6 is a plan view illustrating an editing support image according to the embodiment.
  • 6 is a flowchart showing a procedure of initial display processing according to the embodiment.
  • the figure which shows the process information table concerning the embodiment.
  • the flowchart which shows the procedure of a process when the process list display area of the embodiment is tapped.
  • (A) And (b) is a figure which shows the process when the process list display area of the embodiment is tapped.
  • (A) And (b) is a figure which shows the process when the process list display area of the embodiment is tapped.
  • the flowchart which shows the procedure of a process when the shape display area of the embodiment is tapped.
  • the flowchart which shows the procedure of a process when the program data display area of the embodiment is tapped.
  • 9 is a flowchart showing a procedure of process headline selection processing in the embodiment.
  • FIG. 1 shows a system configuration diagram of the present embodiment.
  • the workpiece 10 is a processing target.
  • the multi-task machine 20 has a function of machining the workpiece 10 with a tool while rotating the workpiece 10, and a function of machining the workpiece 10 by fixing the workpiece 10 and displacing the tool.
  • the multi-task machine 20 is a machine tool having functions such as a lathe, a milling machine, and a drilling machine.
  • the numerical control device 30 transmits a command signal for the multi-tasking machine 20 to process the workpiece 10 to the multi-tasking machine 20.
  • the numerical control device 30 includes a central processing unit (CPU) 32, a display device 34, a touch panel 36, buttons 37, and a memory 38.
  • the display device 34 includes, for example, a liquid crystal display panel, an organic EL display panel, and the like, and displays a character string and a graphic image on a screen.
  • the touch panel 36 is disposed so as to overlap the screen of the display device 34.
  • the touch panel 36 is an input device having a function of detecting, as a designated point, a point that is in contact with a pointing member such as a finger or a pointing bar or that is close to a predetermined distance.
  • the button 37 is a dedicated input device that is used when the user gives a specific instruction to the numerical control device 30 separately from the touch panel 36.
  • the memory 38 has a function of storing data such as a program previously installed in the numerical control device 30 and temporarily storing data when the CPU 32 performs processing.
  • the memory 38 stores a machining program 40 and an editing support program 42.
  • FIG. 2 shows an example of units constituting the machining program 40 according to the present embodiment.
  • the unit is data for defining the processing, the operation of the peripheral device of the machine tool, the installation location of the workpiece, and the like, and is an example of program data included in the machining program.
  • the machining program 40 is mainly composed of a common unit 50, a coordinate system / work posture setting unit 52, a machining unit 54, and an end unit 56.
  • the common unit 50 is a unit that is always set at the top of the machining program 40, and sets data common to the entire program, such as material material and material shape, and is data that defines the shape of the material. Contains some material shape data.
  • the coordinate system / work posture setting unit 52 sets the coordinate value (basic coordinates) of the machining program origin in the machine coordinate system, the workpiece posture during machining, and the like.
  • the machining unit 54 sets the details of the machining process, declares the machining method, specifies the tool to be used, cutting allowance at the time of machining, spindle rotation speed, cutting speed such as the tool feed rate, etc.
  • the processing method data in each processing step which is data such as Further, the processing unit 54 includes removal shape data that is data that defines a processing shape to be processed by each processing step, specifically, a removal shape that is a shape to be removed by executing each processing step, in units of processing steps. .
  • the shape definition data that defines the shape of the workpiece in machining includes the material shape data and the removed shape data.
  • the workpiece shape before executing the machining program is defined by the material shape data.
  • the workpiece shape after each machining step is obtained by a difference set operation between the workpiece shape before the machining step is performed and the removal shape of the machining step.
  • the definition shape which is the shape obtained from the shape definition data, is a shape that contributes to machining.
  • the shape of these materials, the removal shape, the workpiece shape after each machining step, and the workpiece shape after all machining has been completed. Including product shape.
  • the processing unit is a unit handled by the processing program editing support device as a single range including processing method data and data defining the processing shape.
  • the end unit 56 is a unit indicating the end of the machining program set at the end of the machining program 40.
  • FIG. 3 shows the types of the processing unit 54.
  • the machining methods defined by the machining unit 54 are “point machining unit”, “C axis machining unit”, “line machining unit”, “C axis machining unit”, “surface machining unit”, and “turning unit”. And they are further subdivided. That is, for example, the “point processing unit” is subdivided into a “drill” unit, a “tap” unit, and the like.
  • the data which shows the name of a unit and the number of a unit among the data contained in each of these units is an example of process name data which shows the process name of a manufacturing process.
  • FIG. 4 shows a product shape 60 that is a workpiece shape after all the machining is completed for the workpiece 10 used in the description of the present embodiment.
  • the product shape 60 includes a first cylindrical portion 62, a second cylindrical portion 64 having a larger outer diameter than the first cylindrical portion 62, a third cylindrical portion 66 having a larger outer shape than the second cylindrical portion 64, and the third cylindrical portion 66.
  • a tapered portion 68 formed to reduce the outer diameter and a fourth cylindrical portion 70 connected to the tapered portion 68 are provided.
  • the third cylindrical portion 66 is formed with a face mill surface 74 having a partly flat surface, and a drill hole 76 is formed in the face mill surface 74.
  • a recess 78 is formed in the fourth cylindrical portion 70.
  • FIG. 5 shows a machining program 40 for machining the workpiece 10 into the product shape 60.
  • the machining program 40 is composed of a plurality of units, and each unit includes unit data constituting machining method data.
  • the machining unit 54 is further different from other units in that it further includes tool sequence data (SNo) constituting machining method data and shape sequence data (FIG) which is an example of removal shape data. is doing.
  • SNo tool sequence data
  • FOG shape sequence data
  • the unit whose unit number “Uno” is “0”, that is, the top data of the machining program 40 is the common unit 50.
  • the unit numbers “1”, “2”, “3”, “5”, “7”, “8”, “11” are the coordinate system / work posture setting unit 52.
  • the “FRM” unit and the “FRM shift” unit are for setting the machining origin.
  • the “head selection” unit is a unit for declaring which work spindle is to be processed in a machine having a plurality of work spindles. This unit does not exist for single-work spindle machines.
  • the “index” unit is a unit for setting the attitude of the rotating shaft constituting the machine.
  • the posture of the tool spindle at the time of turning can be commanded by setting the B-axis angle of the tool spindle.
  • the “index” unit in front of the “face mill” unit and “drill” unit by setting the C-axis angle of the workpiece spindle, it is possible to instruct which surface of the workpiece is processed, By setting the B-axis angle, it is possible to instruct to perform machining on an oblique surface.
  • the “bar” unit whose unit number is “4” is one of the units classified as the “turning unit” of the machining unit 54.
  • the “turning unit” is a processing method in which a workpiece is processed by a tool while rotating the workpiece
  • the “bar material” unit is a processing method in which a bar-shaped workpiece is turned.
  • the machining program 40 describes processing (machining processing) performed by the multi-tasking machine 20 and the numerical control device 30 for machining the workpiece 10 in the order of the machining steps. For example, only finishing may be performed at the end depending on the setting.
  • the editing support program 42 is a program that supports creation and editing of the machining program 40.
  • FIG. 6 illustrates an editing support image displayed on the screen 35 of the display device 34 when the CPU 32 executes the editing support program 42.
  • the screen 35 on which the editing support image is displayed is divided into a process list display area 35a, a shape display area 35b, and a program data display area 35c except for the upper edge in FIG.
  • the process list display area 35a is a display area in which the name of each unit of the machining program 40, which is an example of a process name, and the unit number are displayed as machining processes. Then, at least a part of the display candidates (in the figure, the unit numbers “0” to “11”) are displayed in the process list display area 35a as display targets.
  • the shape display area 35b is a display area having a shape (3D model) defined by the machining program 40 as a display candidate.
  • a shape is actually displayed in the shape display area 35b, an image obtained by converting a 3D model into a two-dimensional figure is displayed as a shape.
  • the workpiece shape at each stage, which is removed and deformed and finally becomes the product shape 60, that is, the workpiece shape that is different before and after each machining step, is a display candidate for the shape display region 35b.
  • the program data display area 35c is a display area in which data (detailed data) describing the contents of the machining program 40 is a display candidate.
  • the detailed data is data describing the contents of the machining process described by the machining program 40, and includes tool sequence data, shape sequence data, and the like of the machining unit 54. Then, at least a part of the detailed data constituting the machining program 40 (in the figure, the data of the unit numbers “0” to “3” and the part of the data “4”) is displayed as the program data display. It is displayed in the area 35c.
  • a unit having a larger unit number can be displayed by the scroll function at the right end of the process list display area 35a.
  • the product shape model 60M is enlarged and displayed by a pinch-out operation, the product shape model 60M is reduced and displayed by a pinch-in operation, or the model is translated, It is possible to rotate.
  • the data of the machining program 40 describing the later machining process can be displayed by the scroll function at the right end of the program data display area 35c.
  • FIG. 7 shows the procedure of the editing support image display process shown in FIG.
  • the processing shown in FIG. 7 is realized by the editing support program 42 being executed by the CPU 32.
  • the processing shown in FIG. 7 constitutes control by the display control unit.
  • the CPU 32 first determines whether or not the designated machining program exists in the memory 38 (S10). When the CPU 32 determines that the designated machining program does not exist in the memory 38 (S10: NO), the series of processes is temporarily terminated. On the other hand, if the CPU 32 determines that the designated machining program exists (S10: YES), the CPU 32 reads the machining program 40, operates the display device 34, and starts the data (detailed data) of the machining program 40. Data that can be displayed in the program data display area 35c is set as a display target, and an image of the character string is displayed in the program data display area 35c (S12).
  • the CPU 32 acquires data to be displayed in the process list display area 35a from the machining program 40 (S14). Specifically, the CPU 32 acquires the number of each unit constituting the machining program 40 and the name of the unit as a set. Subsequently, the CPU 32 operates the display device 34 to set the acquired set as a display candidate, and displays a set of characters that can be displayed in the process list display area 35a from the top of the acquired set as a display target. The information is displayed in the process list display area 35a (S16).
  • the CPU 32 acquires the material shape data of the workpiece 10 from the machining program 40 and makes a 3D model (S18).
  • the CPU 32 acquires a machining shape for each machining unit based on the data of the machining program 40 (S20).
  • the processing shape for each processing unit is data that defines the shape of the part that is processed by the processing unit and is thereby removed, is included in the definition shape, and may be referred to as a removal shape hereinafter.
  • the CPU 32 can calculate the removal shape based on the data of the machining unit, which is also converted into a 3D model.
  • the CPU 32 creates a product shape model 60M using the material shape model acquired in step S18 and the processing shape model that is the removal shape for each processing unit acquired in step S20 (S24).
  • the CPU 32 performs a process of creating a workpiece model after machining, which is an example of the workpiece shape, from the workpiece model indicating the workpiece shape before execution of the machining unit by a difference set operation of the machining shape model of the machining unit.
  • the product shape model 60M is generated by executing the machining program from the beginning to the end according to the program. Below, the production
  • FIG. 8 exemplifies program data of the “bar” unit having the unit number “4” in the machining program 40 shown in FIG.
  • the “bar material” unit is one of the “turning units” as shown in FIG.
  • the “bar” unit with the unit number “4” has “outer diameter” specified as “processed portion”, which is one of information defining the unit, as shown in FIG. This corresponds to a process portion formed by turning among the machining steps for forming the outer periphery of the product shape 60.
  • the machining unit 54 includes tool sequence data (SNo) for setting a tool and cutting conditions for the tool, and shape sequence data (FIG) for defining a machining shape to be machined by this unit.
  • SNo tool sequence data
  • F shape sequence data
  • the number of rows in the tool sequence data (SNo) is the number of tools used in this unit.
  • the leading “R” and “F” indicate that they are roughing and finishing tools, and “R”. , “F” is followed by the number used.
  • the shape sequence data (FIG) has no particular limitation on the number of rows.
  • the points set in each row in the shape sequence data are defined by the X-axis, Y-axis, and Z-axis coordinate values in the coordinate system illustrated in FIG.
  • the unit number of the machining program 40 shown in FIG. 5 is defined as “1”.
  • the shape sequence data (FIG) of the “turning unit” is a definition of the cross-sectional shape of the rotating body on the XZ plane, and the shape to be removed by machining in this processing unit using this shape sequence data (FIG) (FIG. Machining shape) can be specified.
  • the shape sequence data (FIG) is 5 rows of sequence data, and the “line” in the “1” row corresponds to the shape of the first cylindrical portion 62 in FIG.
  • “Line” in the “2” row corresponds to the second cylindrical portion 64, and the following data also corresponds to the third cylindrical portion 66, the tapered portion 68, and the fourth cylindrical portion 70, respectively.
  • a bar model obtained by processing can be obtained.
  • the bar model is difference-set-calculated from the material shape model that is the work model before processing of the unit number “4”, and the “bar” unit shown in FIG.
  • a machining shape model 62M can be obtained.
  • the machining shape model 62M displayed in the shape display area 35b has a coordinate value standard that defines the machining shape of the “bar” unit.
  • the coordinates of the orthogonal coordinate system expressing the position of the origin of the coordinate system and the arrows indicating the directions of “+” of the X, Y, and Z axes are displayed together. Even if a user who is not proficient in creating a machining program inputs coordinate values based on the wrong coordinate system, the orthogonal coordinate system symbol is displayed together with a shape different from the shape intended by the user. Therefore, the user can instantly notice that the input coordinate value is not correct due to misunderstanding of the coordinate system.
  • FIG. 10 illustrates the program data of the “face mill” unit whose unit number is “9” in the machining program 40 shown in FIG.
  • the “face mill” unit is one of the “surface processing units”.
  • the face mill surface 74 shown in FIG. 4 is formed by processing of the “face mill” unit.
  • the shape sequence data (FIG) shown in FIG. 10 is composed of four lines, which defines the processing range in the XY plane of the “Face Mill” unit, and the information that defines the unit data “depth” and “replacement allowance”.
  • -Z defines the height position of the machining surface (the position of the“ depth ”data from the Z-axis origin is the height position of the machining surface) and the thickness (the thickness of the machining allowance—Z from the machining surface).
  • a processing shape model 74M of the “face mill” unit of the knitting portion shown in FIG. can do. As shown in FIG. 11 and FIG.
  • the machining shape model 74M displayed in the shape display area 35b includes coordinate value data (XY coordinate values (corner values of each corner) defined by the shape sequence data (FIG)).
  • 50, 40), (0, 40), (0, ⁇ 40), (50, ⁇ 40)) is the origin position of the coordinate system defined by the “FRM shift” of unit number “8”, and X , Y, and Z axes are displayed together with an arrow indicating the “+” direction and a Cartesian coordinate system symbol representing the direction. For this reason, if the user misunderstands the set coordinate system or the setting of the coordinate system defined in the program data is wrong, a machining shape model different from the shape intended by the user is displayed.
  • the orthogonal coordinate system symbol displayed together with the machining shape model allows the user to easily recognize the mistake.
  • the coordinate value data is displayed near the coordinate point where the machining shape model is specified, so a part of the machining shape model that the user is interested in and its surroundings
  • it is allowed to input rough numerical values different from the coordinate value data defining the machining shape model, but numerical values significantly different from the numerical values indicating the actual shape are input.
  • the machining operation is performed at a place where no workpiece is present, resulting in inefficient machining.
  • the user can change the coordinate value data while comparing the number of the coordinate value data with the machining shape model, so that the machining program can be improved so as to make the machining more efficient. Even users who are not familiar with it are easy.
  • FIG. 10 shows an example in which the coordinate values defined in the shape sequence data (FIG) do not coincide with the actual coordinate values of the boundary of the face mill surface 74.
  • the machining program 40 is easily created. That is, inputting an accurate value as the boundary coordinates of the face mill surface 74 requires a complicated calculation from the user.
  • boundary coordinates are not necessary in the first place.
  • the face mill surface 74 is uniquely determined if the coordinate value on the Z axis is determined.
  • the machining program 40 when the machining program 40 is created, the values that are assumed to be outside the actual face mill surface 74 are roughly input as the values of the X-axis and Y-axis components, thereby simplifying the input. can do. Even if such an input is made and a machining shape wider than the actual machining surface as shown in FIG. 11 is set, the product shape after machining can be specified. That is, from the material shape model which is an example of the definition shape, the machining shape model 62M of the “bar” unit shown in FIG. 9 which is also an example of the definition shape is subjected to a difference set operation. A face mill surface 74 is created in the workpiece model by performing a difference set calculation process on the machining shape model 74M of the “face mill” unit shown in FIG.
  • the product shape model 60M shown in FIG. 4 is obtained.
  • the CPU 32 displays the obtained work model (work shape) in the shape display area 35b (S26).
  • the work model resulting from applying the above method to all program data of the displayed machining program is displayed in the shape display area 35b.
  • a product shape model 60M is displayed.
  • the above-described processing is all performed based on the 3D model, and the 3D model is converted into a two-dimensional figure based on the set viewpoint for display in the shape display area 35b. That is, the 3D model is projected onto the display plane.
  • the two-dimensional figure is displayed in the shape display area 35b.
  • the CPU 32 once ends the series of processes shown in FIG.
  • the CPU 32 displays the editing support image shown in FIG.
  • the CPU 32 realizes a function for supporting the user to edit the processing program 40 using the editing support image illustrated in FIG. That is, as described above, the touch panel 36 is disposed on the screen 35 so as to overlap. For this reason, when the user taps a portion of the touch panel 36 immediately above a specific location in the screen 35 based on the editing support image displayed on the screen 35, the CPU 32 supports the editing support based on the output signal of the touch panel 36. It is possible to specify which part of the image is designated.
  • the CPU 32 designates one display target in any one of the process list display area 35a, the shape display area 35b, and the program data display area 35c, thereby displaying the other display areas.
  • the display target in the display area other than the target display area is changed so that the machining process matches the display candidate specified above.
  • a portion of the touch panel 36 that is located immediately above a specific location of the editing support image may be referred to as a specific location of the editing support image being tapped.
  • FIG. 12 shows processing when a specific portion of the shape display area 35b is designated.
  • the processing shown in FIG. 12 is realized by the editing support program 42 being executed by the CPU 32.
  • the process shown in FIG. 12 constitutes the control of the display control unit.
  • the CPU 32 sets the coordinate value on the screen 35 of the point (designated point) tapped from the output value of the touch panel 36. Is acquired (S30). Then, the CPU 32 determines whether or not the acquired coordinate value is the same as the coordinate value of the designated point acquired last time (S32). In this determination, an area having a predetermined radius from the designated point acquired last time may be defined, and if the coordinate value acquired this time falls within that area, it may be determined that they are the same.
  • the CPU 32 determines that they are not the same (S32: NO), based on the display target displayed in the shape display area 35b and the designated point, the display candidates specified from these are displayed in the shape display area 35b. Are selected as display candidates designated by the user, and a machining shape table is created (S34). Specifically, the CPU 32 does not explicitly display the product shape model 60M displayed in the shape display area 35b, but the processing shape model (removed shape) of each processing unit is also the product shape model 60M. Are converted to a two-dimensional shape under the same conditions as in FIG.
  • the workpiece model (work shape) after machining is generated by the difference set operation between the workpiece model (work shape) before machining of the machining unit and the machining shape model (removed shape) of the machining unit.
  • the machining shape model (removed shape) of the machining unit corresponding to the machining location always exists at the machining location of each machining unit in the product shape model 60M.
  • the CPU 32 determines whether or not the coordinate value of the designated point is included in each of the two-dimensionalized machining shape model areas, and extracts the machining unit of the machining shape model including the coordinate value of the designated point. Then, a machining shape table is created. FIG.
  • the extracted machining unit is a machining unit in which a specific location (designated point) is included inside the removed shape when the removed shape is displayed in the shape display area 35b.
  • FIG. 13A shows a case where the face mill surface 74 of the product shape model 60M displayed in the shape display area 35b is tapped.
  • the CPU 32 extracts not only the processing unit that processes the face mill surface 74 but also the processing unit in which the specified point is included in the removed shape on the two-dimensional image in the shape display area 35b.
  • a machining shape table is created in the order of the machining program 40.
  • the designated point is included in the machining shape of the “bar” unit near the third cylindrical portion 66 defined by the face mill surface 74 and the “bar” unit. Therefore, by extracting these units and arranging them in the processing order, the processing shape tables of the unit numbers “4” and “9” are created.
  • the CPU 32 operates the display device 34 to select the machining shape table with the earliest machining shape table from the machining shape models of the machining unit 54 specified by the machining shape table, that is, the machining shape table.
  • the first registered one is highlighted as a designated display target (S36).
  • FIG. 13B illustrates the result of tapping the touch panel 36 on the face mill surface 74 displayed in the shape display area 35b.
  • the CPU 32 obtains the unit number “4” from the machining shape table, and, as shown in FIG. 13B, overlaps the workpiece model before machining of the unit number “4” in the shape display area 35b and stores the “bar” unit.
  • the machining shape model 62M is displayed.
  • highlight display is performed by increasing the luminance while changing the color of the processed shape model 62M, but this is represented by shading in the drawing.
  • the highlight display differentiates the machining shape model 62M from the workpiece model which is another display target displayed in the shape display area 35b and makes it stand out.
  • the work model at this time is the same as the material shape model, and in the description of the method for generating the machining shape model of the “bar” unit.
  • the material shape model is expressed as a part of the machining shape model 62M of the “bar” unit.
  • the CPU 32 operates the display device 34 to change the highlight display portion that is the designated display target among the display targets displayed in the process list display region 35 a to the highlight display portion of the shape display region 35 b. (S38). That is, as shown in FIG. 13A, from the state in which “common” having the unit number “0” is highlighted as a designated display target, the unit number “ “4” is changed to a state in which this is highlighted as a designated display target.
  • highlight display is performed by increasing the luminance while changing the color of the processing step (unit name), but this is represented by shading in the drawing.
  • the CPU 32 operates the display device 34 to set the program of the “bar” unit with the unit number “4” as the designated display target in the program data display area 35 c, cue it,
  • the cursor K is moved to the part (S40). That is, as shown in FIG. 13A, from the state where the data of the program whose unit number is “0” has been cued as the designated display target, the unit number is “4” as shown in FIG.
  • the program data is changed to a state where the data has been cued as the designated display target.
  • the cueing process is for differentiating and displaying the designated display target among the display candidates in the program data display area 35c.
  • FIG. 13B shows an example in which the cursor K is moved to the character “bar” displayed on the right side of the portion indicating that the unit number is “4”. Data at the position of the cursor K indicates that it can be changed. However, the cursor K is also intended to make the designated display object stand out from the other display candidates.
  • step S32 when the CPU 32 determines in step S32 that the coordinates are the same as the previous time (S32: YES), the machining unit 54 of the next unit number in the machining shape table is designated as a display object for highlighting. Displayed (S42).
  • FIG. 14A shows a case where the face mill surface 74 is tapped again when the “bar” unit having the unit number “4” is designated and displayed in the shape display area 35b and is highlighted. Indicates.
  • the CPU 32 determines that the tapped coordinates are the same as the previous time, acquires the unit number “9” positioned next to the unit number “4” that was the previous highlight target from the machining shape table, and FIG. ), In the workpiece model before machining of unit number “9” in the shape display area 35b, the machining shape by the “face mill” unit is highlighted as a designated display target. Then, the CPU 32 executes steps S38 and S40 of FIG. 12 to update the display of the process list display area 35a and the display of the program data display area 35c.
  • “Face Mill” having the unit number “9” is designated and displayed in the process list display area 35a, and this is highlighted and the unit number is displayed in the program data display area 35c.
  • the detailed data of “Face Mill” with “9” is designated as a display target, and this indicates a cueing state.
  • the unit number “9” of the machining shape table is displayed.
  • the unit number is not registered, the first unit number in the machining shape table is adopted, and the “bar” unit having the unit number “4” is again designated and displayed as a highlight. That is, according to the order registered in the machining shape table, the next designated display target candidate is cyclically designated as the designated display target.
  • step S40 when completing the process of step S40, the CPU 32 once ends this series of processes.
  • a user who feels that there is a part of interest in the machining shape displayed in the shape display area 35 b is tapped to perform a machining process for machining the machining shape. It can be quickly grasped by the highlight of the process list display area 35a where it corresponds to the whole series of machining processes. Further, the contents of the detailed data can be quickly grasped by the detailed data of the machining program 40 cued in the program data display area 35c.
  • FIG. 15 shows processing when a specific part of the process list display area 35a is designated.
  • the processing shown in FIG. 15 is realized by the editing support program 42 being executed by the CPU 32.
  • the process shown in FIG. 15 constitutes the control of the display control unit.
  • the CPU 32 When one of the unit number or the unit name character string displayed in the process list display area 35a is tapped, the CPU 32 is displayed in the area including the tapped specific location based on the output value of the touch panel 36.
  • the unit number indicated by the image is acquired as the designated unit number (S50).
  • the CPU 32 determines whether or not the acquired unit number is the currently selected unit number (S52).
  • the CPU 32 operates the display device 34 to select the unit to be highlighted among the units displayed in the process list display area 35a.
  • the unit is changed to a number unit (S54). In other words, the designated display target is updated.
  • the CPU 32 operates the display device 34 to cue up the detailed data of the machining program 40 corresponding to the unit number acquired in step S50 in the program data display area 35c, and in the cueed detailed data.
  • the cursor is moved to the data (S56).
  • the CPU 32 operates the display device 34 to highlight and display the removed shape processed by the processing process corresponding to the specified unit number as the specified display target (S58).
  • S58 the specified display target
  • the specified display target is highlighted on the work model.
  • step S50 when the face mill character string whose unit number is “9” in the process list display area 35a is tapped, As shown in FIG. 14B, the display of the shape display area 35b is updated. Incidentally, when the unit number tapped in step S50 does not specify the data of the machining unit 54, the machining shape is not highlighted.
  • step S52 When the CPU 32 makes an affirmative determination in step S52 or when the process of step S58 is completed, the series of processes is temporarily terminated.
  • the process of FIG. 15 based on the process list displayed in the process list display area 35a, a user who is concerned about a specific machining process taps an area in which an image representing the machining process is displayed. By doing so, it is possible to quickly grasp the machining shape of the machining process by highlighting the shape display area 35b. Further, the contents of the data describing the machining process can be quickly grasped by the data of the machining program 40 found in the program data display area 35c.
  • FIG. 16 shows processing when a specific part of the program data display area 35c is designated.
  • the processing shown in FIG. 16 is realized by the editing support program 42 being executed by the CPU 32. Note that the processing shown in FIG. 16 constitutes control of the display control unit.
  • the CPU 32 When a specific location in the program data display area 35c is tapped, the CPU 32 operates the display device 34 based on the output value of the touch panel 36, and the data displayed in the area including the specific location is designated by the user.
  • the cursor K is moved to the same data (S60).
  • the CPU 32 acquires a unit number corresponding to the movement destination of the cursor K (S62).
  • the CPU 32 determines whether or not the acquired unit number is the currently selected unit number (S64). In other words, it is determined whether or not the unit number is displayed as the designated display target.
  • the CPU 32 operates the display device 34 to update the highlight target in the process list display area 35a (S66).
  • the CPU 32 operates the display device 34 to update the highlight target in the shape display area 35b (S68).
  • the CPU 32 changes the highlight target.
  • the program data display area 35c is scrolled, and the character string of the face mill data whose unit number is “9” is displayed.
  • the character string is tapped in this state, the display of the shape display area 35b is updated as shown in FIG.
  • the CPU 32 does not perform highlight display.
  • step S64 the processing in step S68 is completed
  • step S68 the series of processing shown in FIG. 16 is temporarily ended.
  • the machining process described by the tapped data is quickly performed by highlighting the process list display area 35a. I can grasp it.
  • the machining shape to be machined by the machining process can be quickly grasped by highlighting the shape display area 35b.
  • the user can easily recognize the machining process, the machining shape by the machining process, and the detailed data of the machining process program in association with each other.
  • FIG. 17 shows a process when the data displayed in the program data display area 35c is changed by the operation of the button 37 or the like.
  • the processing shown in FIG. 17 is realized by the editing support program 42 being executed by the CPU 32.
  • the process shown in FIG. 17 constitutes the control of the display control unit.
  • the CPU 32 determines whether or not there is a change in the program value displayed in the program data display area 35c (S70).
  • the CPU 32 updates the image of the program displayed in the program data display area 35c (S72).
  • the CPU 32 changes the machining shape displayed in the shape display area 35b based on the changed program value (S74). Note that the CPU 32 once ends the series of processes when the process of step S74 is completed or when a negative determination is made in step S70.
  • FIG. 18 shows a processing example of FIG. FIG. 18A shows an example in which the numerical value designated by the cursor K and changeable is “150”. This numerical value corresponds to the “end point-Z” (Z-axis coordinate value on the taper portion small diameter side) of the taper portion 68 in the product shape 60 shown in FIG.
  • FIG. 18B shows an example in which the same numerical value is changed to “200”.
  • the taper portion 68 is updated to the changed image.
  • the CPU 32 recalculates the machining shape defined by the bar machining unit whose unit number is “4”, and performs a difference set operation of the recalculated machining shape on the material shape and the like. Can be realized.
  • the position of the cursor K is different from the position of FIG. 18A. This is because the cursor is determined by fixing the numerical value to “200” in FIG. 18B. This is because K has moved.
  • the user can quickly grasp how the machining shape is changed by changing the data of the machining program 40. For this reason, it is possible to quickly notice a data input error or the like.
  • the machining program 40 according to the present embodiment conforms to the EIA / ISO standard.
  • FIG. 19 illustrates a machining program 40 according to the present embodiment.
  • a program is described using G codes and T codes which are examples of command codes defined by the international standard EIA / ISO.
  • An example of a tool change command code which is a T code that commands a tool for cutting, an S code that commands the number of rotations when rotating the tool or workpiece, and the relative movement speed of the tool and workpiece during cutting Is an example of processing method data.
  • the machining program 40 treats the T code that commands a tool used for machining the workpiece 10 as a break of the machining process and treats the T code as process name data.
  • FIG. 20 illustrates an editing support image according to the present embodiment.
  • the machining shape specified by the program command position of the tool is displayed with a solid line as the machining shape of the workpiece 10 which is an example of the definition shape.
  • a broken line in the shape display area 35b is a tool movement path at the time of a positioning command (also referred to as a fast-forward command), and shows an example of a defined shape.
  • the solid line and the broken line shown in FIG. 20 are examples of connection lines, and in fact, both lines have the same shape (for example, a solid line with the same thickness) and have different colors. However, due to the limitation of the description of the drawings, they are distinguished by a solid line and a broken line.
  • the display candidate in the program data display area 35c is an example of program data, and is data (detailed data) describing the contents of the machining program 40. That is, the detailed data is data describing the contents of the machining process described by the machining program 40, and in this embodiment, the detailed data includes G codes other than the command code used as a break of the machining process. It has become.
  • FIG. 21 shows the procedure of the editing support image display process shown in FIG.
  • processes corresponding to the processes shown in FIG. 7 are denoted by the same step numbers for the sake of convenience and description thereof is omitted.
  • the process shown in FIG. 21 constitutes the control of the display control unit.
  • FIG. 22 shows a process information table.
  • the process information table is arranged in descending order of the number of lines from the beginning of the program (hereinafter referred to as the number of program lines) among the T codes included in the machining program 40.
  • the process number “1” does not correspond to the T code. This means the beginning of the program.
  • the process information table created in this way operations performed in blocks from the first line of the machining process to the previous line of the next machining process are collectively referred to as a machining process. That is, the CPU 32 recognizes from the line including the T code recognized as process name data to the line immediately before the line including the next recognized T code as the process of processing the previously recognized T code.
  • step S16 the CPU 32 operates the display device 34 based on the process information table, and displays a character string indicating a T code as a machining process in the process list display area 35a. As shown in FIG. 20, a process number “1” indicates that the machining program 40 is at the top (Program Top).
  • step S23 the CPU 32 sequentially searches the coordinate value data excluding the coordinate value data associated with the G code related to the coordinate system setting from the top of the machining program 40, and determines the number of program lines, the type of G code, Then, coordinate value data (command position coordinates) is extracted, and a coordinate value table is created in the memory 38.
  • coordinate value data not accompanied by a G code, it is handled as if the last G code before that was omitted.
  • the coordinate value of the coordinate value table created in this way is the coordinate value of the end point position by the G code or the coordinate value of the point defining the machining shape. Note that the initial position is assumed to be located at the machine origin as a premise of drawing the movement path as a machining shape.
  • the CPU 32 displays the machining shape of the workpiece 10 in the shape display area 35b in step S26a.
  • the CPU 32 first sets the coordinate point indicated by the coordinate value data and the connection line connected to the point from the top to the last line of the coordinate value table based on the value of the coordinate value table in the three-dimensional virtual space.
  • the 3D model is created by arranging and stored in the memory 38 as a machining shape model.
  • the CPU 32 converts the processed shape model into a two-dimensional figure based on the set viewpoint (projects it on the display plane). Then, the CPU 32 displays the two-dimensional figure in the shape display area 35b.
  • connection line formed by the coordinate value table is the connection line that connects the point indicated by the coordinate value data at the beginning of the coordinate value table and the machine origin that is the initial position, and is the connection line at the beginning of the coordinate value table.
  • the line connects the coordinate point indicated by the coordinate value data in the coordinate value table and the coordinate point indicated by the coordinate value data immediately before the coordinate value data.
  • connection line indicated by a row in the coordinate value table is a connection line that connects the coordinate point indicated by the coordinate value data of the row and the coordinate point indicated by the coordinate value data of the previous row, and It can also be said that it is a connection line whose end point is the coordinate point indicated by the coordinate value data of the row.
  • the machining shape displayed by the above processing given as an example of the definition shape obtained by the machining program is strictly different from the machining shape obtained as a result of the machining, the machining obtained by the simple processing described above. Even if it is a shape, it is sufficiently practical to identify the processing site. And, the machining program editing support device is simple in the process for creating the machining shape model, so compared with the conventional movement path display method for calculating and displaying the actual movement path of the tool, The time required for processing is very short, and it is suitable as a support function for specifying the editing part of the machining program.
  • the processed shape is a display candidate of the shape display area 35b, and the processed shape to be displayed is variable depending on the viewpoint and display magnification setting when converting the graphic image into a two-dimensional graphic.
  • FIG. 24 shows processing when a specific part of the process list display area 35a is instructed.
  • the processing shown in FIG. 24 is realized by the editing support program 42 being executed by the CPU 32.
  • the process shown in FIG. 24 constitutes the control of the display control unit.
  • the processing corresponding to the processing shown in FIG. 15 is given the same step number for convenience, and the description is omitted.
  • the CPU 32 selectively displays the machining shape of the designated machining process as a designated display target in the shape display area 35b (S59).
  • FIG. 25A shows a state where the machining process “TNo. 3” with the process number “3” is tapped in the process list display area 35a
  • FIG. 25B shows the process number in the shape display area 35b. Only the machining shape of the machining process “TNo. 3” in which “3” is “3” is selectively displayed. Specifically, the CPU 32 first erases the screen of the shape display area 35b, and then acquires the start program line number and the end program line number with the process number “3” from the process information table, and the start program line from the coordinate value table. By obtaining data from the line to the end program line and displaying the machining shape, the machining shape of only the process number “3” is displayed.
  • the CPU 32 stores all program data of the specified machining process in the shape display area 35b.
  • the definition shape by the program data is selected and designated as the display target. This is called full line processing.
  • the CPU 32 designates the first line of the specified machining process, that is, the line recognized as the process name data, as the designated display target, and already displays that line. If it is, the cursor is moved to indicate that the line is to be designated and displayed, and this is called single line processing.
  • FIG. 25B shows detailed data of the machining program 40 displayed as a display target in the program data display area 35c after the processing of step S56. This is shown in FIG. Are the same as the detailed data of the machining program 40 displayed as the display object in the program data display area 35c, and only the cursor K is moved. This is an example in which cueing is not performed because data describing the selected machining process can be displayed without changing the detailed data of the machining program 40 displayed in the program data display area 35c. is there. Incidentally, the cursor K is displayed on the line described as “T3T7M6”.
  • T3 which is the left T code
  • T7 which is the right T code
  • T7 is the tool data used for the next machining.
  • this line defines machining using a tool whose T code is “T7”.
  • FIG. 25B when the cursor K is moved to the line described as “T3T7M6”, that portion is designated as a display target.
  • FIG. 26A shows a state where the machining process “TNo. 27” having the process number “6” is tapped in the process list display area 35a
  • FIG. 26B shows the process number in the shape display area 35b. Only the machining shape of the machining process “TNo. 27” having “6” is selectively displayed as the designated display target. In this case, as a result of cueing, the detailed data of the program displayed in the program data display area 35c in FIG. 26B is the details of the program displayed in the program data display area 35c in FIG. It is different from the data.
  • the user quickly grasps the machining shape of the designated machining process from the image in the shape display area 35b by tapping one of the machining processes displayed in the process list display area 35a. can do. Further, the data describing the machining process can be quickly grasped by the detailed data of the machining program 40 displayed in the program data display area 35c.
  • the machining process is identified in the state where the machining shape of the identified machining process is originally displayed, and thereafter, the display objects other than the designated display object disappear. Only the specified display target is displayed.
  • the processing step is specified in a state where the processing shape of the specified processing step is not displayed, such as by changing the viewpoint for conversion of the graphic image into a two-dimensional figure
  • the magnification of the two-dimensional figure is changed in accordance with the size of the shape display area 35b, and the designated display target is displayed at the center of the shape display area 35b by parallel movement of the viewpoint.
  • FIG. 27 shows processing when a specific portion of the shape display area 35b is designated.
  • the processing shown in FIG. 27 is realized by the editing support program 42 being executed by the CPU 32.
  • the process shown in FIG. 27 constitutes the control of the display control unit.
  • the processing corresponding to the processing shown in FIG. 12 is given the same step number for convenience, and the description is omitted.
  • the CPU 32 creates a machining shape table in step S34a. That is, when a specific location in the shape display area 35b is tapped, the CPU 32 sets the specified point as the center in the two-dimensional machining shape model displayed in the shape display area 35b based on the output value of the touch panel 36. A line existing in a region within a circle having a predetermined radius is extracted. In the present embodiment, in consideration of the fact that the machining shape displayed in the shape display area 35b is a line, this is a process for regarding that the area within the circle is designated as a specific location. Then, based on the coordinate value table shown in FIG. 23, the number of original program lines in which the extracted lines are created is acquired.
  • the machining shape table is generated by enumerating the acquired number of program lines.
  • the displayed line and the number of program lines may be stored in the memory 38 as a set. According to this, the number of program lines can be acquired more quickly.
  • the CPU 32 operates the display device 34 in step S36a, and the machining shape (connection line) determined by the first data of the number of program lines listed in the machining shape table in the shape display area 35b, that is, the machining shape.
  • the machining shape (connection line) registered at the top of the table is highlighted as a designated display target. That is, only the line of the corresponding part is changed in color, or the line is thickened.
  • the CPU 32 operates the display device 34 in step S38a, searches the process list display area 35a for a machining process including the corresponding program line number based on the process information table, and obtains the process of the obtained machining process.
  • the number string is highlighted as the specified display target.
  • step S40 the CPU 32 operates the display device 34 based on the process information table, cues the detailed data of the corresponding program in the program data display area 35c as a designated display target, and also displays the line, that is, The cursor is moved to the line indicated by the number of program lines in the machining shape table adopted as the designated display object in the shape display area 35b.
  • the user who feels that there is a part of interest in the machining shape displayed in the shape display area 35 b is tapped to the machining process for machining into the machining shape. It is possible to quickly grasp where in the entire machining process corresponds to the highlight of the process list display area 35a. Further, the contents of the program can be quickly grasped from the detailed data of the machining program 40 cued in the program data display area 35c. In addition, when the same part of a workpiece is repeatedly processed with a number of tools, it may be difficult to determine which tool is processed due to a complicated processing shape. After tapping the process number or tool name in the process list display area 35a and displaying the machining shape of only the machining process once, the target machining shape can be quickly identified by tapping the shape display area 35b. it can.
  • FIG. 28 shows processing when a specific part of the program data display area 35c is designated.
  • the processing shown in FIG. 28 is realized by the editing support program 42 being executed by the CPU 32. This process constitutes the control of the display control unit.
  • processes corresponding to the processes shown in FIG. 16 are denoted by the same step numbers for convenience.
  • step S80 determines in step S80 whether or not the number of program lines at the cursor position is the same as before, and if it is determined that the program line has been moved to a different number (S80: NO), The machining shape (connection line) determined by the number of program lines to be positioned is designated as a display target in the shape display area 35b and is highlighted (S82).
  • the CPU 32 acquires a process number corresponding to the number of program lines where the cursor is located based on the process information table (S62a). That is, since the number of program lines at the beginning of each machining process is described in the process information table, the process number can be acquired based on this.
  • the CPU 32 determines whether or not the process number specified in step S62a is currently selected (S64a). If it is determined that the process number is not currently selected (S64a: NO), the display of the process list display area 35a is updated (S66).
  • the user taps a character string of arbitrary data among the detailed data of the machining program 40 displayed in the program data display area 35c, thereby highlighting the process list display area 35a.
  • the machining shape determined by the data can be quickly grasped by highlighting the shape display area 35b.
  • the process step displayed in the process list display area 35a is defined in advance as a T code.
  • the user can select several codes as codes for separating machining processes. That is, the machining program editing support device defines a specific command code to be handled as a machining process delimiter as a machining process extraction code in a machining program according to the EIA / ISO standard, and sets the machining process extraction code by the user. Is possible.
  • the display control unit provided in the machining program editing support device accepts at least one command code as a machining process partition via the input device, and determines the received specific command code as a machining process extraction code,
  • the machining process extraction code is handled as process name data.
  • FIG. 29 shows a setting example of processing steps according to the present embodiment.
  • the machining program 40 according to the present embodiment is described at the right end.
  • the machining program 40 according to the present embodiment also complies with the EIA / ISO standard.
  • parentheses are used in the machining program 40, and a comment is written in the parentheses. In the present embodiment, this is referred to as a comment command code CC.
  • the comment command code CC does not contribute at all to the command signal output to the multi-task machine 20 by the numerical control device 30, but is arbitrarily described by the user.
  • FIG. 29 shows an example in which the machining process extraction code is a tool change command code as an example.
  • the tool change command code is a code for commanding tool change.
  • This is basically a T code.
  • the T code and the M code are used as a set, and “T ** M06: * is an arbitrary number” is used to actually change the spindle by automatic tool change.
  • An example is shown in which a tool to be mounted is described, and a tool to be prepared for tool replacement is described by “T ** M ##: ## is a number other than 06”.
  • the T code commanded in the same way as “M06” is used as the machining process.
  • FIG. 29 shows another example in which the machining process extraction code includes two tool change command codes and a coordinate system command code.
  • the coordinate system command code is a command code for selecting the coordinate system of the workpiece 10, and is specifically “G54 to 59”.
  • these “G54 to 59” are used when a plurality of workpieces are machined by a single machining program 40. In this case, the user can grasp which work is processed by “G54 to 59”.
  • FIG. 29 shows another example in which the machining process extraction code is a comment command code CC. Since the comment command code is arbitrarily written by the user, by using this as a machining process, the user can use expressions that are easy to understand for himself, making it easy to grasp the contents of the machining and processing the target. The process can be found quickly.
  • the comment command code CC is included in the display candidates of the program data display area 35c.
  • FIG. 30 shows a procedure of processing process extraction code setting processing according to the present embodiment. This process is realized by the CPU 32 executing the editing support program 42.
  • the CPU 32 first executes a machining process extraction code setting request process that requests the user to set a machining process extraction code (S90). Specifically, for example, a message such as “Please select a code to be processed” is displayed on the screen 35 of the display device 34, and each of the tool change command code, the coordinate system command code, and the comment command code is displayed. , “Select” or “Do not select” may be displayed adjacent to each other.
  • “select” is displayed for the tool change command code and the coordinate system command code. May be tapped, and a comment command code may be tapped in a region where “not selected” is displayed.
  • the CPU 32 determines whether or not a tool change command code has been selected (S92). When determining that the tool change command code has been selected (S92: YES), the CPU 32 includes the tool change command code in the machining process extraction code (S94).
  • the CPU 32 determines whether or not the coordinate system command code is selected when the process of step S94 is completed or when a negative determination is made in step S92 (S96). If the CPU 32 determines that the coordinate system command code has been selected (S96: YES), it includes “G54 to G59” in the machining process extraction code (S98).
  • the CPU 32 determines whether or not a comment command code has been selected when the process of step S98 is completed or when a negative determination is made in step S96 (S100). When determining that the comment command code has been selected (S100: YES), the CPU 32 includes the comment command code in the machining process extraction code (S102).
  • the CPU 32 When determining the machining process extraction code in this way, the CPU 32 extracts a machining process from the machining program 40 and creates a process information table in the process of step S14a of FIG.
  • the process information table may be a table that associates process numbers with the number of program lines, for example, and may not store T codes or the like.
  • the CPU 32 may extract the machining process from the machining program 40 based on the number of program lines defined in the process information table. In this case, the extracted character string image of the machining process is an image to be displayed in the process list display area 35a.
  • the process information table may be a table that associates the process number, the machining process, and the number of program lines.
  • ⁇ Other embodiments> Each of the above embodiments may be modified as follows. ⁇ About the display method of the designated display target In FIG. 13, FIG. 26, etc., in the process list display area 35a, a method of increasing the luminance while changing the color of the designated display target image is illustrated, but the present invention is not limited to this. For example, the luminance may be increased without changing the color. Further, for example, the color may be changed without increasing the luminance. Further, for example, a cursor may be displayed near the designated display target.
  • the designated display object is cued in the program data display area 35c, and the cursor K is moved to a specific part of the object, but the present invention is not limited to this.
  • the position of the cursor K is not defined and the cursor K need not be displayed.
  • an image of a specific character string in the program data display area 35c may be tapped to cause the cursor K to appear at that portion.
  • FIG. 13 when there is no target to be highlighted in the machining process displayed in the process list display area 35a, the cue process is performed and the highlight is performed. Display may be performed.
  • the processing shape is highlighted in the shape display area 35b, but the present invention is not limited to this.
  • the color may be changed instead of the highlight display.
  • an arrow indicating a highlighted portion may be displayed together with the highlight display, and for example, only the arrow may be displayed without performing the highlight display.
  • the CPU 32 highlights the machining shape to be machined by the machining process in the shape display area 35b. For example, only the processed shape may be displayed as a solid line and the rest may be displayed as a broken line.
  • the size and the arrangement coordinates of the process list display area 35a, the shape display area 35b, and the program data display area 35c are fixed, but the present invention is not limited to this.
  • the program data display area 35c is reduced by instructing that those areas are enlarged below FIG.
  • the area 35a and the shape display area 35b are enlarged.
  • the process list display area 35a, the shape display area 35b, and the program data display area 35c are always displayed in the screen 35.
  • the program data display area 35c can be displayed as necessary, so that the information displayed in each area can be easily associated with the user.
  • Whether the tool conversion command code, the coordinate system command code, and the comment command code are to be adopted as the breaks in the machining process is not limited to that determined by a user instruction. For example, it may be determined by the user's instruction which of the tool change command code and the coordinate system command code is to be adopted as the break of the machining process. Further, for example, it may be determined by the user's instruction which one of the coordinate system command code and the comment command code is adopted as the break of the machining process. Further, for example, it may be determined by a user instruction which one of the tool change command code and the comment command code is adopted as a break of the machining process.
  • the user's instruction whether or not to adopt at least one of the tool change command code, the coordinate system command code, and the comment command code and a code other than these three types of codes as a machining process breakpoint may be determined by
  • the present invention is not limited to presetting candidates for machining steps, and for example, a user may input a code to be a machining step delimiter and the input code may be determined as a machining step delimiter. May be.
  • the locus when the tool comes into contact with the workpiece 10 and the locus where the tool does not make contact are obtained except for the designated portion of the machining shape displayed in the shape display area 35b.
  • color coding is shown, the present invention is not limited to this.
  • the color of the trajectory when the tool contacts the workpiece 10 may be changed according to the type of G code. But it is not restricted to what makes a color differ only based on the kind of G code. For example, it may be color-coded according to which tool is used based on the T code.
  • the shape to be displayed in the shape display area 35b is generated based on the difference set of shapes (coordinate information) defined by the shape sequence data (FIG).
  • the machining shape data is generated by connecting the points on the space indicated by the plurality of coordinate value data set in the machining program 40 with the line having the attribute determined by the G code.
  • the processing shape data to be displayed in the shape display area 35b based on the difference set of coordinate information defined by the processing program or the line connection processing is not limited to the above.
  • a simulation for converting the machining program 40 into a code used by the numerical control device 30 and machining the workpiece 10 may be executed, and data generated by the simulation may be processed shape data displayed in the shape display area 35b.
  • data generated by the simulation may be processed shape data displayed in the shape display area 35b.
  • the data having the machining shape data including the shape information of the machined workpiece is not limited to the data illustrated in FIGS.
  • a plurality of units that define machining shapes independent of tools may be provided, and data (units) that define tools that can be combined with these units may be separately provided.
  • a machining program may be created by describing a unit that defines a tool after a unit that defines a machining shape.
  • the editing support program 42 is not limited to be executed by the CPU 32.
  • at least a part of the functions realized by the editing support program 42 being executed by the CPU 32 in the above embodiment may be realized by dedicated hardware means.
  • the composite processing machine is not limited to the one exemplified in the above embodiment.
  • a function of cutting the workpiece 10 by rotating the workpiece 10 as in a lathe may be mounted, but a function of fixing the workpiece 10 and rotating the tool to perform machining as in a milling machine may be mounted.
  • the invention is not limited to the one provided with the touch panel 36.
  • a device such as a mouse that can indicate a specific part of the display area may be used.
  • the specific portion is not limited to a point but may be a region having a width.
  • it is desirable that an image of a machining process or a data image including a part of the specific location is designated.

Landscapes

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

Abstract

 表示制御部は、プログラムデータ表示領域および工程一覧表示領域のいずれか一方の表示領域に当該一方の表示領域の前記表示対象が表示されているときに、前記一方の表示領域の特定箇所が前記入力装置を介して指定されると、前記一方の表示領域の前記表示対象と前記特定箇所と、により特定される表示対象を、当該一方の表示領域の指定表示対象として、当該一方の表示領域における他の表示対象とは差別化して表示する。また、他方の表示領域の表示候補のなかで前記一方の表示領域の指定表示対象に対応する表示候補を、当該他方の表示領域の指定表示対象として、当該他方の表示領域の表示対象に含めて且つ、当該他方の表示領域における他の表示対象とは差別化して表示する。

Description

加工プログラム編集支援装置
 本発明は、工作機械によるワークの加工の仕方を定義するデータが各加工工程に区切られている加工プログラムの編集を支援する加工プログラム編集支援装置に関する。
 たとえば特許文献1には、加工プログラムの試し加工時に、加工工程毎に再加工を行うために、加工プログラムに加工工程単位毎に付加された工程識別情報を基に加工工程の区切りを認識し、認識した加工工程毎に実行、停止を制御する技術が開示されている。特に、加工プログラムが長くなると、目的の加工工程を加工プログラム上で見付けることに時間を要するようになり、この機能によって試し加工時の再加工を行う際の再加工開始位置の設定が容易となった。
特開平5-158517号公報
 しかし、上記特許文献1は、試し加工時の操作を容易にはしたが、加工プログラムの編集を容易にしようとする観点がなく、特に加工プログラムが複雑で長い場合には、加工プログラムの加工の構成が俯瞰できないため、編集すべき加工箇所を見付けることが困難である。
 本発明は、そうした実情に鑑みてなされたものであり、その目的は、加工工程を記述するデータと、加工工程との対応を迅速に把握することのできる加工プログラム編集支援装置を提供することにある。
 以下、上記課題を解決するための手段およびその作用効果について記載する。
 技術的思想1:工作機械の加工プログラムの編集を支援する加工プログラム編集支援装置において、表示装置と、該表示装置の画面上の任意の点を指定する入力装置と、前記画面を、プログラムデータ表示領域および工程一覧表示領域を含む少なくとも2つの表示領域に分割して表示する表示制御部と、を備え、前記加工プログラムは、各加工工程に区切られたデータを含むプログラムデータを有し、該プログラムデータは、各加工工程での加工の方法を定義する加工方法データと、各加工工程での加工に寄与する形状を定義する形状定義データとを含み、前記加工方法データは、当該加工方法データに対応する前記加工工程の工程名称を示す工程名称データを含み、前記表示制御部は、前記プログラムデータ表示領域の表示候補を前記プログラムデータとし、該プログラムデータの少なくとも一部を表示対象として前記プログラムデータ表示領域に表示し、前記工程一覧表示領域の表示候補を前記工程名称データとし、該工程名称データの少なくとも一部を表示対象として前記工程一覧表示領域に表示し、前記プログラムデータ表示領域および前記工程一覧表示領域のいずれか一方の表示領域に当該一方の表示領域の前記表示対象が表示されているときに、前記一方の表示領域の特定箇所が前記入力装置を介して指定されると、前記一方の表示領域の前記表示対象と前記特定箇所と、により特定される表示対象を、当該一方の表示領域の指定表示対象として、当該一方の表示領域における他の表示対象とは差別化して表示し、また、他方の表示領域の表示候補のなかで前記一方の表示領域の指定表示対象に対応する表示候補を、当該他方の表示領域の指定表示対象として、当該他方の表示領域の表示対象に含めて且つ、当該他方の表示領域における他の表示対象とは差別化して表示することを特徴とする加工プログラム編集支援装置。
 上記装置では、表示制御部によって、以下の少なくとも一方の処理がなされる。
 (a)プログラムデータ表示領域に表示対象が表示されているときに入力装置を介してプログラムデータ表示領域の特定箇所が指定されると、プログラムデータ表示領域に表示されている表示対象と特定箇所とにより特定されるプログラムデータを、プログラムデータ表示領域の指定表示対象に特定し、他の表示対象と差別化して表示する。また、工程一覧表示領域の指定表示対象を、当該プログラムデータに対応する工程名称データとし、他の表示対象と差別化して表示する。
 (b)工程一覧表示領域に表示対象が表示されているときに入力装置を介して工程一覧表示領域の特定箇所が指定されると、工程一覧表示領域に表示されている表示対象と特定箇所とにより特定される工程名称データを指定表示対象に特定し、他の表示対象と差別化して表示する。また、プログラムデータ表示領域の指定表示対象を、当該工程名称データに対応するプログラムデータとし、他の表示対象と差別化して表示する。
 上記(a)の処理によれば、プログラムデータ表示領域に表示されているプログラムデータに気になるものを感じたユーザが、該当する特定箇所を指定することで、工程一覧表示領域において該当する工程名称データが指定表示対象として差別化して表示される。このため、気になったプログラムデータが記述する加工工程が加工工程全体のどの工程に該当するかを迅速に把握することができる。また、上記(b)の処理によれば、工程一覧表示領域に表示されている特定の工程名称データに対応するプログラムデータを知りたい場合、同工程名称データを指定することで、プログラムデータ表示領域においてその工程名称データに対応するプログラムデータが差別化されて表示される。このため、ユーザは、所望の工程名称データに対応するプログラムデータを迅速に把握することができる。
 以上より、上記装置によれば、加工工程を記述するデータと、加工工程との対応を迅速に把握することができる。特に、プログラムデータが長大な場合は、プログラムデータ表示領域には加工プログラムの一部しか表示されないため、加工の全容を理解するのに困難を伴う。しかし、上記装置によれば、ユーザは、加工の概要を工程一覧表示領域に表示される加工工程の流れで理解し、加工工程の詳細をプログラムデータ表示領域で確認できるため、ユーザが、加工プログラムの編集を行ったり、内容の確認を行ったりするときに、短時間でプログラムデータの目的の箇所を特定することができる。
 技術的思想2:前記加工方法データは、加工を行う工具を指定する工具交換指令コードと、座標系を選択するための座標系指令コードと、加工動作に何ら寄与しないコメントを前記プログラムデータ中に記載するためのコメント指令コードと、を含み、前記形状定義データは、工具の移動経路を定義する形状指令コードを含み、前記加工プログラムは、前記加工方法データおよび前記形状定義データを、実行順に1行ずつ定義されており、前記表示制御部は、前記工具交換指令コードと、前記座標系指令コードと、前記コメント指令コードとの少なくとも一つを前記工程名称データとして認識し、前記加工プログラムにおいて、前記工程名称データとして認識した指令コードを含む行から、次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識することを特徴とする技術的思想1に記載の加工プログラム編集支援装置。
 加工を行う工具を指定する指令コードや、加工の形状を定義するための座標系の選択を行う指令コードは、加工プログラムのなかに必ず含まれるデータである。上述した構成であれば、加工工程の区切りとしてそれを専用とするデータが入力されていない加工プログラムであっても、これらの指令コードの少なくとも一つを加工工程の区切りとして加工工程一覧表を表示させることができる。
 例えば、上記工具交換指令コードが加工工程の区切りとして採用される場合、工具が相違する工程ごとに加工工程が表示されることとなる。このため、ユーザは、工程一覧表示領域に表示された加工工程から、それら加工工程がいずれの工具を用いた加工工程に関するものかを容易に把握することができる。
 上記座標系指令コードは、たとえば複数のワークの加工工程を1つの加工プログラムで記述する場合に、ワーク毎に座標系を設定するために利用される。この場合、座標系指令コードが加工工程として採用される場合、ユーザは、工程一覧表示領域に表示された加工工程から、それら各加工工程がいずれのワークを加工する加工工程に関するものかを容易に把握することができる。
 上記コメント指令コードは、ユーザが加工プログラムに適宜挿入するものである。このため、コメント指令コードが加工工程として採用される場合、ユーザが加工工程として分かり易い表現でコメントをプログラムデータのなかに入力することで、編集すべき加工プログラムの箇所をユーザがより分かり易く、また素早く特定することができる。
 技術的思想3:前記加工プログラムは、EIA/ISOで規定される指令コードを実行順に1行ずつ定義されるプログラムであり、前記表示制御部は、少なくとも1つの特定の指令コードを加工工程の区切りとする旨の指示を、前記入力装置を介して受け付け、該受け付けた特定の指令コードを加工工程抽出コードとして定め、当該加工工程抽出コードを前記工程名称データとして認識し、前記加工プログラムにおいて、前記工程名称データとして認識した指令コードを含む行から、次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識することを特徴とする技術的思想1に記載の加工プログラム編集支援装置。
 EIA/ISO規格に準じた加工プログラムには、加工工程を定義するコードが含まれないことが多い一方で、加工工程を実質的に定義することを可能にした指令コードは存在する。上述した構成であれば、こうした特定の指令コードを加工工程抽出コードとして定義することによって、加工プログラム編集支援装置は、加工プログラムを加工工程に分割することができ、加工プログラムとしては長いEIA/ISO規格に準じた加工プログラムであっても、所望の編集対象箇所をユーザは短時間で特定することができる。
 技術的思想4:前記表示制御部は、前記画面に、更に、1行ずつ定義された前記形状定義データから得られる定義形状を表示候補とする表示領域を形状表示領域として設け、前記定義形状の少なくとも一部を表示対象として表示すると共に、前記プログラムデータ表示領域、前記工程一覧表示領域、および前記形状表示領域のいずれか1つの表示領域に当該表示領域の前記表示対象が表示されているときに、該いずれか1つの表示領域の特定箇所が前記入力装置を介して指定されると、当該いずれか1つの表示領域に表示された表示対象と前記特定箇所と、により特定される表示対象を、該いずれか1つの表示領域の指定表示対象として、該いずれか1つの表示領域における他の表示対象とは差別化して表示し、また、残りの2つの表示領域における表示候補のなかで前記いずれか1つの表示領域の指定表示対象に対応する、残りの2つの表示領域のそれぞれの表示候補を、当該残りの2つの表示領域のそれぞれの指定表示対象として、前記それぞれの表示領域の表示対象に含めて且つ、当該それぞれの表示領域の他の表示対象とは差別化して表示することを特徴とする技術的思想2に記載の加工プログラム編集支援装置。
 上記装置では、各加工工程での工具の移動経路を定義する形状指令コードを含む形状定義データから得られる定義形状が、プログラムデータや工程名称と対応付けられて表示されるため、ユーザは編集すべき箇所をさらに迅速に特定することができる。例えば、加工形状を定義する基準となる座標系の設定データをユーザが間違えたりすると、その座標系を採用した加工形状のみが他の加工形状とはかけ離れた場所に表示されたりする。その加工形状が特定されることにより、関連する加工工程やプログラムデータが具体的に特定できるため、容易に間違ったデータを修正することができる。また、単純な座標値データの入力ミス、例えば座標値データの入力される行が1桁間違えられて入力されたような場合も、その座標点だけが他の座標点とは全く関係のない場所に表示されるため、間違って入力されたプログラムデータの特定は極めて容易である。
 技術的思想5:前記形状指令コードは、座標値データを有し、前記表示制御部は、前記加工プログラムを解析して、前記形状指令コードと前記座標値データとこれら2つのデータの格納場所を示すプログラム行数と、を、それぞれ格納した座標値テーブルを作成し、該座標値テーブルの前記座標値データが示す座標点を順次接続線で接続して前記定義形状を作成することを特徴とする技術的思想4に記載のプログラム編集支援装置。
 加工プログラムを、工具の移動経路を定義する形状指令コードを用いて作成すると、加工サイクルや特殊加工サイクル等と組み合わされた座標値データに基づいて、移動経路が計算される場合がある。実際の移動経路が定義形状として表示されると、移動経路を算出するための前処理に要する時間の分だけ、表示に要する時間が長くなってしまう。上記構成であれば、指令された座標値データが示す点が単純に接続されることによって定義形状が表示されるため、定義形状を表示するための前処理が行われることなく定義形状が表示される。定義形状の表示に要する時間が短縮されるため、加工プログラムの編集箇所をユーザが特定しようとしてプログラムデータの複数個所を指定しても、関連する定義形状が瞬時に表示され、ユーザはストレスを感じることなくこれらの操作が可能となる。また、ユーザが、表示された加工形状に誤りを発見し、関連するプログラムデータを特定して誤りを修正した後も、瞬時に関連する加工形状が再表示されるので、プログラムデータの編集作業においても、ユーザはストレスを感じることなく作業を行うことができる。なお厳密には、表示される定義形状は実際の移動経路とは若干異なるが、加工工程に対応する加工形状をユーザが識別するには十分な形状が得られるため、特に問題とはならない。
 技術的思想6:前記形状表示領域の指定表示対象の候補が登録されるテーブルが、加工形状テーブルであり、前記表示制御部は、前記形状表示領域に前記表示対象が表示されているときに該形状表示領域の特定箇所が前記入力装置を介して指定されると、少なくとも一部が前記特定箇所を中心とした所定領域に含まれる表示対象の前記接続線を、前記形状表示領域の前記指定表示対象の候補として前記加工形状テーブルに登録し、該加工形状テーブルの先頭に登録された指定表示対象の候補を指定表示対象として前記形状表示領域に表示し、前記表示制御部は、前記特定箇所との距離が所定量以内の箇所が前記入力装置を介して連続して指定される場合、前記加工形状テーブルに登録された順に従って次の前記指定表示対象の候補を前記形状表示領域の指定表示対象として前記形状表示領域に表示することを特徴とする技術的思想5に記載の加工プログラム編集支援装置。
 上記構成によれば、多数の定義形状が特定箇所の近傍に入り乱れているとしても、ユーザは、編集の目的とする定義形状に関する情報を取得することができる。
 技術的思想7:前記プログラムデータ表示領域および形状表示領域のいずれか一方の表示領域で前記特定箇所を指定した結果、前記形状表示領域における前記指定表示対象が特定された場合、前記形状表示領域の前記指定表示対象は、前記1行ずつ定義された前記座標点を終点とする前記接続線であり、前記表示制御部は、前記指定表示対象とされた前記接続線を、前記形状表示領域における他の表示対象の前記接続線を示す線の線種、太さ、色の少なくとも1つを変更した線で表示することにより、前記形状表示領域における指定表示対象を差別化して表示することを特徴とする技術的思想6に記載の加工プログラム編集支援装置。
 プログラムデータ表示領域と形状表示領域で指定表示対象を特定することによって、形状表示領域の指定表示対象を特定した場合は、プログラムデータ1行単位に対応する定義形状が、他の定義形状とは差別化されて表示される。つまり、形状とプログラムデータが1行単位で特定できるため、編集すべきプログラムデータの行を、形状を参照しながら特定することができ、正確なプログラムデータを素早く特定することができる。
 技術的思想8:前記表示制御部は、前記工程一覧表示領域に前記表示対象が表示されているときに、前記工程一覧表示領域の特定箇所が前記入力装置を介して指定されて前記指定表示対象が特定されたとき、前記工程一覧表示領域で前記指定表示対象とされた前記工程名称データに対応する前記プログラムデータを、前記工程名称データが指令された行のデータとする単独行処理と、前記工程名称データが属する前記加工工程のすべての行のデータとする全行処理と、を選択的に行うと共に、前記プログラムデータ表示領域の指定表示対象は前記単独行処理によって得られる行のプログラムデータとし、前記形状表示領域の指定表示対象は前記全行処理によって得られるプログラムデータに基づく定義形状とし且つ、前記指定表示対象とされた前記加工工程の定義形状を除く定義形状を表示しないことで前記指定表示対象を差別化して表示することを特徴とする技術的思想6に記載の加工プログラム編集支援装置。
 行毎に移動経路を指令する加工プログラムにおいては、加工に要する移動経路が非常に多く、また、互いに異なる移動経路が狭い領域に密集するように、多数の移動経路が描画されるため、編集の目的とされる加工工程での定義形状を特定することが容易ではない。上記装置であれば、特定の加工工程の定義形状を除く他の定義形状が表示されないため、編集の目的とされる加工工程での定義形状を特定することが容易である。
 技術的思想9:前記加工方法データは、加工を行う工具を指定する工具交換指令コードを含み、前記形状定義データは、工具の移動経路を定義する形状指令コードを含み、前記加工プログラムは、前記加工方法データおよび前記形状定義データを、実行順に1行ずつ定義されており、前記表示制御部は、前記工具交換指令コードを前記工程名称データとして認識し、前記加工プログラムにおいて前記工程名称データとして認識した指令コードを含む行から次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識することを特徴とする技術的思想1記載の加工プログラム編集支援装置。
 加工を行う工具を指定する工具交換指令コードは、加工プログラムのなかに必ず含まれる。単純に、加工する工具で加工工程を分割して加工工程一覧を表示するだけであっても、十分効果的に対応可能な加工プログラムは多い。上記構成は、簡易的に工程一覧表示を実現し、加工プログラム編集箇所の特定を容易にすることができる。
 技術的思想10:前記加工方法データは、加工を行う工具を指定する工具交換指令コードと、座標系を選択するための座標系指令コードと、加工動作に何ら寄与しないコメントを前記プログラムデータ中に記載するためのコメント指令コードと、を含み、前記形状定義データは、工具の移動経路を定義する形状指令コードを含み、前記加工プログラムは、前記加工方法データおよび前記形状定義データを、実行順に1行ずつ定義されており、前記表示制御部は、前記工具交換指令コードと、前記座標系指令コードと、前記コメント指令コードと、のそれぞれを加工工程の区切りとするか否かの指示を、前記入力装置を介して受け付け、該受け付けた指令コードを加工工程抽出コードとして定め、当該加工工程抽出コードを前記工程名称データとして認識し、前記加工プログラムにおいて、前記工程名称データとして認識した指令コードを含む行から、次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識することを特徴とする技術的思想1記載の加工プログラム編集支援装置。
 前述した通り、加工を行う工具を指定する指令コードや、加工の形状を定義するための座標系の選択を行う指令コードは、加工プログラムのなかに必ず含まれる。あるいは、加工プログラム中に加工動作に影響を与えることなくユーザのコメントを挿入するコメント指令コードを用いて、独自に工程管理を行っているユーザは存在する。技術的思想2の構成は、これらの加工プログラムを解析して、工程一覧表を表示させる機能を実現するものである。しかし、加工プログラムによっては、これらの指令コードを選択的に使用しないと、分割された加工工程が無意味に多数に分割されたりして、使用に際して更なる改善を求められる場合がある。上記構成によれば、加工プログラムに応じてどの指令コードを採用するかをユーザが選択できるため、どの様な加工プログラムであっても、工程一覧表の機能を適切に使用できるよう、調整することが可能となる。
第1の実施形態にかかるシステム構成図。 同実施形態にかかる加工プログラムの構成ファイルを示す図。 同実施形態にかかる加工ユニットの種類を示す図。 同実施形態にかかる製品形状を示す斜視図。 同実施形態にかかる加工プログラムを例示する図。 同実施形態にかかる編集支援画像を例示する平面図。 同実施形態にかかる初期表示処理の手順を示す流れ図。 同実施形態にかかる一工程における加工ユニットを例示する図。 上記加工ユニットによって定まる加工形状を示す斜視図。 同実施形態にかかる一工程における加工ユニットを例示する図。 上記加工ユニットによって定まる加工形状を示す斜視図。 同実施形態の形状表示領域がタップされた際の処理の手順を示す流れ図。 (a)および(b)は、同実施形態の形状表示領域がタップされた際の処理を例示する図。 (a)および(b)は、同実施形態の形状表示領域がタップされた際の処理を例示する図。 同実施形態の工程一覧表示領域がタップされた際の処理の手順を示す流れ図。 同実施形態のプログラムデータ表示領域がタップされた際の処理の手順を示す流れ図。 同実施形態のプログラムデータ表示領域のデータが更新された際の処理の手順を示す流れ図。 (a)および(b)は、同実施形態のプログラムデータ表示領域のデータが更新された際の画像を例示する図。 第2の実施形態にかかる加工プログラムを例示する図。 同実施形態にかかる編集支援画像を例示する平面図。 同実施形態にかかる初期表示処理の手順を示す流れ図。 同実施形態にかかる工程情報テーブルを示す図。 同実施形態における座標値テーブルを示す図。 同実施形態の工程一覧表示領域がタップされた際の処理の手順を示す流れ図。 (a)および(b)は、同実施形態の工程一覧表示領域がタップされた際の処理を示す図。 (a)および(b)は、同実施形態の工程一覧表示領域がタップされた際の処理を示す図。 同実施形態の形状表示領域がタップされた際の処理の手順を示す流れ図。 同実施形態のプログラムデータ表示領域がタップされた際の処理の手順を示す流れ図。 第3の実施形態にかかる工程一覧表示領域の見出しとされるコードを例示する図。 同実施形態における工程の見出しの選択処理の手順を示す流れ図。
 <第1の実施形態>
 以下、加工プログラム編集支援装置の第1の実施形態について、図面を参照しつつ説明する。
 図1に、本実施形態のシステム構成図を示す。
 ワーク10は、加工対象である。複合加工機20は、ワーク10を回転させながら工具によってワーク10を加工する機能と、ワーク10を固定し、工具を変位させることでワーク10を加工する機能とを備える。換言すると、複合加工機20は、旋盤、フライス盤、ドリル盤等の機能を併せ持つ工作機械である。
 数値制御装置30は、複合加工機20がワーク10を加工するための指令信号を複合加工機20に送信する。数値制御装置30は、中央処理装置(CPU)32、表示装置34、タッチパネル36、ボタン37,およびメモリ38を備えている。表示装置34は、たとえば液晶表示パネルや有機EL表示パネル等を備え、画面に文字列やグラフィック画像を表示する。タッチパネル36は、表示装置34の画面に重ねて配置されている。タッチパネル36は、指や指示棒等の指示部材が接触するか、所定以上近接した点を指定点として検知する機能を有した入力装置である。ボタン37は、タッチパネル36とは別に、ユーザが数値制御装置30に対して特定の指示をする際に用いる専用の入力装置である。
 メモリ38は、数値制御装置30に予め搭載されているプログラム等のデータを記憶するとともに、CPU32が処理を行う際に一時的にデータを記憶する機能を有する。特に、メモリ38には、加工プログラム40や、編集支援プログラム42が記憶されている。
 図2に、本実施形態にかかる加工プログラム40を構成するユニットの例を示す。ユニットとは、ここでは加工や工作機械の周辺装置の動作、あるいはワークの設置場所等を定義するためのデータであって、加工プログラムが有するプログラムデータの一例である。
 本実施形態にかかる加工プログラム40は、大きくは、共通ユニット50、座標系・ワーク姿勢設定ユニット52、加工ユニット54、およびエンドユニット56によって構成されている。ここで、共通ユニット50は、加工プログラム40の先頭に必ず設定するユニットであり、プログラム全体に共通するデータ、例えば素材材質や素材形状等を設定するものであり、素材の形状を定義するデータである素材形状データを含む。座標系・ワーク姿勢設定ユニット52は、機械座標系における加工プログラム原点の座標値(基本座標)や加工時のワークの姿勢等を設定するものである。加工ユニット54は、加工工程の内容を設定するものであり、加工方法を宣言し、使用する工具の指定や、加工時の取り代や、主軸の回転数や、工具の送り速度などの切削条件等のデータである各加工工程での加工方法データを含む。また、加工ユニット54は、各加工工程によって加工する加工形状、詳しくは、各加工工程を実行することによって除去される形状である除去形状を加工工程単位に定義するデータである除去形状データを含む。
 なお、加工におけるワークの形状を定義する形状定義データは、上記素材形状データと上記除去形状データとを含む。加工プログラムを実行する前のワーク形状は、素材形状データによって定義される。各加工工程が行われた後のワーク形状は、加工工程が行われる前のワーク形状と、加工工程の除去形状との差集合演算によって求められる。形状定義データから得られる形状である定義形状は、加工に寄与する形状であり、これら素材の形状、除去形状、各加工工程後の形状であるワーク形状、全ての加工が完了した後のワーク形状である製品形状を含む。また、加工工程単位とは、加工方法データと加工の形状を定義するデータとを1つずつ含む範囲を1つとして加工プログラム編集支援装置で取り扱われる単位である。
 エンドユニット56は、加工プログラム40の最後に設定する、加工プログラムの終了を示すユニットである。
 図3に、加工ユニット54の種類を示す。
 加工ユニット54で定義される加工方法は、「点加工ユニット」、「C軸点加工ユニット」、「線加工ユニット」、「C軸線加工ユニット」、「面加工ユニット」、および「旋削加工ユニット」に分類され、それらは更に細分化されている。すなわち、たとえば、「点加工ユニット」は、「ドリル」ユニットや「タップ」ユニット等に細分化されている。なお、これら各ユニットに含まれるデータのうちユニットの名称やユニットの番号を示すデータは、加工工程の工程名称を示す工程名称データの一例である。
 図4に、本実施形態の説明に利用するワーク10に対し全ての加工が完了した後のワーク形状である製品形状60を示す。製品形状60は、第1円柱部62、第1円柱部62よりも外径が大きい第2円柱部64、第2円柱部64よりも外形が大きい第3円柱部66、第3円柱部66から外径を縮めるように形成されたテーパ部68、およびテーパ部68につながる第4円柱部70を備えている。そして、第3円柱部66には、一部がフラットな面とされたフェイスミル面74が形成され、フェイスミル面74には、ドリル穴76が形成されている。また、第4円柱部70には、凹部78が形成されている。
 図5は、ワーク10を製品形状60に加工するための加工プログラム40である。加工プログラム40は、複数のユニットから構成され、各ユニットは、加工方法データを構成するユニットデータを備えている。なお、加工ユニット54は、さらに、加工方法データを構成する工具シーケンスデータ(SNo)、および、除去形状データの一例である形状シーケンスデータ(FIG)を備えている点で、他のユニットとは相違している。
 ここで、ユニット番号「Uno」が「0」となるユニット、すなわち加工プログラム40の先頭データは、上記共通ユニット50となっている。またユニット番号が「1」、「2」、「3」、「5」、「7」、「8」、「11」については、座標系・ワーク姿勢設定ユニット52である。「FRM」ユニット、「FRMシフト」ユニットは、加工原点の設定である。「ヘッド選択」ユニットはワーク主軸が複数ある機械においてどのワーク主軸に関する加工であるかを宣言するユニットである。単一ワーク主軸の機械では、このユニットは存在しない。「インデックス」ユニットは機械を構成する回転軸の姿勢を設定するユニットである。この場合、「棒材」ユニットの前の「インデックス」ユニットでは、工具主軸のB軸角度を設定することで旋削加工時の工具主軸の姿勢を指令することができる。また、「フェイスミル」ユニット、「ドリル」ユニットの前の「インデックス」ユニットでは、ワーク主軸のC軸角度を設定することで、ワークのどの面に加工を行うかを指令したり、工具主軸のB軸角度を設定することで、斜めの面に加工を行うように指令したりすることができる。ユニット番号が「4」である「棒材」ユニットは、加工ユニット54の「旋削加工ユニット」に分類されたうちの1つである。「旋削加工ユニット」はワークを回転させながら工具によって加工する加工法であり、「棒材」ユニットは棒状のワークを旋削加工する加工法である。なお、加工プログラム40は、ワーク10の加工のために複合加工機20や数値制御装置30が行う処理(加工処理)を、その加工工程の順に記述したものであるが、必ずしも記載された工程順に加工を行うわけではなく、設定によっては、例えば仕上げ加工のみ最後に行うようにすることもできる。
 上記編集支援プログラム42は、加工プログラム40の作成および編集を支援するプログラムである。
 図6に、CPU32が編集支援プログラム42を実行することで、表示装置34の画面35に表示される編集支援画像を例示する。
 編集支援画像が表示される画面35は、図6の上側の縁部を除けば、工程一覧表示領域35a、形状表示領域35b、およびプログラムデータ表示領域35cに分割されている。工程一覧表示領域35aは、加工工程として、工程名称の一例である加工プログラム40の各ユニットの名称と、ユニットの番号を表示候補とする表示領域である。そして、表示候補のうちの少なくとも一部(図では、ユニット番号が「0」~「11」まで)が、表示対象として工程一覧表示領域35aに表示される。
 形状表示領域35bは、加工プログラム40で定義される形状(3Dモデル)を表示候補とする表示領域である。なお、実際に形状表示領域35bに形状が表示されるときには、3Dのモデルを2次元図形に変換した画像が形状として表示される。更に詳しく言えば、加工プログラム40の各加工工程で定義される除去形状と、加工プログラム40を実行することによって変遷するワークの形状であって、素材形状から始まり、加工工程を経るに従い除去形状が除去されて変形し、最終的に製品形状60となる、各段階におけるワーク形状、つまり、各加工工程の前後で異なるワーク形状と、が、形状表示領域35bの表示候補である。
 プログラムデータ表示領域35cは、加工プログラム40の内容を記述するデータ(詳細データ)を表示候補とする表示領域である。詳細データは、加工プログラム40によって記述される加工工程の内容を記述するデータであり、加工ユニット54の工具シーケンスデータや形状シーケンスデータ等を含む。そして、加工プログラム40を構成する詳細データのうちの少なくとも一部(図では、ユニット番号が「0」~「3」のデータと、「4」のデータの一部)が表示対象としてプログラムデータ表示領域35cに表示される。
 なお、図6において、工程一覧表示領域35aの図中右端部のスクロール機能によって、よりユニット番号が大きいユニットも表示可能である。また、形状表示領域35bにおいて、ピンチアウト操作によって、製品形状モデル60Mを拡大して表示したり、ピンチイン操作によって、製品形状モデル60Mを縮小して表示したり、あるいは、モデルを平行移動したり、回転したりすることが可能である。また、図6において、プログラムデータ表示領域35cの右端のスクロール機能によって、より後の加工工程を記述する加工プログラム40のデータも表示可能である。
 図7に、図6に示した編集支援画像の表示処理の手順を示す。図7に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。図7に示す処理は、表示制御部による制御を構成する。
 図7に示す一連の処理において、CPU32は、まず、指定された加工プログラムがメモリ38に存在するか否かを判断する(S10)。CPU32は、指定された加工プログラムがメモリ38に存在しないと判断する場合(S10:NO)、この一連の処理を一旦終了する。これに対し、CPU32は、指定された加工プログラムが存在すると判断する場合(S10:YES)、加工プログラム40を読み込み、表示装置34を操作して、加工プログラム40のデータ(詳細データ)の先頭からプログラムデータ表示領域35cに表示可能なだけのデータを表示対象とし、その文字列の画像をプログラムデータ表示領域35cに表示する(S12)。
 次に、CPU32は、加工プログラム40から工程一覧表示領域35aに表示するデータを取得する(S14)。詳しくは、CPU32は、加工プログラム40を構成する各ユニットの番号とユニットの名称とをセットで取得する。続いてCPU32は、表示装置34を操作して、取得したセットを表示候補とし、取得したセットの先頭から工程一覧表示領域35aに表示可能なだけのセットを表示対象として、その文字列の画像を工程一覧表示領域35aに表示する(S16)。
 次に、CPU32は、加工プログラム40からワーク10の素材形状データを取得し、3Dモデル化する(S18)。次に、CPU32は、加工プログラム40のデータに基づいて加工ユニット毎の加工形状を取得する(S20)。加工ユニット毎の加工形状は、加工ユニットで加工され、それによって、除去される部位の形状を定義するデータであり、定義形状に含まれ、以後除去形状と称する場合がある。CPU32は、加工ユニットのデータに基づいて除去形状を計算することができ、これも3Dモデル化する。次に、CPU32は、ステップS18において取得した素材形状モデルと、ステップS20において取得した加工ユニット毎の除去形状である加工形状モデルとを用いて、製品形状モデル60Mを作成する(S24)。換言すれば、CPU32は、加工ユニット実行前のワーク形状を示すワークモデルから、加工ユニットの加工形状モデルの差集合演算によって、ワーク形状の一例である加工後のワークモデルを作成する処理を、加工プログラムに従って加工プログラムの最初から最後まで実行して、製品形状モデル60Mを生成する。以下に、製品形状モデル60Mの生成処理について詳細に説明する。
 図8は、図5に示した加工プログラム40のうちユニット番号が「4」である「棒材」ユニットのプログラムデータを例示している。「棒材」ユニットは、図3に示したように、「旋削加工ユニット」のうちの1つである。本実施形態では、ユニット番号が「4」の「棒材」ユニットは、同ユニットを規定する情報の1つである「加工部」の指定が「外径」となっており、図4に示した製品形状60の外周を形成する加工工程のうち旋削加工によって形成する工程部分に対応する。
 図8に示されるように、加工ユニット54は、工具およびその工具の切削条件を設定する工具シーケンスデータ(SNo)と、このユニットで加工される加工形状を規定する形状シーケンスデータ(FIG)とを有する。工具シーケンスデータ(SNo)の行数はこのユニットで使用する工具の本数であり、先頭の「R」、「F」は、荒加工用、仕上げ加工用の工具であることを示し、「R」、「F」の次に記載されている数字が、使用される順を示す。形状シーケンスデータ(FIG)は、特に行数の制限はない。
 形状シーケンスデータ(FIG)内の各行で設定される点は、図4に例示した座標系におけるX軸、Y軸、およびZ軸の座標値によって規定されている。座標系は、図5に示した加工プログラム40のユニット番号が「1」で定義されている。「旋削加工ユニット」の形状シーケンスデータ(FIG)は、回転体の断面形状をXZ平面で定義したものであり、この形状シーケンスデータ(FIG)を用いてこの加工ユニットで加工によって除去すべき形状(加工形状)を特定することができる。図8に示した例では、形状シーケンスデータ(FIG)が、5行のシーケンスデータとなっており、「1」行目の「線」は、図4の第1円柱部62の形状に対応し、「2」行目の「線」は、第2円柱部64に対応し、以下のデータも、第3円柱部66、テーパ部68、第4円柱部70にそれぞれ対応する。以上のように規定したXZ平面における断面形状を回転させることにより、加工して得られる棒材モデルを得ることができる。そして、ユニット番号「4」の加工前のワークモデルである素材形状モデルから棒材モデルを差集合演算して、定義形状である除去形状の一例である、図9に示す「棒材」ユニットの加工形状モデル62Mを得ることができる。図9や図13(b)、図14(a)に示されるように、形状表示領域35bに表示される加工形状モデル62Mには、「棒材」ユニットの加工形状を定義する座標値の基準となる座標系の原点の位置と、X、Y、Z各軸の「+」の方向を示す矢印と、を表現した直交座標系のシンボルが合わせて表示される。加工プログラムの作成に習熟していないユーザが、間違った座標系を基準として座標値を入力した場合であっても、ユーザの意図した形状とは異なる形状とともに、直交座標系のシンボルも表示されるため、入力された座標値が座標系の勘違いにより正しい値ではなかったことにユーザは瞬時に気付くことができる。
 図10は、図5に示した加工プログラム40のうちユニット番号が「9」である「フェイスミル」ユニットのプログラムデータを例示している。「フェイスミル」ユニットは、図3に示したように、「面加工ユニット」のうちの1つである。本実施形態では、「フェイスミル」ユニットの加工によって、図4に示したフェイスミル面74を形成する。
 図10に示す形状シーケンスデータ(FIG)は、4行からなり、それらによって、「フェイスミル」ユニットのXY平面における加工範囲を規定し、ユニットデータを規定する情報である「深さ」および「取代-Z」で、加工面の高さ位置(Z軸原点から「深さ」データの位置が加工面の高さ位置)および厚み(加工面から「取代-Z」の厚み)を規定している。以上の加工範囲、加工面の高さ位置および厚みのデータを用いて、定義形状である除去形状の一例である、図11に示す編みかけ部分の「フェイスミル」ユニットの加工形状モデル74Mを生成することができる。図11および図14(a)に示されるように、形状表示領域35bに表示される加工形状モデル74Mには、形状シーケンスデータ(FIG)で規定された座標値データ(各コーナのXY座標値(50,40)、(0、40)、(0、-40)、(50、-40))が、ユニット番号「8」の「FRMシフト」で定義された座標系の、原点位置と、X、Y、Z各軸の「+」方向を示す矢印と、を表現する直交座標系シンボルとともに表示されている。このため、設定されている座標系をユーザが勘違いしたり、プログラムデータで定義された座標系の設定が間違っていたりした場合、ユーザの意図した形状とは異なる加工形状モデルが表示されるが、加工形状モデルと合わせて表示されている直交座標系シンボルにより、ユーザはその間違いに容易に気づくことができる。また、座標値データをユーザが誤入力した場合も、加工形状モデルが規定された座標点の近傍に座標値データが表示されているため、ユーザが注目する加工形状モデルの一部と、その周りに表示されている他の部分との間において、大きさと座標値データとを比較することにより、ユーザは容易に誤入力に気付くことができる。また、後述するように、加工形状モデルを規定する座標値データとは異なるラフな数値を入力することが許されてはいるが、実際の形状を示す数値とは大幅に異なる数値が入力されると、ワークの存在しない箇所で加工動作が行われるため非効率な加工となる。これに対し、座標値データの数字と加工形状モデルとを比較しながら座標値データをユーザが変更することで、より効率的な加工となるように加工プログラムを改善することが、上記装置の操作に習熟していないユーザであっても容易である。
 図10には、形状シーケンスデータ(FIG)に規定された座標値が、実際のフェイスミル面74の境界の座標値と一致しない例を示している。これは、加工プログラム40の作成を簡易に行ったためのものである。すなわち、フェイスミル面74の境界座標として正確な値を入力することは、ユーザに複雑な計算を要求することになる。しかし、たとえば第3円柱部66の外周に図11に示すZ軸に直交する平面を形成することが目的であるなら、そもそも境界座標は必要ではない。フェイスミル面74は、Z軸上の座標値が定まれば一義的に定まる。このため、加工プログラム40の作成時には、X軸およびY軸の各成分の値として、実際のフェイスミル面74から外れた外側にくると想定される値をラフに入力することで入力を簡便化することができる。このような入力がなされ、図11に示されるような実際の加工面より広い加工形状を設定したとしても、加工後の製品形状を特定することができる。すなわち、定義形状の一例である素材形状モデルから、これもまた定義形状の一例である図9に示した「棒材」ユニットの加工形状モデル62Mを差集合演算し、更に、これもまた定義形状の一例である図11に示した「フェイスミル」ユニットの加工形状モデル74Mを差集合演算処理することで、ワークモデルにフェイスミル面74が創成される。
 こうした手法を加工プログラム40の先頭からエンドユニットまで適用することで、図4に示した製品形状モデル60Mが得られる。
 図7に戻り、CPU32は、形状表示領域35bに、得られたワークモデル(ワーク形状)を表示する(S26)。指定された加工プログラムの初期表示時は、表示された加工プログラムの全てのプログラムデータに対して上記手法を適用した結果のワークモデルが形状表示領域35bに表示され、完成した加工プログラムの場合は、製品形状モデル60Mが表示される。なお、前述の処理は全て3Dモデルに基づいて行っており、形状表示領域35bに表示するために、上記3Dモデルを設定された視点に基づいて2次元図形に変換する。すなわち3Dモデルを表示用平面に投影する。その2次元図形を形状表示領域35bに表示する。そして、CPU32は、図7に示した一連の処理を一旦終了する。
 以上により、CPU32は、図6に示した編集支援画像を画面35に表示する。
 CPU32は、上記編集支援プログラム42を実行することで、図6に例示する編集支援画像を用いて、ユーザが加工プログラム40を編集する支援を行う機能を実現する。すなわち、上述したように、画面35にはタッチパネル36が重ねて配置されている。このため、ユーザが画面35に表示された編集支援画像に基づき、タッチパネル36のうち画面35内の特定箇所の直上部分をタップする場合、CPU32は、タッチパネル36の出力信号に基づき、ユーザが編集支援画像のどの部分を指定したかを特定することができる。そして、CPU32は、工程一覧表示領域35a、形状表示領域35b、およびプログラムデータ表示領域35cのいずれか1つの表示領域におけるいずれか1つの表示対象が指定されることで、それ以外の表示領域の表示対象を上記指定された表示対象に対応するように変更する。すなわち、工程一覧表示領域35a、形状表示領域35b、およびプログラムデータ表示領域35cのいずれか1つの表示領域が対象表示領域であり、CPU32は、対象表示領域におけるいずれか1つの表示対象が指定されることで、対象表示領域以外の表示領域の表示対象を、上記指定された表示候補との間で加工工程が一致するように変更する。なお、以下では、タッチパネル36のうち編集支援画像の特定箇所の直上に位置する部分がタップされたことを、編集支援画像の特定箇所がタップされたと称することもある。
 図12に、形状表示領域35bの特定箇所が指定される場合の処理を示す。図12に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。図12に示す処理は、表示制御部の制御を構成する。
 CPU32は、形状表示領域35bに表示対象が表示された状態で形状表示領域35bの特定箇所がタップされると、タッチパネル36の出力値からタップされた点(指定点)の画面35上の座標値を取得する(S30)。そして、CPU32は、取得した座標値が前回取得した指定点の座標値と同一であるか否かを判断する(S32)。なお、この判断においては、前回取得した指定点から所定の半径を有する領域を定義しておき、今回取得した座標値がその領域内に入る場合には、同一であると判断してもよい。
 そして、CPU32は、同一ではないと判断する場合(S32:NO)、形状表示領域35bに表示されている表示対象と上記指定点とに基づき、これらから特定される表示候補を、形状表示領域35bの表示候補のうちユーザが指定した表示候補として抽出し、加工形状テーブルを作成する(S34)。具体的には、CPU32は、形状表示領域35bに表示されている製品形状モデル60Mにおいて、明示的には表示されていないが、各加工ユニットの加工形状モデル(除去形状)も、製品形状モデル60Mと同一条件で2次元形状に変換して保持する。先に説明したように、加工ユニットの加工前のワークモデル(ワーク形状)と加工ユニットの加工形状モデル(除去形状)との差集合演算により加工後のワークモデル(ワーク形状)が生成されるので、製品形状モデル60Mにおける各加工ユニットによる加工箇所には、当該加工箇所に対応する加工ユニットの加工形状モデル(除去形状)が必ず存在する。そして、CPU32は、指定点の座標値が、2次元化された各加工形状モデルの領域に含まれるか否かを判断して、指定点の座標値が含まれる加工形状モデルの加工ユニットを抽出し、加工形状テーブルを作成する。図12には、加工形状テーブルとして、ユニット番号が「4」および「9」の2つのユニットが抽出されるものを例示している。なお、ここで、抽出された加工ユニットは、その除去形状を形状表示領域35bに表示した場合に、特定箇所(指定点)がその除去形状の内側に含まれる加工ユニットである。
 図13(a)に、形状表示領域35bに表示されている製品形状モデル60Mのフェイスミル面74がタップされる場合を示している。ここで、CPU32は、フェイスミル面74を加工する加工ユニットのみならず、形状表示領域35bの2次元画像上で上記指定点が除去形状に含まれる加工ユニットを抽出し、抽出された加工ユニットを加工プログラム40のプログラム順に並べて加工形状テーブルを作成する。ここでは、図13(a)から明らかなように、上記指定点は、フェイスミル面74および「棒材」ユニットで定義された第3円柱部66近傍の「棒材」ユニットの加工形状に含まれるため、これらのユニットを抽出して加工順に並べることで、ユニット番号「4」および「9」の加工形状テーブルが作成される。
 図12に戻り、CPU32は、表示装置34を操作し、加工形状テーブルによって指定される加工ユニット54の加工形状モデルの中から加工形状テーブルの順番が最先のものを、すなわち、加工形状テーブルの先頭に登録されたものを、指定表示対象としてハイライト表示する(S36)。
 図13(b)に、形状表示領域35bに表示されたフェイスミル面74部分のタッチパネル36がタップされた結果を例示する。CPU32は加工形状テーブルからユニット番号「4」を取得し、図13(b)に示すように、形状表示領域35bにユニット番号「4」の加工前のワークモデルに重ねて「棒材」ユニットの加工形状モデル62Mを表示する。本実施形態では、加工形状モデル62Mの色を変えつつ輝度を高くすることでハイライト表示を行うが、図では、これを網掛けで表現している。ここで、ハイライト表示は、形状表示領域35bに表示された他の表示対象であるワークモデルに対して加工形状モデル62Mを差別化して目立たせるものである。なおこの場合、ユニット番号「4」の前に加工ユニットが存在していないため、この時点におけるワークモデルは素材形状モデルと同一であり、「棒材」ユニットの加工形状モデルの生成手法の説明において既に述べたように、素材形状モデルは「棒材」ユニットの加工形状モデル62Mの一部として表現されている。
 図12に戻り、CPU32は、表示装置34を操作し、工程一覧表示領域35aに表示されている表示対象のうちの指定表示対象であるハイライト表示部分を、形状表示領域35bのハイライト表示部分に対応したものに更新する(S38)。すなわち、図13(a)に示すように、ユニット番号が「0」の「共通」を指定表示対象としてこれがハイライト表示された状態から、図13(b)に示すように、ユニット番号が「4」の「棒材」を指定表示対象としてこれがハイライト表示された状態に変更する。なお、本実施形態では、加工工程(ユニット名称)の色を変えつつ輝度を高くすることでハイライト表示を行うが、図では、これを網掛けで表現している。
 図12に戻り、CPU32は、表示装置34を操作し、プログラムデータ表示領域35cにおいて、ユニット番号が「4」の「棒材」ユニットのプログラムを指定表示対象とし、これを頭出しするとともに、その部分にカーソルKを移動させる(S40)。すなわち、図13(a)に示すように、ユニット番号が「0」のプログラムのデータが指定表示対象として頭出しされていた状態から、図13(b)に示すように、ユニット番号が「4」のプログラムのデータが指定表示対象として頭出しされた状態に変更される。頭出し処理は、プログラムデータ表示領域35cの表示候補のうち指定表示対象を差別化して表示するためのものである。
 なお、図13(b)には、ユニット番号が「4」であることを示す部分の右側に表示された文字「棒材」にカーソルKが移動している例を示している。カーソルKの位置にあるデータは、変更が可能であることを示す。ただし、このカーソルKは、指定表示対象をそれ以外の表示候補に対して差別化して目立たせることをも狙っている。
 図12に戻り、CPU32は、ステップS32において前回と同じ座標であると判断する場合(S32:YES)、加工形状テーブルの次のユニット番号の加工ユニット54を、指定表示対象として、これをハイライト表示する(S42)。
 図14(a)は、形状表示領域35bにユニット番号「4」の「棒材」ユニットが指定表示対象とされてこれがハイライト表示されているときに、もう一度フェイスミル面74がタップされる場合を示す。CPU32は、タップされた座標が前回と同じと判断して、加工形状テーブルから前回のハイライト対象としたユニット番号「4」の次に位置するユニット番号「9」を取得し、図14(b)に示すように形状表示領域35bのユニット番号「9」の加工前のワークモデルにおいて、「フェイスミル」ユニットによる加工形状を指定表示対象としてこれをハイライト表示する。そして、CPU32は、図12のステップS38,S40を実行することで、工程一覧表示領域35aの表示およびプログラムデータ表示領域35cの表示を更新する。図14(b)には、工程一覧表示領域35aにおいて、ユニット番号が「9」の「フェイスミル」が指定表示対象とされ、これがハイライト表示されるとともに、プログラムデータ表示領域35cにおいて、ユニット番号が「9」の「フェイスミル」の詳細データが指定表示対象とされ、これが頭出しされた状態を示している。なお、ユニット番号「9」の「フェイスミル」ユニットが指定表示対象とされ、ハイライト表示されているときに、更にフェイスミル面74がタップされた場合、加工形状テーブルのユニット番号「9」の次にユニット番号が登録されていなければ、加工形状テーブルの先頭のユニット番号が採用され、再度ユニット番号「4」の「棒材」ユニットが指定表示対象とされ、ハイライト表示される。すなわち、加工形状テーブルに登録された順に従って、循環的に次の指定表示対象の候補を指定表示対象とする。
 図12に戻り、CPU32は、ステップS40の処理を完了する場合、この一連の処理を一旦終了する。
 図12に示す処理によれば、形状表示領域35bに表示されている加工形状に気になる部分があると感じたユーザは、その部分をタップすることで、その加工形状を加工する加工工程が一連の加工工程全体のどこに該当するかを工程一覧表示領域35aのハイライトによって迅速に把握することができる。また、プログラムデータ表示領域35cにおいて頭出しされた加工プログラム40の詳細データによって、詳細データの内容を迅速に把握することができる。
 図15に、工程一覧表示領域35aの特定箇所が指定される場合の処理を示す。図15に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。図15に示した処理は、表示制御部の制御を構成する。
 工程一覧表示領域35aに表示されたユニットの番号またはユニットの名称の文字列の1つがタップされると、CPU32は、タッチパネル36の出力値に基づき、タップされた特定箇所を含む領域に表示された画像が示すユニット番号を指定されたユニット番号として取得する(S50)。次に、CPU32は、取得したユニット番号が、現在選択中のユニット番号であるか否かを判断する(S52)。そしてCPU32は、現在選択中のユニット番号ではないと判断する場合(S52:NO)、表示装置34を操作し、工程一覧表示領域35aに表示されるユニットのうちハイライトする対象を選択されたユニット番号のユニットに変更する(S54)。換言すれば、指定表示対象を更新する。続いて、CPU32は、表示装置34を操作し、プログラムデータ表示領域35cにおいて、ステップS50において取得したユニット番号に対応する加工プログラム40の詳細データを頭出しし、また、頭出しした詳細データ中のデータにカーソルを移動させる(S56)。そしてCPU32は、表示装置34を操作し、指定されたユニット番号に対応する加工工程によって加工される除去形状を指定表示対象としてハイライト表示する(S58)。ここで、ステップS58の処理以前に、形状表示領域35bにおいて別の部分が指定表示対象としてハイライト表示されていた場合、形状表示領域35bの全ての表示対象を一旦消去した後に、新たに設定された指定表示対象をワークモデルに対してハイライト表示する。これにより、たとえば、形状表示領域35bの表示が図14(a)に例示した状態であるとき、工程一覧表示領域35aのユニット番号が「9」のフェイスミルの文字列がタップされると、図14(b)に示すように、形状表示領域35bの表示が更新される。ちなみに、ステップS50でタップされたユニット番号が加工ユニット54のデータを指定するものではない場合、加工形状のハイライトは行わない。
 CPU32は、上記ステップS52において肯定判断する場合や、ステップS58の処理が完了する場合には、この一連の処理を一旦終了する。
 図15の処理によれば、工程一覧表示領域35aに表示された工程の一覧に基づき、特定の加工工程が気になったユーザが、その加工工程を表現する画像が表示されている領域をタップすることで、形状表示領域35bのハイライト表示によって、その加工工程による加工形状を迅速に把握することができる。また、プログラムデータ表示領域35cにおいて頭出しされた加工プログラム40のデータによって、加工工程を記述するデータの内容を迅速に把握することができる。
 図16に、プログラムデータ表示領域35cの特定箇所が指定される場合の処理を示す。図16に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。なお、図16に示す処理は、表示制御部の制御を構成する。
 プログラムデータ表示領域35cの特定箇所がタップされると、CPU32は、タッチパネル36の出力値に基づき、表示装置34を操作し、特定箇所を含む領域に表示されているデータがユーザにより指定されたとして、同データにカーソルKを移動する(S60)。次に、CPU32は、カーソルKの移動先に対応するユニット番号を取得する(S62)。そして、CPU32は、取得されたユニット番号が、現在選択されているユニット番号であるか否かを判断する(S64)。換言すれば、指定表示対象として表示されているユニット番号であるか否かを判断する。そして、CPU32は、現在選択されているユニット番号ではないと判断する場合(S64:NO)、表示装置34を操作し、工程一覧表示領域35aにおけるハイライト対象を更新する(S66)。また、CPU32は、表示装置34を操作し、形状表示領域35bにおけるハイライト対象を更新する(S68)。ここで、CPU32は、ユニット番号によって指定されたデータが加工ユニット54である場合、ハイライト対象を変更する。これにより、たとえば、形状表示領域35bの表示が図14(a)に例示した状態であるとき、プログラムデータ表示領域35cがスクロールされ、ユニット番号が「9」のフェイスミルのデータの文字列が表示された状態で、その文字列がタップされると、図14(b)に示すように、形状表示領域35bの表示が更新される。一方、CPU32は、ユニット番号によって指定されたデータが加工ユニット54ではない場合、ハイライト表示を行わない。
 なお、CPU32は、上記ステップS64において肯定判断する場合や、ステップS68の処理が完了する場合には、図16に示す一連の処理を一旦終了する。
 図16の処理によれば、ユーザがプログラムデータ表示領域35cに表示されたデータをタップすることで、工程一覧表示領域35aのハイライト表示によって上記タップされたデータによって記述される加工工程を迅速に把握することができる。また、形状表示領域35bのハイライト表示によって、同加工工程によって加工される加工形状を迅速に把握することができる。
 図12、図15、および図16の処理によれば、ユーザは、加工工程と、加工工程による加工形状と、加工工程のプログラムの詳細データとを互いに関連づけて容易に認識することができる。
 図17に、プログラムデータ表示領域35cに表示されたデータが上記ボタン37等の操作によって変更される場合の処理を示す。図17に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。図17に示す処理は、表示制御部の制御を構成する。
 図17に示す一連の処理において、CPU32は、プログラムデータ表示領域35cに表示されたプログラム値に変更があるか否かを判断する(S70)。そして、CPU32は、プログラム値に変更がある場合(S70:YES)、プログラムデータ表示領域35cに表示されているプログラムの画像を更新する(S72)。さらに、CPU32は、変更されたプログラム値に基づき、形状表示領域35bに表示される加工形状を変更する(S74)。なお、CPU32は、ステップS74の処理が完了する場合や、上記ステップS70において否定判断する場合には、この一連の処理を一旦終了する。
 図18に、図17の処理例を示す。図18(a)には、カーソルKによって指定され、変更が可能となっている数値が「150」である例を示す。この数値は、図4に示した製品形状60におけるテーパ部68の「終点-Z」(テーパ部小径側Z軸座標値)に対応している。図18(b)には、同数値を「200」に変更した例を示す。この場合、形状表示領域35bにおいて、テーパ部68が変更された画像に更新される。なお、この処理は、CPU32が、ユニット番号が「4」の棒材の加工ユニットによって定義される加工形状を再計算し、素材形状等に対するこの再計算された加工形状の差集合演算を行うことで実現することができる。ちなみに、図18(b)においては、カーソルKの位置が図18(a)の位置とは相違しているが、これは、図18(b)において数値を「200」に確定させることでカーソルKが移動したためである。
 これにより、ユーザは、加工プログラム40のデータの変更によって、加工形状がどのように変更されるかを迅速に把握することができる。このため、データの入力ミス等に迅速に気づくことができる。
 なお、図12、図15、図16、および図17の処理は、ワーク10を製品形状60とする加工プログラム40を一旦入力した後にのみ実行されるものではない。すなわち、加工プログラム40がワーク10を製品形状60に加工するものとしては未完成であって作成途中のものであっても実行される。このため、作成途中において新たに入力したデータがいかなる加工形状となるかを迅速に把握することもできる。
 <第2の実施形態>
 以下、加工プログラム編集支援装置の第2の実施形態について、第1の実施形態との相違点を中心に図面を参照しつつ説明する。
 本実施形態にかかる加工プログラム40は、EIA/ISOの規格に従ったものである。図19に、本実施形態にかかる加工プログラム40を例示する。
 図示されるように、本実施形態では、国際規格EIA/ISOで規定された指令コードの一例であるGコードやTコードを用いてプログラムを記述する。工具交換指令コードの一例であって切削を行う工具を指令するTコード、工具またはワークを回転させるときの回転数を指令するSコード、および、切削時の工具とワークとの相対的な移動速度を指令するFコードは、加工方法データの一例である。これに対し、工具の移動経路を定義する指令コードの一例であるGコードの少なくとも一部や指令位置座標を示す座標値データは、形状定義データの一例であり、一部のGコードとそれに伴う座標値データを形状指令コードとも称す。図示されるように、本実施形態にかかる加工プログラム40は、加工工程のみを表現するものが定められていない。そこで、本実施形態の加工プログラム編集支援装置は、ワーク10の加工に用いる工具を指令するTコードを加工工程の区切りとし、Tコードを工程名称データとして取り扱う。
 図20に、本実施形態にかかる編集支援画像を例示する。図20に示されるように、形状表示領域35bには、定義形状の一例であるワーク10の加工形状として、工具のプログラム指令位置によって特定された加工形状が実線にて表示されている。また、形状表示領域35b内の破線は、位置決め指令(あるいは、早送り指令とも言う)時の工具の移動経路であって、定義形状の一例を示す。なお、図20に示した実線と破線とは、接続線の一例であって、実際には双方の線の形状が同一(たとえば同一の太さの実線)であって、色が互いに相違することを想定しているが、図面の記載の制約のために、実線および破線によって区別して記載した。なお、プログラムデータ表示領域35cの表示候補は、プログラムデータの一例であって、加工プログラム40の内容を記述するデータ(詳細データ)である。すなわち、詳細データは、加工プログラム40によって記述される加工工程の内容を記述するデータであり、本実施形態では、加工工程の区切りとして用いる指令コード以外のGコード等をも含めたものが詳細データとなっている。
 図21に、図20に示す編集支援画像の表示処理の手順を示す。なお、図21において、図7に示した処理に対応する処理については、便宜上、同一のステップ番号を付して説明を省略している。図21に示す処理は、表示制御部の制御を構成する。
 この一連の処理において、CPU32は、ステップS12において、プログラムデータ表示領域35cへの表示処理が完了すると、ステップS14aにおいて、加工プログラム40からTコードを抽出することで、工程情報テーブルを作成する。図22に、工程情報テーブルを示す。工程情報テーブルは、加工プログラム40に含まれるTコードのうちプログラム先頭からの行数(以後、プログラム行数と言う)の小さいものから順に並べられたものである。ただし、工程番号が「1」となるものは、Tコードに対応していない。これは、プログラムの先頭を意味するものである。なお、本実施形態では、このように作成された工程情報テーブルにおいて、加工工程の先頭の行から次の加工工程の前の行までのブロックで行われる動作を、総称して加工工程と称す。すなわち、CPU32は、工程名称データとして認識したTコードを含む行から、次に認識したTコードを含む行の直前の行までを、先に認識したTコードの加工工程として認識する。
 図21に戻り、CPU32は、ステップS16において、工程情報テーブルに基づき、表示装置34を操作し、工程一覧表示領域35aに加工工程としてTコードを示す文字列を表示する。なお、図20に示したように、工程番号が「1」となるものは、加工プログラム40のトップ(Program Top)である旨を表示している。
 次に、CPU32は、ステップS23において、加工プログラム40の先頭から座標系設定に関連するGコードに付随する座標値データを除く座標値データを順次サーチして、プログラム行数、Gコードの種類、および座標値データ(指令位置座標)を抽出し、メモリ38に座標値テーブルを作成する。なお、Gコードを伴わない座標値データの場合は、それ以前の最後のGコードが省略されたものとして取り扱う。こうして作成された座標値テーブルの座標値は、そのGコードによる終点位置の座標値か、あるいは加工形状を定義する点の座標値である。なお、移動経路を加工形状として描画する前提として、初期位置は機械原点に位置するものとして扱う。
 図21に戻り、CPU32は、座標値テーブルを生成した後、ステップS26aにおいて形状表示領域35bにワーク10の加工形状を表示する。ここでは、CPU32は、まず、3次元仮想空間に上記座標値テーブルの値に基づいて、座標値テーブルの先頭から最終行まで、座標値データが示す座標点とその点に接続される接続線を配置して3Dモデルを作成し、加工形状モデルとしてメモリ38に記憶する。次に、CPU32は、上記加工形状モデルを、設定された視点に基づいて2次元図形に変換する(表示用平面に投影する)。そして、CPU32は、その2次元図形を形状表示領域35bに表示する。なお、3Dモデルおよび2次元図形における点および線は、大きさを持っておらず、従って図形を拡大したとしても線の太さが太くなることはない。なお、座標値テーブルによって形成される接続線は、座標値テーブルの先頭の座標値データが示す点と初期位置である機械原点とを接続する接続線が座標値テーブル先頭の接続線であり、それ以降に関しては、座標値テーブルの座標値データが示す座標点と、当該座標値データの1つ前の座標値データが示す座標点とを接続する線である。言い換えると、座標値テーブルのある行が示す接続線とは、その行の座標値データが示す座標点と、その前の行の座標値データが示す座標点とを接続する接続線であり、その行の座標値データが示す座標点を終点とする接続線である、とも言うことができる。
 なお、加工プログラムによって得られる定義形状の一例として挙げた、上記の処理で表示された加工形状は、厳密には加工の結果として得られる加工形状と異なるが、簡易的な上記処理によって得られる加工形状であっても、加工部位の特定には、十分実用に耐える。そして、上記加工プログラム編集支援装置は、加工形状モデルを作成するための処理が簡易的であるがゆえに、実際の工具の移動経路を演算して表示する従来の移動経路表示方法に比較して、処理に要する時間が極めて短時間で済み、加工プログラムの編集箇所を特定するための支援機能として適している。また、上記加工形状は形状表示領域35bの表示候補であり、グラフィック画像の2次元図形に変換する際の視点や表示倍率の設定により、表示対象となる加工形状は可変である。
 図24に、工程一覧表示領域35aの特定箇所が指示される場合の処理を示す。図24に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。図24に示す処理は、表示制御部の制御を構成する。なお、図24において、図15に示した処理に対応する処理については、便宜上、同一のステップ番号を付与して、説明を省略している。
 図24に示す処理において、CPU32は、ステップS56の処理の後、形状表示領域35bにおいて、指定された加工工程の加工形状を指定表示対象として選択的に表示する(S59)。
 図25(a)は、工程一覧表示領域35aにおいて工程番号が「3」の加工工程「TNo.3」がタップされた状態を示し、図25(b)は、形状表示領域35bにおいて、工程番号が「3」である加工工程「TNo.3」の加工形状のみが選択的に表示された状態を示す。具体的には、CPU32は、形状表示領域35bをまず画面消去した後、工程情報テーブルより工程番号が「3」の開始プログラム行数および終了プログラム行数を取得し、座標値テーブルより前記開始プログラム行から終了プログラム行までのデータを取得して加工形状表示することにより、工程番号「3」のみの加工形状を表示する。つまり、工程一覧表示領域35aに表示されている加工工程をユーザが指定して、CPU32が加工工程を特定した場合は、形状表示領域35bにおいては、CPU32は、特定した加工工程のプログラムデータをすべて選択して、そのプログラムデータによる定義形状を指定表示対象としたことになる。これを全行処理と称す。一方、以下に述べるが、プログラムデータ表示領域35cにおいては、CPU32は、特定された加工工程の先頭の行、つまり、工程名称データとして認識された行が指定表示対象とされ、既にその行が表示されていればカーソルを移動させることでその行が指定表示対象であることを示しており、これを単独行処理と称す。
 なお、図25(b)には、ステップS56の処理がなされた後のプログラムデータ表示領域35cに表示対象として表示される加工プログラム40の詳細データを示しており、これは、図25(a)においてプログラムデータ表示領域35cに表示対象として表示される加工プログラム40の詳細データと同一となっており、カーソルKのみが移動している。これは、プログラムデータ表示領域35cに表示される加工プログラム40の詳細データを変更しなくても、選択された加工工程を記述するデータを表示可能であるために、頭出しを行わなかった例である。ちなみに、カーソルKは、「T3T7M6」と記載された行に表示されている。ここで、左側のTコードである「T3」が今回加工に利用される工具データであり、右側のTコードである「T7」は、次回加工に利用される工具データである。加工プログラム40の、より下の行には、「T7」が冒頭に現れる行が存在し、この行が、Tコードが「T7」である工具を利用した加工を規定するものとなる。なお、図25(b)においては、「T3T7M6」と記載された行にカーソルKが移動していることによって、その部分が指定表示対象となっている。
 図26(a)は、工程一覧表示領域35aにおいて工程番号が「6」の加工工程「TNo.27」がタップされた状態を示し、図26(b)は、形状表示領域35bにおいて、工程番号が「6」である加工工程「TNo.27」の加工形状のみが指定表示対象として選択的に表示された状態を示す。この場合、頭出しが行われた結果、図26(b)においてプログラムデータ表示領域35cに表示されるプログラムの詳細データは、図26(a)においてプログラムデータ表示領域35cに表示されるプログラムの詳細データとは相違している。
 図24の処理によれば、ユーザは、工程一覧表示領域35aに表示された加工工程の1つをタップすることで、形状表示領域35bの画像によって、指定した加工工程の加工形状を迅速に把握することができる。また、プログラムデータ表示領域35cに表示された加工プログラム40の詳細データによって、その加工工程を記述するデータを迅速に把握することができる。なお、図25および図26の説明においては、ともに、特定された加工工程の加工形状が、元々表示された状態で加工工程が特定されて、その後、指定表示対象以外の表示対象が消えて、指定表示対象のみが表示される。これに対し、ユーザがグラフィック画像の2次元図形への変換のための視点を変更する等して、特定された加工工程の加工形状が表示されていない状態で加工工程が特定された場合は、形状表示領域35bのサイズに合わせて2次元図形の倍率が変更され、且つ、視点の平行移動によって、形状表示領域35bの中央に指定表示対象が表示される。
 図27に、形状表示領域35bの特定箇所が指定される場合の処理を示す。図27に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。図27に示す処理は、表示制御部の制御を構成する。なお、図27において、図12に示した処理に対応する処理については、便宜上、同一のステップ番号を付与して、説明を省略している。
 図27に示すように、CPU32は、ステップS34aにおいて加工形状テーブルを作成する。すなわち、CPU32は、形状表示領域35bの特定箇所がタップされると、タッチパネル36の出力値に基づき、形状表示領域35bに表示されている2次元化された加工形状モデルにおいて、指定点を中心とした所定の半径の円内の領域に存在する線を抽出する。これは、本実施形態では、形状表示領域35bに表示される加工形状が線であることに鑑み、同円内の領域が特定箇所として指定されたと見なすための処理である。そして、図23に示した座標値テーブルに基づき、抽出した線が作成された元のプログラム行数を取得する。そして、取得されたプログラム行数を列挙することで加工形状テーブルを生成する。なお、座標値テーブルに代えて、形状表示領域35bに線を表示するに際して、表示した線とプログラム行数とをセットでメモリ38に記憶させておいてもよい。これによれば、より迅速にプログラム行数を取得することができる。
 そして、CPU32は、ステップS36aにて表示装置34を操作し、形状表示領域35bにおいて、加工形状テーブルに列挙されたプログラム行数の最初のデータにより定まる加工形状(接続線)を、すなわち、加工形状テーブルの先頭に登録された加工形状(接続線)を、指定表示対象としてハイライト表示する。すなわち、該当部分の線のみ色を変えるようにしたり、線を太くしたりする。次に、CPU32は、ステップS38aにて表示装置34を操作し、工程一覧表示領域35aにおいて、工程情報テーブルに基づいて該当するプログラム行数を含む加工工程を検索し、得られた加工工程の工程番号の文字列を指定表示対象としてハイライト表示する。さらに、CPU32は、ステップS40において、工程情報テーブルに基づき、表示装置34を操作し、プログラムデータ表示領域35cにおいて該当するプログラムの詳細データを指定表示対象として頭出しし、また、その行、つまり、形状表示領域35bにて指定表示対象として採用された加工形状テーブルのプログラム行数が示す行にカーソルを移動させる。
 図27に示す処理によれば、形状表示領域35bに表示されている加工形状に気になる部分があると感じたユーザは、その部分をタップすることで、その加工形状に加工する加工工程が加工工程全体のどこに該当するかを工程一覧表示領域35aのハイライトによって迅速に把握することができる。また、プログラムデータ表示領域35cにおいて頭出しされた加工プログラム40の詳細データによって、プログラムの内容を迅速に把握することができる。また、ワークの同一部位を多数の工具で繰り返し加工するような場合、加工形状が錯綜してどの工具の加工形状であるかが、判別困難なことがあるが、このような場合であっても、工程一覧表示領域35aで工程番号や工具名称をタップしてその加工工程のみの加工形状を一旦表示させた後に、形状表示領域35bをタップすることで、目的の加工形状を素早く特定することができる。
 図28に、プログラムデータ表示領域35cの特定箇所が指定される場合の処理を示す。図28に示す処理は、編集支援プログラム42がCPU32によって実行されることで実現される。この処理は、表示制御部の制御を構成する。なお、図28において、図16に示した処理に対応する処理については、便宜上、同一のステップ番号を付している。
 CPU32は、ステップS60の処理が完了すると、ステップS80でカーソル位置のプログラム行数が以前と同一か否かを判断し、違うプログラム行数に移動したと判断した場合(S80:NO)、カーソルの位置するプログラム行数により定まる加工形状(接続線)を形状表示領域35bにおける指定表示対象とし、ハイライト表示する(S82)。次にCPU32は、工程情報テーブルに基づき、カーソルが位置するプログラム行数に対応した工程番号を取得する(S62a)。すなわち、工程情報テーブルには、各加工工程のはじめのプログラム行数が記載されているため、これに基づき工程番号を取得することができる。たとえばカーソルの位置のプログラム行数が「8」である場合、工程番号が「3」であるプログラム行数「6」よりも大きく、工程番号が「4」であるプログラム行数「32」よりも小さい。このため、工程番号が「3」であると特定できる。
 そして、CPU32は、ステップS62aにおいて特定した工程番号が現在選択中のものであるか否かを判断する(S64a)。そして、現在選択中の工程番号ではないと判断する場合(S64a:NO)、工程一覧表示領域35aの表示を更新する(S66)。
 図28の処理によれば、ユーザがプログラムデータ表示領域35c内に表示された加工プログラム40の詳細データのうちの任意のデータの文字列をタップすることで、工程一覧表示領域35aのハイライト表示によって上記データが加工工程のどの部分に対応するかを迅速に把握することができる。また、形状表示領域35bのハイライト表示によって、上記データによって決定される加工形状を迅速に把握することができる。
 <第3の実施形態>
 以下、加工プログラムの編集支援装置の第3の実施形態について、第2の実施形態との相違点を中心に図面を参照しつつ説明する。
 上記第2の実施形態では、工程一覧表示領域35aに表示する加工工程の区切りを、予めTコードに定めた。これに対し、本実施形態の加工プログラム編集支援装置では、加工工程の区切りとするコードとして、いくつかのコードをユーザが選択可能とする。すなわち、加工プログラム編集支援装置は、EIA/ISOの規格に従った加工プログラムにおいて、加工工程の区切りとして扱う特定の指令コードを加工工程抽出コードと定義し、加工工程抽出コードをユーザによって設定することを可能とする。言い換えれば、加工プログラム編集支援装置が備える表示制御部は、加工工程の区切りとする少なくとも1つの指令コードを、入力装置を介して受け付け、その受け付けた特定の指令コードを加工工程抽出コードとして定め、加工工程抽出コードを工程名称データとして取り扱う。
 図29に本実施形態にかかる加工工程の設定例を示す。
 図29において右端には、本実施形態にかかる加工プログラム40が記載されている。本実施形態にかかる加工プログラム40も、EIA/ISOの規格に従ったものである。ただし、本実施形態では、加工プログラム40内で括弧が用いられており、括弧内にコメントが記載されている。本実施形態では、これをコメント指令コードCCと称する。コメント指令コードCCは、数値制御装置30が複合加工機20に出力する指令信号には何ら寄与するものではなく、ユーザが任意に記載したものである。
 図29には、一例として、加工工程抽出コードが、工具交換指令コードとされた例が示されている。ここで、工具交換指令コードは、工具の交換を指令するコードである。これは基本的には、Tコードである。ただし、本実施形態では、Tコードを2つ並べて記載する代わりに、TコードとMコードをセットで用いて、「T**M06:*は任意の数字」によって実際に自動工具交換で主軸に装着される工具を記載し、「T**M##:##は、06以外の数字」によって工具交換準備をすべき工具を記載する例を示している。そして、本実施形態では、「M06」と同一に指令されているTコードを加工工程とする。
 図29には、別の例として、加工工程抽出コードが、工具交換指令コードと、座標系指令コードとの2つとされた例が示されている。ここで、座標系指令コードは、ワーク10の座標系を選択するための指令コードであり、具体的には「G54~59」である。ここで、これら「G54~59」は、複数のワークの加工を単一の加工プログラム40によって加工するときに利用される。そしてこの場合、ユーザは、「G54~59」によって、いずれのワークが加工される工程かを把握できる。
 図29には、さらに別の例として、加工工程抽出コードが、コメント指令コードCCとされた例が示されている。コメント指令コードは、ユーザが任意に記載するものであるため、これを加工工程とすることで、ユーザは、自分にとって分かり易い表現を用いることができ、加工内容の把握が容易となり、目的の加工工程を迅速に見つけることができる。なお、本実施形態では、コメント指令コードCCは、プログラムデータ表示領域35cの表示候補に含まれている。
 図30に、本実施形態にかかる加工工程抽出コードの設定処理の手順を示す。この処理は、CPU32が編集支援プログラム42を実行することによって実現される。
 図30に示す一連の処理において、CPU32は、まず、ユーザに加工工程抽出コードを設定するように要求する加工工程抽出コード設定要求処理を実行する(S90)。具体的には、たとえば表示装置34の画面35に、「加工工程とするコードを選択してください」といったメッセージを表示するとともに、工具交換指令コード、座標系指令コード、およびコメント指令コードのそれぞれについて、「選択する」または「選択しない」の2つの文字を隣接して表示すればよい。これに対し、ユーザは、たとえば、工具交換指令コードおよび座標系指令コードの2つを加工工程とすることを希望する場合、工具交換指令コードおよび座標系指令コードについては「選択する」と表示された領域をタップし、コメント指令コードについては「選択しない」と表示された領域をタップすればよい。
 CPU32は、たとえばタッチパネル36等の出力値によってユーザが選択を終了した旨を通知したと判断すると、工具交換指令コードが選択されたか否かを判断する(S92)。そして、CPU32は、工具交換指令コードが選択されたと判断する場合(S92:YES)、加工工程抽出コードに工具交換指令コードを含める(S94)。
 CPU32は、ステップS94の処理が完了する場合や、ステップS92において否定判断する場合、座標系指令コードが選択された否かを判断する(S96)。そして、CPU32は、座標系指令コードが選択されたと判断する場合(S96:YES)、加工工程抽出コードに「G54~G59」を含める(S98)。
 CPU32は、ステップS98の処理が完了する場合や、ステップS96において否定判断する場合、コメント指令コードが選択されたか否かを判断する(S100)。そして、CPU32は、コメント指令コードが選択されたと判断する場合(S100:YES)、加工工程抽出コードにコメント指令コードを含める(S102)。
 なお、CPU32は、ステップS102の処理が完了する場合や、ステップS100において否定判断する場合には、この一連の処理を一旦終了する。
 CPU32は、こうして加工工程抽出コードを決定すると、図21のステップS14aの処理において、加工プログラム40から加工工程を抽出して工程情報テーブルを作成する。なお、本実施形態にかかる工程情報テーブルは、たとえば、工程番号と、プログラム行数とを関連付けるテーブルとし、Tコード等を記憶しないものであってもよい。この場合、CPU32は、ステップS16において工程一覧表示領域35aに表示する画像データを生成するに際して、工程情報テーブルに規定されたプログラム行数に基づき、加工プログラム40から加工工程を抽出すればよい。この場合、抽出した加工工程の文字列の画像が、工程一覧表示領域35aに表示する画像となる。もっとも、工程情報テーブルを、工程番号と、加工工程と、プログラム行数とを関連付けるテーブルとすることも可能である。
 <その他の実施形態>
 なお、上記各実施形態は、以下のように変更して実施してもよい。
 ・「指定表示対象の表示手法について」
 図13や図26等においては、工程一覧表示領域35aにおいて、指定表示対象の画像の色を変えつつ輝度を高くする手法を例示したがこれに限らない。たとえば、色を変えることなく、輝度を高くしてもよい。また、たとえば、輝度を高くすることなく色を変えてもよい。また、たとえば指定表示対象付近にカーソルを表示してもよい。
 図13や図14,図24、図26等においては、プログラムデータ表示領域35cにおいて、指定表示対象を頭出しするとともに、そのうちの特定の部分にカーソルKを移動したがこれに限らない。たとえば、頭出しした直後においては、カーソルKの位置を定義せず、カーソルKを表示しなくてもよい。この場合、たとえば、プログラムデータ表示領域35c内の特定の文字列の画像等がタップされることで、その部分にカーソルKを出現させればよい。
 図13や図16、図27、図28において、工程一覧表示領域35aに表示されている加工工程の中に、ハイライトの対象となるものがない場合は、頭出し処理を行って且つハイライト表示を実行してもよい。
 図13においては、形状表示領域35bにおいて加工形状のハイライトを行ったが、これに限らない。ハイライト表示に代えて、たとえば色を変えてもよい。また、たとえば、ハイライト表示に併せてハイライト表示している部分を指し示す矢印を表示してもよく、またたとえば、ハイライト表示を行うことなく矢印のみを表示してもよい。
 図15や図16においては、特定の加工工程が指示されると、CPU32は、形状表示領域35bにおいて、その加工工程によって加工される加工形状をハイライト表示したが、これに限らない。たとえば、その加工形状のみを実線とし、残りを破線にて表示してもよい。
 ・「表示領域の分割について」
 上記実施形態では、工程一覧表示領域35a、形状表示領域35b、およびプログラムデータ表示領域35cのそれぞれの領域の大きさや配置座標が固定されているものとしていたが、これに限らない。たとえば、タッチパネル36上でのピンチイン操作やピンチアウト操作等によって、特定の領域自体の拡大や縮小を指示可能としてもよい。これにより、たとえば、工程一覧表示領域35aおよび形状表示領域35bを拡大すべく、図6の下方にそれらの領域を拡大する旨を指示することで、プログラムデータ表示領域35cが縮小され、工程一覧表示領域35aおよび形状表示領域35bが拡大される。
 なお、この際、画面35内に、工程一覧表示領域35a、形状表示領域35b、およびプログラムデータ表示領域35cが全て常時表示されていることは必須ではない。たとえば、工程一覧表示領域35aおよび形状表示領域35bを拡大することで、プログラムデータ表示領域35cが表示されないようにすることを可能としてよい。この場合であっても、必要に応じてプログラムデータ表示領域35cを表示可能とすることで、互いの領域に表示された情報をユーザが容易に関連づけることができることには相違ない。
 ・「加工工程抽出コードについて」
 工具変換指令コード、座標系指令コード、およびコメント指令コードのそれぞれについて、加工工程の区切りとして採用するか否かをユーザの指示によって定めるものに限らない。たとえば、工具交換指令コードおよび座標系指令コードのいずれを加工工程の区切りとして採用するかをユーザの指示によって定めるものであってもよい。またたとえば、座標系指令コードおよびコメント指令コードのいずれを加工工程の区切りとして採用するかをユーザの指示によって定めるものであってもよい。また、たとえば、工具交換指令コードおよびコメント指令コードのいずれを加工工程の区切りとして採用するかをユーザの指示によって定めるものであってもよい。
 さらに、工具交換指令コード、座標系指令コード、およびコメント指令コードのうちの少なくとも1つと、これら3種類のコード以外のコードとのそれぞれを、加工工程の区切りとして採用するか否かをユーザの指示によって定めるものであってもよい。
 さらに、加工工程の区切りとする候補を予め設定しておくものにも限らず、たとえば、加工工程の区切りとするコードをユーザに入力させ、入力されたコードを加工工程の区切りとして定めるものであってもよい。
 ・「形状指令コード(Gコード)に基づく形状表示について」
 上記第2実施形態や第3の実施形態では、形状表示領域35bに表示された加工形状のうち指示された箇所を除けば、工具がワーク10に接触する際の軌跡と、接触しない軌跡とを色分けする例のみを示したがこれに限らない。たとえば、工具がワーク10に接触する際の軌跡についても、Gコードの種類に応じて色を変更してもよい。もっとも、Gコードの種類のみに基づき色を相違させるものにも限らない。たとえば、Tコードに基づき、いずれの工具を利用した際の軌跡かに応じて色分けしてもよい。
 ・「形状の画像のデータ生成手法について」
 上記第1の実施形態では、形状シーケンスデータ(FIG)によって規定される形状(座標情報)の差集合に基づき、形状表示領域35bに表示する形状を生成した。また、第2の実施形態では、加工プログラム40において設定された複数の座標値データで示される空間上の点をGコードによって決定された属性を有する線で接続して加工形状データを生成した。しかし、これらのように、加工プログラムによって規定された座標情報の差集合や線の接続処理に基づき形状表示領域35bに表示する加工形状のデータを生成するものに限らない。たとえば、加工プログラム40を数値制御装置30が用いるコードに変換してワーク10を加工するシミュレーションを実行し、シミュレーションによって生成されるデータを、形状表示領域35bに表示する加工形状のデータとしてもよい。この場合、シミュレーション結果のうち、各加工工程の終了時のデータを記憶しておくことで、各加工工程の加工形状の画像を形状表示領域35bに表示することも可能となる。
 ・「加工プログラムについて」
 加工されたワークの形状情報を含む加工形状データを有するものとしては、図2、図3に例示したデータに限らない。たとえば、点加工、線加工、面加工について、工具とは独立に加工形状を定義したユニットを複数備え、それらユニットに組み合わせ可能な工具を規定するデータ(ユニット)を別途備えるものであってもよい。この場合、加工形状を定義したユニットの後に工具を規定したユニットを記載することで加工プログラムを作成すればよい。
 ・「プログラム編集支援装置について」
 編集支援プログラム42がCPU32によって実行されるものに限らない。たとえば、上記実施形態において編集支援プログラム42がCPU32によって実行されることで実現された機能の少なくとも一部を専用のハードウェア手段によって実現してもよい。
 ・「編集支援プログラムのインストール対象について」
 数値制御装置30に限らず、たとえば汎用のコンピュータであってもよい。
 ・「工作機械について」
 複合加工機としては、上記実施形態で例示したものに限らない。たとえば、旋盤のようにワーク10を回転させて切削する機能を搭載しつつも、フライス盤のようにワーク10を固定して工具を回転させて加工する機能を搭載しないものであってもよい。
 ・「入力装置について」
 タッチパネル36を備えるものに限らない。たとえば、マウス等、表示領域の特定箇所を指示可能な装置であってもよい。この際、特定箇所は、点にも限らず、幅を持った領域であってもよい。ただし、この場合、工程一覧表示領域35aやプログラムデータ表示領域35c内の特定箇所が指定される場合、特定箇所の一部を含む加工工程の画像やデータの画像が指定されたとすることが望ましい。
 10…ワーク、20…複合加工機、30…数値制御装置、32…中央処理装置、32…CPU、34…表示装置、35…画面、35a…工程一覧表示領域、35b…形状表示領域、35c…プログラムデータ表示領域、36…タッチパネル、37…ボタン、38…メモリ、40…加工プログラム、42…編集支援プログラム、50…共通ユニット、52…座標系・ワーク姿勢設定ユニット、54…加工ユニット、56…エンドユニット、60…製品形状、60M…製品形状モデル、62…第1円柱部、62M…加工形状モデル、64…第2円柱部、66…第3円柱部、68…テーパ部、70…第4円柱部、74…フェイスミル面、74M…加工形状モデル、76…ドリル穴、78…凹部。

Claims (10)

  1.  工作機械の加工プログラムの編集を支援する加工プログラム編集支援装置において、
     表示装置と、
     該表示装置の画面上の任意の点を指定する入力装置と、
     前記画面を、プログラムデータ表示領域および工程一覧表示領域を含む少なくとも2つの表示領域に分割して表示する表示制御部と、を備え、
     前記加工プログラムは、各加工工程に区切られたデータを含むプログラムデータを有し、該プログラムデータは、各加工工程での加工の方法を定義する加工方法データと、各加工工程での加工に寄与する形状を定義する形状定義データとを含み、
     前記加工方法データは、当該加工方法データに対応する前記加工工程の工程名称を示す工程名称データを含み、
     前記表示制御部は、
     前記プログラムデータ表示領域の表示候補を前記プログラムデータとし、該プログラムデータの少なくとも一部を表示対象として前記プログラムデータ表示領域に表示し、
     前記工程一覧表示領域の表示候補を前記工程名称データとし、該工程名称データの少なくとも一部を表示対象として前記工程一覧表示領域に表示し、
     前記プログラムデータ表示領域および前記工程一覧表示領域のいずれか一方の表示領域に当該一方の表示領域の前記表示対象が表示されているときに、前記一方の表示領域の特定箇所が前記入力装置を介して指定されると、前記一方の表示領域の前記表示対象と前記特定箇所と、により特定される表示対象を、当該一方の表示領域の指定表示対象として、当該一方の表示領域における他の表示対象とは差別化して表示し、また、他方の表示領域の表示候補のなかで前記一方の表示領域の指定表示対象に対応する表示候補を、当該他方の表示領域の指定表示対象として、当該他方の表示領域の表示対象に含めて且つ、当該他方の表示領域における他の表示対象とは差別化して表示する
    ことを特徴とする加工プログラム編集支援装置。
  2.  前記加工方法データは、加工を行う工具を指定する工具交換指令コードと、座標系を選択するための座標系指令コードと、加工動作に何ら寄与しないコメントを前記プログラムデータ中に記載するためのコメント指令コードと、を含み、
     前記形状定義データは、工具の移動経路を定義する形状指令コードを含み、
     前記加工プログラムは、前記加工方法データおよび前記形状定義データを、実行順に1行ずつ定義されており、
     前記表示制御部は、前記工具交換指令コードと、前記座標系指令コードと、前記コメント指令コードとの少なくとも一つを前記工程名称データとして認識し、前記加工プログラムにおいて、前記工程名称データとして認識した指令コードを含む行から、次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識する
     ことを特徴とする請求項1記載の加工プログラム編集支援装置。
  3.  前記加工プログラムは、EIA/ISOで規定される指令コードを実行順に1行ずつ定義されるプログラムであり、
     前記表示制御部は、少なくとも1つの特定の指令コードを加工工程の区切りとする旨の指示を、前記入力装置を介して受け付け、該受け付けた特定の指令コードを加工工程抽出コードとして定め、当該加工工程抽出コードを前記工程名称データとして認識し、前記加工プログラムにおいて、前記工程名称データとして認識した指令コードを含む行から、次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識する
     ことを特徴とする請求項1に記載の加工プログラム編集支援装置。
  4.  前記表示制御部は、前記画面に、更に、1行ずつ定義された前記形状定義データから得られる定義形状を表示候補とする表示領域を形状表示領域として設け、前記定義形状の少なくとも一部を表示対象として表示すると共に、
     前記プログラムデータ表示領域、前記工程一覧表示領域、および前記形状表示領域のいずれか1つの表示領域に当該表示領域の前記表示対象が表示されているときに、該いずれか1つの表示領域の特定箇所が前記入力装置を介して指定されると、当該いずれか1つの表示領域に表示された表示対象と前記特定箇所と、により特定される表示対象を、該いずれか1つの表示領域の指定表示対象として、該いずれか1つの表示領域における他の表示対象とは差別化して表示し、また、残りの2つの表示領域における表示候補のなかで前記いずれか1つの表示領域の指定表示対象に対応する、残りの2つの表示領域のそれぞれの表示候補を、当該残りの2つの表示領域のそれぞれの指定表示対象として、前記それぞれの表示領域の表示対象に含めて且つ、当該それぞれの表示領域の他の表示対象とは差別化して表示する
     ことを特徴とする請求項2に記載の加工プログラム編集支援装置。
  5.  前記形状指令コードは、座標値データを有し、
     前記表示制御部は、前記加工プログラムを解析して、前記形状指令コードと前記座標値データとこれら2つのデータの格納場所を示すプログラム行数と、を、それぞれ格納した座標値テーブルを作成し、該座標値テーブルの前記座標値データが示す座標点を順次接続線で接続して前記定義形状を作成する
     ことを特徴とする請求項4に記載の加工プログラム編集支援装置。
  6.  前記形状表示領域の指定表示対象の候補が登録されるテーブルが、加工形状テーブルであり、
     前記表示制御部は、前記形状表示領域に前記表示対象が表示されているときに該形状表示領域の特定箇所が前記入力装置を介して指定されると、少なくとも一部が前記特定箇所を中心とした所定領域に含まれる表示対象の前記接続線を、前記形状表示領域の前記指定表示対象の候補として前記加工形状テーブルに登録し、該加工形状テーブルの先頭に登録された指定表示対象の候補を指定表示対象として前記形状表示領域に表示し、
     前記表示制御部は、前記特定箇所との距離が所定量以内の箇所が前記入力装置を介して連続して指定される場合、前記加工形状テーブルに登録された順に従って次の前記指定表示対象の候補を前記形状表示領域の指定表示対象として前記形状表示領域に表示する
     ことを特徴とする請求項5に記載の加工プログラム編集支援装置。
  7.  前記プログラムデータ表示領域および前記形状表示領域のいずれか一方の表示領域で前記特定箇所を指定した結果、前記形状表示領域における前記指定表示対象が特定された場合、
     前記形状表示領域の前記指定表示対象は、前記1行ずつ定義された前記座標点を終点とする前記接続線であり、
     前記表示制御部は、前記指定表示対象とされた前記接続線を、前記形状表示領域における他の表示対象の前記接続線を示す線の線種、太さ、色の少なくとも1つを変更した線で表示することにより、前記形状表示領域における指定表示対象を差別化して表示する
     ことを特徴とする請求項6に記載の加工プログラム編集支援装置。
  8.  前記表示制御部は、前記工程一覧表示領域に前記表示対象が表示されているときに、前記工程一覧表示領域の特定箇所が前記入力装置を介して指定されて前記指定表示対象が特定されたとき、前記工程一覧表示領域で前記指定表示対象とされた前記工程名称データに対応する前記プログラムデータを、前記工程名称データが指令された行のデータとする単独行処理と、前記工程名称データが属する前記加工工程のすべての行のデータとする全行処理と、を選択的に行うと共に、
     前記プログラムデータ表示領域の指定表示対象は前記単独行処理によって得られる行のプログラムデータとし、前記形状表示領域の指定表示対象は前記全行処理によって得られるプログラムデータに基づく定義形状とし且つ、前記指定表示対象とされた前記加工工程の定義形状を除く定義形状を表示しないことで前記指定表示対象を差別化して表示する
     ことを特徴とする請求項6に記載の加工プログラム編集支援装置。
  9.  前記加工方法データは、加工を行う工具を指定する工具交換指令コードを含み、
     前記形状定義データは、工具の移動経路を定義する形状指令コードを含み、
     前記加工プログラムは、前記加工方法データおよび前記形状定義データを、実行順に1行ずつ定義されており、
     前記表示制御部は、前記工具交換指令コードを前記工程名称データとして認識し、前記加工プログラムにおいて前記工程名称データとして認識した指令コードを含む行から次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識する
     ことを特徴とする請求項1記載の加工プログラム編集支援装置。
  10.  前記加工方法データは、加工を行う工具を指定する工具交換指令コードと、座標系を選択するための座標系指令コードと、加工動作に何ら寄与しないコメントを前記プログラムデータ中に記載するためのコメント指令コードと、を含み、
     前記形状定義データは、工具の移動経路を定義する形状指令コードを含み、
     前記加工プログラムは、前記加工方法データおよび前記形状定義データを、実行順に1行ずつ定義されており、
     前記表示制御部は、前記工具交換指令コードと、前記座標系指令コードと、前記コメント指令コードと、のそれぞれを加工工程の区切りとするか否かの指示を、前記入力装置を介して受け付け、該受け付けた指令コードを加工工程抽出コードとして定め、当該加工工程抽出コードを前記工程名称データとして認識し、前記加工プログラムにおいて、前記工程名称データとして認識した指令コードを含む行から、次に前記工程名称データとして認識した指令コードを含む行の直前の行までを、先に認識した前記工程名称データの前記加工工程として認識する
     ことを特徴とする請求項1記載の加工プログラム編集支援装置。
PCT/JP2015/075137 2014-09-03 2015-09-03 加工プログラム編集支援装置 WO2016035869A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2015558689A JP5925976B1 (ja) 2014-09-03 2015-09-03 加工プログラム編集支援装置
EP15838128.5A EP3147736B1 (en) 2014-09-03 2015-09-03 Machining program editing assistance device
CN201580003827.0A CN105900028B (zh) 2014-09-03 2015-09-03 加工程序编辑辅助装置
US15/438,771 US10379523B2 (en) 2014-09-03 2017-02-22 Machining program editing assist apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014179532 2014-09-03
JP2014-179532 2014-09-03

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/438,771 Continuation US10379523B2 (en) 2014-09-03 2017-02-22 Machining program editing assist apparatus

Publications (1)

Publication Number Publication Date
WO2016035869A1 true WO2016035869A1 (ja) 2016-03-10

Family

ID=55439926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/075137 WO2016035869A1 (ja) 2014-09-03 2015-09-03 加工プログラム編集支援装置

Country Status (5)

Country Link
US (1) US10379523B2 (ja)
EP (1) EP3147736B1 (ja)
JP (1) JP5925976B1 (ja)
CN (1) CN105900028B (ja)
WO (1) WO2016035869A1 (ja)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6479275B1 (ja) * 2017-12-26 2019-03-06 三菱電機株式会社 加工プログラム修正装置および加工プログラム修正方法
CN109500617A (zh) * 2017-09-15 2019-03-22 南京美克斯精密机械有限公司 一种数控机床的摇臂控制***
CN109500616A (zh) * 2017-09-15 2019-03-22 南京美克斯精密机械有限公司 一种数控机床的电机***
US10379523B2 (en) * 2014-09-03 2019-08-13 Yamazaki Mazak Corporation Machining program editing assist apparatus
US10534349B2 (en) 2016-06-24 2020-01-14 Fanuc Corporation Machining program editing apparatus, method, and storage medium
JP6971416B1 (ja) * 2021-03-01 2021-11-24 Dmg森精機株式会社 プログラム編集装置およびプログラム
WO2022065252A1 (ja) * 2020-09-24 2022-03-31 ファナック株式会社 表示装置及び表示方法
WO2024095401A1 (ja) * 2022-11-02 2024-05-10 株式会社Fuji 加工提案表作成装置、及び加工提案表作成プログラム

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10901394B2 (en) * 2017-02-28 2021-01-26 Sap Se Manufacturing process data collection and analytics
US10678216B2 (en) 2017-02-28 2020-06-09 Sap Se Manufacturing process data collection and analytics
US20190061336A1 (en) * 2017-08-29 2019-02-28 Xyzprinting, Inc. Three-dimensional printing method and three-dimensional printing apparatus using the same
JP6937279B2 (ja) * 2018-09-05 2021-09-22 Dmg森精機株式会社 プログラム編集装置、加工装置、加工方法及びコンピュータプログラム
WO2021014571A1 (ja) * 2019-07-23 2021-01-28 ヤマザキマザック株式会社 工作機械、工作機械のための入力支援方法、及び工作機械のためのプログラム
US11579584B2 (en) * 2019-10-07 2023-02-14 The Boeing Company Apparatus and method for contoured-surface component repair
JP7364695B2 (ja) * 2020-01-08 2023-10-18 ファナック株式会社 ロボットプログラミング装置
CN113467369B (zh) * 2021-07-19 2022-05-13 中航沈飞民用飞机有限责任公司 一种自动钻铆数控代码可视化交互修正方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233054A (ja) * 1992-02-19 1993-09-10 Fanuc Ltd 自動プログラミングシステムの工具軌跡描画方式
JPH05297925A (ja) * 1992-04-22 1993-11-12 Fanuc Ltd 対話形数値制御装置
JPH0962326A (ja) * 1995-08-21 1997-03-07 Toshiba Corp Nc加工装置

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61265240A (ja) * 1985-05-18 1986-11-25 Fanuc Ltd 4軸旋盤用のncプログラム編集方法
JP2771701B2 (ja) * 1990-12-28 1998-07-02 ファナック株式会社 対話形数値制御装置
JP2926645B2 (ja) 1991-12-05 1999-07-28 オークマ株式会社 数値制御装置
EP1048400A1 (en) * 1998-08-28 2000-11-02 Mori Seiki Co., Ltd. Method and apparatus for optimizing nc programs in nc machining
JP4657436B2 (ja) * 2000-10-26 2011-03-23 シチズンホールディングス株式会社 自動プログラミング方法及び自動プログラミング装置
WO2005002792A1 (ja) * 2003-07-04 2005-01-13 Mitsubishi Denki Kabushiki Kaisha 自動プログラミング方法および装置
GB0414649D0 (en) * 2004-06-30 2004-08-04 Renishaw Plc Generation of a CNC machine tool control program
JP2010097414A (ja) * 2008-10-16 2010-04-30 Citizen Machinery Co Ltd 工作機械の制御装置及び制御方法
DE102009023648A1 (de) * 2009-05-26 2010-12-02 Index-Werke Gmbh & Co. Kg Hahn & Tessky Steuerungssystem
US8200362B2 (en) * 2009-07-16 2012-06-12 Mori Seiki Co., Ltd. Numerically controlling apparatus with stop point setting and removing means
JP5165159B2 (ja) * 2010-07-02 2013-03-21 三菱電機株式会社 数値制御プログラミング方法、数値制御プログラミング装置、プログラム、及び数値制御装置
CN103080859B (zh) * 2010-08-25 2015-04-29 三菱电机株式会社 轨迹控制装置
JP5724679B2 (ja) * 2011-06-29 2015-05-27 株式会社ジェイテクト ブロック実行順表示装置
JP5817256B2 (ja) * 2011-06-29 2015-11-18 株式会社ジェイテクト 機械制御プログラム作成装置
US9013574B2 (en) * 2011-11-15 2015-04-21 Mitutoyo Corporation Machine vision system program editing environment including synchronized user interface features
JP5469214B2 (ja) * 2012-07-19 2014-04-16 ファナック株式会社 指定条件に基づいて情報を表示する工作機械のデータ表示装置
WO2014097371A1 (ja) * 2012-12-17 2014-06-26 三菱電機株式会社 数値制御装置
CN105103066B (zh) * 2013-04-12 2017-12-15 三菱电机株式会社 数控程序编辑装置、数控程序编辑方法及程序
JP5925976B1 (ja) * 2014-09-03 2016-05-25 ヤマザキマザック株式会社 加工プログラム編集支援装置
JP5990662B2 (ja) * 2014-09-03 2016-09-14 ヤマザキマザック株式会社 加工プログラム編集支援装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233054A (ja) * 1992-02-19 1993-09-10 Fanuc Ltd 自動プログラミングシステムの工具軌跡描画方式
JPH05297925A (ja) * 1992-04-22 1993-11-12 Fanuc Ltd 対話形数値制御装置
JPH0962326A (ja) * 1995-08-21 1997-03-07 Toshiba Corp Nc加工装置

Non-Patent Citations (1)

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

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10379523B2 (en) * 2014-09-03 2019-08-13 Yamazaki Mazak Corporation Machining program editing assist apparatus
US10534349B2 (en) 2016-06-24 2020-01-14 Fanuc Corporation Machining program editing apparatus, method, and storage medium
CN109500617A (zh) * 2017-09-15 2019-03-22 南京美克斯精密机械有限公司 一种数控机床的摇臂控制***
CN109500616A (zh) * 2017-09-15 2019-03-22 南京美克斯精密机械有限公司 一种数控机床的电机***
JP6479275B1 (ja) * 2017-12-26 2019-03-06 三菱電機株式会社 加工プログラム修正装置および加工プログラム修正方法
WO2019130412A1 (ja) * 2017-12-26 2019-07-04 三菱電機株式会社 加工プログラム修正装置および加工プログラム修正方法
WO2022065252A1 (ja) * 2020-09-24 2022-03-31 ファナック株式会社 表示装置及び表示方法
JP7469492B2 (ja) 2020-09-24 2024-04-16 ファナック株式会社 表示装置及び表示方法
JP6971416B1 (ja) * 2021-03-01 2021-11-24 Dmg森精機株式会社 プログラム編集装置およびプログラム
WO2022185712A1 (ja) * 2021-03-01 2022-09-09 Dmg森精機株式会社 プログラム編集装置およびプログラム
JP2022132726A (ja) * 2021-03-01 2022-09-13 Dmg森精機株式会社 プログラム編集装置およびプログラム
WO2024095401A1 (ja) * 2022-11-02 2024-05-10 株式会社Fuji 加工提案表作成装置、及び加工提案表作成プログラム

Also Published As

Publication number Publication date
EP3147736A1 (en) 2017-03-29
EP3147736B1 (en) 2018-12-19
CN105900028B (zh) 2017-06-09
JP5925976B1 (ja) 2016-05-25
EP3147736A4 (en) 2017-10-11
CN105900028A (zh) 2016-08-24
US20170160724A1 (en) 2017-06-08
US10379523B2 (en) 2019-08-13
JPWO2016035869A1 (ja) 2017-04-27

Similar Documents

Publication Publication Date Title
JP5925976B1 (ja) 加工プログラム編集支援装置
JP5990662B2 (ja) 加工プログラム編集支援装置
CN105793788B (zh) 工作机械的控制装置
US10114364B2 (en) Numerical-control-program editing apparatus, numerical-control-program editing method, and program
US8332067B2 (en) Device and method for processing a robot control program
JP6719790B1 (ja) Cadデータによるマシニングセンタの自動運転装置
US10222780B2 (en) Control device for machine tool
JP6333798B2 (ja) 数値制御装置
JPH02293903A (ja) Cad/cam装置
JP6261613B2 (ja) 工作機械の制御装置
US10222783B2 (en) Numerical control device, NC machining device, and NC machining method
US10191460B2 (en) Control device for machine tool
JP6479275B1 (ja) 加工プログラム修正装置および加工プログラム修正方法
CN110737244A (zh) 数值控制装置和数据编辑方法
JP6674076B1 (ja) 工作機械、工作機械のための入力支援方法、及び工作機械のためのプログラム
JPH07311612A (ja) 数値制御装置における加工プログラム編集方法及びその装置
JP5015546B2 (ja) 情報表示装置
JP4537138B2 (ja) Nc加工方法、nc加工機、及びnc加工プログラム
JP6298565B1 (ja) 設計支援システム
JPS61105615A (ja) Ncデ−タ作成装置における加工領域指定方式
JP2019028641A (ja) 加工プログラム編集装置、加工プログラム編集方法、および加工プログラム編集プログラム
JPH06342305A (ja) Cad/cam接続方法
JPH11167411A (ja) 設計装置及び設計方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2015558689

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15838128

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015838128

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015838128

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE