WO2018122986A1 - Processing program analysys device - Google Patents

Processing program analysys device Download PDF

Info

Publication number
WO2018122986A1
WO2018122986A1 PCT/JP2016/088987 JP2016088987W WO2018122986A1 WO 2018122986 A1 WO2018122986 A1 WO 2018122986A1 JP 2016088987 W JP2016088987 W JP 2016088987W WO 2018122986 A1 WO2018122986 A1 WO 2018122986A1
Authority
WO
WIPO (PCT)
Prior art keywords
cutting point
tool
machining program
data
cutting
Prior art date
Application number
PCT/JP2016/088987
Other languages
French (fr)
Japanese (ja)
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 PCT/JP2016/088987 priority Critical patent/WO2018122986A1/en
Priority to JP2017539692A priority patent/JP6316513B1/en
Publication of WO2018122986A1 publication Critical patent/WO2018122986A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/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/4069Simulating machining process on screen

Definitions

  • the present invention relates to a machining program analyzer for analyzing a machining program for operating a numerically controlled machine tool for machining a workpiece.
  • a numerically controlled machining program in which a movement command for moving a workpiece or a machining tool along a preset route is used.
  • the numerical control machining program is also called NC (Numerical Control) machining program.
  • the NC machining program is created by, for example, commercially available CAM (Computer Aided Manufacturing) software.
  • the NC machining program is, for example, a format defined by EIA (Electronic Industries Alliance) (hereinafter referred to as “EIA format”) or a format defined by ISO (International Standard Organization) (hereinafter referred to as “ISO format”). It is described by a character string defined according to a format.
  • the character string used in the description of the NC machining program is, for example, a character string of a G code and a macro sentence.
  • the G code is a command code described in the NC machining program when positioning, linear interpolation, circular interpolation, or plane designation is performed, for example.
  • the NC machining program needs to be confirmed before it is actually operated, but it is difficult to confirm the NC machining program by looking at the NC machining program alone. Therefore, when confirming the NC machining program, for example, the movement command described in the NC machining program is converted into a tool path, and the converted tool path trajectory is converted into, for example, a CRT (Cathode Ray Tube) device or the like. Confirmation is performed by displaying on a display device such as a display of a liquid crystal monitor.
  • a CRT Cathode Ray Tube
  • interpolation processing is executed based on the movement command described in the NC machining program, other machining conditions, and the machine configuration, and a command locus after the interpolation processing is calculated. Further, the actual machine is operated along the calculated command locus after the interpolation processing, and the actual locus which is the locus of the tool tip point is detected by the detection device.
  • the NC command data and the actual trajectory are stored in a storage device such as a memory, and called up when necessary. For example, the NC command data and the actual locus are displayed on a display device and used for visual analysis for processing evaluation.
  • converted tool path “converted tool path”, “command trajectory after interpolation processing”, and “actual trajectory of tool tip point” are “program path” and “NC command respectively” by those skilled in the art. It is often referred to as “data” and “FB (Feed Back) position data”, and will be described below using these terms as necessary.
  • Patent Document 1 discloses that the final machining shape data generated from the NC machining program is compared with the required data to determine overcutting and uncutting, and the degree of color and line segments are determined.
  • an invention of a machining simulation apparatus displaying with contour lines is described.
  • Patent Document 1 it is possible to know the degree of overcutting and uncutting.
  • the NC machining program correction work for eliminating machining defects such as overcutting and uncut parts there is a problem that it is difficult to grasp a portion that needs to be corrected, and work efficiency is poor.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a machining program analyzer capable of improving work efficiency when developing and correcting machining programs.
  • a machining program analysis apparatus includes tool trajectory data representing a tool trajectory in machining performed by a numerically controlled machine tool on a workpiece, and a tool. Based on the tool data representing the shape of the workpiece and the data representing the machining shape of the workpiece, the cutting point at which the tool cuts the workpiece to obtain the workpiece having the machining shape was calculated and calculated. The occurrence of uncut residue at each cutting point and the occurrence of overcutting are determined. Further, the machining program analysis apparatus displays each cutting point on the display device in a format in which the determination result can be visually recognized.
  • the machining program analysis apparatus has an effect that it is possible to improve work efficiency when developing and correcting a machining program.
  • FIG. 1 is a flowchart showing the overall operation of a numerical control apparatus according to a first embodiment;
  • FIG. FIG. 3 is a flowchart showing processing of reading CAD data by the analysis unit according to the first embodiment;
  • the CAD model alignment part concerning Embodiment 1 is a figure which shows the CAD model and command position before performing alignment.
  • the flowchart which shows the process which the analysis part concerning Embodiment 1 displays a cutting point.
  • the flowchart which shows the procedure in which the cutting point calculation part concerning Embodiment 1 calculates a cutting point.
  • movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model are separated.
  • movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model have touched.
  • movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model are separated.
  • the flowchart which shows the 3rd procedure in which the cutting point display part concerning Embodiment 1 displays a cutting point on a display apparatus The figure which shows the 3rd example of a display of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 1 displays.
  • the flowchart which shows the process which the analysis part concerning Embodiment 2 displays a cutting point based on NC command data The flowchart which shows the procedure in which the cutting point calculation part concerning Embodiment 2 calculates a cutting point.
  • FIG. The flowchart which shows the process which the analysis part concerning Embodiment 3 displays a cutting point based on FB position data.
  • the flowchart which shows the procedure in which the cutting point calculation part concerning Embodiment 3 calculates a cutting point.
  • FIG. 1 is a diagram illustrating a configuration example of a numerical control apparatus configured to include the machining program analysis apparatus according to the first embodiment.
  • the machining program analysis device 1 constitutes a numerical control device 10 together with a numerical control unit 11, a tool database (DB: Data Base) 12, an axis drive unit 13 and a position data acquisition unit 14. Further, the machining program analysis device 1 includes an analysis unit 15 and a display device 16.
  • the numerical control device 10 controls the machine tool 20 according to the NC machining program 100 to machine a workpiece that is not shown in FIG.
  • the numerical control device 10 and the machine tool 20 are configured to communicate via a wired communication path represented by Ethernet (registered trademark) or USB (Universal Serial Bus).
  • the numerical controller 10 and the machine tool 20 may communicate with each other via a wireless communication path.
  • the machine tool 20 is a numerically controlled machine tool including a plurality of drive shafts 21 and a position detection unit 22, and operates according to a command received from the numerical control device 10.
  • the NC machining program 100 is a numerical machining program for operating the machine tool 20.
  • the numerical controller 11 generates NC command data that is numerical control command data from the NC machining program 100 and the tool DB 12.
  • the tool DB 12 holds tool data of various processing tools used when the machine tool 20 processes a processing object.
  • the tool data is data including information on the type of the processing tool and information representing the shape of the processing tool such as a tool diameter, a tool edge radius, and a tool length.
  • the shaft drive unit 13 drives a plurality of drive shafts 21 provided in the machine tool 20 in accordance with the NC command data generated by the numerical control unit 11.
  • the position data acquisition unit 14 acquires actual position data, which is data indicating the position of each drive shaft of the plurality of drive shafts 21, generated by the position detection unit 22 of the machine tool 20 as FB position data.
  • the FB position data is data representing the actual position of the tool at the time of machining with the position coordinates of each drive axis.
  • the analysis unit 15 constituting the machining program analysis device 1 includes an NC machining program 100, NC command data input from the numerical control unit 11, FB position data input from the position data acquisition unit 14,
  • the CAD data 200 created by a computer-aided design (CAD) device and the tool data held in the tool DB 12 are analyzed.
  • the NC machining program 100 is a program described by a character string of a G code and a macro sentence, is created by CAM software, and is defined according to an EIA format format or an ISO format format.
  • the NC machining program 100 describes a movement command for moving a workpiece or a machining tool along a preset route, an auxiliary operation command for the machine tool 20, and a set value of machining conditions.
  • the NC command data means a command position or a set of command positions for each preset control cycle.
  • the command position is a position commanded by a movement command described in the NC machining program 100.
  • the display device 16 constituting the machining program analysis device 1 displays the analysis result by the analysis unit 15.
  • the plurality of drive shafts 21 are controlled by the numerical control device 10, and the machining tool not shown in FIG. 1 is moved to the command position notified from the numerical control device 10.
  • the position detection unit 22 detects the position of each drive shaft of the plurality of drive shafts 21 and generates actual position data that is data indicating the position of each drive shaft.
  • the numerical control unit 11 acquires the tool information commanded by the NC machining program 100 from the tool DB 12, and based on the acquired tool information and the NC machining program 100, the NC command data is obtained. Generate.
  • the shaft drive unit 13 generates drive command data for instructing the plurality of drive shafts 21 of the machine tool 20 according to the NC command data generated by the numerical control unit 11, and transmits the generated drive command data to the machine tool 20. Thereby, the position and posture of at least one of the tool and the workpiece are controlled.
  • the position detector 22 detects the positions of the plurality of drive shafts 21 and generates actual position data. The generated actual position data of each drive shaft is transmitted to the numerical controller 10.
  • the numerical control apparatus 10 acquires the actual position data of each drive shaft transmitted from the position detection unit 22 of the machine tool 20 by the position data acquisition unit 14 as FB position data.
  • the analysis unit 15 includes an NC machining program 100, NC command data generated by the numerical control unit 11, or FB position data acquired by the position data acquisition unit 14, CAD data 200, and tool data held in the tool DB 12. Is analyzed to calculate a cutting point, which will be described later, and the calculated cutting point is displayed on the display device 16.
  • the CAD data 200 is CAD data representing an ideal shape of a machining result obtained by machining the machining object by the machine tool 20 in accordance with the NC machining program 100. If another expression is used, machining of the machining object is performed. This is CAD data representing the shape.
  • the FB position data is data indicating the movement trajectory of the tool used for machining when machining is performed according to the NC machining program 100.
  • FIG. 2 is a flowchart showing the overall operation of the numerical control apparatus 10 according to the first embodiment.
  • the processing from steps ST1001 to ST1007 shown in FIG. 2 is divided into the following three subflows.
  • (1) NC command data generation flow (ST1001, ST1002).
  • (2) FB position data acquisition flow (ST1003, ST1004).
  • (3) Cutting point display flow (ST1005 to ST1007).
  • the numerical control unit 11 first reads the NC machining program 100, and stores the read NC machining program in the NC machining program in a storage device (not shown). Store in the area (step ST1001). Next, the numerical control unit 11 acquires an NC machining program from the storage device, acquires tool data of a tool used in machining according to the acquired NC machining program from the tool DB 12, and based on the acquired NC machining program. To calculate the command position.
  • the numerical controller 11 further generates NC command coordinates indicating the position of the tool at the time of machining based on the calculated command position, tool data, and the machine configuration that is the configuration information of the machine tool 20, NC command data for instructing the position coordinates of each drive axis is generated based on the NC command coordinates and stored in the NC command data storage area in the storage device (step ST1002).
  • the numerical controller 11 generates NC command data for each interpolation time of the machine tool 20 and stores it in the NC command data storage area in the storage device.
  • the NC command data is data for commanding the position of the tool at the time of machining with the position coordinates of each drive axis.
  • the shaft drive unit 13 receives NC command data generated by the numerical control unit 11 and stored in the NC command data storage area in the storage device. Is transmitted to the machine tool 20 to drive the machine tool 20 (step ST1003).
  • the machine tool 20 that has received the NC command data drives a plurality of drive shafts 21 in accordance with the NC command data.
  • the position detection unit 22 generates FB position data based on the actual position data of the plurality of drive shafts 21 and transmits the FB position data to the numerical controller 10.
  • the position data acquisition unit 14 of the numerical control device 10 acquires this and stores it in the FB position data storage area in the storage device (step ST1004).
  • the analysis unit 15 first reads the CAD data 200 and stores it in the CAD data storage unit which is a CAD data storage area in the storage device (step ST1005). Next, the analysis unit 15 calculates a cutting point (step ST1006). In step ST1006, the analysis unit 15 calculates a cutting point based on the NC machining program, NC command data or FB position data, tool data, and CAD data.
  • the NC machining program is a program in which various commands including a movement command for commanding the machine tool 20 to move a machining tool are described.
  • the NC command data is data for instructing the position of the tool at the time of machining using the position coordinates of each drive axis.
  • the FB position data is data representing the actual position of the tool at the time of machining with the position coordinates of each drive axis. That is, these NC machining program, NC command data, and FB position data correspond to tool path data representing the movement path of the tool during machining.
  • the analysis unit 15 When calculating the cutting point based on the NC machining program, the tool data, and the CAD data, the analysis unit 15 acquires the NC machining program from the NC machining program storage area in the storage device, and further acquires the obtained NC machining.
  • Tool data of a tool used in machining according to the program is acquired from the tool DB 12, and CAD data is acquired from a CAD data storage unit.
  • the analysis part 15 calculates the cutting point at the time of arrange
  • the analysis unit 15 calculates a cutting point based on the positional relationship between the tool model and the machining shape of the workpiece when the tool model that is the shape of the tool represented by the tool data is arranged at each command position.
  • the machining shape of the workpiece can be obtained from CAD data.
  • the cutting point is the closest point when the tool is placed at each command position and the machining shape represented by the CAD data. If the tool interferes with the machining shape, the tool model and the machining curved surface are in contact with each other. The tool model and the machining curved surface are in contact with each other when the tool model is offset inward and the two contact with each other.
  • the analysis part 15 acquires NC command data from the NC command data storage area in a memory
  • Tool data of a tool used in machining according to NC command data is acquired from the tool DB 12 and CAD data is acquired from a CAD data storage unit.
  • the analysis part 15 calculates the cutting point at the time of moving a tool according to NC command data based on the acquired NC command data, tool data, and CAD data.
  • the analysis unit 15 performs cutting based on the positional relationship between the tool model and the machining shape of the workpiece, as in the case of calculating the cutting point based on the NC machining program, the tool data, and the CAD data described above. Calculate points.
  • the analysis part 15 acquires FB position data from the FB position data storage area in a memory
  • the tool data of the tool used in the machining when the FB position data is generated is acquired from the tool DB 12, and the CAD data is acquired from the CAD data storage unit.
  • the analysis part 15 calculates the cutting point at the time of moving a tool according to FB position data based on the acquired FB position data, tool data, and CAD data.
  • the analysis unit 15 performs cutting based on the positional relationship between the tool model and the machining shape of the workpiece, as in the case of calculating the cutting point based on the NC machining program, the tool data, and the CAD data described above. Calculate points.
  • the analysis unit 15 calculates the cutting point, and then displays the calculated cutting point on the display device 16 (step ST1007). At this time, the analysis unit 15 displays the cutting point together with the machining shape represented by the CAD data. Further, the analysis unit 15 highlights the cutting point according to the uncut material attribute and the overcut attribute.
  • Uncut means that the machined object cannot be cut sufficiently when the tool is placed at the command position, and “too much cut” means that the tool is placed at the command position. It means that the object to be machined is cut more than necessary when machining is performed.
  • the “uncut attribute” is information indicating that an uncut residue is generated at a cutting point
  • the “overcut attribute” is information indicating that an excessive cut is generated at a cutting point.
  • the analysis unit 15 highlights the cutting points that remain uncut and the cutting points that are excessively cut with respect to the machining shape represented by the CAD data.
  • the highlighting may be performed by a different method between an uncut cutting point and an excessively cut cutting point, or may be performed by the same method.
  • an uncut cutting point and an overcut cutting point are displayed in different colors.
  • the analysis unit 15 determines whether there is only an uncut portion and whether it is excessively cut, for example, by checking whether the distance between the cutting point and the tool placed at the command position is less than a specified value.
  • the machine is overcut by checking whether the cutting point is inside the tool placed at the command position and the distance offset to the inside of the tool until it contacts the cutting point is less than the specified value. Do. Further, when highlighting, color-separated display may be performed depending on the uncut distance and overcut distance values, the uncut distance may be displayed as an uncut amount, and the overcut distance may be displayed as an uncut amount.
  • FIG. 3 is a diagram illustrating a configuration example of the analysis unit 15 according to the first embodiment.
  • the analysis unit 15 includes an NC machining program acquisition unit 31 that acquires an NC machining program, an NC machining program storage unit 32 that stores an NC machining program, a tool data acquisition unit 33 that acquires tool data used in machining, a tool A tool data storage unit 34 for storing data.
  • the analysis unit 15 also includes a CAD data acquisition unit 35 that acquires CAD data, a CAD data alignment unit 36 that aligns the CAD data, and a CAD data storage that stores the CAD data after the alignment is performed. Unit 37.
  • the analysis unit 15 further includes a cutting point calculation unit 42 that calculates cutting points based on the NC machining program, tool data, and CAD data, a cutting point storage unit 43 that stores cutting points, and the cutting points on the display device 16. And a cutting point display unit 44 for displaying.
  • FIG. 3 shows a configuration example of the analysis unit 15 when cutting points are calculated using the NC machining program, tool data, and CAD data.
  • FIG. 4 is a flowchart showing details of the process in which the analysis unit 15 reads the CAD data, that is, the process of step ST1005 shown in FIG.
  • the CAD data acquisition unit 35 reads the CAD data (step ST1101).
  • the CAD data alignment unit 36 aligns the CAD data read in step ST1101 (step ST1102).
  • the CAD data alignment unit 36 performs alignment by converting coordinate data included in the CAD data.
  • the CAD data alignment unit 36 includes the orientation and origin of the CAD model, which is the machining shape represented by the CAD data 200, and the NC machining gram 100 read by the numerical control unit 11 in step ST1001 shown in FIG.
  • An offset amount with respect to the program coordinate system is obtained, the CAD data 200 is converted by reflecting the obtained offset amount in the CAD data, and the display of the CAD model represented by the CAD data 200 is matched with the program coordinate system of the NC machining program 100.
  • This process is an example, and the alignment may be performed by other methods.
  • the CAD data alignment unit 36 displays each command position commanded by the NC machining program 100 and the CAD model represented by the CAD data 200 on the display device 16, and the position and orientation included in the CAD data 200 are displayed. Information may be manually corrected by the operator to perform alignment.
  • FIG. 5 is a diagram showing a CAD model represented by the CAD data 200 before the CAD data alignment unit 36 performs alignment and a command position commanded by the NC machining program 100.
  • FIG. 6 shows the position of the CAD data alignment unit 36. It is a figure which shows the CAD model and command position after performing alignment.
  • the upper part of FIG. 5 shows a CAD model represented by the CAD data 200 before alignment, and the lower part of FIG. 5 shows a path (hereinafter referred to as a straight line) formed by connecting command positions commanded by the NC machining program 100 in a chronological order. , Referred to as a command path).
  • the CAD data alignment unit 36 converts the CAD data 200 so that the CAD model and the command path shown in FIG. 5 have the positional relationship shown in FIG.
  • the CAD data storage unit 37 receives the CAD data after the alignment is performed by the CAD data alignment unit 36 and stores it (step ST1103).
  • the CAD data stored in the CAD data storage unit 37 that is, the CAD data after the alignment is completed is referred to as adjusted CAD data.
  • FIG. 7 shows a process in which the analysis unit 15 displays a cutting point based on the NC machining program 100, that is, in step ST1006 shown in FIG. 2, the cutting point is calculated based on the NC machining program, tool data, and CAD data. It is a flowchart which shows the detail of the process which displays a cutting point in step ST1007.
  • the NC machining program acquisition unit 31 reads the NC machining program, and the NC machining program storage unit 32 stores it (step ST1201).
  • the tool data acquisition unit 33 acquires the tool data of the tool used in the machining according to the NC machining program 100 from the tool DB 12, and the tool data storage unit 34 stores this (step ST1202).
  • the cutting point calculation unit 42 has adjusted the machining program stored in the NC machining program storage unit 32, the tool data stored in the tool data storage unit 34, and the CAD data storage unit 37.
  • a cutting point is calculated based on the CAD data (step ST1203). The operation in which the cutting point calculation unit 42 calculates the cutting point will be described separately.
  • the cutting point calculation unit 42 stores each calculated cutting point in the cutting point storage unit 43 in association with the command position used in the calculation of the cutting point.
  • the cutting point calculation unit 42 adds the remaining uncut attribute and the overcut attribute to the corresponding cutting point for each calculated cutting point (step ST1204), and also the surface attribute of the CAD model to which the cutting point belongs. Is added to the cutting point (step ST1205), and NC machining program information is added to the cutting point (step ST1206).
  • the cutting point calculation unit 42 adds the uncut material attribute, the overcutting attribute, the CAD model surface attribute, and the NC machining program information to the cutting point stored in the cutting point storage unit 43. To do.
  • the uncut material attribute and the overcut attribute that are added to the cutting point in step ST1204 are collectively referred to as a machining result attribute.
  • the “surface attribute of the CAD model to which the cutting point belongs” added to each cutting point by the cutting point calculation unit 42 in step ST1205 is a surface on which one of one or more surfaces constituting the CAD model is cut. This is information indicating whether a point exists.
  • the CAD model has a shape obtained by combining a plurality of curved surfaces and planes, and the surface attribute of the CAD model indicates one or more of a plurality of surfaces constituting the CAD model.
  • a cutting point may exist at a surface boundary of the CAD model, that is, at a position where two or more surfaces constituting the CAD model are connected. Applicable.
  • the “NC machining program information” added to each cutting point by the cutting point calculation unit 42 in step ST1206 is identification information of a movement command that commands a command position corresponding to the cutting point.
  • sequence numbers are added to various commands described in the NC machining program. Therefore, the cutting point calculation unit 42 adds the sequence number to the cutting point as “NC machining program information”.
  • the cutting point display unit 44 next reads each cutting point calculated by the cutting point calculation unit 42 from the cutting point storage unit 43 and displays the display device 16. (Step ST1207). The display content of the cutting point will be described separately.
  • FIG. 8 is a flowchart showing a procedure in which the cutting point calculation unit 42 calculates cutting points in step ST1203 of FIG.
  • the cutting point calculation unit 42 first generates a tool model based on the tool data stored in the tool data storage unit 34. Further, the cutting point calculation unit 42 analyzes the NC machining program stored in the NC machining program storage unit 32 to obtain a command position for commanding the position of the tool, and in the tool axis direction commanded by the NC machining program. The tool model is placed at the command position (step ST1301).
  • “placement” means that the tool model is logically placed in the program coordinate system of the NC machining program 100. Unless otherwise specified, “arrangement” used in the following description has the same meaning.
  • the cutting point calculation unit 42 calculates cutting points between the arranged tool model and CAD model (step ST1302).
  • FIGS. 9 to 16 are diagrams illustrating an example of an operation in which the cutting point calculation unit 42 calculates a cutting point.
  • 9 to 11 are diagrams illustrating a first example of an operation in which the cutting point calculation unit 42 calculates a cutting point, and illustrates an example of a cutting point calculation operation when the tool used for processing is a ball end mill tool.
  • FIGS. 12 to 14 are diagrams illustrating a second example of the operation in which the cutting point calculation unit 42 calculates the cutting point, and the cutting point calculation operation when the tool used for processing is a square end mill tool with a corner R. An example is shown.
  • FIGS. 15 and 16 are diagrams illustrating a third example of an operation in which the cutting point calculation unit 42 calculates a cutting point, and illustrates a calculation operation example in the case where a plurality of cutting points are calculated.
  • 9 and 12 show a method for calculating a cutting point when the tool model and the CAD model are separated from each other.
  • the cutting point calculation unit 42 calculates the closest point on the CAD model where the distance between the tool model and the CAD model is the shortest as the cutting point.
  • the closest point can be obtained by mathematically analyzing the tool model and the CAD model.
  • 10 and 13 show a method for calculating a cutting point when the tool model and the CAD model are in contact with each other.
  • the cutting point calculation unit 42 calculates a contact point between the tool model and the CAD model as a cutting point.
  • the contact point between the tool model and the CAD model can be obtained by mathematically analyzing the tool model and the CAD model.
  • FIG. 11 and FIG. 14 show the calculation method of the cutting point when the tool model is biting into the CAD model.
  • the cutting point calculator 42 offsets the tool model on the inside, that is, in the direction in which the tool model moves away from the CAD model, and the CAD model. Is calculated as a cutting point.
  • the contact point here is a contact point between the tool model and the CAD model when the tool model is offset inward until the tool model and the CAD model are in contact with each other.
  • the contact point between the offset tool model and the CAD model can be obtained by mathematically analyzing the tool model and the CAD model.
  • the cutting point calculation part 42 calculates the cutting point with respect to each of the command positions commanded by the NC machining program by the method shown in FIGS.
  • the tool model and the CAD model have the relationship shown in FIG. 9 and FIG. 12, they are left uncut. Further, when the tool model and the CAD model have the relationship shown in FIG. 11 and FIG.
  • the “uncut attribute” indicating that the cutting point is left uncut is added.
  • the cutting point calculation unit 42 calculates the calculated cutting when the tool model when the tool model is arranged at the command position corresponding to the calculated cutting point and the CAD model have the relationship shown in FIGS. 11 and 14. To the point, an “overcutting attribute” indicating that overcutting is performed at the cutting point is added. Further, the cutting point calculation unit 42 calculates the calculated cutting point when the tool model and the CAD model when the tool model is arranged at the command position corresponding to the calculated cutting point have the relationship shown in FIGS. The attribute information is not added to. The process of adding the “uncut attribute” and “overcut attribute” to the cutting point corresponds to the process of step ST1204 shown in FIG.
  • FIG. 15 and 16 show a cutting point calculation method when there are a plurality of cutting points at the surface boundary.
  • FIG. 15 shows an example where the tool model of the ball end mill and the CAD model are in contact at two points, that is, when there are two cutting points
  • FIG. 16 shows that the tool model of the square end mill with corner R and the CAD model are two.
  • An example in the case of contact with a point, that is, a case where there are two cutting points is shown.
  • the cutting point calculation unit 42 calculates two cutting points for one command position.
  • the cutting point calculation unit 42 determines whether or not an uncut portion is generated and whether or not an excessive cut is generated. If it occurs, the “uncut attribute” is added to the corresponding cutting point, and if overcutting occurs, the “overcut attribute” is added to the corresponding cutting point.
  • FIG. 17 is a diagram illustrating an example of cutting points displayed on the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. Specifically, the cutting points displayed on the display device 16 in step ST1207 of FIG. It is a figure which shows an example of a point.
  • the cutting point display unit 44 is calculated in steps ST1203 to ST1206 of FIG. 7 and is displayed in FIG. 17 based on the cutting points stored in the cutting point storage unit 43 and attribute information added to the cutting points. Is displayed on the display device 16.
  • FIG. 17 shows an example in which the command position commanded by the NC machining program and the cutting point are displayed together with the CAD model. In FIG.
  • black circles indicate command positions, and black circles connected by lines indicate tool paths along which the tool moves in accordance with the NC machining program. Further, the cutting points are indicated by squares, and the black squares correspond to uncut portions. A white square corresponds to a cutting point to which no machining result attribute is added, that is, a cutting point where neither uncut nor excessively cut occurs.
  • FIG. 17 although the example of a display when the cutting point to which the overcutting attribute was added does not exist was shown, when there exists the cutting point to which the overcutting attribute was added, the cutting point is highlighted, etc. The information is displayed on the display device 16 in a form that can be identified by the operator.
  • the machining program analysis apparatus is capable of visually recognizing a cutting point where an uncut portion and excessive cutting occur and other cutting points (a cutting point where no remaining portion and excessive cutting occur). Because of the display, the operator can easily grasp which cutting point occurs when a machining defect such as uncut or overcut occurs, and the efficiency of NC machining program development and correction can be improved. Can be improved.
  • you may display the relationship between the cutting point and the command position in a way that allows recognition it is possible for the operator to determine which command of the NC machining program needs to be corrected when a machining defect such as uncut or overcut occurs. Can be easily grasped, and the work efficiency of development and correction of the NC machining program can be further improved.
  • the amount of uncut material and the amount of overcutting may be displayed in a form that can be visually recognized by the operator in correspondence with the cutting point where uncut material is generated and the cutting point where excessive material is generated. For example, a numerical value is displayed.
  • a numerical value indicating an uncut amount and a numerical value indicating an excessive amount of shaving may be displayed in different colors.
  • FIG. 18 is a flowchart showing a first procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG.
  • the cutting point display unit 44 searches for the cutting point to which the surface attribute of the specific surface is added from the cutting points stored in the cutting point storage unit 43 (step ST1401).
  • the cutting point display unit 44 changes the shape of the searched cutting point and displays it on the display device 16 (step ST1402).
  • the cutting point display unit 44 displays the content shown in FIG. 19 on the display device 16, for example.
  • FIG. 19 is a diagram illustrating a first display example of cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. Specifically, the cutting points are displayed based on surface attributes.
  • FIG. 20 is a flowchart showing a second procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG.
  • the cutting point display unit 44 searches the command positions stored in the cutting point storage unit 43 for command positions having a plurality of cutting points, that is, command positions associated with a plurality of cutting points (step ST1501). ).
  • the cutting point display unit 44 displays the searched command position and the cutting point on the display device 16 (step ST1502).
  • step ST1502 the cutting point display unit 44 displays the content shown in FIG.
  • FIG. 21 is a diagram illustrating a second display example of the cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. In the display example shown in FIG.
  • a command position having a plurality of cutting points is also displayed. Further, the cutting points corresponding to the command positions having a plurality of cutting points are represented by black squares. By performing the display shown in FIG. 21, the operator can easily grasp the cutting point located at the surface boundary where the machining quality may be deteriorated.
  • FIG. 22 is a flowchart showing a third procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG.
  • the cutting point display unit 44 searches for the command position and the cutting point stored in the cutting point storage unit 43 (step ST1601).
  • the cutting point display unit 44 displays the searched command position and cutting point by connecting the associated command position and cutting point with a straight line (step ST1602).
  • the cutting point display unit 44 displays the content shown in FIG. 23 on the display device 16, for example.
  • FIG. 23 is a diagram illustrating a third display example of the cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. In the display example shown in FIG.
  • the display format on the display device 16 may be any format that allows the operator to visually recognize the correspondence between the cutting point and the command position, and the display format is not limited to that shown in FIG.
  • FIG. 24 is a flowchart showing a fourth procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG.
  • the cutting point display unit 44 linearly interpolates each cutting point stored in the cutting point storage unit 43 in time series (step ST1701), and displays each cutting point after the linear interpolation (step ST1702).
  • FIG. 25 is a diagram illustrating a fourth display example of the cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment.
  • each cutting point is represented by linear interpolation in time series, that is, in the order in which machining is performed.
  • the first to fourth display examples are shown.
  • the display device 16 may display a combination of two or more of these display examples.
  • the first display example and the third display example may be combined.
  • the cutting point based on the NC machining program, the tool data representing the tool model of the tool used in machining, and the CAD data representing the machining shape of the workpiece.
  • it is determined whether there is uncut or overcut at each cutting point, and if a cutting point where uncut or overcut occurs is detected, the detected cutting point is left uncut and overcut. It was decided to display in a format different from the cutting points where none of these occurred. Thereby, the operator can know which instruction described in the NC machining program needs to be corrected, and can efficiently develop and correct the NC machining program.
  • Embodiment 2 FIG.
  • the cutting points are calculated using the NC machining program, tool data, and CAD data.
  • the NC command data and tool data are calculated.
  • the cutting point is calculated using CAD data.
  • the machining program analyzer according to the second embodiment is referred to as a machining program analyzer 1a.
  • the configuration of the numerical controller having the machining program analyzer 1a according to the present embodiment is the same as that of the numerical controller according to the first embodiment. That is, the machining program analyzer 1 of the numerical controller 10 shown in FIG. 1 is replaced with the machining program analyzer 1a. Further, the configuration of the machining program analysis device 1a corresponds to a configuration in which the analysis unit 15 of the machining program analysis device 1 is replaced with the analysis unit 15a illustrated in FIG.
  • the machining program analysis device 1a performs processing according to the procedure shown in the flowchart shown in FIG. 2 in the same manner as the machining program analysis device 1, and calculates and displays cutting points. However, as described above, the machining program analyzer 1a calculates the cutting point using the NC command data, tool data, and CAD data. That is, the process in which the machining program analyzer 1a calculates the cutting point in step ST1006 shown in FIG. 2 is different from the process in which the machining program analyzer 1 calculates the cutting point.
  • the processing executed by the machining program analyzer 1a in other steps ST1001 to T1005 and ST1007 is the same as the processing executed by the machining program analyzer 1 in each step.
  • FIG. 26 is a diagram of a configuration example of the analysis unit 15a configuring the machining program analysis device 1a according to the second embodiment.
  • the analysis unit 15a includes a tool data acquisition unit 33 that acquires tool data representing the shape of a tool used in machining, a tool data storage unit 34 that stores tool data, a CAD data acquisition unit 35 that acquires CAD data, A CAD data alignment unit 36 that aligns the CAD data and a CAD data storage unit 37 that stores the CAD data after the alignment is provided.
  • the analysis unit 15a also determines an NC command data acquisition unit 38 that acquires NC command data, an NC command data storage unit 39 that stores NC command data, and a cutting point based on the NC command data, tool data, and CAD data.
  • the cutting point calculation part 42a to calculate, the cutting point memory
  • the analysis unit 15a replaces the cutting point calculation unit 42 of the analysis unit 15 according to the first embodiment shown in FIG. 3 with a cutting point calculation unit 42a.
  • the NC machining program acquisition unit 31 and the NC machining program storage unit 32 are deleted from the analysis unit 15, and an NC command data acquisition unit 38 and an NC command data storage unit 39 are added.
  • description of components other than the NC command data acquisition unit 38, the NC command data storage unit 39, and the cutting point calculation unit 42a is omitted.
  • FIG. 27 is a process in which the analysis unit 15a according to the second embodiment displays a cutting point based on NC command data, that is, based on NC command data, tool data, and CAD data in step ST1006 shown in FIG. It is a flowchart which shows the detail of the process which calculates a cutting point and displays a cutting point in step ST1007.
  • the NC command data acquisition unit 38 reads the NC command data from the NC command data storage area in the storage device, and this is read as the NC command data storage unit. 39 stores (step ST1801).
  • the tool data acquisition unit 33 acquires the tool data of the tool used in machining according to the NC command data read in step ST1801 from the tool DB 12, and the tool data storage unit 34 stores the tool data (step ST1802). ).
  • the cutting point calculation unit 42a adjusts the NC command data stored in the NC command data storage unit 39, the tool data stored in the tool data storage unit 34, and the adjustment stored in the CAD data storage unit 37.
  • a cutting point is calculated based on the completed CAD data (step ST1803).
  • the cutting point calculation unit 42a first analyzes the NC command data and calculates the coordinates of the path along which the tool passes during processing. Coordinates obtained by analyzing the NC command data (hereinafter referred to as command coordinates) represent points on the path through which the tool passes during machining, as in the command position described in the first embodiment. Normally, NC command data is obtained by performing interpolation processing on each command position commanded by the NC machining program.
  • the cutting point calculation unit 42a calculates a cutting point using the calculated command coordinates, tool data, and CAD data.
  • the cutting point calculation unit 42 of the analysis unit 15 uses the command position, tool data and CAD data to cut the cutting point. This is the same as the process of calculating.
  • the difference between the cutting point calculation unit 42a and the cutting point calculation unit 42 is that the NC command data is analyzed to obtain command coordinates existing on the tool path, or the NC machining program is analyzed and present on the tool path. The command position to be obtained is obtained.
  • FIG. 28 is a flowchart showing a procedure by which the cutting point calculation unit 42a calculates cutting points in step ST1803 of FIG.
  • the cutting point calculation unit 42 a first generates a tool model based on the tool data stored in the tool data storage unit 34. Further, the cutting point calculation unit 42a analyzes the NC command data stored in the NC command data storage unit 39 to obtain command coordinates, and determines the command model in the tool axis direction commanded by the NC command data. (Step ST1901). Next, the cutting point calculation unit 42a calculates cutting points between the arranged tool model and the CAD model (step ST1902). The cutting point calculation unit 42a calculates the cutting point by mathematically analyzing the tool model and the CAD model, similarly to the cutting point calculation unit 42 described in the first embodiment.
  • NC command data information is identification information of NC command data that commands command coordinates corresponding to a cutting point.
  • a sequence number or a management number corresponding to the sequence number is added to the commands included in the NC command data. Therefore, the cutting point calculation unit 42a adds these pieces of information as “NC command data information” to the cutting point.
  • FIG. 29 is a diagram illustrating an example of cutting points displayed by the display device 16 of the machining program analysis apparatus 1a according to the second embodiment. Specifically, the cutting points displayed by the display device 16 in step ST1807 of FIG. It is a figure which shows an example.
  • the cutting point display unit 44 is calculated in steps ST1803 to ST1806 in FIG. 27 and is displayed in FIG. 29 based on each cutting point stored in the cutting point storage unit 43 and attribute information added to the cutting point. I do.
  • FIG. 29 shows an example in which command coordinates commanded by NC command data and cutting points are displayed together with a CAD model.
  • black circles indicate command coordinates
  • black circles connected by lines indicate a tool path along which the tool moves according to NC command data.
  • a black square indicates an uncut cutting point
  • a black triangle indicates an excessive cutting point.
  • a white square indicates a cutting point to which no machining result attribute is added, that is, a cutting point where neither uncut nor excessive cutting has occurred.
  • the cutting point is based on the NC command data, the tool data representing the tool model of the tool used in machining, and the CAD data representing the machining shape of the workpiece.
  • it is determined whether there is uncut or overcut at each cutting point, and if a cutting point where uncut or overcut occurs is detected, the detected cutting point is left uncut and overcut. It was decided to display in a format different from the cutting points where none of these occurred. Thereby, the effect similar to the processing program analyzer 1 concerning Embodiment 1 can be acquired.
  • the machining program analysis apparatus 1a since the cutting point is calculated using the NC command data, compared with the machining program analysis apparatus 1 according to the first embodiment, an uncut portion or Cutting points where overcutting occurs can be detected and displayed with high accuracy.
  • Embodiment 3 The machining program analyzer 1 according to the first embodiment calculates a cutting point using the NC machining program, tool data, and CAD data, and the machining program analyzer 1 according to the second embodiment uses NC command data and tool data.
  • the cutting point is calculated using CAD data
  • the machining program analyzer according to the present embodiment calculates the cutting point using FB position data, tool data, and CAD data.
  • the machining program analyzer according to the third embodiment is referred to as a machining program analyzer 1b.
  • the configuration of the numerical controller having the machining program analyzer 1b according to the present embodiment is the same as that of the numerical controller according to the first embodiment. That is, the machining program analyzer 1 of the numerical controller 10 shown in FIG. 1 is replaced with the machining program analyzer 1b. Further, the configuration of the machining program analysis device 1b corresponds to a configuration in which the analysis unit 15 of the machining program analysis device 1 is replaced with the analysis unit 15b illustrated in FIG.
  • the machining program analysis device 1b performs processing according to the procedure shown in the flowchart shown in FIG. 2 in the same manner as the machining program analysis device 1, and calculates and displays cutting points. However, as described above, the machining program analyzer 1b calculates the cutting point using the FB position data, the tool data, and the CAD data. That is, the process in which the machining program analyzer 1b calculates the cutting point in step ST1006 shown in FIG. 2 is different from the process in which the machining program analyzer 1 calculates the cutting point.
  • the processing executed by the machining program analyzer 1b in other steps ST1001 to ST1005 and ST1007 is the same as the processing executed by the machining program analyzer 1 in each step.
  • FIG. 30 is a diagram illustrating a configuration example of the analysis unit 15b included in the machining program analysis device 1b according to the third embodiment.
  • the analysis unit 15b includes a tool data acquisition unit 33 that acquires tool data representing the shape of a tool used in machining, a tool data storage unit 34 that stores tool data, a CAD data acquisition unit 35 that acquires CAD data, A CAD data alignment unit 36 that aligns CAD data, a CAD data storage unit 37 that stores CAD data after alignment, an FB position data acquisition unit 40 that acquires FB position data, and FB FB position data storage unit 41 that stores position data, cutting point calculation unit 42b that calculates cutting points based on FB position data, tool data, and CAD data, a cutting point storage unit 43 that stores cutting points, and cutting A cutting point display unit 44 for displaying the points on the display device 16.
  • the analysis unit 15b replaces the cutting point calculation unit 42 of the analysis unit 15 according to the first embodiment illustrated in FIG. 3 with a cutting point calculation unit 42b.
  • the NC machining program acquisition unit 31 and the NC machining program storage unit 32 are deleted from the analysis unit 15, and the FB position data acquisition unit 40 and the FB position data storage unit 41 are added.
  • description of components other than the FB position data acquisition unit 40, the FB position data storage unit 41, and the cutting point calculation unit 42b is omitted.
  • FIG. 31 is a process in which the analysis unit 15b according to the third embodiment displays a cutting point based on the FB position data, that is, based on the FB position data, tool data, and CAD data in step ST1006 shown in FIG. It is a flowchart which shows the detail of the process which calculates a cutting point and displays a cutting point in step ST1007.
  • the FB position data acquisition unit 40 reads the FB position data from the FB position data storage area in the storage device, and the FB position data storage unit 41 stores (step ST2001).
  • the tool data acquisition unit 33 acquires the tool data of the tool used by the machine tool 20 from the tool DB 12 when the FB position data read in step ST2001 is generated in the machine tool 20, and this is acquired from the tool DB 12.
  • Data storage unit 34 stores it (step ST2002).
  • a method of knowing the tool used by the machine tool 20 when the FB position data is generated in the machine tool 20 a method of knowing by analyzing the NC machining program 100 can be considered.
  • the tool data acquisition unit 33 reads and analyzes the NC machining program 100 from the NC machining program storage area in the storage device or inquires the numerical control unit 11 to generate the FB position data in the machine tool 20. Information on the tool used by the machine tool 20 at times is acquired.
  • the cutting point calculation unit 42b adjusts the FB position data stored in the FB position data storage unit 41, the tool data stored in the tool data storage unit 34, and the CAD data storage unit 37.
  • a cutting point is calculated based on the completed CAD data (step ST2003).
  • the cutting point calculation unit 42b first analyzes the FB position data to calculate the coordinates of the path through which the tool has passed during processing (hereinafter referred to as passing coordinates). Similar to the command position described in the first embodiment, the passing coordinates obtained by analyzing the FB position data represent points on the path through which the tool passes during machining.
  • the cutting point calculation unit 42b calculates a cutting point using the calculated passing coordinates, tool data, and CAD data.
  • the cutting point calculation unit 42 of the analysis unit 15 uses the command position, the tool data, and the CAD data to cut the cutting point. This is the same as the process of calculating.
  • the difference between the cutting point calculation unit 42b and the cutting point calculation unit 42 is that the FB position data is analyzed to determine the passing coordinates existing on the tool path, or the NC machining program is analyzed to be present on the tool path.
  • the command position to be obtained is obtained.
  • FIG. 32 is a flowchart showing a procedure in which the cutting point calculation unit 42b calculates cutting points in step ST2003 of FIG.
  • the cutting point calculation unit 42 b first generates a tool model based on the tool data stored in the tool data storage unit 34. Further, the cutting point calculation unit 42b analyzes the FB position data stored in the FB position data storage unit 40 to obtain the passing coordinates, and arranges the tool model at the passing coordinates in the tool axis direction indicated by the FB position data. (Step ST2101). Next, the cutting point calculation unit 42b calculates cutting points between the arranged tool model and the CAD model (step ST2102). The cutting point calculation unit 42b calculates the cutting point by mathematically analyzing the tool model and the CAD model, similarly to the cutting point calculation unit 42 described in the first embodiment.
  • steps ST2004 and ST2005 shown in FIG. 31 is the same as the processing in steps ST1204 and ST1205 shown in FIG.
  • step ST2006 in FIG. 31 the cutting point calculation unit 42b adds the FB position data information to the cutting point.
  • FB position data information is identification information of FB position data indicating passing coordinates corresponding to a cutting point. Similar to the various commands described in the NC machining program, a sequence number or a management number corresponding to the sequence number is added to the FB position data. Therefore, the cutting point calculation unit 42b adds these pieces of information to the cutting point as “FB position data information”.
  • FIG. 33 is a diagram illustrating an example of cutting points displayed by the display device 16 of the machining program analysis apparatus 1b according to the third embodiment. Specifically, the cutting points displayed by the display device 16 in step ST2007 of FIG. It is a figure which shows an example.
  • the analysis unit 15b performs the display shown in FIG. 33 based on each cutting point calculated in steps ST2003 to ST2006 of FIG. 31 and stored in the cutting point storage unit 43 and attribute information added to the cutting point. .
  • FIG. 33 shows an example in which the passing coordinates indicated by the FB position data and the cutting points are displayed together with the CAD model.
  • the black circles indicate the passing coordinates
  • the black circles connected by lines indicate the path along which the tool has moved during machining.
  • a black square indicates an uncut cutting point
  • a black triangle indicates an excessive cutting point.
  • a white square indicates a cutting point to which no machining result attribute is added, that is, a cutting point where neither uncut nor excessive cutting has occurred.
  • the cutting point is based on the FB position data, the tool data representing the tool model of the tool used in machining, and the CAD data representing the machining shape of the workpiece. Is calculated, and it is determined whether there is uncut or overcut at each cutting point, and if a cutting point where uncut or overcut has occurred is detected, the detected cutting point is left uncut and overcut. It was decided to display in a format different from the cutting points where none of these occurred. Thereby, the effect similar to the processing program analyzer 1 concerning Embodiment 1 can be acquired.
  • FIG. 34 is a diagram showing a hardware configuration of the machining program analysis apparatus according to each embodiment of the present invention.
  • the hardware shown in FIG. 34 includes a processor 51 that performs arithmetic processing, a memory 52 that the processor 51 uses as a work area, a storage device 53 that stores a program for operating as a numerical control device or a program conversion device, and a user
  • An input device 54 that is an input interface between the communication device 56, a display device 55 that displays information to the user, and a communication device 56 that has a communication function with a controlled device or other numerical control device or other various devices.
  • the processor 51, the memory 52, the storage device 53, the input device 54, the display device 55, and the communication device 56 are connected by a data bus 50.
  • the processor 51 may be a processing device, an arithmetic device, a microprocessor, a microcomputer, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or the like.
  • the memory 52 is a non-volatile or volatile semiconductor memory, such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable ROM), or an EEPROM (Electrically EPROM), or a magnetic disk. , Flexible disk, optical disk, compact disk, mini disk, or DVD (Digital Versatile Disc).
  • the machining program analysis apparatus when the machining program analysis device left uncut or overcut, a display indicating that is made corresponding to the cutting point, but the same display corresponds to the command position. You may make it carry out.
  • the machining program analysis apparatus includes any of a command position corresponding to a cutting point where an uncut portion is generated, a command position corresponding to a cutting point where an excessive cut is generated, an uncut portion, and an overcut portion.
  • the command position corresponding to the cutting point that has not occurred may be displayed in a visually recognizable format. Further, the uncut amount and overcut amount may be displayed in correspondence with the command position.
  • the machining program analyzer described in each embodiment can be realized by the processor 51 reading a program for operating as the machining program analyzer from the storage device 53 and executing it.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
  • 1, 1a, 1b Machining program analysis device 10 Numerical control device, 11 Numerical control unit, 12 Tool database (DB), 13 Axis drive unit, 14 Position data acquisition unit, 15, 15a, 15b Analysis unit, 16 Display device, 20 machine tools, 21 multiple drive shafts, 22 position detection unit, 31 NC machining program acquisition unit, 32 NC machining program storage unit, 33 tool data acquisition unit, 34 tool data storage unit, 35 CAD data acquisition unit, 36 CAD data Positioning unit, 37 CAD data storage unit, 38 NC command data acquisition unit, 39 NC command data storage unit, 40 FB position data acquisition unit, 41 FB position data storage unit, 42, 42a, 42b Cutting point calculation unit, 43 cutting Point storage unit, 44 cutting point display unit.

Abstract

Provided is a processing program analysis device, comprising: a cutting point computation unit (42) which, on the basis of tool trajectory data which represents a movement trajectory of a tool in a process that a numerical control machine tool carries out upon an object to be processed, tool data which represents a shape of the tool, and data which represents a processed shape of the object to be processed, computes cutting points whereat the tool cuts the object to be processed in order to obtain a processed object having the processed shape, and assesses occurrence of insufficient cut and occurrence of excessive cut at each of the computed cutting points; and a cutting point display unit (44) which displays the cutting points on a display device in a format in which the results of the assessment can be viewed.

Description

加工プログラム分析装置Machining program analyzer
 本発明は、加工対象物を加工する数値制御工作機械を動作させるための加工プログラムを分析する加工プログラム分析装置に関する。 The present invention relates to a machining program analyzer for analyzing a machining program for operating a numerically controlled machine tool for machining a workpiece.
 数値制御装置で加工を行うためには、加工対象物または加工工具を予め設定された経路に沿って移動させるための移動指令が記述された数値制御加工プログラムが用いられる。数値制御加工プログラムはNC(Numerical Control)加工プログラムとも称される。NC加工プログラムは、例えば市販のCAM(Computer Aided Manufacturing)ソフトウェアにより作成される。また、NC加工プログラムは、例えばEIA(Electronic Industries Alliance)で定められたフォーマット形式(以下「EIAフォーマット形式」と称する)、または、ISO(International Standard Organization)で定められたフォーマット形式(以下「ISOフォーマット形式」と称する)に従って定義される文字列で記述される。NC加工プログラムの記述で用いられる文字列は、例えばGコードおよびマクロ文の文字列である。Gコードとは、例えば位置決め、直線補間、円弧補間、平面指定を行う際に、NC加工プログラムにおいて記述される指令コードである。 In order to perform machining with the numerical control device, a numerically controlled machining program in which a movement command for moving a workpiece or a machining tool along a preset route is used. The numerical control machining program is also called NC (Numerical Control) machining program. The NC machining program is created by, for example, commercially available CAM (Computer Aided Manufacturing) software. The NC machining program is, for example, a format defined by EIA (Electronic Industries Alliance) (hereinafter referred to as “EIA format”) or a format defined by ISO (International Standard Organization) (hereinafter referred to as “ISO format”). It is described by a character string defined according to a format. The character string used in the description of the NC machining program is, for example, a character string of a G code and a macro sentence. The G code is a command code described in the NC machining program when positioning, linear interpolation, circular interpolation, or plane designation is performed, for example.
 NC加工プログラムは、実際に動作させる前に確認を行う必要があるが、NC加工プログラムのみを見て、NC加工プログラムの確認作業を行うことは困難である。このため、NC加工プログラムの確認を行う場合には、例えばNC加工プログラムに記述されている移動指令を工具経路に変換し、変換された工具経路の軌跡を、例えばCRT(Cathode Ray Tube)装置または液晶モニタのディスプレイといった表示装置に表示させて確認することが行われている。 The NC machining program needs to be confirmed before it is actually operated, but it is difficult to confirm the NC machining program by looking at the NC machining program alone. Therefore, when confirming the NC machining program, for example, the movement command described in the NC machining program is converted into a tool path, and the converted tool path trajectory is converted into, for example, a CRT (Cathode Ray Tube) device or the like. Confirmation is performed by displaying on a display device such as a display of a liquid crystal monitor.
 また、NC加工プログラムを動作させた場合、NC加工プログラムに記述されている移動指令、その他加工条件および機械構成に基づいて補間処理が実行され、補間処理後の指令軌跡が算出される。さらに、算出された補間処理後の指令軌跡に沿って、実機を動作させ、工具先端点の軌跡である実軌跡が検出装置によって検出される。これらNC指令データおよび実軌跡は、メモリなどの記憶装置に保存され、必要なときに呼び出され、例えば加工処理評価のために、表示装置で表示され、視覚的分析に利用されている。 In addition, when the NC machining program is operated, interpolation processing is executed based on the movement command described in the NC machining program, other machining conditions, and the machine configuration, and a command locus after the interpolation processing is calculated. Further, the actual machine is operated along the calculated command locus after the interpolation processing, and the actual locus which is the locus of the tool tip point is detected by the detection device. The NC command data and the actual trajectory are stored in a storage device such as a memory, and called up when necessary. For example, the NC command data and the actual locus are displayed on a display device and used for visual analysis for processing evaluation.
 なお、上記した用語の中で、「変換された工具経路」、「補間処理後の指令軌跡」および「工具先端点の実軌跡」については、当業者において、それぞれ「プログラム経路」、「NC指令データ」および「FB(Feed Back)位置データ」と称されることが多々あり、以下必要に応じて、これらの用語を使用した説明とする。 Among the above terms, “converted tool path”, “command trajectory after interpolation processing”, and “actual trajectory of tool tip point” are “program path” and “NC command respectively” by those skilled in the art. It is often referred to as “data” and “FB (Feed Back) position data”, and will be described below using these terms as necessary.
 このような背景技術の下、下記特許文献1には、NC加工プログラムから生成した最終加工形状データと要求データとを比較して、削り過ぎおよび削り残しを判定し、その度合いを色、線分または等高線で表示する加工シミュレーション装置の発明が記載されている。 Under such background art, Patent Document 1 below discloses that the final machining shape data generated from the NC machining program is compared with the required data to determine overcutting and uncutting, and the degree of color and line segments are determined. Alternatively, an invention of a machining simulation apparatus displaying with contour lines is described.
特開平03-020803号公報Japanese Patent Laid-Open No. 03-020803
 特許文献1に記載の発明によれば、削り過ぎおよび削り残しの度合いを知ることができる。しかしながら、削り過ぎおよび削り残しといった加工不良を解消させるためのNC加工プログラムの修正作業において、修正が必要な箇所を把握することが難しく、作業効率が悪いという問題があった。 According to the invention described in Patent Document 1, it is possible to know the degree of overcutting and uncutting. However, in the NC machining program correction work for eliminating machining defects such as overcutting and uncut parts, there is a problem that it is difficult to grasp a portion that needs to be corrected, and work efficiency is poor.
 本発明は、上記に鑑みてなされたものであって、加工プログラムの開発および修正を行う際の作業効率を向上させることが可能な加工プログラム分析装置を得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a machining program analyzer capable of improving work efficiency when developing and correcting machining programs.
 上述した課題を解決し、目的を達成するために、本発明にかかる加工プログラム分析装置は、数値制御工作機械が加工対象物に対して行う加工における工具の移動軌跡を表す工具軌跡データと、工具の形状を表す工具データと、加工対象物の加工形状を表すデータと、に基づいて、加工形状の加工物を得るために工具が加工対象物を切削する切削点の算出を行うとともに、算出した各切削点における削り残しの発生および削り過ぎの発生を判定する。また、加工プログラム分析装置は、判定の結果を視認可能な形式で各切削点を表示装置に表示する。 In order to solve the above-described problems and achieve the object, a machining program analysis apparatus according to the present invention includes tool trajectory data representing a tool trajectory in machining performed by a numerically controlled machine tool on a workpiece, and a tool. Based on the tool data representing the shape of the workpiece and the data representing the machining shape of the workpiece, the cutting point at which the tool cuts the workpiece to obtain the workpiece having the machining shape was calculated and calculated. The occurrence of uncut residue at each cutting point and the occurrence of overcutting are determined. Further, the machining program analysis apparatus displays each cutting point on the display device in a format in which the determination result can be visually recognized.
 本発明にかかる加工プログラム分析装置は、加工プログラムの開発および修正を行う際の作業効率を向上させることができる、という効果を奏する。 The machining program analysis apparatus according to the present invention has an effect that it is possible to improve work efficiency when developing and correcting a machining program.
実施の形態1にかかる加工プログラム分析装置を含んで構成された数値制御装置の構成例を示す図The figure which shows the structural example of the numerical control apparatus comprised including the processing program analyzer concerning Embodiment 1. FIG. 実施の形態1にかかる数値制御装置の全体動作を示すフローチャート1 is a flowchart showing the overall operation of a numerical control apparatus according to a first embodiment; 実施の形態1にかかる分析部の構成例を示す図The figure which shows the structural example of the analysis part concerning Embodiment 1. FIG. 実施の形態1にかかる分析部がCADデータを読み込む処理を示すフローチャートFIG. 3 is a flowchart showing processing of reading CAD data by the analysis unit according to the first embodiment; 実施の形態1にかかるCADデータ位置合わせ部が位置合わせを行う前のCADモデルおよび指令位置を示す図The CAD model alignment part concerning Embodiment 1 is a figure which shows the CAD model and command position before performing alignment. 実施の形態1にかかるCADデータ位置合わせ部が位置合わせを行った後のCADモデルおよび指令位置を示す図The figure which shows the CAD model and command position after the CAD data alignment part concerning Embodiment 1 performed alignment. 実施の形態1にかかる分析部が切削点を表示する処理を示すフローチャートThe flowchart which shows the process which the analysis part concerning Embodiment 1 displays a cutting point. 実施の形態1にかかる切削点算出部が切削点を算出する手順を示すフローチャートThe flowchart which shows the procedure in which the cutting point calculation part concerning Embodiment 1 calculates a cutting point. 実施の形態1にかかる切削点算出部が工具モデルとCADモデルが離れている場合の切削点を算出する動作の第1の例を示す図The figure which shows the 1st example of the operation | movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model are separated. 実施の形態1にかかる切削点算出部が工具モデルとCADモデルが接している場合の切削点を算出する動作の第1の例を示す図The figure which shows the 1st example of the operation | movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model have touched. 実施の形態1にかかる切削点算出部がCADモデルに工具モデルが食い込んでいる場合の切削点を算出する動作の第1の例を示す図The figure which shows the 1st example of the operation | movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model has digged into the CAD model. 実施の形態1にかかる切削点算出部が切削点を算出する動作の第2の例を示す図The figure which shows the 2nd example of the operation | movement which the cutting point calculation part concerning Embodiment 1 calculates a cutting point. 実施の形態1にかかる切削点算出部が工具モデルとCADモデルが離れている場合の切削点を算出する動作の第2の例を示す図The figure which shows the 2nd example of the operation | movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model are separated. 実施の形態1にかかる切削点算出部がCADモデルに工具モデルが食い込んでいる場合の切削点を算出する動作の第2の例を示す図The figure which shows the 2nd example of the operation | movement which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model has digged into the CAD model. 実施の形態1にかかる切削点算出部がボールエンドミルの工具モデルとCADモデルとが2点で接する場合の切削点を算出する例を示す図The figure which shows the example which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model of a ball end mill contact | connect at two points. 実施の形態1にかかる切削点算出部がコーナーR付きスクエアエンドミルの工具モデルとCADモデルとが2点で接する場合の切削点を算出する例を示す図The figure which shows the example which the cutting point calculation part concerning Embodiment 1 calculates the cutting point in case the tool model and CAD model of a square end mill with a corner R touch at two points. 実施の形態1にかかる加工プログラム分析装置の表示装置が表示する切削点の一例を示す図The figure which shows an example of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 1 displays. 実施の形態1にかかる切削点表示部が表示装置に切削点を表示する第1の手順を示すフローチャートThe flowchart which shows the 1st procedure in which the cutting point display part concerning Embodiment 1 displays a cutting point on a display apparatus. 実施の形態1にかかる加工プログラム分析装置の表示装置が表示する切削点の第1の表示例を示す図The figure which shows the 1st example of a display of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 1 displays. 実施の形態1にかかる切削点表示部が表示装置に切削点を表示する第2の手順を示すフローチャートThe flowchart which shows the 2nd procedure in which the cutting point display part concerning Embodiment 1 displays a cutting point on a display apparatus. 実施の形態1にかかる加工プログラム分析装置の表示装置が表示する切削点の第2の表示例を示す図The figure which shows the 2nd example of a display of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 1 displays. 実施の形態1にかかる切削点表示部が表示装置に切削点を表示する第3の手順を示すフローチャートThe flowchart which shows the 3rd procedure in which the cutting point display part concerning Embodiment 1 displays a cutting point on a display apparatus. 実施の形態1にかかる加工プログラム分析装置の表示装置が表示する切削点の第3の表示例を示す図The figure which shows the 3rd example of a display of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 1 displays. 実施の形態1にかかる切削点表示部が表示装置に切削点を表示する第4の手順を示すフローチャートThe flowchart which shows the 4th procedure in which the cutting point display part concerning Embodiment 1 displays a cutting point on a display apparatus. 実施の形態1にかかる加工プログラム分析装置の表示装置が表示する切削点の第4の表示例を示す図The figure which shows the 4th example of a display of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 1 displays. 実施の形態2にかかる加工プログラム分析装置を構成する分析部の構成例を示す図The figure which shows the structural example of the analysis part which comprises the processing program analysis apparatus concerning Embodiment 2. FIG. 実施の形態2にかかる分析部がNC指令データに基づいて切削点を表示する処理を示すフローチャートThe flowchart which shows the process which the analysis part concerning Embodiment 2 displays a cutting point based on NC command data 実施の形態2にかかる切削点算出部が切削点を算出する手順を示すフローチャートThe flowchart which shows the procedure in which the cutting point calculation part concerning Embodiment 2 calculates a cutting point. 実施の形態2にかかる加工プログラム分析装置の表示装置が表示する切削点の一例を示す図The figure which shows an example of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 2 displays. 実施の形態3にかかる加工プログラム分析装置を構成する分析部の構成例を示す図The figure which shows the structural example of the analysis part which comprises the machining program analyzer concerning Embodiment 3. FIG. 実施の形態3にかかる分析部がFB位置データに基づいて切削点を表示する処理を示すフローチャートThe flowchart which shows the process which the analysis part concerning Embodiment 3 displays a cutting point based on FB position data. 実施の形態3にかかる切削点算出部が切削点を算出する手順を示すフローチャートThe flowchart which shows the procedure in which the cutting point calculation part concerning Embodiment 3 calculates a cutting point. 実施の形態3にかかる加工プログラム分析装置の表示装置が表示する切削点の一例を示す図The figure which shows an example of the cutting point which the display apparatus of the processing program analyzer concerning Embodiment 3 displays. 加工プログラム分析装置のハードウェア構成を示す図The figure which shows the hardware constitutions of the processing program analyzer
 以下に、本発明の実施の形態にかかる加工プログラム分析装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a machining program analysis apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
 図1は、実施の形態1にかかる加工プログラム分析装置を含んで構成された数値制御装置の構成例を示す図である。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration example of a numerical control apparatus configured to include the machining program analysis apparatus according to the first embodiment.
 図1に示したように、加工プログラム分析装置1は、数値制御部11、工具データベース(DB:Data Base)12、軸駆動部13および位置データ取得部14とともに数値制御装置10を構成する。また、加工プログラム分析装置1は、分析部15および表示装置16を備える。数値制御装置10は、NC加工プログラム100に従い、工作機械20を制御し、図1では記載を省略している加工対象物を加工する。数値制御装置10と工作機械20とは、イーサネット(登録商標)またはUSB(Universal Serial Bus)に代表される有線通信路を介して通信を行う構成とする。なお、無線通信路を介して数値制御装置10と工作機械20とが通信を行う構成としても構わない。工作機械20は、複数の駆動軸21および位置検出部22を備える数値制御工作機械であり、数値制御装置10から受けた指令に従い動作する。NC加工プログラム100は、工作機械20を動作させるための数値加工プログラムである。 As shown in FIG. 1, the machining program analysis device 1 constitutes a numerical control device 10 together with a numerical control unit 11, a tool database (DB: Data Base) 12, an axis drive unit 13 and a position data acquisition unit 14. Further, the machining program analysis device 1 includes an analysis unit 15 and a display device 16. The numerical control device 10 controls the machine tool 20 according to the NC machining program 100 to machine a workpiece that is not shown in FIG. The numerical control device 10 and the machine tool 20 are configured to communicate via a wired communication path represented by Ethernet (registered trademark) or USB (Universal Serial Bus). The numerical controller 10 and the machine tool 20 may communicate with each other via a wireless communication path. The machine tool 20 is a numerically controlled machine tool including a plurality of drive shafts 21 and a position detection unit 22, and operates according to a command received from the numerical control device 10. The NC machining program 100 is a numerical machining program for operating the machine tool 20.
 数値制御装置10において、数値制御部11は、NC加工プログラム100と工具DB12から数値制御指令データであるNC指令データを生成する。また、工具DB12は、工作機械20が加工対象物を加工する際に使用する各種加工工具の工具データを保持する。工具データは、加工工具の種別の情報と、工具径、工具刃先半径および工具長といった加工工具の形状を表現する情報とを含んだデータである。また、軸駆動部13は、数値制御部11で生成されたNC指令データに従い、工作機械20が備えている複数の駆動軸21を駆動する。また、位置データ取得部14は、工作機械20の位置検出部22で生成された、複数の駆動軸21の各駆動軸の位置を示すデータである実位置データをFB位置データとして取得する。FB位置データは、加工時の工具の実際の位置を各駆動軸の位置座標で表したデータである。また、加工プログラム分析装置1を構成している分析部15は、NC加工プログラム100と、数値制御部11から入力されたNC指令データと、位置データ取得部14から入力されたFB位置データと、コンピュータ支援設計(CAD:Computer Aided Design)装置で作成されたCADデータ200と、工具DB12で保持されている工具データとを分析する。NC加工プログラム100は、Gコードおよびマクロ文の文字列で記述されたプログラムであり、CAMソフトウェアにより作成され、EIAフォーマット形式またはISOフォーマット形式に従って定義される。NC加工プログラム100には、加工対象物または加工工具を予め設定された経路に沿って移動させるための移動指令と、工作機械20に対する補助動作指令と、加工条件の設定値とが記述されている。NC指令データは、予め設定された制御周期毎の指令位置または指令位置の集合体を意味する。指令位置とは、NC加工プログラム100に記述された移動指令により指令される位置である。また、加工プログラム分析装置1を構成している表示装置16は、分析部15による分析結果を表示する。 In the numerical controller 10, the numerical controller 11 generates NC command data that is numerical control command data from the NC machining program 100 and the tool DB 12. Further, the tool DB 12 holds tool data of various processing tools used when the machine tool 20 processes a processing object. The tool data is data including information on the type of the processing tool and information representing the shape of the processing tool such as a tool diameter, a tool edge radius, and a tool length. Further, the shaft drive unit 13 drives a plurality of drive shafts 21 provided in the machine tool 20 in accordance with the NC command data generated by the numerical control unit 11. Further, the position data acquisition unit 14 acquires actual position data, which is data indicating the position of each drive shaft of the plurality of drive shafts 21, generated by the position detection unit 22 of the machine tool 20 as FB position data. The FB position data is data representing the actual position of the tool at the time of machining with the position coordinates of each drive axis. The analysis unit 15 constituting the machining program analysis device 1 includes an NC machining program 100, NC command data input from the numerical control unit 11, FB position data input from the position data acquisition unit 14, The CAD data 200 created by a computer-aided design (CAD) device and the tool data held in the tool DB 12 are analyzed. The NC machining program 100 is a program described by a character string of a G code and a macro sentence, is created by CAM software, and is defined according to an EIA format format or an ISO format format. The NC machining program 100 describes a movement command for moving a workpiece or a machining tool along a preset route, an auxiliary operation command for the machine tool 20, and a set value of machining conditions. . The NC command data means a command position or a set of command positions for each preset control cycle. The command position is a position commanded by a movement command described in the NC machining program 100. The display device 16 constituting the machining program analysis device 1 displays the analysis result by the analysis unit 15.
 工作機械20において、複数の駆動軸21は、数値制御装置10により制御され、図1では記載を省略している加工工具を、数値制御装置10から通知された指令位置に移動させる。また、位置検出部22は、複数の駆動軸21の各駆動軸の位置を検出し、各駆動軸の位置を示すデータである実位置データを生成する。 In the machine tool 20, the plurality of drive shafts 21 are controlled by the numerical control device 10, and the machining tool not shown in FIG. 1 is moved to the command position notified from the numerical control device 10. The position detection unit 22 detects the position of each drive shaft of the plurality of drive shafts 21 and generates actual position data that is data indicating the position of each drive shaft.
 つづいて、数値制御装置10の動作を図1に示した各構成要素に関連付けて説明する。 Next, the operation of the numerical control apparatus 10 will be described in association with each component shown in FIG.
 数値制御部11は、NC加工プログラム100が入力されると、NC加工プログラム100で指令された工具情報を工具DB12から取得し、取得した工具情報とNC加工プログラム100とに基づいてNC指令データを生成する。軸駆動部13は、数値制御部11が生成したNC指令データに従い工作機械20の複数の駆動軸21を指令する駆動指令データを生成し、生成した駆動指令データを工作機械20に送信する。これにより、工具および被加工物の少なくとも一方の位置および姿勢が制御される。工作機械20の動作中に位置検出部22は、複数の駆動軸21のそれぞれの位置を検出して実位置データを生成する。生成された各駆動軸の実位置データは数値制御装置10に送信される。数値制御装置10は、工作機械20の位置検出部22から送信された各駆動軸の実位置データをFB位置データとして位置データ取得部14で取得する。分析部15は、NC加工プログラム100、数値制御部11が生成したNC指令データ、または位置データ取得部14が取得したFB位置データと、CADデータ200と、工具DB12で保持されている工具データとを分析して後述する切削点を算出し、算出した切削点を表示装置16に表示する。CADデータ200は、工作機械20がNC加工プログラム100に従って加工対象物を加工することにより得られる加工結果の理想的な形状を表すCADデータであり、別の表現を用いれば、加工対象物の加工形状を表すCADデータである。FB位置データは、NC加工プログラム100に従って加工を行った時の加工に用いられた工具の移動軌跡を示すデータである。 When the NC machining program 100 is input, the numerical control unit 11 acquires the tool information commanded by the NC machining program 100 from the tool DB 12, and based on the acquired tool information and the NC machining program 100, the NC command data is obtained. Generate. The shaft drive unit 13 generates drive command data for instructing the plurality of drive shafts 21 of the machine tool 20 according to the NC command data generated by the numerical control unit 11, and transmits the generated drive command data to the machine tool 20. Thereby, the position and posture of at least one of the tool and the workpiece are controlled. During operation of the machine tool 20, the position detector 22 detects the positions of the plurality of drive shafts 21 and generates actual position data. The generated actual position data of each drive shaft is transmitted to the numerical controller 10. The numerical control apparatus 10 acquires the actual position data of each drive shaft transmitted from the position detection unit 22 of the machine tool 20 by the position data acquisition unit 14 as FB position data. The analysis unit 15 includes an NC machining program 100, NC command data generated by the numerical control unit 11, or FB position data acquired by the position data acquisition unit 14, CAD data 200, and tool data held in the tool DB 12. Is analyzed to calculate a cutting point, which will be described later, and the calculated cutting point is displayed on the display device 16. The CAD data 200 is CAD data representing an ideal shape of a machining result obtained by machining the machining object by the machine tool 20 in accordance with the NC machining program 100. If another expression is used, machining of the machining object is performed. This is CAD data representing the shape. The FB position data is data indicating the movement trajectory of the tool used for machining when machining is performed according to the NC machining program 100.
 図2は、実施の形態1にかかる数値制御装置10の全体動作を示すフローチャートである。図2に示すステップST1001からST1007までの処理は以下に示す3つのサブフローに区分される。
(1)NC指令データの生成フロー(ST1001,ST1002)。
(2)FB位置データの取得フロー(ST1003,ST1004)。
(3)切削点の表示フロー(ST1005からST1007)。
FIG. 2 is a flowchart showing the overall operation of the numerical control apparatus 10 according to the first embodiment. The processing from steps ST1001 to ST1007 shown in FIG. 2 is divided into the following three subflows.
(1) NC command data generation flow (ST1001, ST1002).
(2) FB position data acquisition flow (ST1003, ST1004).
(3) Cutting point display flow (ST1005 to ST1007).
 以下、上記の(1)から(3)の処理フローを図1に示した各構成要素に対応づけて説明する。 Hereinafter, the processing flow from (1) to (3) above will be described in association with each component shown in FIG.
(1)NC指令データの生成
 NC指令データの生成処理では、数値制御部11が、まず、NC加工プログラム100を読み込み、読み込んだNC加工プログラムを、図示を省略した記憶装置内のNC加工プログラム記憶領域に格納する(ステップST1001)。数値制御部11は、次に、記憶装置からNC加工プログラムを取得するとともに、取得したNC加工プログラムに従った加工で使用する工具の工具データを工具DB12から取得し、取得したNC加工プログラムに基づいて指令位置を算出する。数値制御部11は、さらに、算出した指令位置と、工具データと、工作機械20の構成情報である機械構成とに基づいて、加工時の工具の位置を示すNC指令座標を生成し、さらに、各駆動軸の位置座標を指令するNC指令データをNC指令座標に基づいて生成して記憶装置内のNC指令データ記憶領域に格納する(ステップST1002)。数値制御部11は、工作機械20の補間時間毎にNC指令データを生成し、記憶装置内のNC指令データ記憶領域に格納する。NC指令データは、加工時の工具の位置を各駆動軸の位置座標で指令するデータである。
(1) Generation of NC command data In the NC command data generation processing, the numerical control unit 11 first reads the NC machining program 100, and stores the read NC machining program in the NC machining program in a storage device (not shown). Store in the area (step ST1001). Next, the numerical control unit 11 acquires an NC machining program from the storage device, acquires tool data of a tool used in machining according to the acquired NC machining program from the tool DB 12, and based on the acquired NC machining program. To calculate the command position. The numerical controller 11 further generates NC command coordinates indicating the position of the tool at the time of machining based on the calculated command position, tool data, and the machine configuration that is the configuration information of the machine tool 20, NC command data for instructing the position coordinates of each drive axis is generated based on the NC command coordinates and stored in the NC command data storage area in the storage device (step ST1002). The numerical controller 11 generates NC command data for each interpolation time of the machine tool 20 and stores it in the NC command data storage area in the storage device. The NC command data is data for commanding the position of the tool at the time of machining with the position coordinates of each drive axis.
(2)FB位置データの取得
 FB位置データの取得処理では、軸駆動部13が、数値制御部11で生成され、記憶装置内のNC指令データ記憶領域に格納されたNC指令データを受け取り、これを工作機械20に送信することにより工作機械20を駆動する(ステップST1003)。NC指令データを受信した工作機械20はNC指令データに従い複数の駆動軸21を駆動する。このとき、位置検出部22が、複数の駆動軸21の実位置データに基づいてFB位置データを生成し、数値制御装置10に送信する。工作機械20の位置検出部22がFB位置データを送信すると、これを数値制御装置10の位置データ取得部14が取得し、記憶装置内のFB位置データ記憶領域に格納する(ステップST1004)。
(2) Acquisition of FB position data In the FB position data acquisition process, the shaft drive unit 13 receives NC command data generated by the numerical control unit 11 and stored in the NC command data storage area in the storage device. Is transmitted to the machine tool 20 to drive the machine tool 20 (step ST1003). The machine tool 20 that has received the NC command data drives a plurality of drive shafts 21 in accordance with the NC command data. At this time, the position detection unit 22 generates FB position data based on the actual position data of the plurality of drive shafts 21 and transmits the FB position data to the numerical controller 10. When the position detection unit 22 of the machine tool 20 transmits the FB position data, the position data acquisition unit 14 of the numerical control device 10 acquires this and stores it in the FB position data storage area in the storage device (step ST1004).
(3)切削点の表示
 切削点の表示処理では、分析部15が、まず、CADデータ200を読み込み、記憶装置内のCADデータ記憶領域であるCADデータ記憶部に格納する(ステップST1005)。分析部15は、次に、切削点を算出する(ステップST1006)。このステップST1006において、分析部15は、NC加工プログラム、NC指令データまたはFB位置データと、工具データと、CADデータとに基づいて切削点を算出する。上述したように、NC加工プログラムは、工作機械20に対して加工用の工具の移動を指令する移動指令を含む各種指令が記述されたプログラムである。また、NC指令データは、加工時の工具の位置を各駆動軸の位置座標で指令するデータである。FB位置データは、加工時の工具の実際の位置を各駆動軸の位置座標で表したデータである。すなわち、これらのNC加工プログラム、NC指令データおよびFB位置データは、加工における工具の移動軌跡を表す工具軌跡データに該当する。
(3) Cutting Point Display In the cutting point display processing, the analysis unit 15 first reads the CAD data 200 and stores it in the CAD data storage unit which is a CAD data storage area in the storage device (step ST1005). Next, the analysis unit 15 calculates a cutting point (step ST1006). In step ST1006, the analysis unit 15 calculates a cutting point based on the NC machining program, NC command data or FB position data, tool data, and CAD data. As described above, the NC machining program is a program in which various commands including a movement command for commanding the machine tool 20 to move a machining tool are described. The NC command data is data for instructing the position of the tool at the time of machining using the position coordinates of each drive axis. The FB position data is data representing the actual position of the tool at the time of machining with the position coordinates of each drive axis. That is, these NC machining program, NC command data, and FB position data correspond to tool path data representing the movement path of the tool during machining.
 NC加工プログラムと、工具データと、CADデータとに基づいて切削点を算出する場合、分析部15は、記憶装置内のNC加工プログラム記憶領域からNC加工プログラムを取得し、さらに、取得したNC加工プログラムに従った加工で使用する工具の工具データを工具DB12から取得するとともに、CADデータ記憶部からCADデータを取得する。そして、分析部15は、取得したNC加工プログラム、工具データおよびCADデータに基づいて、NC加工プログラムが指令する各指令位置に工具を配置した場合の切削点を算出する。分析部15は、工具データで表される工具の形状である工具モデルを各指令位置に配置した場合の工具モデルと加工対象物の加工形状との位置関係に基づいて切削点を算出する。加工対象物の加工形状はCADデータから求めることができる。切削点は、CADデータが表す加工形状と各指令位置に工具を配置した場合の最近接点であり、工具が加工形状に干渉している場合は工具モデルと加工曲面とが接触する状態となるまで工具モデルを内側へオフセットさせ、両者が接触する状態となった時点で工具モデルと加工曲面とが接触している点である。 When calculating the cutting point based on the NC machining program, the tool data, and the CAD data, the analysis unit 15 acquires the NC machining program from the NC machining program storage area in the storage device, and further acquires the obtained NC machining. Tool data of a tool used in machining according to the program is acquired from the tool DB 12, and CAD data is acquired from a CAD data storage unit. And the analysis part 15 calculates the cutting point at the time of arrange | positioning a tool in each command position which an NC processing program commands based on the acquired NC processing program, tool data, and CAD data. The analysis unit 15 calculates a cutting point based on the positional relationship between the tool model and the machining shape of the workpiece when the tool model that is the shape of the tool represented by the tool data is arranged at each command position. The machining shape of the workpiece can be obtained from CAD data. The cutting point is the closest point when the tool is placed at each command position and the machining shape represented by the CAD data. If the tool interferes with the machining shape, the tool model and the machining curved surface are in contact with each other. The tool model and the machining curved surface are in contact with each other when the tool model is offset inward and the two contact with each other.
 また、NC指令データと、工具データと、CADデータとに基づいて切削点を算出する場合、分析部15は、記憶装置内のNC指令データ記憶領域からNC指令データを取得し、さらに、取得したNC指令データに従った加工で使用する工具の工具データを工具DB12から取得するとともに、CADデータ記憶部からCADデータを取得する。そして、分析部15は、取得したNC指令データ、工具データおよびCADデータに基づいて、NC指令データに従って工具を移動させた場合の切削点を算出する。分析部15は、上述した、NC加工プログラムと、工具データと、CADデータとに基づいて切削点を算出する場合と同様に、工具モデルと加工対象物の加工形状との位置関係に基づいて切削点を算出する。 Moreover, when calculating a cutting point based on NC command data, tool data, and CAD data, the analysis part 15 acquires NC command data from the NC command data storage area in a memory | storage device, and also acquired. Tool data of a tool used in machining according to NC command data is acquired from the tool DB 12 and CAD data is acquired from a CAD data storage unit. And the analysis part 15 calculates the cutting point at the time of moving a tool according to NC command data based on the acquired NC command data, tool data, and CAD data. The analysis unit 15 performs cutting based on the positional relationship between the tool model and the machining shape of the workpiece, as in the case of calculating the cutting point based on the NC machining program, the tool data, and the CAD data described above. Calculate points.
 また、FB位置データと、工具データと、CADデータとに基づいて切削点を算出する場合、分析部15は、記憶装置内のFB位置データ記憶領域からFB位置データを取得し、さらに、取得したFB位置データが生成された時の加工で使用していた工具の工具データを工具DB12から取得するとともに、CADデータ記憶部からCADデータを取得する。そして、分析部15は、取得したFB位置データ、工具データおよびCADデータに基づいて、FB位置データに従って工具を移動させた場合の切削点を算出する。分析部15は、上述した、NC加工プログラムと、工具データと、CADデータとに基づいて切削点を算出する場合と同様に、工具モデルと加工対象物の加工形状との位置関係に基づいて切削点を算出する。 Moreover, when calculating a cutting point based on FB position data, tool data, and CAD data, the analysis part 15 acquires FB position data from the FB position data storage area in a memory | storage device, and also acquired. The tool data of the tool used in the machining when the FB position data is generated is acquired from the tool DB 12, and the CAD data is acquired from the CAD data storage unit. And the analysis part 15 calculates the cutting point at the time of moving a tool according to FB position data based on the acquired FB position data, tool data, and CAD data. The analysis unit 15 performs cutting based on the positional relationship between the tool model and the machining shape of the workpiece, as in the case of calculating the cutting point based on the NC machining program, the tool data, and the CAD data described above. Calculate points.
 分析部15は、切削点を算出した後、算出した切削点を表示装置16に表示する(ステップST1007)。このとき、分析部15は、CADデータが表す加工形状とともに切削点を表示する。また、分析部15は、削り残し属性および削り過ぎ属性に応じて、切削点を強調表示する。「削り残し」とは、指令位置に工具を配置して加工を行った場合に加工対象物を十分に削ることができないことをいい、「削り過ぎ」とは、指令位置に工具を配置して加工を行った場合に加工対象物を必要以上に削ってしまうことをいう。「削り残し属性」とは、切削点において削り残しが発生していることを示す情報であり、「削り過ぎ属性」とは、切削点において削り過ぎが発生していることを示す情報である。すなわち、分析部15は、CADデータが表す加工形状に対して削り残しとなっている切削点および削り過ぎとなっている切削点を強調表示する。強調表示は、削り残しの切削点と削り過ぎの切削点とで異なる方法で行うようにしてもよいし、同じ方法で行うようにしてもよい。削り残しの切削点と削り過ぎの切削点とを異なる方法で強調表示する場合、例えば、削り残しの切削点と削り過ぎの切削点とを異なる色で表示する。分析部15は、削り残しか否かの判定および削り過ぎか否かの判定を、例えば、切削点と指令位置に配置した工具との距離が規定値未満か否かを確認することにより行う。また、削り過ぎか否かの判定は、切削点が指令位置に配置した工具の内部にあり、切削点に接するまでの工具の内側にオフセットする距離が規定値未満か否かを確認することにより行う。また、強調表示の際、削り残し距離、削り過ぎ距離の値により、色分け表示してもよいし、削り残し距離を削り残し量、削り過ぎ距離を削り残し量として表示してもよい。 The analysis unit 15 calculates the cutting point, and then displays the calculated cutting point on the display device 16 (step ST1007). At this time, the analysis unit 15 displays the cutting point together with the machining shape represented by the CAD data. Further, the analysis unit 15 highlights the cutting point according to the uncut material attribute and the overcut attribute. “Uncut” means that the machined object cannot be cut sufficiently when the tool is placed at the command position, and “too much cut” means that the tool is placed at the command position. It means that the object to be machined is cut more than necessary when machining is performed. The “uncut attribute” is information indicating that an uncut residue is generated at a cutting point, and the “overcut attribute” is information indicating that an excessive cut is generated at a cutting point. That is, the analysis unit 15 highlights the cutting points that remain uncut and the cutting points that are excessively cut with respect to the machining shape represented by the CAD data. The highlighting may be performed by a different method between an uncut cutting point and an excessively cut cutting point, or may be performed by the same method. When highlighting an uncut cutting point and an overcut cutting point by different methods, for example, an uncut cutting point and an overcut cutting point are displayed in different colors. The analysis unit 15 determines whether there is only an uncut portion and whether it is excessively cut, for example, by checking whether the distance between the cutting point and the tool placed at the command position is less than a specified value. In addition, it is determined whether the machine is overcut by checking whether the cutting point is inside the tool placed at the command position and the distance offset to the inside of the tool until it contacts the cutting point is less than the specified value. Do. Further, when highlighting, color-separated display may be performed depending on the uncut distance and overcut distance values, the uncut distance may be displayed as an uncut amount, and the overcut distance may be displayed as an uncut amount.
 図3は、実施の形態1にかかる分析部15の構成例を示す図である。分析部15は、NC加工プログラムを取得するNC加工プログラム取得部31と、NC加工プログラムを記憶するNC加工プログラム記憶部32と、加工で使用する工具データを取得する工具データ取得部33と、工具データを記憶する工具データ記憶部34と、を備える。また、分析部15は、CADデータを取得するCADデータ取得部35と、CADデータの位置合わせをするCADデータ位置合わせ部36と、位置合わせが行われた後のCADデータを記憶するCADデータ記憶部37と、を備える。分析部15は、さらに、NC加工プログラム、工具データおよびCADデータに基づいて切削点を算出する切削点算出部42と、切削点を記憶する切削点記憶部43と、切削点を表示装置16に表示する切削点表示部44と、を備える。なお、図3は、NC加工プログラム、工具データおよびCADデータを用いて切削点を算出する場合の分析部15の構成例を示している。 FIG. 3 is a diagram illustrating a configuration example of the analysis unit 15 according to the first embodiment. The analysis unit 15 includes an NC machining program acquisition unit 31 that acquires an NC machining program, an NC machining program storage unit 32 that stores an NC machining program, a tool data acquisition unit 33 that acquires tool data used in machining, a tool A tool data storage unit 34 for storing data. The analysis unit 15 also includes a CAD data acquisition unit 35 that acquires CAD data, a CAD data alignment unit 36 that aligns the CAD data, and a CAD data storage that stores the CAD data after the alignment is performed. Unit 37. The analysis unit 15 further includes a cutting point calculation unit 42 that calculates cutting points based on the NC machining program, tool data, and CAD data, a cutting point storage unit 43 that stores cutting points, and the cutting points on the display device 16. And a cutting point display unit 44 for displaying. FIG. 3 shows a configuration example of the analysis unit 15 when cutting points are calculated using the NC machining program, tool data, and CAD data.
 つづいて、分析部15の動作を図3に示した各構成要素に関連付けて説明する。図4は、分析部15がCADデータを読み込む処理、すなわち、図2に示したステップST1005の処理の詳細を示すフローチャートである。 Next, the operation of the analysis unit 15 will be described in association with each component shown in FIG. FIG. 4 is a flowchart showing details of the process in which the analysis unit 15 reads the CAD data, that is, the process of step ST1005 shown in FIG.
 分析部15がCADデータを読み込む処理では、まず、CADデータ取得部35がCADデータを読み込む(ステップST1101)。 In the process in which the analysis unit 15 reads the CAD data, first, the CAD data acquisition unit 35 reads the CAD data (step ST1101).
 次に、CADデータ位置合わせ部36が、ステップST1101で読み込んだCADデータの位置合わせを行う(ステップST1102)。CADデータ位置合わせ部36は、CADデータに含まれている座標データを変換することにより位置合わせを行う。具体的には、CADデータ位置合わせ部36は、CADデータ200が表す加工形状であるCADモデルの向きおよび原点と、図2に示したステップST1001で数値制御部11が読み込んだNC加工グラム100のプログラム座標系とのオフセット量を求め、求めたオフセット量をCADデータに反映させることによりCADデータ200を変換し、CADデータ200が表すCADモデルの表示をNC加工プログラム100のプログラム座標系に合わせる。この処理は一例であり、他の方法で位置合わせを行ってもよい。また、CADデータ位置合わせ部36は、NC加工プログラム100で指令された各指令位置とCADデータ200で表されたCADモデルとを表示装置16に表示させ、CADデータ200に含まれる位置および向きの情報を作業者に手動で修正させて位置合わせを行うようにしてもよい。 Next, the CAD data alignment unit 36 aligns the CAD data read in step ST1101 (step ST1102). The CAD data alignment unit 36 performs alignment by converting coordinate data included in the CAD data. Specifically, the CAD data alignment unit 36 includes the orientation and origin of the CAD model, which is the machining shape represented by the CAD data 200, and the NC machining gram 100 read by the numerical control unit 11 in step ST1001 shown in FIG. An offset amount with respect to the program coordinate system is obtained, the CAD data 200 is converted by reflecting the obtained offset amount in the CAD data, and the display of the CAD model represented by the CAD data 200 is matched with the program coordinate system of the NC machining program 100. This process is an example, and the alignment may be performed by other methods. The CAD data alignment unit 36 displays each command position commanded by the NC machining program 100 and the CAD model represented by the CAD data 200 on the display device 16, and the position and orientation included in the CAD data 200 are displayed. Information may be manually corrected by the operator to perform alignment.
 CADデータ位置合わせ部36が行う位置合わせの具体例を図5および図6を用いて説明する。図5は、CADデータ位置合わせ部36が位置合わせを行う前のCADデータ200が表すCADモデルおよびNC加工プログラム100が指令する指令位置を示す図、図6は、CADデータ位置合わせ部36が位置合わせを行った後のCADモデルおよび指令位置を示す図である。図5の上段には位置合わせを行う前のCADデータ200が表すCADモデルを示し、図5の下段にはNC加工プログラム100が指令する指令位置を時系列順に直線で結んで生成した経路(以下、指令経路と称する)を示している。CADデータ位置合わせ部36は、図5に示したCADモデルと指令経路とが図6に示した位置関係となるよう、CADデータ200を変換する。 A specific example of alignment performed by the CAD data alignment unit 36 will be described with reference to FIGS. FIG. 5 is a diagram showing a CAD model represented by the CAD data 200 before the CAD data alignment unit 36 performs alignment and a command position commanded by the NC machining program 100. FIG. 6 shows the position of the CAD data alignment unit 36. It is a figure which shows the CAD model and command position after performing alignment. The upper part of FIG. 5 shows a CAD model represented by the CAD data 200 before alignment, and the lower part of FIG. 5 shows a path (hereinafter referred to as a straight line) formed by connecting command positions commanded by the NC machining program 100 in a chronological order. , Referred to as a command path). The CAD data alignment unit 36 converts the CAD data 200 so that the CAD model and the command path shown in FIG. 5 have the positional relationship shown in FIG.
 CADデータの位置合わせが終了すると、CADデータ記憶部37が、CADデータ位置合わせ部36で位置合わせが行われた後のCADデータを受け取り、これを記憶する(ステップST1103)。以下、CADデータ記憶部37が記憶しているCADデータ、すなわち位置合わせが完了した後のCADデータを調整済みCADデータと称する。 When the alignment of the CAD data is completed, the CAD data storage unit 37 receives the CAD data after the alignment is performed by the CAD data alignment unit 36 and stores it (step ST1103). Hereinafter, the CAD data stored in the CAD data storage unit 37, that is, the CAD data after the alignment is completed is referred to as adjusted CAD data.
 図7は、分析部15がNC加工プログラム100に基づいて切削点を表示する処理、すなわち、図2に示したステップST1006において、NC加工プログラム、工具データおよびCADデータに基づいて切削点を算出し、ステップST1007において切削点を表示する処理の詳細を示すフローチャートである。 FIG. 7 shows a process in which the analysis unit 15 displays a cutting point based on the NC machining program 100, that is, in step ST1006 shown in FIG. 2, the cutting point is calculated based on the NC machining program, tool data, and CAD data. It is a flowchart which shows the detail of the process which displays a cutting point in step ST1007.
 分析部15がNC加工プログラム100に基づいて切削点を表示する処理では、まず、NC加工プログラム取得部31がNC加工プログラムを読み込み、これをNC加工プログラム記憶部32が記憶する(ステップST1201)。 In the process in which the analysis unit 15 displays the cutting point based on the NC machining program 100, first, the NC machining program acquisition unit 31 reads the NC machining program, and the NC machining program storage unit 32 stores it (step ST1201).
 次に、工具データ取得部33が、NC加工プログラム100に従った加工で使用する工具の工具データを工具DB12から取得し、これを工具データ記憶部34が記憶する(ステップST1202)。 Next, the tool data acquisition unit 33 acquires the tool data of the tool used in the machining according to the NC machining program 100 from the tool DB 12, and the tool data storage unit 34 stores this (step ST1202).
 次に、切削点算出部42が、NC加工プログラム記憶部32で記憶されている加工プログラム、工具データ記憶部34で記憶されている工具データ、およびCADデータ記憶部37で記憶されている調整済みCADデータに基づいて切削点を算出する(ステップST1203)。切削点算出部42が、切削点を算出する動作については別途説明する。切削点算出部42は、算出した各切削点を、切削点の算出で使用した指令位置と対応付けて、切削点記憶部43に格納する。 Next, the cutting point calculation unit 42 has adjusted the machining program stored in the NC machining program storage unit 32, the tool data stored in the tool data storage unit 34, and the CAD data storage unit 37. A cutting point is calculated based on the CAD data (step ST1203). The operation in which the cutting point calculation unit 42 calculates the cutting point will be described separately. The cutting point calculation unit 42 stores each calculated cutting point in the cutting point storage unit 43 in association with the command position used in the calculation of the cutting point.
 次に、切削点算出部42が、算出した各切削点を対象として、削り残し属性および削り過ぎ属性を該当する切削点に付加し(ステップST1204)、また、切削点が属するCADモデルの面属性を切削点に付加し(ステップST1205)、さらに、NC加工プログラム情報を切削点に付加する(ステップST1206)。これらのステップST1204からST1206において、切削点算出部42は、切削点記憶部43に格納済みの切削点に対して、削り残し属性、削り過ぎ属性、CADモデルの面属性およびNC加工プログラム情報を付加する。以下、ステップST1204で切削点に付加する削り残し属性および削り過ぎ属性を総称して加工結果属性と呼ぶ。ステップST1205において切削点算出部42が各切削点に付加する「切削点が属するCADモデルの面属性」とは、CADモデルを構成している1つ以上の面の中のどの面の上に切削点が存在しているのかを示す情報である。通常、CADモデルは、曲面と平面とを複数組み合わせた形状であり、CADモデルの面属性は、CADモデルを構成している複数の面の中の1つまたは2つ以上を示す。CADモデルの面属性が2つ以上の面を示すケースとしては、CADモデルの面境界、すなわちCADモデルを構成している2つの以上の面が接続している位置に切削点が存在する場合が該当する。また、ステップST1206において切削点算出部42が各切削点に付加する「NC加工プログラム情報」とは、切削点に対応する指令位置を指令する移動指令の識別情報である。通常、NC加工プログラムに記述される各種指令には、シーケンス番号が付加される。そのため、切削点算出部42は、シーケンス番号を「NC加工プログラム情報」として切削点に付加する。 Next, the cutting point calculation unit 42 adds the remaining uncut attribute and the overcut attribute to the corresponding cutting point for each calculated cutting point (step ST1204), and also the surface attribute of the CAD model to which the cutting point belongs. Is added to the cutting point (step ST1205), and NC machining program information is added to the cutting point (step ST1206). In these steps ST1204 to ST1206, the cutting point calculation unit 42 adds the uncut material attribute, the overcutting attribute, the CAD model surface attribute, and the NC machining program information to the cutting point stored in the cutting point storage unit 43. To do. Hereinafter, the uncut material attribute and the overcut attribute that are added to the cutting point in step ST1204 are collectively referred to as a machining result attribute. The “surface attribute of the CAD model to which the cutting point belongs” added to each cutting point by the cutting point calculation unit 42 in step ST1205 is a surface on which one of one or more surfaces constituting the CAD model is cut. This is information indicating whether a point exists. Usually, the CAD model has a shape obtained by combining a plurality of curved surfaces and planes, and the surface attribute of the CAD model indicates one or more of a plurality of surfaces constituting the CAD model. As a case where the surface attribute of the CAD model indicates two or more surfaces, a cutting point may exist at a surface boundary of the CAD model, that is, at a position where two or more surfaces constituting the CAD model are connected. Applicable. Further, the “NC machining program information” added to each cutting point by the cutting point calculation unit 42 in step ST1206 is identification information of a movement command that commands a command position corresponding to the cutting point. Usually, sequence numbers are added to various commands described in the NC machining program. Therefore, the cutting point calculation unit 42 adds the sequence number to the cutting point as “NC machining program information”.
 切削点算出部42によるステップST1203からST1206の処理が終了すると、次に、切削点表示部44が、切削点算出部42で算出された各切削点を切削点記憶部43から読み出し、表示装置16に表示する(ステップST1207)。切削点の表示内容については別途説明する。 When the processing of steps ST1203 to ST1206 by the cutting point calculation unit 42 is completed, the cutting point display unit 44 next reads each cutting point calculated by the cutting point calculation unit 42 from the cutting point storage unit 43 and displays the display device 16. (Step ST1207). The display content of the cutting point will be described separately.
 ここで、切削点算出部42が切削点を算出する動作について、具体例を示しながら説明する。 Here, the operation in which the cutting point calculation unit 42 calculates the cutting point will be described with reference to a specific example.
 図8は、切削点算出部42が、図7のステップST1203で切削点を算出する手順を示すフローチャートである。切削点算出部42は、まず、工具データ記憶部34で記憶されている工具データに基づいて工具モデルを生成する。また、切削点算出部42は、NC加工プログラム記憶部32で記憶されているNC加工プログラムを解析して工具の位置を指令する指令位置を求め、NC加工プログラムで指令されている工具軸方向で、工具モデルを指令位置に配置する(ステップST1301)。ここでの「配置」とは、工具モデルをNC加工プログラム100のプログラム座標系において論理的に配置することを意味する。特に断らない限り、これ以降の説明で使用する「配置」も同様の意味とする。切削点算出部42は、次に、配置した工具モデルとCADモデルとの切削点を算出する(ステップST1302)。 FIG. 8 is a flowchart showing a procedure in which the cutting point calculation unit 42 calculates cutting points in step ST1203 of FIG. The cutting point calculation unit 42 first generates a tool model based on the tool data stored in the tool data storage unit 34. Further, the cutting point calculation unit 42 analyzes the NC machining program stored in the NC machining program storage unit 32 to obtain a command position for commanding the position of the tool, and in the tool axis direction commanded by the NC machining program. The tool model is placed at the command position (step ST1301). Here, “placement” means that the tool model is logically placed in the program coordinate system of the NC machining program 100. Unless otherwise specified, “arrangement” used in the following description has the same meaning. Next, the cutting point calculation unit 42 calculates cutting points between the arranged tool model and CAD model (step ST1302).
 図9から図16は、切削点算出部42が切削点を算出する動作の例を示す図である。図9から図11は、切削点算出部42が切削点を算出する動作の第1の例を示す図であり、加工に使用する工具がボールエンドミル工具の場合の切削点の算出動作例を示している。図12から図14は、切削点算出部42が切削点を算出する動作の第2の例を示す図であり、加工に使用する工具がコーナーR付きスクエアエンドミル工具の場合の切削点の算出動作例を示している。図15および16は、切削点算出部42が切削点を算出する動作の第3の例を示す図であり、算出される切削点が複数の場合の算出動作例を示している。 9 to 16 are diagrams illustrating an example of an operation in which the cutting point calculation unit 42 calculates a cutting point. 9 to 11 are diagrams illustrating a first example of an operation in which the cutting point calculation unit 42 calculates a cutting point, and illustrates an example of a cutting point calculation operation when the tool used for processing is a ball end mill tool. ing. FIGS. 12 to 14 are diagrams illustrating a second example of the operation in which the cutting point calculation unit 42 calculates the cutting point, and the cutting point calculation operation when the tool used for processing is a square end mill tool with a corner R. An example is shown. FIGS. 15 and 16 are diagrams illustrating a third example of an operation in which the cutting point calculation unit 42 calculates a cutting point, and illustrates a calculation operation example in the case where a plurality of cutting points are calculated.
 図9および図12は、工具モデルとCADモデルが離れている場合の切削点の算出方法を示している。切削点算出部42は、上記ステップST1301において配置した工具モデルとCADモデルとが離れている場合、工具モデルとCADモデルの距離が最短となるCADモデル上の最近接点を切削点として算出する。最近接点は、工具モデルとCADモデルとを数学的に解析することにより求めることが可能である。 9 and 12 show a method for calculating a cutting point when the tool model and the CAD model are separated from each other. When the tool model arranged in step ST1301 is away from the CAD model, the cutting point calculation unit 42 calculates the closest point on the CAD model where the distance between the tool model and the CAD model is the shortest as the cutting point. The closest point can be obtained by mathematically analyzing the tool model and the CAD model.
 図10および図13は、工具モデルとCADモデルが接している場合の切削点の算出方法を示している。切削点算出部42は、上記ステップST1301において配置した工具モデルとCADモデルとが接している場合、工具モデルとCADモデルの接点を切削点として算出する。工具モデルとCADモデルの接点は、工具モデルとCADモデルとを数学的に解析することにより求めることが可能である。 10 and 13 show a method for calculating a cutting point when the tool model and the CAD model are in contact with each other. When the tool model arranged in step ST1301 and the CAD model are in contact with each other, the cutting point calculation unit 42 calculates a contact point between the tool model and the CAD model as a cutting point. The contact point between the tool model and the CAD model can be obtained by mathematically analyzing the tool model and the CAD model.
 図11および図14は、CADモデルに工具モデルが食い込んでいる場合の切削点の算出方法を示している。切削点算出部42は、上記ステップST1301において配置した工具モデルがCADモデルに食い込む場合、食い込み量に応じて工具モデルを内側すなわち工具モデルがCADモデルから離れていく方向にオフセットした形状とCADモデルとの接点を切削点として算出する。ここでの接点とは、工具モデルとCADモデルとが接した状態となるまで工具モデルを内側にオフセットしたときの工具モデルとCADモデルとの接点である。オフセットした工具モデルとCADモデルとの接点は、工具モデルとCADモデルとを数学的に解析することにより求めることが可能である。 FIG. 11 and FIG. 14 show the calculation method of the cutting point when the tool model is biting into the CAD model. When the tool model arranged in step ST1301 bites into the CAD model, the cutting point calculator 42 offsets the tool model on the inside, that is, in the direction in which the tool model moves away from the CAD model, and the CAD model. Is calculated as a cutting point. The contact point here is a contact point between the tool model and the CAD model when the tool model is offset inward until the tool model and the CAD model are in contact with each other. The contact point between the offset tool model and the CAD model can be obtained by mathematically analyzing the tool model and the CAD model.
 切削点算出部42は、NC加工プログラムにより指令された指令位置の各々に対する切削点を図9から図14に示した方法で算出する。ここで、工具モデルとCADモデルとが図9および図12に示した関係となる場合、削り残しとなる。また、工具モデルとCADモデルとが図11および図14に示した関係となる場合、削り過ぎとなる。切削点算出部42は、算出した切削点に対応する指令位置に工具モデルを配置した時の工具モデルとCADモデルとが図9および図12に示した関係となる場合、算出した切削点に対して、当該切削点において削り残しとなることを示す「削り残し属性」を付加する。同様に、切削点算出部42は、算出した切削点に対応する指令位置に工具モデルを配置した時の工具モデルとCADモデルとが図11および図14に示した関係となる場合、算出した切削点に対して、当該切削点において削り過ぎとなることを示す「削り過ぎ属性」を付加する。また、切削点算出部42は、算出した切削点に対応する指令位置に工具モデルを配置した時の工具モデルとCADモデルとが図10および図13に示した関係となる場合、算出した切削点への属性情報の付加は行わない。「削り残し属性」および「削り過ぎ属性」を切削点に付加する処理は図7に示したステップST1204の処理に相当する。 The cutting point calculation part 42 calculates the cutting point with respect to each of the command positions commanded by the NC machining program by the method shown in FIGS. Here, when the tool model and the CAD model have the relationship shown in FIG. 9 and FIG. 12, they are left uncut. Further, when the tool model and the CAD model have the relationship shown in FIG. 11 and FIG. When the tool model and the CAD model when the tool model is arranged at the command position corresponding to the calculated cutting point have the relationship shown in FIG. 9 and FIG. Then, the “uncut attribute” indicating that the cutting point is left uncut is added. Similarly, the cutting point calculation unit 42 calculates the calculated cutting when the tool model when the tool model is arranged at the command position corresponding to the calculated cutting point and the CAD model have the relationship shown in FIGS. 11 and 14. To the point, an “overcutting attribute” indicating that overcutting is performed at the cutting point is added. Further, the cutting point calculation unit 42 calculates the calculated cutting point when the tool model and the CAD model when the tool model is arranged at the command position corresponding to the calculated cutting point have the relationship shown in FIGS. The attribute information is not added to. The process of adding the “uncut attribute” and “overcut attribute” to the cutting point corresponds to the process of step ST1204 shown in FIG.
 図15および図16は、面境界部で切削点が複数存在する場合の切削点の算出方法を示している。図15は、ボールエンドミルの工具モデルとCADモデルとが2点で接する場合すなわち切削点が2つとなる場合の例を示し、図16は、コーナーR付きスクエアエンドミルの工具モデルとCADモデルとが2点で接する場合すなわち切削点が2つとなる場合の例を示している。工具モデルとCADモデルとが図15および16に示した関係となる場合、切削点算出部42は、1つの指令位置に対して2つの切削点を算出する。なお、図15および16では工具モデルとCADモデルとが接した関係にある場合の例を示したが、図9から図14に示した例と同様に、工具モデルを指令位置に配置したときに工具モデルとCADモデルとが離れた状態となる場合は、削り残しとなり、工具モデルがCADモデルに食い込む場合は、削り過ぎとなる。切削点算出部42は、1つの指令位置に対して複数の切削点を算出する場合も、削り残しが発生するか否か、および、削り過ぎが発生するか否かを判断し、削り残しが発生する場合には、該当する切削点に対して「削り残し属性」を付加し、削り過ぎが発生する場合には、該当する切削点に対して「削り過ぎ属性」を付加する。 15 and 16 show a cutting point calculation method when there are a plurality of cutting points at the surface boundary. FIG. 15 shows an example where the tool model of the ball end mill and the CAD model are in contact at two points, that is, when there are two cutting points, and FIG. 16 shows that the tool model of the square end mill with corner R and the CAD model are two. An example in the case of contact with a point, that is, a case where there are two cutting points is shown. When the tool model and the CAD model have the relationship shown in FIGS. 15 and 16, the cutting point calculation unit 42 calculates two cutting points for one command position. 15 and 16 show an example in which the tool model and the CAD model are in contact with each other, but when the tool model is arranged at the command position, as in the examples shown in FIGS. When the tool model and the CAD model are separated from each other, it is left uncut, and when the tool model bites into the CAD model, it is overcut. Even when a plurality of cutting points are calculated for one command position, the cutting point calculation unit 42 determines whether or not an uncut portion is generated and whether or not an excessive cut is generated. If it occurs, the “uncut attribute” is added to the corresponding cutting point, and if overcutting occurs, the “overcut attribute” is added to the corresponding cutting point.
 図17は、実施の形態1にかかる加工プログラム分析装置1の表示装置16が表示する切削点の一例を示す図であり、具体的には、図7のステップST1207において表示装置16に表示する切削点の一例を示す図である。切削点表示部44は、図7のステップST1203からST1206で算出され、切削点記憶部43で記憶されている各切削点および切削点に付加されている属性情報に基づいて図17に示した表示を表示装置16に表示する。図17では、NC加工プログラムが指令する指令位置、および切削点を、CADモデルとともに表示する例を示している。図17においては黒丸が指令位置を示し、黒丸を線で結んだものがNC加工プログラムに従って工具が移動する工具経路を示している。また、切削点を四角形で示しており、黒塗りの四角形は削り残しの切削点に該当する。白抜きの四角形は、加工結果属性が付加されていない切削点、すなわち、削り残しおよび削り過ぎのいずれも発生していない切削点に該当する。なお、図17においては、削り過ぎ属性が付加された切削点が存在しない場合の表示例を示したが、削り過ぎ属性が付加された切削点がある場合、その切削点を強調表示するなど、作業者が識別可能な形で表示装置16に表示する。このように、本実施の形態にかかる加工プログラム分析装置は、削り残しおよび削り過ぎが発生する切削点と、その他の切削点(削り残しおよび削り過ぎが発生しない切削点)とを視認可能な形式で表示を行うため、削り残しおよび削り過ぎといった加工不良が発生する場合に、どの切削点において発生するのかを作業者が容易に把握することができ、NC加工プログラムの開発および修正の作業効率を向上させることができる。 FIG. 17 is a diagram illustrating an example of cutting points displayed on the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. Specifically, the cutting points displayed on the display device 16 in step ST1207 of FIG. It is a figure which shows an example of a point. The cutting point display unit 44 is calculated in steps ST1203 to ST1206 of FIG. 7 and is displayed in FIG. 17 based on the cutting points stored in the cutting point storage unit 43 and attribute information added to the cutting points. Is displayed on the display device 16. FIG. 17 shows an example in which the command position commanded by the NC machining program and the cutting point are displayed together with the CAD model. In FIG. 17, black circles indicate command positions, and black circles connected by lines indicate tool paths along which the tool moves in accordance with the NC machining program. Further, the cutting points are indicated by squares, and the black squares correspond to uncut portions. A white square corresponds to a cutting point to which no machining result attribute is added, that is, a cutting point where neither uncut nor excessively cut occurs. In addition, in FIG. 17, although the example of a display when the cutting point to which the overcutting attribute was added does not exist was shown, when there exists the cutting point to which the overcutting attribute was added, the cutting point is highlighted, etc. The information is displayed on the display device 16 in a form that can be identified by the operator. As described above, the machining program analysis apparatus according to the present embodiment is capable of visually recognizing a cutting point where an uncut portion and excessive cutting occur and other cutting points (a cutting point where no remaining portion and excessive cutting occur). Because of the display, the operator can easily grasp which cutting point occurs when a machining defect such as uncut or overcut occurs, and the efficiency of NC machining program development and correction can be improved. Can be improved.
 なお、切削点と指令位置との対応関係を作業者が容易に認識できるよう、対応している切削点と指令位置とを直線で接続した形で表示装置16に表示するようにしてもよい。切削点と指令位置との対応関係を認識できる形で表示を行うことにより、削り残しおよび削り過ぎといった加工不良が発生する場合に、NC加工プログラムのどの指令を修正する必要があるのかを作業者が容易に把握することができ、NC加工プログラムの開発および修正の作業効率をさらに向上させることができる。また、削り残しが発生している切削点および削り過ぎが発生している切削点に対応させて、削り残し量および削り過ぎ量を作業者が視認可能な形で表示するようにしてもよい。例えば、数値で表示を行う。削り残し量を示す数値と削り過ぎ量を示す数値とを色分けして表示してもよい。削り残し量および削り過ぎ量を表示することにより、NC加工プログラムをどの程度修正すべきかを作業者が容易に把握することができ、NC加工プログラムの開発および修正の作業効率をさらに向上させることができる。 In addition, you may make it display on the display apparatus 16 in the form which connected the corresponding cutting point and command position with the straight line so that an operator can recognize easily the correspondence of a cutting point and command position. By displaying the relationship between the cutting point and the command position in a way that allows recognition, it is possible for the operator to determine which command of the NC machining program needs to be corrected when a machining defect such as uncut or overcut occurs. Can be easily grasped, and the work efficiency of development and correction of the NC machining program can be further improved. Further, the amount of uncut material and the amount of overcutting may be displayed in a form that can be visually recognized by the operator in correspondence with the cutting point where uncut material is generated and the cutting point where excessive material is generated. For example, a numerical value is displayed. A numerical value indicating an uncut amount and a numerical value indicating an excessive amount of shaving may be displayed in different colors. By displaying the amount of uncut and overcut, the operator can easily grasp how much the NC machining program should be modified, and the work efficiency of NC machining program development and modification can be further improved. it can.
 図18は、切削点表示部44が図7のステップST1207で表示装置16に切削点を表示する第1の手順を示すフローチャートである。切削点表示部44は、切削点記憶部43で記憶されている切削点の中から、特定面の面属性が付加されている切削点を探索する(ステップST1401)。次に、切削点表示部44は、探索した切削点の形状を変更して表示装置16に表示する(ステップST1402)。このステップST1402において、切削点表示部44は、例えば、図19に示した内容を表示装置16に表示する。図19は、実施の形態1にかかる加工プログラム分析装置1の表示装置16が表示する切削点の第1の表示例を示す図であり、具体的には、面属性に基づいて切削点を表示する場合の表示例を示す図である。図19に示した表示例は、ステップST1401で探索した、特定面に属する切削点を黒塗りの四角形で表している。図19に示した表示を行うことにより、面境界に位置する切削点を作業者が把握しやすくなる。 FIG. 18 is a flowchart showing a first procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG. The cutting point display unit 44 searches for the cutting point to which the surface attribute of the specific surface is added from the cutting points stored in the cutting point storage unit 43 (step ST1401). Next, the cutting point display unit 44 changes the shape of the searched cutting point and displays it on the display device 16 (step ST1402). In step ST1402, the cutting point display unit 44 displays the content shown in FIG. 19 on the display device 16, for example. FIG. 19 is a diagram illustrating a first display example of cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. Specifically, the cutting points are displayed based on surface attributes. It is a figure which shows the example of a display in the case of doing. In the display example shown in FIG. 19, the cutting points belonging to the specific surface searched in step ST1401 are represented by black squares. By performing the display shown in FIG. 19, the operator can easily grasp the cutting point located at the surface boundary.
 図20は、切削点表示部44が図7のステップST1207で表示装置16に切削点を表示する第2の手順を示すフローチャートである。切削点表示部44は、切削点記憶部43で記憶されている指令位置の中から、複数の切削点を持つ指令位置すなわち複数の切削点が対応付けられている指令位置を探索する(ステップST1501)。次に、切削点表示部44は、探索した指令位置と、切削点とを表示装置16に表示する(ステップST1502)。このステップST1502において、切削点表示部44は、例えば、図21に示した内容を表示装置16に表示する。図21は、実施の形態1にかかる加工プログラム分析装置1の表示装置16が表示する切削点の第2の表示例を示す図である。図21に示した表示例では、各切削点に加えて、複数の切削点を持つ指令位置も併せて表示している。また、複数の切削点を持つ指令位置に対応している切削点を黒塗りの四角形で表している。図21に示した表示を行うことにより、加工品質が悪くなるおそれがある面境界に位置する切削点を作業者が容易に把握できるようになる。 FIG. 20 is a flowchart showing a second procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG. The cutting point display unit 44 searches the command positions stored in the cutting point storage unit 43 for command positions having a plurality of cutting points, that is, command positions associated with a plurality of cutting points (step ST1501). ). Next, the cutting point display unit 44 displays the searched command position and the cutting point on the display device 16 (step ST1502). In step ST1502, the cutting point display unit 44 displays the content shown in FIG. FIG. 21 is a diagram illustrating a second display example of the cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. In the display example shown in FIG. 21, in addition to each cutting point, a command position having a plurality of cutting points is also displayed. Further, the cutting points corresponding to the command positions having a plurality of cutting points are represented by black squares. By performing the display shown in FIG. 21, the operator can easily grasp the cutting point located at the surface boundary where the machining quality may be deteriorated.
 図22は、切削点表示部44が図7のステップST1207で表示装置16に切削点を表示する第3の手順を示すフローチャートである。切削点表示部44は、切削点記憶部43で記憶されている指令位置および切削点を探索する(ステップST1601)。次に、切削点表示部44は、探索した指令位置および切削点を、対応付けられている指令位置と切削点とを直線でつないで表示する(ステップST1602)。このステップST1602において、切削点表示部44は、例えば、図23に示した内容を表示装置16に表示する。図23は、実施の形態1にかかる加工プログラム分析装置1の表示装置16が表示する切削点の第3の表示例を示す図である。図23に示した表示例では、作業者が切削点と指令位置の対応関係を視認できるように、対応付けられている切削点と指令位置とを直線で接続している。図23に示した表示を行うことにより、NC加工プログラムの修正が必要な箇所を作業者が容易に把握することができるようになる。なお、表示装置16への表示形式は、作業者が切削点と指令位置の対応関係を視認可能な形式であればよく、表示形式を図23に示したものに限定するものではない。 FIG. 22 is a flowchart showing a third procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG. The cutting point display unit 44 searches for the command position and the cutting point stored in the cutting point storage unit 43 (step ST1601). Next, the cutting point display unit 44 displays the searched command position and cutting point by connecting the associated command position and cutting point with a straight line (step ST1602). In step ST1602, the cutting point display unit 44 displays the content shown in FIG. 23 on the display device 16, for example. FIG. 23 is a diagram illustrating a third display example of the cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. In the display example shown in FIG. 23, the associated cutting point and the command position are connected with a straight line so that the operator can visually recognize the correspondence between the cutting point and the command position. By performing the display shown in FIG. 23, the operator can easily grasp the place where the NC machining program needs to be corrected. The display format on the display device 16 may be any format that allows the operator to visually recognize the correspondence between the cutting point and the command position, and the display format is not limited to that shown in FIG.
 図24は、切削点表示部44が図7のステップST1207で表示装置16に切削点を表示する第4の手順を示すフローチャートである。切削点表示部44は、切削点記憶部43で記憶されている各切削点を時系列に直線補間し(ステップST1701)、直線補間後の各切削点を表示する(ステップST1702)。図25は、実施の形態1にかかる加工プログラム分析装置1の表示装置16が表示する切削点の第4の表示例を示す図である。図25に示した表示例では、各切削点を、時系列にすなわち加工が行われる順番に、直線補間した形で表している。図25に示した表示を行うことにより、加工箇所を作業者が容易に把握できるようになる。 FIG. 24 is a flowchart showing a fourth procedure in which the cutting point display unit 44 displays cutting points on the display device 16 in step ST1207 of FIG. The cutting point display unit 44 linearly interpolates each cutting point stored in the cutting point storage unit 43 in time series (step ST1701), and displays each cutting point after the linear interpolation (step ST1702). FIG. 25 is a diagram illustrating a fourth display example of the cutting points displayed by the display device 16 of the machining program analysis apparatus 1 according to the first embodiment. In the display example shown in FIG. 25, each cutting point is represented by linear interpolation in time series, that is, in the order in which machining is performed. By performing the display shown in FIG. 25, the operator can easily grasp the machining location.
 切削点の表示方法として第1の表示例から第4の表示例を示したが、これらの表示例の中の2つ以上を組み合わせた内容を表示装置16に表示するようにしてもよい。例えば、第1の表示例と第3の表示例を組み合わせた形としてもよい。 As the cutting point display method, the first to fourth display examples are shown. However, the display device 16 may display a combination of two or more of these display examples. For example, the first display example and the third display example may be combined.
 以上のように、本実施の形態にかかる加工プログラム分析装置においては、NC加工プログラム、加工で使用する工具の工具モデルを表す工具データおよび加工対象物の加工形状を表すCADデータに基づいて切削点を算出するとともに、各切削点において削り残しまたは削り過ぎが発生するか否かを判別し、削り残しまたは削り過ぎが発生する切削点を検出した場合、検出した切削点を、削り残しおよび削り過ぎのいずれも発生しない切削点とは異なる形式で表示することとした。これにより、作業者は、NC加工プログラムに記述されているどの命令を修正する必要があるかを知ることができ、NC加工プログラムの開発および修正を効率的に行うことができる。 As described above, in the machining program analysis apparatus according to the present embodiment, the cutting point based on the NC machining program, the tool data representing the tool model of the tool used in machining, and the CAD data representing the machining shape of the workpiece. In addition, it is determined whether there is uncut or overcut at each cutting point, and if a cutting point where uncut or overcut occurs is detected, the detected cutting point is left uncut and overcut. It was decided to display in a format different from the cutting points where none of these occurred. Thereby, the operator can know which instruction described in the NC machining program needs to be corrected, and can efficiently develop and correct the NC machining program.
実施の形態2.
 実施の形態1にかかる加工プログラム分析装置1では、NC加工プログラム、工具データおよびCADデータを用いて切削点を算出したが、本実施の形態にかかる加工プログラム分析装置では、NC指令データ、工具データおよびCADデータを用いて切削点を算出する。説明の便宜上、実施の形態2にかかる加工プログラム分析装置を加工プログラム分析装置1aと称する。
Embodiment 2. FIG.
In the machining program analyzer 1 according to the first embodiment, the cutting points are calculated using the NC machining program, tool data, and CAD data. However, in the machining program analyzer according to the present embodiment, the NC command data and tool data are calculated. Then, the cutting point is calculated using CAD data. For convenience of explanation, the machining program analyzer according to the second embodiment is referred to as a machining program analyzer 1a.
 本実施の形態にかかる加工プログラム分析装置1aを有する数値制御装置の構成は実施の形態1にかかる数値制御装置と同様である。すなわち、図1に示した数値制御装置10の加工プログラム分析装置1を加工プログラム分析装置1aに置き換えたものが該当する。また、加工プログラム分析装置1aの構成は、加工プログラム分析装置1の分析部15を図26に示した分析部15aに置き換えたものが該当する。 The configuration of the numerical controller having the machining program analyzer 1a according to the present embodiment is the same as that of the numerical controller according to the first embodiment. That is, the machining program analyzer 1 of the numerical controller 10 shown in FIG. 1 is replaced with the machining program analyzer 1a. Further, the configuration of the machining program analysis device 1a corresponds to a configuration in which the analysis unit 15 of the machining program analysis device 1 is replaced with the analysis unit 15a illustrated in FIG.
 加工プログラム分析装置1aは、加工プログラム分析装置1と同様に、図2に示したフローチャートが示す手順で処理を実行し、切削点の算出および表示を行う。ただし、上述したように、加工プログラム分析装置1aは、NC指令データ、工具データおよびCADデータを用いて切削点を算出する。すなわち、図2に示したステップST1006において加工プログラム分析装置1aが切削点を算出する処理は、加工プログラム分析装置1が切削点を算出する処理と異なる。その他のステップST1001からT1005およびST1007において加工プログラム分析装置1aが実行する処理は加工プログラム分析装置1がそれぞれのステップにおいて実行する処理と同様である。 The machining program analysis device 1a performs processing according to the procedure shown in the flowchart shown in FIG. 2 in the same manner as the machining program analysis device 1, and calculates and displays cutting points. However, as described above, the machining program analyzer 1a calculates the cutting point using the NC command data, tool data, and CAD data. That is, the process in which the machining program analyzer 1a calculates the cutting point in step ST1006 shown in FIG. 2 is different from the process in which the machining program analyzer 1 calculates the cutting point. The processing executed by the machining program analyzer 1a in other steps ST1001 to T1005 and ST1007 is the same as the processing executed by the machining program analyzer 1 in each step.
 図26は、実施の形態2にかかる加工プログラム分析装置1aを構成する分析部15aの構成例を示す図である。分析部15aは、加工で使用する工具の形状を表す工具データを取得する工具データ取得部33と、工具データを記憶する工具データ記憶部34と、CADデータを取得するCADデータ取得部35と、CADデータの位置合わせをするCADデータ位置合わせ部36と、位置合わせが行われた後のCADデータを記憶するCADデータ記憶部37と、を備える。また、分析部15aは、NC指令データを取得するNC指令データ取得部38と、NC指令データを記憶するNC指令データ記憶部39と、NC指令データ、工具データおよびCADデータに基づいて切削点を算出する切削点算出部42aと、切削点を記憶する切削点記憶部43と、切削点を表示装置16に表示する切削点表示部44と、を備える。 FIG. 26 is a diagram of a configuration example of the analysis unit 15a configuring the machining program analysis device 1a according to the second embodiment. The analysis unit 15a includes a tool data acquisition unit 33 that acquires tool data representing the shape of a tool used in machining, a tool data storage unit 34 that stores tool data, a CAD data acquisition unit 35 that acquires CAD data, A CAD data alignment unit 36 that aligns the CAD data and a CAD data storage unit 37 that stores the CAD data after the alignment is provided. The analysis unit 15a also determines an NC command data acquisition unit 38 that acquires NC command data, an NC command data storage unit 39 that stores NC command data, and a cutting point based on the NC command data, tool data, and CAD data. The cutting point calculation part 42a to calculate, the cutting point memory | storage part 43 which memorize | stores a cutting point, and the cutting point display part 44 which displays a cutting point on the display apparatus 16 are provided.
 図26に示したように、実施の形態2にかかる分析部15aは、図3に示した実施の形態1にかかる分析部15の切削点算出部42を切削点算出部42aに置き換え、さらに、分析部15からNC加工プログラム取得部31およびNC加工プログラム記憶部32を削除し、NC指令データ取得部38およびNC指令データ記憶部39を追加したものである。本実施の形態では、NC指令データ取得部38、NC指令データ記憶部39および切削点算出部42a以外の構成要素についての説明を省略する。 As shown in FIG. 26, the analysis unit 15a according to the second embodiment replaces the cutting point calculation unit 42 of the analysis unit 15 according to the first embodiment shown in FIG. 3 with a cutting point calculation unit 42a. The NC machining program acquisition unit 31 and the NC machining program storage unit 32 are deleted from the analysis unit 15, and an NC command data acquisition unit 38 and an NC command data storage unit 39 are added. In the present embodiment, description of components other than the NC command data acquisition unit 38, the NC command data storage unit 39, and the cutting point calculation unit 42a is omitted.
 図27は、実施の形態2にかかる分析部15aがNC指令データに基づいて切削点を表示する処理、すなわち、図2に示したステップST1006において、NC指令データ、工具データおよびCADデータに基づいて切削点を算出し、ステップST1007において切削点を表示する処理の詳細を示すフローチャートである。 FIG. 27 is a process in which the analysis unit 15a according to the second embodiment displays a cutting point based on NC command data, that is, based on NC command data, tool data, and CAD data in step ST1006 shown in FIG. It is a flowchart which shows the detail of the process which calculates a cutting point and displays a cutting point in step ST1007.
 分析部15aがNC指令データに基づいて切削点を表示する処理では、まず、NC指令データ取得部38が記憶装置内のNC指令データ記憶領域からNC指令データを読み込み、これをNC指令データ記憶部39が記憶する(ステップST1801)。 In the process in which the analysis unit 15a displays the cutting point based on the NC command data, first, the NC command data acquisition unit 38 reads the NC command data from the NC command data storage area in the storage device, and this is read as the NC command data storage unit. 39 stores (step ST1801).
 次に、工具データ取得部33が、ステップST1801で読み込まれたNC指令データに従った加工で使用する工具の工具データを工具DB12から取得し、これを工具データ記憶部34が記憶する(ステップST1802)。 Next, the tool data acquisition unit 33 acquires the tool data of the tool used in machining according to the NC command data read in step ST1801 from the tool DB 12, and the tool data storage unit 34 stores the tool data (step ST1802). ).
 次に、切削点算出部42aが、NC指令データ記憶部39で記憶されているNC指令データ、工具データ記憶部34で記憶されている工具データ、およびCADデータ記憶部37で記憶されている調整済みCADデータに基づいて切削点を算出する(ステップST1803)。切削点算出部42aは、切削点を算出する際、まず、NC指令データを解析して、加工時に工具が通る経路の座標を算出する。NC指令データを解析して得られる座標(以下、指令座標と称する)は、実施の形態1で説明した指令位置と同様に、加工時に工具が通る経路上の点を表す。通常、NC指令データは、NC加工プログラムが指令する各指令位置に対して補間処理を行うことにより得られる。そのため、あるNC加工プログラムに基づいて生成されたNC指令データが表す指令座標の数は、NC指令データの生成で用いられたNC加工プログラムから求めた指令位置の数よりも大きい。切削点算出部42aは、次に、算出した指令座標、工具データおよびCADデータを使用して切削点を算出する。指令座標、工具データおよびCADデータを使用して切削点を算出する処理は、実施の形態1にかかる分析部15の切削点算出部42が指令位置、工具データおよびCADデータを使用して切削点を算出する処理と同様である。切削点算出部42aと切削点算出部42との違いは、NC指令データを解析して工具の経路上に存在する指令座標を求めるのか、それともNC加工プログラムを解析して工具の経路上に存在する指令位置を求めるのかである。 Next, the cutting point calculation unit 42a adjusts the NC command data stored in the NC command data storage unit 39, the tool data stored in the tool data storage unit 34, and the adjustment stored in the CAD data storage unit 37. A cutting point is calculated based on the completed CAD data (step ST1803). When calculating the cutting point, the cutting point calculation unit 42a first analyzes the NC command data and calculates the coordinates of the path along which the tool passes during processing. Coordinates obtained by analyzing the NC command data (hereinafter referred to as command coordinates) represent points on the path through which the tool passes during machining, as in the command position described in the first embodiment. Normally, NC command data is obtained by performing interpolation processing on each command position commanded by the NC machining program. For this reason, the number of command coordinates represented by NC command data generated based on a certain NC machining program is larger than the number of command positions obtained from the NC machining program used in the generation of NC command data. Next, the cutting point calculation unit 42a calculates a cutting point using the calculated command coordinates, tool data, and CAD data. In the process of calculating the cutting point using the command coordinates, tool data and CAD data, the cutting point calculation unit 42 of the analysis unit 15 according to the first embodiment uses the command position, tool data and CAD data to cut the cutting point. This is the same as the process of calculating. The difference between the cutting point calculation unit 42a and the cutting point calculation unit 42 is that the NC command data is analyzed to obtain command coordinates existing on the tool path, or the NC machining program is analyzed and present on the tool path. The command position to be obtained is obtained.
 図28は、切削点算出部42aが、図27のステップST1803で切削点を算出する手順を示すフローチャートである。切削点算出部42aは、まず、工具データ記憶部34で記憶されている工具データに基づいて工具モデルを生成する。また、切削点算出部42aは、NC指令データ記憶部39で記憶されているNC指令データを解析して指令座標を求め、NC指令データで指令されている工具軸方向で、工具モデルを指令座標に配置する(ステップST1901)。切削点算出部42aは、次に、配置した工具モデルとCADモデルとの切削点を算出する(ステップST1902)。切削点算出部42aは、実施の形態1で説明した切削点算出部42と同様に、工具モデルとCADモデルとを数学的に解析することにより切削点を算出する。 FIG. 28 is a flowchart showing a procedure by which the cutting point calculation unit 42a calculates cutting points in step ST1803 of FIG. The cutting point calculation unit 42 a first generates a tool model based on the tool data stored in the tool data storage unit 34. Further, the cutting point calculation unit 42a analyzes the NC command data stored in the NC command data storage unit 39 to obtain command coordinates, and determines the command model in the tool axis direction commanded by the NC command data. (Step ST1901). Next, the cutting point calculation unit 42a calculates cutting points between the arranged tool model and the CAD model (step ST1902). The cutting point calculation unit 42a calculates the cutting point by mathematically analyzing the tool model and the CAD model, similarly to the cutting point calculation unit 42 described in the first embodiment.
 図27に示したステップST1804およびST1805の処理は図7に示したステップST1204およびST1205と同様の処理である。 27 is the same as steps ST1204 and ST1205 shown in FIG.
 図27のステップST1806において、切削点算出部42aは、NC指令データ情報を切削点に付加する。「NC指令データ情報」とは、切削点に対応する指令座標を指令するNC指令データの識別情報である。NC指令データに含まれる指令には、NC加工プログラムに記述されている各種指令と同様に、シーケンス番号またはこれに相当する管理番号が付加される。そのため、切削点算出部42aは、これらの情報を「NC指令データ情報」として切削点に付加する。 In step ST1806 of FIG. 27, the cutting point calculation unit 42a adds NC command data information to the cutting point. “NC command data information” is identification information of NC command data that commands command coordinates corresponding to a cutting point. As in the case of various commands described in the NC machining program, a sequence number or a management number corresponding to the sequence number is added to the commands included in the NC command data. Therefore, the cutting point calculation unit 42a adds these pieces of information as “NC command data information” to the cutting point.
 図29は、実施の形態2にかかる加工プログラム分析装置1aの表示装置16が表示する切削点の一例を示す図であり、具体的には図27のステップST1807において表示装置16が表示する切削点の一例を示す図である。切削点表示部44は、図27のステップST1803からST1806で算出され、切削点記憶部43で記憶されている各切削点および切削点に付加されている属性情報に基づいて図29に示した表示を行う。図29では、NC指令データが指令する指令座標、および切削点を、CADモデルとともに表示する例を示している。図29においては黒丸が指令座標を示し、黒丸を線で結んだものがNC指令データに従って工具が移動する工具経路を示している。また、黒塗りの四角形が削り残しの切削点、黒塗りの三角形が削り過ぎの切削点を示している。白抜きの四角形は、加工結果属性が付加されていない切削点、すなわち、削り残しおよび削り過ぎのいずれも発生していない切削点を示している。 FIG. 29 is a diagram illustrating an example of cutting points displayed by the display device 16 of the machining program analysis apparatus 1a according to the second embodiment. Specifically, the cutting points displayed by the display device 16 in step ST1807 of FIG. It is a figure which shows an example. The cutting point display unit 44 is calculated in steps ST1803 to ST1806 in FIG. 27 and is displayed in FIG. 29 based on each cutting point stored in the cutting point storage unit 43 and attribute information added to the cutting point. I do. FIG. 29 shows an example in which command coordinates commanded by NC command data and cutting points are displayed together with a CAD model. In FIG. 29, black circles indicate command coordinates, and black circles connected by lines indicate a tool path along which the tool moves according to NC command data. In addition, a black square indicates an uncut cutting point, and a black triangle indicates an excessive cutting point. A white square indicates a cutting point to which no machining result attribute is added, that is, a cutting point where neither uncut nor excessive cutting has occurred.
 NC指令データを用いて切削点を求める場合、NC加工プログラムを用いて切削点を求める場合と比較してより多くの切削点が得られるため、削り残しおよび削り過ぎを高精度に表示することができる。例えば、図17および図29に示したように、NC加工プログラムを用いた切削点の表示処理では表示できない削り過ぎの切削点を、NC指令データを用いた切削点の表示処理では表示することができる。 When obtaining cutting points using NC command data, more cutting points can be obtained compared to obtaining cutting points using the NC machining program, so that uncut and overcut can be displayed with high accuracy. it can. For example, as shown in FIGS. 17 and 29, an excessively cut cutting point that cannot be displayed by the cutting point display process using the NC machining program can be displayed by the cutting point display process using the NC command data. it can.
 このように、本実施の形態にかかる加工プログラム分析装置1aにおいては、NC指令データ、加工で使用する工具の工具モデルを表す工具データおよび加工対象物の加工形状を表すCADデータに基づいて切削点を算出するとともに、各切削点において削り残しまたは削り過ぎが発生するか否かを判別し、削り残しまたは削り過ぎが発生する切削点を検出した場合、検出した切削点を、削り残しおよび削り過ぎのいずれも発生しない切削点とは異なる形式で表示することとした。これにより、実施の形態1にかかる加工プログラム分析装置1と同様の効果を得ることができる。また、本実施の形態にかかる加工プログラム分析装置1aによれば、NC指令データを使用して切削点を算出するため、実施の形態1にかかる加工プログラム分析装置1と比較して、削り残しまたは削り過ぎが発生する切削点を高精度に検知して表示することができる。 As described above, in the machining program analysis apparatus 1a according to the present embodiment, the cutting point is based on the NC command data, the tool data representing the tool model of the tool used in machining, and the CAD data representing the machining shape of the workpiece. In addition, it is determined whether there is uncut or overcut at each cutting point, and if a cutting point where uncut or overcut occurs is detected, the detected cutting point is left uncut and overcut. It was decided to display in a format different from the cutting points where none of these occurred. Thereby, the effect similar to the processing program analyzer 1 concerning Embodiment 1 can be acquired. Further, according to the machining program analysis apparatus 1a according to the present embodiment, since the cutting point is calculated using the NC command data, compared with the machining program analysis apparatus 1 according to the first embodiment, an uncut portion or Cutting points where overcutting occurs can be detected and displayed with high accuracy.
実施の形態3.
 実施の形態1にかかる加工プログラム分析装置1では、NC加工プログラム、工具データおよびCADデータを用いて切削点を算出し、実施の形態2にかかる加工プログラム分析装置1では、NC指令データ、工具データおよびCADデータを用いて切削点を算出したが、本実施の形態にかかる加工プログラム分析装置では、FB位置データ、工具データおよびCADデータを用いて切削点を算出する。説明の便宜上、実施の形態3にかかる加工プログラム分析装置を加工プログラム分析装置1bと称する。
Embodiment 3 FIG.
The machining program analyzer 1 according to the first embodiment calculates a cutting point using the NC machining program, tool data, and CAD data, and the machining program analyzer 1 according to the second embodiment uses NC command data and tool data. Although the cutting point is calculated using CAD data, the machining program analyzer according to the present embodiment calculates the cutting point using FB position data, tool data, and CAD data. For convenience of explanation, the machining program analyzer according to the third embodiment is referred to as a machining program analyzer 1b.
 本実施の形態にかかる加工プログラム分析装置1bを有する数値制御装置の構成は実施の形態1にかかる数値制御装置と同様である。すなわち、図1に示した数値制御装置10の加工プログラム分析装置1を加工プログラム分析装置1bに置き換えたものが該当する。また、加工プログラム分析装置1bの構成は、加工プログラム分析装置1の分析部15を図30に示した分析部15bに置き換えたものが該当する。 The configuration of the numerical controller having the machining program analyzer 1b according to the present embodiment is the same as that of the numerical controller according to the first embodiment. That is, the machining program analyzer 1 of the numerical controller 10 shown in FIG. 1 is replaced with the machining program analyzer 1b. Further, the configuration of the machining program analysis device 1b corresponds to a configuration in which the analysis unit 15 of the machining program analysis device 1 is replaced with the analysis unit 15b illustrated in FIG.
 加工プログラム分析装置1bは、加工プログラム分析装置1と同様に、図2に示したフローチャートが示す手順で処理を実行し、切削点の算出および表示を行う。ただし、上述したように、加工プログラム分析装置1bは、FB位置データ、工具データおよびCADデータを用いて切削点を算出する。すなわち、図2に示したステップST1006において加工プログラム分析装置1bが切削点を算出する処理は、加工プログラム分析装置1が切削点を算出する処理と異なる。その他のステップST1001からST1005およびST1007において加工プログラム分析装置1bが実行する処理は加工プログラム分析装置1がそれぞれのステップにおいて実行する処理と同様である。 The machining program analysis device 1b performs processing according to the procedure shown in the flowchart shown in FIG. 2 in the same manner as the machining program analysis device 1, and calculates and displays cutting points. However, as described above, the machining program analyzer 1b calculates the cutting point using the FB position data, the tool data, and the CAD data. That is, the process in which the machining program analyzer 1b calculates the cutting point in step ST1006 shown in FIG. 2 is different from the process in which the machining program analyzer 1 calculates the cutting point. The processing executed by the machining program analyzer 1b in other steps ST1001 to ST1005 and ST1007 is the same as the processing executed by the machining program analyzer 1 in each step.
 図30は、実施の形態3にかかる加工プログラム分析装置1bを構成する分析部15bの構成例を示す図である。分析部15bは、加工で使用する工具の形状を表す工具データを取得する工具データ取得部33と、工具データを記憶する工具データ記憶部34と、CADデータを取得するCADデータ取得部35と、CADデータの位置合わせをするCADデータ位置合わせ部36と、位置合わせが行われた後のCADデータを記憶するCADデータ記憶部37と、FB位置データを取得するFB位置データ取得部40と、FB位置データを記憶するFB位置データ記憶部41と、FB位置データ、工具データおよびCADデータに基づいて切削点を算出する切削点算出部42bと、切削点を記憶する切削点記憶部43と、切削点を表示装置16に表示する切削点表示部44と、を備える。 FIG. 30 is a diagram illustrating a configuration example of the analysis unit 15b included in the machining program analysis device 1b according to the third embodiment. The analysis unit 15b includes a tool data acquisition unit 33 that acquires tool data representing the shape of a tool used in machining, a tool data storage unit 34 that stores tool data, a CAD data acquisition unit 35 that acquires CAD data, A CAD data alignment unit 36 that aligns CAD data, a CAD data storage unit 37 that stores CAD data after alignment, an FB position data acquisition unit 40 that acquires FB position data, and FB FB position data storage unit 41 that stores position data, cutting point calculation unit 42b that calculates cutting points based on FB position data, tool data, and CAD data, a cutting point storage unit 43 that stores cutting points, and cutting A cutting point display unit 44 for displaying the points on the display device 16.
 図30に示したように、実施の形態3にかかる分析部15bは、図3に示した実施の形態1にかかる分析部15の切削点算出部42を切削点算出部42bに置き換え、さらに、分析部15からNC加工プログラム取得部31およびNC加工プログラム記憶部32を削除し、FB位置データ取得部40およびFB位置データ記憶部41を追加したものである。本実施の形態では、FB位置データ取得部40、FB位置データ記憶部41および切削点算出部42b以外の構成要素についての説明を省略する。 As illustrated in FIG. 30, the analysis unit 15b according to the third embodiment replaces the cutting point calculation unit 42 of the analysis unit 15 according to the first embodiment illustrated in FIG. 3 with a cutting point calculation unit 42b. The NC machining program acquisition unit 31 and the NC machining program storage unit 32 are deleted from the analysis unit 15, and the FB position data acquisition unit 40 and the FB position data storage unit 41 are added. In the present embodiment, description of components other than the FB position data acquisition unit 40, the FB position data storage unit 41, and the cutting point calculation unit 42b is omitted.
 図31は、実施の形態3にかかる分析部15bがFB位置データに基づいて切削点を表示する処理、すなわち、図2に示したステップST1006において、FB位置データ、工具データおよびCADデータに基づいて切削点を算出し、ステップST1007において切削点を表示する処理の詳細を示すフローチャートである。 FIG. 31 is a process in which the analysis unit 15b according to the third embodiment displays a cutting point based on the FB position data, that is, based on the FB position data, tool data, and CAD data in step ST1006 shown in FIG. It is a flowchart which shows the detail of the process which calculates a cutting point and displays a cutting point in step ST1007.
 分析部15bがFB位置データに基づいて切削点を表示する処理では、まず、FB位置データ取得部40が記憶装置内のFB位置データ記憶領域からFB位置データを読み込み、これをFB位置データ記憶部41が記憶する(ステップST2001)。 In the process in which the analysis unit 15b displays the cutting point based on the FB position data, first, the FB position data acquisition unit 40 reads the FB position data from the FB position data storage area in the storage device, and the FB position data storage unit 41 stores (step ST2001).
 次に、工具データ取得部33が、ステップST2001で読み込まれたFB位置データが工作機械20において生成された時に工作機械20が使用していた工具の工具データを工具DB12から取得し、これを工具データ記憶部34が記憶する(ステップST2002)。FB位置データが工作機械20において生成された時に工作機械20が使用していた工具を知るための方法としては、NC加工プログラム100を解析することにより知る方法が考えられる。工具データ取得部33は、記憶装置内のNC加工プログラム記憶領域からNC加工プログラム100を読出して解析する、または、数値制御部11に問い合わせるなどして、FB位置データが工作機械20において生成された時に工作機械20が使用していた工具の情報を取得する。 Next, the tool data acquisition unit 33 acquires the tool data of the tool used by the machine tool 20 from the tool DB 12 when the FB position data read in step ST2001 is generated in the machine tool 20, and this is acquired from the tool DB 12. Data storage unit 34 stores it (step ST2002). As a method of knowing the tool used by the machine tool 20 when the FB position data is generated in the machine tool 20, a method of knowing by analyzing the NC machining program 100 can be considered. The tool data acquisition unit 33 reads and analyzes the NC machining program 100 from the NC machining program storage area in the storage device or inquires the numerical control unit 11 to generate the FB position data in the machine tool 20. Information on the tool used by the machine tool 20 at times is acquired.
 次に、切削点算出部42bが、FB位置データ記憶部41で記憶されているFB位置データ、工具データ記憶部34で記憶されている工具データ、およびCADデータ記憶部37で記憶されている調整済みCADデータに基づいて切削点を算出する(ステップST2003)。切削点算出部42bは、切削点を算出する際、まず、FB位置データを解析して、加工時に工具が通過した経路の座標(以下、通過座標と称する)を算出する。FB位置データを解析して得られる通過座標は、実施の形態1で説明した指令位置と同様に、加工時に工具が通る経路上の点を表す。切削点算出部42bは、次に、算出した通過座標、工具データおよびCADデータを使用して切削点を算出する。通過座標、工具データおよびCADデータを使用して切削点を算出する処理は、実施の形態1にかかる分析部15の切削点算出部42が指令位置、工具データおよびCADデータを使用して切削点を算出する処理と同様である。切削点算出部42bと切削点算出部42との違いは、FB位置データを解析して工具の経路上に存在する通過座標を求めるのか、それともNC加工プログラムを解析して工具の経路上に存在する指令位置を求めるのかである。 Next, the cutting point calculation unit 42b adjusts the FB position data stored in the FB position data storage unit 41, the tool data stored in the tool data storage unit 34, and the CAD data storage unit 37. A cutting point is calculated based on the completed CAD data (step ST2003). When calculating the cutting point, the cutting point calculation unit 42b first analyzes the FB position data to calculate the coordinates of the path through which the tool has passed during processing (hereinafter referred to as passing coordinates). Similar to the command position described in the first embodiment, the passing coordinates obtained by analyzing the FB position data represent points on the path through which the tool passes during machining. Next, the cutting point calculation unit 42b calculates a cutting point using the calculated passing coordinates, tool data, and CAD data. In the process of calculating the cutting point using the passing coordinates, the tool data, and the CAD data, the cutting point calculation unit 42 of the analysis unit 15 according to the first embodiment uses the command position, the tool data, and the CAD data to cut the cutting point. This is the same as the process of calculating. The difference between the cutting point calculation unit 42b and the cutting point calculation unit 42 is that the FB position data is analyzed to determine the passing coordinates existing on the tool path, or the NC machining program is analyzed to be present on the tool path. The command position to be obtained is obtained.
 図32は、切削点算出部42bが、図31のステップST2003で切削点を算出する手順を示すフローチャートである。切削点算出部42bは、まず、工具データ記憶部34で記憶されている工具データに基づいて工具モデルを生成する。また、切削点算出部42bは、FB位置データ記憶部40で記憶されているFB位置データを解析して通過座標を求め、FB位置データが示す工具軸方向で、工具モデルを通過座標に配置する(ステップST2101)。切削点算出部42bは、次に、配置した工具モデルとCADモデルとの切削点を算出する(ステップST2102)。切削点算出部42bは、実施の形態1で説明した切削点算出部42と同様に、工具モデルとCADモデルとを数学的に解析することにより切削点を算出する。 FIG. 32 is a flowchart showing a procedure in which the cutting point calculation unit 42b calculates cutting points in step ST2003 of FIG. The cutting point calculation unit 42 b first generates a tool model based on the tool data stored in the tool data storage unit 34. Further, the cutting point calculation unit 42b analyzes the FB position data stored in the FB position data storage unit 40 to obtain the passing coordinates, and arranges the tool model at the passing coordinates in the tool axis direction indicated by the FB position data. (Step ST2101). Next, the cutting point calculation unit 42b calculates cutting points between the arranged tool model and the CAD model (step ST2102). The cutting point calculation unit 42b calculates the cutting point by mathematically analyzing the tool model and the CAD model, similarly to the cutting point calculation unit 42 described in the first embodiment.
 図31に示したステップST2004およびST2005の処理は図7に示したステップST1204およびST1205と同様の処理である。 The processing in steps ST2004 and ST2005 shown in FIG. 31 is the same as the processing in steps ST1204 and ST1205 shown in FIG.
 図31のステップST2006において、切削点算出部42bは、FB位置データ情報を切削点に付加する。「FB位置データ情報」とは、切削点に対応する通過座標を示すFB位置データの識別情報である。FB位置データには、NC加工プログラムに記述されている各種指令と同様に、シーケンス番号またはこれに相当する管理番号が付加される。そのため、切削点算出部42bは、これらの情報を「FB位置データ情報」として切削点に付加する。 In step ST2006 in FIG. 31, the cutting point calculation unit 42b adds the FB position data information to the cutting point. “FB position data information” is identification information of FB position data indicating passing coordinates corresponding to a cutting point. Similar to the various commands described in the NC machining program, a sequence number or a management number corresponding to the sequence number is added to the FB position data. Therefore, the cutting point calculation unit 42b adds these pieces of information to the cutting point as “FB position data information”.
 図33は、実施の形態3にかかる加工プログラム分析装置1bの表示装置16が表示する切削点の一例を示す図であり、具体的には図31のステップST2007において表示装置16が表示する切削点の一例を示す図である。分析部15bは、図31のステップST2003からST2006で算出され、切削点記憶部43で記憶されている各切削点および切削点に付加されている属性情報に基づいて図33に示した表示を行う。図33では、FB位置データが示す通過座標、および切削点を、CADモデルとともに表示する例を示している。図33においては黒丸が通過座標を示し、黒丸を線で結んだものが加工時に工具が移動した経路を示している。また、黒塗りの四角形が削り残しの切削点、黒塗りの三角形が削り過ぎの切削点を示している。白抜きの四角形は、加工結果属性が付加されていない切削点、すなわち、削り残しおよび削り過ぎのいずれも発生していない切削点を示している。 FIG. 33 is a diagram illustrating an example of cutting points displayed by the display device 16 of the machining program analysis apparatus 1b according to the third embodiment. Specifically, the cutting points displayed by the display device 16 in step ST2007 of FIG. It is a figure which shows an example. The analysis unit 15b performs the display shown in FIG. 33 based on each cutting point calculated in steps ST2003 to ST2006 of FIG. 31 and stored in the cutting point storage unit 43 and attribute information added to the cutting point. . FIG. 33 shows an example in which the passing coordinates indicated by the FB position data and the cutting points are displayed together with the CAD model. In FIG. 33, the black circles indicate the passing coordinates, and the black circles connected by lines indicate the path along which the tool has moved during machining. In addition, a black square indicates an uncut cutting point, and a black triangle indicates an excessive cutting point. A white square indicates a cutting point to which no machining result attribute is added, that is, a cutting point where neither uncut nor excessive cutting has occurred.
 このように、本実施の形態にかかる加工プログラム分析装置1bにおいては、FB位置データ、加工で使用した工具の工具モデルを表す工具データおよび加工対象物の加工形状を表すCADデータに基づいて切削点を算出するとともに、各切削点において削り残しまたは削り過ぎが発生したか否かを判別し、削り残しまたは削り過ぎが発生した切削点を検出した場合、検出した切削点を、削り残しおよび削り過ぎのいずれも発生しない切削点とは異なる形式で表示することとした。これにより、実施の形態1にかかる加工プログラム分析装置1と同様の効果を得ることができる。 As described above, in the machining program analysis apparatus 1b according to the present embodiment, the cutting point is based on the FB position data, the tool data representing the tool model of the tool used in machining, and the CAD data representing the machining shape of the workpiece. Is calculated, and it is determined whether there is uncut or overcut at each cutting point, and if a cutting point where uncut or overcut has occurred is detected, the detected cutting point is left uncut and overcut. It was decided to display in a format different from the cutting points where none of these occurred. Thereby, the effect similar to the processing program analyzer 1 concerning Embodiment 1 can be acquired.
 図34は、本発明の各実施の形態にかかる加工プログラム分析装置のハードウェア構成を示す図である。図34に示したハードウェアは、演算処理を行うプロセッサ51と、プロセッサ51がワークエリアに用いるメモリ52と、数値制御装置またはプログラム変換装置として動作するためのプログラムを記憶する記憶装置53と、ユーザとの間の入力インタフェースである入力装置54と、ユーザに情報を表示する表示装置55と、被制御機器または他の数値制御装置、その他の各種装置との通信機能を有する通信装置56と、を備える。プロセッサ51、メモリ52、記憶装置53、入力装置54、表示装置55および通信装置56はデータバス50で接続されている。ここで、プロセッサ51は、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、CPU(Central Processing Unit)、またはDSP(Digital Signal Processor)などであってもよい。また、メモリ52は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable ROM)、またはEEPROM(Electrically EPROM)などの、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、またはDVD(Digital Versatile Disc)などが該当する。 FIG. 34 is a diagram showing a hardware configuration of the machining program analysis apparatus according to each embodiment of the present invention. The hardware shown in FIG. 34 includes a processor 51 that performs arithmetic processing, a memory 52 that the processor 51 uses as a work area, a storage device 53 that stores a program for operating as a numerical control device or a program conversion device, and a user An input device 54 that is an input interface between the communication device 56, a display device 55 that displays information to the user, and a communication device 56 that has a communication function with a controlled device or other numerical control device or other various devices. Prepare. The processor 51, the memory 52, the storage device 53, the input device 54, the display device 55, and the communication device 56 are connected by a data bus 50. Here, the processor 51 may be a processing device, an arithmetic device, a microprocessor, a microcomputer, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or the like. The memory 52 is a non-volatile or volatile semiconductor memory, such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable ROM), or an EEPROM (Electrically EPROM), or a magnetic disk. , Flexible disk, optical disk, compact disk, mini disk, or DVD (Digital Versatile Disc).
 各実施の形態では、加工プログラム分析装置が、削り残し、または、削り過ぎが発生した場合、その旨を示す表示を切削点に対応させて行うこととしたが、同様の表示を指令位置に対応させて行うようにしてもよい。すなわち、加工プログラム分析装置は、削り残しが発生している切削点に対応する指令位置と、削り過ぎが発生している切削点に対応する指令位置と、削り残し、および、削り過ぎのいずれも発生していない切削点に対応する指令位置とを視認可能な形式で表示するようにしてもよい。また、削り残し量および削り過ぎ量を指令位置に対応させて表示するようにしてもよい。 In each embodiment, when the machining program analysis device left uncut or overcut, a display indicating that is made corresponding to the cutting point, but the same display corresponds to the command position. You may make it carry out. In other words, the machining program analysis apparatus includes any of a command position corresponding to a cutting point where an uncut portion is generated, a command position corresponding to a cutting point where an excessive cut is generated, an uncut portion, and an overcut portion. The command position corresponding to the cutting point that has not occurred may be displayed in a visually recognizable format. Further, the uncut amount and overcut amount may be displayed in correspondence with the command position.
 各実施の形態で説明した加工プログラム分析装置は、プロセッサ51が、加工プログラム分析装置として動作するためのプログラムを記憶装置53から読み出して実行することにより実現することができる。 The machining program analyzer described in each embodiment can be realized by the processor 51 reading a program for operating as the machining program analyzer from the storage device 53 and executing it.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
 1,1a,1b 加工プログラム分析装置、10 数値制御装置、11 数値制御部、12 工具データベース(DB)、13 軸駆動部、14 位置データ取得部、15,15a,15b 分析部、16 表示装置、20 工作機械、21 複数の駆動軸、22 位置検出部、31 NC加工プログラム取得部、32 NC加工プログラム記憶部、33 工具データ取得部、34 工具データ記憶部、35 CADデータ取得部、36 CADデータ位置合わせ部、37 CADデータ記憶部、38 NC指令データ取得部、39 NC指令データ記憶部、40 FB位置データ取得部、41 FB位置データ記憶部、42,42a,42b 切削点算出部、43 切削点記憶部、44 切削点表示部。 1, 1a, 1b Machining program analysis device, 10 Numerical control device, 11 Numerical control unit, 12 Tool database (DB), 13 Axis drive unit, 14 Position data acquisition unit, 15, 15a, 15b Analysis unit, 16 Display device, 20 machine tools, 21 multiple drive shafts, 22 position detection unit, 31 NC machining program acquisition unit, 32 NC machining program storage unit, 33 tool data acquisition unit, 34 tool data storage unit, 35 CAD data acquisition unit, 36 CAD data Positioning unit, 37 CAD data storage unit, 38 NC command data acquisition unit, 39 NC command data storage unit, 40 FB position data acquisition unit, 41 FB position data storage unit, 42, 42a, 42b Cutting point calculation unit, 43 cutting Point storage unit, 44 cutting point display unit.

Claims (12)

  1.  数値制御工作機械が加工対象物に対して行う加工における工具の移動軌跡を表す工具軌跡データと、前記工具の形状を表す工具データと、前記加工対象物の加工形状を表すデータと、に基づいて、前記加工形状の加工物を得るために前記工具が前記加工対象物を切削する切削点の算出を行うとともに、算出した各切削点における削り残しの発生および削り過ぎの発生を判定する切削点算出部と、
     前記判定の結果を視認可能な形式で前記各切削点を表示装置に表示する切削点表示部と、
     を備えることを特徴とする加工プログラム分析装置。
    Based on tool trajectory data representing the tool trajectory in machining performed by the numerically controlled machine tool on the workpiece, tool data representing the shape of the tool, and data representing the machining shape of the workpiece. In addition, the cutting point is calculated by the tool to cut the workpiece to obtain the workpiece having the machining shape, and the cutting point calculation for determining the occurrence of uncut residue and excessive cutting at each calculated cutting point. And
    A cutting point display unit for displaying each cutting point on a display device in a form in which the result of the determination is visible;
    A machining program analyzing apparatus comprising:
  2.  前記数値制御工作機械を動作させるための数値加工プログラムを前記工具軌跡データとして使用することを特徴とする請求項1に記載の加工プログラム分析装置。 The machining program analyzer according to claim 1, wherein a numerical machining program for operating the numerically controlled machine tool is used as the tool locus data.
  3.  前記数値制御工作機械を動作させるための数値加工プログラムに基づいて作成された数値制御指令データを前記工具軌跡データとして使用することを特徴とする請求項1に記載の加工プログラム分析装置。 2. The machining program analyzer according to claim 1, wherein numerical control command data created based on a numerical machining program for operating the numerically controlled machine tool is used as the tool trajectory data.
  4.  前記数値制御工作機械が前記加工を実行した時の前記工具の実際の移動軌跡を表すデータを前記工具軌跡データとして使用することを特徴とする請求項1に記載の加工プログラム分析装置。 The machining program analyzer according to claim 1, wherein data representing an actual movement locus of the tool when the numerically controlled machine tool performs the machining is used as the tool locus data.
  5.  前記切削点表示部は、削り残しが発生したと判定された切削点および削り過ぎが発生したと判定された切削点を、削り残しおよび削り過ぎが発生していないと判定された切削点とは異なる形式で前記表示装置に表示することを特徴とする請求項1から4のいずれか一つに記載の加工プログラム分析装置。 The cutting point display unit is a cutting point that has been determined that an uncut portion has been generated and a cutting point that has been determined that an excessive amount of cutting has occurred. 5. The machining program analysis apparatus according to claim 1, wherein the machining program analysis apparatus displays the display apparatus in a different format.
  6.  前記切削点表示部は、削り残しが発生したと判定された切削点および削り過ぎが発生したと判定された切削点を、前記切削点算出部が算出した削り残し量と削り過ぎ量とを前記表示装置に表示することを特徴とする請求項1から4のいずれか一つに記載の加工プログラム分析装置。 The cutting point display unit includes a cutting point determined to have left uncut and a cutting point determined to have generated excessive cutting, the amount of remaining cutting and the amount of excessive cutting calculated by the cutting point calculating unit as described above. 5. The machining program analyzer according to claim 1, wherein the machining program analyzer is displayed on a display device.
  7.  前記切削点表示部は、前記加工形状を構成する複数の面の境界に対応する位置に存在している切削点を、前記境界に対応する位置に存在していない切削点とは異なる形式で前記表示装置に表示することを特徴とする請求項1から6のいずれか一つに記載の加工プログラム分析装置。 The cutting point display unit is configured such that a cutting point that exists at a position corresponding to a boundary between a plurality of surfaces constituting the machining shape is different from a cutting point that does not exist at a position corresponding to the boundary. The machining program analyzer according to claim 1, wherein the machining program analyzer is displayed on a display device.
  8.  前記切削点表示部は、前記各切削点と、前記各切削点の中の1つまたは複数に対応し、かつ前記移動軌跡上に存在する点である指令位置とを、対応関係が視認可能な形式で前記加工形状を構成する複数の面の境界に存在している切削点を、前記境界に存在していない切削点とは異なる形式で前記表示装置に表示することを特徴とする請求項1から7のいずれか一つに記載の加工プログラム分析装置。 The cutting point display unit can visually recognize the correspondence between each cutting point and a command position corresponding to one or more of the cutting points and existing on the movement locus. The cutting point existing at the boundary of a plurality of surfaces constituting the machining shape in a format is displayed on the display device in a format different from the cutting point not existing at the boundary. 8. The machining program analyzer according to any one of items 1 to 7.
  9.  前記切削点表示部は、前記加工形状を構成する特定の面に対応する位置に存在している切削点を、前記特定の面に対応する位置に存在していない切削点とは異なる形式で前記表示装置に表示することを特徴とする請求項1から8のいずれか一つに記載の加工プログラム分析装置。 The cutting point display unit has a cutting point that exists at a position corresponding to a specific surface constituting the machining shape in a format different from a cutting point that does not exist at a position corresponding to the specific surface. The machining program analyzer according to claim 1, wherein the machining program analyzer is displayed on a display device.
  10.  数値制御工作機械が加工対象物に対して行う加工における工具の移動軌跡を表す工具軌跡データに基づいて、前記工具が前記加工対象物を切削する各切削点における削り残しの発生および削り過ぎの発生を判定する切削点算出部と、
     前記各切削点を、前記判定の結果を視認可能な形式で表示装置に表示する切削点表示部と、
     を備えることを特徴とする加工プログラム分析装置。
    Based on the tool trajectory data representing the movement trajectory of the tool in machining performed by the numerically controlled machine tool on the workpiece, occurrence of uncut residue and occurrence of overcutting at each cutting point where the tool cuts the workpiece. Cutting point calculation unit for determining,
    A cutting point display unit for displaying each cutting point on a display device in a form in which the result of the determination can be visually recognized;
    A machining program analyzing apparatus comprising:
  11.  数値制御工作機械の工具が加工対象物を切削する切削点を算出する切削点算出部と、
     前記切削点を、前記工具が前記加工対象物を加工する際に移動する経路とともに表示装置に表示する切削点表示部と、
     を備えることを特徴とする加工プログラム分析装置。
    A cutting point calculator for calculating a cutting point at which the tool of the numerically controlled machine tool cuts the workpiece;
    A cutting point display unit that displays the cutting point on a display device together with a path that moves when the tool processes the workpiece;
    A machining program analyzing apparatus comprising:
  12.  数値制御工作機械が加工対象物に対して行う加工における工具の移動軌跡を表す工具軌跡データに基づいて、前記工具が前記加工対象物を切削する各切削点における削り残しの発生および削り過ぎの発生を判定する切削点算出部と、
     前記各切削点に対応する指令位置を、前記判定の結果を視認可能な形式で表示装置に表示する表示部と、
     を備えることを特徴とする加工プログラム分析装置。
    Based on the tool trajectory data representing the movement trajectory of the tool in machining performed by the numerically controlled machine tool on the workpiece, occurrence of uncut residue and occurrence of overcutting at each cutting point where the tool cuts the workpiece. Cutting point calculation unit for determining,
    A display unit that displays a command position corresponding to each cutting point on a display device in a form in which the result of the determination is visible;
    A machining program analyzing apparatus comprising:
PCT/JP2016/088987 2016-12-27 2016-12-27 Processing program analysys device WO2018122986A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2016/088987 WO2018122986A1 (en) 2016-12-27 2016-12-27 Processing program analysys device
JP2017539692A JP6316513B1 (en) 2016-12-27 2016-12-27 Machining program analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/088987 WO2018122986A1 (en) 2016-12-27 2016-12-27 Processing program analysys device

Publications (1)

Publication Number Publication Date
WO2018122986A1 true WO2018122986A1 (en) 2018-07-05

Family

ID=62069411

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/088987 WO2018122986A1 (en) 2016-12-27 2016-12-27 Processing program analysys device

Country Status (2)

Country Link
JP (1) JP6316513B1 (en)
WO (1) WO2018122986A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6632767B1 (en) * 2018-10-18 2020-01-22 三菱電機株式会社 Display system, additional manufacturing apparatus, and progress display method
WO2020021793A1 (en) * 2018-07-24 2020-01-30 三菱電機株式会社 Tool path correction device, tool path correction method, and numerical control device
JP2021033765A (en) * 2019-08-27 2021-03-01 ファナック株式会社 Processing program generation support system
WO2021095170A1 (en) * 2019-11-13 2021-05-20 三菱電機株式会社 Machining program conversion device, numerical control device, and machining program conversion method
JP7286023B1 (en) 2022-01-06 2023-06-02 三菱電機株式会社 Machining failure analysis device, machining system, machining failure analysis method, and machining method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115362420A (en) * 2020-07-17 2022-11-18 三菱电机株式会社 Numerical control device and numerical control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0320803A (en) * 1989-06-19 1991-01-29 Hitachi Ltd Work simulation device
JP2000148220A (en) * 1998-11-12 2000-05-26 Nissan Motor Co Ltd Checking device for machining remaining part for cam system
JP2009116782A (en) * 2007-11-09 2009-05-28 Mazda Motor Corp Support method and device for machining process verification, support program for machining process verification, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6364110A (en) * 1986-09-04 1988-03-22 Sony Corp Processing information generating system for free curved surface evading tool interference
WO2013145286A1 (en) * 2012-03-30 2013-10-03 株式会社牧野フライス製作所 Workpiece machining method, machine tool, tool path-generating device and tool path-generating program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0320803A (en) * 1989-06-19 1991-01-29 Hitachi Ltd Work simulation device
JP2000148220A (en) * 1998-11-12 2000-05-26 Nissan Motor Co Ltd Checking device for machining remaining part for cam system
JP2009116782A (en) * 2007-11-09 2009-05-28 Mazda Motor Corp Support method and device for machining process verification, support program for machining process verification, and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020021793A1 (en) * 2018-07-24 2020-01-30 三菱電機株式会社 Tool path correction device, tool path correction method, and numerical control device
JPWO2020021793A1 (en) * 2018-07-24 2021-03-11 三菱電機株式会社 Tool path correction device, tool path correction method and numerical control device
JP6632767B1 (en) * 2018-10-18 2020-01-22 三菱電機株式会社 Display system, additional manufacturing apparatus, and progress display method
JP2021033765A (en) * 2019-08-27 2021-03-01 ファナック株式会社 Processing program generation support system
JP7339069B2 (en) 2019-08-27 2023-09-05 ファナック株式会社 Machining program generation support device
WO2021095170A1 (en) * 2019-11-13 2021-05-20 三菱電機株式会社 Machining program conversion device, numerical control device, and machining program conversion method
JPWO2021095170A1 (en) * 2019-11-13 2021-05-20
JP7175403B2 (en) 2019-11-13 2022-11-18 三菱電機株式会社 MACHINING PROGRAM CONVERTER, NUMERIC CONTROLLER AND MACHINING PROGRAM CONVERSION METHOD
JP7286023B1 (en) 2022-01-06 2023-06-02 三菱電機株式会社 Machining failure analysis device, machining system, machining failure analysis method, and machining method
WO2023132039A1 (en) * 2022-01-06 2023-07-13 三菱電機株式会社 Machining defect analyzing device, machining system, machining defect analyzing method, and machining method

Also Published As

Publication number Publication date
JPWO2018122986A1 (en) 2018-12-27
JP6316513B1 (en) 2018-04-25

Similar Documents

Publication Publication Date Title
JP6316513B1 (en) Machining program analyzer
US8988032B2 (en) Numerical controller having display function for trajectory of tool
US10379523B2 (en) Machining program editing assist apparatus
US20170308055A1 (en) Machine tool control method and machine tool control device
JP6335925B2 (en) Machine tool controller
JP6373395B2 (en) Machine tool control device and machine tool
US9477216B2 (en) Numerical control device including display part for displaying information for evaluation of machining process
US9696714B2 (en) Numerical controller for controlling a tool and distinguished workpiece and jig
US8723862B2 (en) Information processor and information processing method
EP3088978B1 (en) Control apparatus for machine tool
US10228681B2 (en) Method of generating a machining program
CN107073714B (en) Method and system for correcting machining trajectory of robot guided tool
EP2898984A1 (en) Interface system of industrial machine
JP5985087B1 (en) Numerical controller
US11740062B2 (en) Control device, measurement system, and measurement method
JP4024117B2 (en) Measurement support device
JP4180469B2 (en) How to check the machining suitability of machine tools
CN107077123A (en) Numerical control device, NC processing unit (plant)s and NC processing methods
US10599128B2 (en) Control device for a machine tool
WO2016027355A1 (en) Numerical control device
JP5610883B2 (en) Processing simulation apparatus and method
JP2016024045A (en) Image measurement apparatus
JP6554695B2 (en) Image measuring device
KR101289296B1 (en) System and method for managing cam data
US20190079489A1 (en) Machining simulation apparatus

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2017539692

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16925741

Country of ref document: EP

Kind code of ref document: A1