Workpiece processing equipment

The workpiece machining device optimizes data acquisition by automatically determining when to save machining state information based on process completion, addressing inefficiencies and improving user convenience.

JP7817812B2Active Publication Date: 2026-02-19FUJI CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021178385
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2026-02-19
Estimated Expiration
2041-10-29

AI Technical Summary

Technical Problem

Existing workpiece machining devices require unnecessary acquisition of machining state information at all locations, leading to inefficiencies and user inconvenience.

Method used

A workpiece machining device that automatically determines whether to acquire machining state information based on the completion of machining processes, using a setting unit to set data saving requirements based on machining program commands and judgment thresholds for machining load.

Benefits of technology

Enables automatic data saving based on machining process completion, optimizing data acquisition and reducing user intervention, thus enhancing user convenience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007817812000003
    Figure 0007817812000003
  • Figure 0007817812000004
    Figure 0007817812000004
  • Figure 0007817812000005
    Figure 0007817812000005
Patent Text Reader

Abstract

To properly determine whether or not machining condition information needs to be acquired in a workpiece machining apparatus.SOLUTION: A workpiece machining apparatus includes a designation unit that designates, based on whether or not each of machining steps has been implemented in a machining program of machining a workpiece, whether or not data concerning each of machining steps at which the workpiece is machined respectively need to be stored.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present specification relates to a workpiece machining device. [Background technology]

[0002] As one type of workpiece machining device, Patent Document 1 discloses a numerical control device in which sampling start and end commands for acquiring machining state information are incorporated into an NC machining program. In this numerical control device, machining state information and machining location information are stored in memory, and machining state information can be acquired in association with the machining location. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2005-011203 Summary of the Invention [Problem to be solved by the invention]

[0004] In the numerical control device described in the above-mentioned Patent Document 1, machining status information can be acquired for all machining locations set in the program in response to sampling start and end commands, but there are some machining locations for which it is not necessary to acquire machining status information. From the perspective of improving user convenience, there is a demand for a workpiece machining device that can appropriately determine whether or not to acquire machining status information.

[0005] In view of the above circumstances, this specification discloses a workpiece machining device that can appropriately determine whether or not machining state information needs to be acquired. [Means for solving the problem]

[0006] The present specification provides a setting unit that automatically sets whether or not data relating to a plurality of machining steps in which workpiece machining is performed is required to be saved based on whether or not each of the machining steps has been performed in the machining program when the machining program for performing the workpiece machining is normally completed. The machining program has a designated processing command for designating the machining process for which the need to store the data is to be determined, the setting unit searches for the designated processing command and is capable of setting whether or not the data needs to be stored for the machining process designated by the searched designated processing command, the data includes a judgment threshold for determining the state of a detectable physical quantity, which is a physical quantity related to the machining of the workpiece and can be detected, for each machining process, the detectable physical quantity is a machining load related to the machining of the workpiece, and the judgment threshold is at least one of an upper limit value of a maximum load of the machining load, an upper limit value of an average load of the machining load, and a lower limit value of the average load of the machining load. A workpiece machining device is disclosed. [Effects of the Invention]

[0007] According to the present disclosure, the workpiece machining device can automatically set whether or not to save data related to each machining process based on whether or not the machining process is performed in the machining program (i.e., whether or not the machining process is performed). This allows the workpiece machining device to automatically save data related to each machining process depending on whether or not machining is performed, without user operation, making it possible to appropriately determine whether or not to save data related to the machining process (whether or not to acquire machining state information). [Brief explanation of the drawings]

[0008] [Figure 1] 1 is a front view showing a machine tool 10 to which a workpiece machining device is applied. [Figure 2] FIG. 2 is a side view showing the machine tool 10 shown in FIG. [Figure 3] FIG. 1 is a block diagram showing a machine tool 10. [Figure 4] 4 is a flowchart showing a program executed by the control device 50 shown in FIG. 3. [Figure 5] FIG. 10 is a diagram illustrating a path database. [Figure 6] 10 is a diagram showing the path information to be used before a change and the path information to be used after a change in the machining program 1. FIG. [Figure 7] 10 is a diagram showing the path information to be used before a change and the path information to be used after a change in a machining program 2. FIG. [Figure 8] 4 is a flowchart showing a program (logon / off setting) executed by the control device 50 shown in FIG. 3. [Figure 9]FIG. 10 is a diagram showing a path setting screen 50h. [Figure 10] FIG. 10 is a diagram showing an axis setting screen 50g. DETAILED DESCRIPTION OF THE INVENTION

[0009] (machine tools) An embodiment of the machine tool to which the workpiece machining device is applied will be described below. In each of the following figures, the directions in the figure will be described using an XYZ coordinate system. In this XYZ coordinate system, a plane parallel to the horizontal plane is defined as the XZ plane. In this XZ plane, the axial direction of spindles 20a and 20b of machine tool 10 (described later) is referred to as the Z-axis direction, and the direction perpendicular to the Z-axis direction is referred to as the X-axis direction. Furthermore, the direction perpendicular to the XZ plane is referred to as the Y-axis direction.

[0010] The machine tool 10 is a workpiece machining device that machines a workpiece W. As shown in Fig. 1, the machine tool 10 includes a main body 11, a pair of spindles 20a, 20b, a pair of tool rests 30a, 30b, a pair of workpiece transport robots (hereinafter sometimes simply referred to as robots) 40a, 40b, and a control device 50 that controls the spindles 20a, 20b, the tool rests 30a, 30b, and the workpiece transport robots 40a, 40b.

[0011] The spindle 20a rotatably holds the workpiece W. The spindle 20a is rotatably supported by a headstock (not shown) provided on the main body 11 so as to be horizontally disposed along the left-right direction (Z-axis direction) in FIG. 2. A spindle chuck 21 that detachably grips the workpiece W is provided at the tip of the spindle 20a. The spindle chuck 21 has multiple gripping jaws 21a that can grip the workpiece W by closing these gripping jaws 21a and release the workpiece W by opening them. The spindle chuck 21 opens and closes in response to commands from the control device 50. The spindle 20a is driven to rotate by a servo motor 22 (see FIG. 3). The current (drive current) of the servo motor 22 is detected by a current sensor 23 (see FIG. 3), and the detection result (detected current value) is output to the control device 50, which will be described later. The spindle 20b has a configuration similar to that of the spindle 20a.

[0012] The tool table 30a is a device that imparts a feed motion to a cutting tool 31, which is a processing tool. The tool table 30a is a so-called turret-type tool table, and has a tool holding unit 32 to which a plurality of cutting tools 31 for cutting the workpiece W are attached. The tool holding unit 32 is rotatably supported by a rotary drive unit (not shown), and can be positioned at a predetermined cutting position. The tool table 30a, and therefore the cutting tools 31, are moved left and right (X-axis direction) and front and rear (Z-axis direction) in FIG. 1 by a tool table moving device 33.

[0013] The tool table moving device 33 has an X-axis drive device 33a (see FIG. 3; this is the X-axis drive shaft and may be simply referred to as the X-axis) that moves the tool table 30a along the X-axis direction, and a Z-axis drive device 33b (see FIG. 3; this is the Z-axis drive shaft and may be simply referred to as the Z-axis) that moves the tool table 30a along the Z-axis direction. The X-axis drive device 33a is driven to rotate by a servo motor 33a1 (see FIG. 3). The current (drive current) of the servo motor 33a1 is detected by a current sensor 33a2 (see FIG. 3), and the detection result (detected current value) is output to a control device 50 (described later). The Z-axis drive device 33b is driven to rotate by a servo motor 33b1 (see FIG. 3). The current (drive current) of the servo motor 33b1 is detected by a current sensor 33b2 (see FIG. 3), and the detection result (detected current value) is output to a control device 50 (described later). The tool rest 30b is configured similarly to the tool rest 30a.

[0014] The above-described spindle 20a and tool rest 30a constitute a processing section 35a that processes the workpiece W. The above-described spindle 20b and tool rest 30b constitute a processing section 35b that processes the workpiece W.

[0015] (robot) Robots 40a and 40b can each travel on the same travelling platform, and can load and unload workpieces W onto spindles 20a and 20b and workpiece mounting device 60. Workpiece mounting device 60 is a device that can mount workpieces W, and includes, for example, a workpiece loading device that places the workpiece W to be loaded into machine tool 10 on a mounting surface, a workpiece unloading device that places the workpiece W to be unloaded from machine tool 10 on a mounting surface, and an inverting / shifting device that inverts or shifts the posture of workpieces W unloaded from machine tool 10.

[0016] The robot 40a includes a traveling unit 41 for traveling (moving along the X-axis), a gripping unit 42 for detachably gripping the workpiece W, and a gripping unit moving unit 43 for moving the gripping unit 42 relative to the traveling unit 41. In this embodiment, the robot 40a is, for example, a three-axis Cartesian robot (three-axis gantry robot). The robot 40a is not limited to a Cartesian robot, and may be a vertical articulated robot, a horizontal articulated robot (SCARA robot), or a parallel link robot. The robot 40b has a similar configuration to the robot 40a.

[0017] (Running part) As shown in FIG. 1, the running unit 41 includes a running unit slider 41a (which may also be referred to as an X-axis slider), a guide unit 41b which is a running platform that guides and runs the running unit slider 41a, and a running drive device (not shown) that drives the running unit slider 41a to run.

[0018] The running part slider 41a can be equipped with a gripping part 42 and a gripping part moving part 43, and is guided by a guide part 41b extending in the left-right direction (X-axis direction) in Figure 1, and moves back and forth (linearly) in the left-right direction.

[0019] The guide portion 41b is provided on the main body 11 and disposed above the spindles 20a, 20b and tool rests 30a, 30b. One end (the left end in FIG. 1) of the guide portion 41b extends to directly above the workpiece placement device 60 installed on the left side of the main body 11. The other end (the right end in FIG. 1) of the guide portion 41b extends to directly above the workpiece placement device 60 installed on the right side of the main body 11. The traveling slider 41a and the guide portion 41b form a traveling drive shaft (X-axis drive shaft). The traveling drive device is provided on the traveling slider 41a or guide portion 41b side.

[0020] (gripping part) As shown primarily in Fig. 2, gripper 42 is rotatably connected to Y-axis slider 45a via rotation driver 42b. Gripper 42 has a triangular prism-shaped main body 42a with two orthogonal side surfaces and a remaining side surface. One of the two orthogonal side surfaces is a plane that can be parallel to the XZ plane, and is provided with robot chuck 42c that detachably grips workpiece W. The other side surface is a plane that is parallel to the XY plane, and is provided with robot chuck 42d that detachably grips workpiece W.

[0021] The main body 42a is rotatable by the rotation drive unit 42b, and each of the robot chucks 42c, 42d can be rotated between two positions (a downward position in the Y-axis direction and a rearward position in the Z-axis direction). As a result, the gripper 42 can transfer the workpiece W to a mounting surface facing upward in the Y-axis direction (e.g., the mounting surface of the workpiece mounting device 60) by positioning each of the robot chucks 42c, 42d in the downward position in the Y-axis direction. Furthermore, the gripper 42 can transfer the workpiece W to a mounting surface facing forward in the Z-axis direction (e.g., the mounting surface of the spindle chuck 21 of the spindles 20a, 20b) by positioning each of the robot chucks 42c, 42d in the rearward position in the Z-axis direction. The robot chucks 42c, 42d have multiple gripping jaws (not shown), which can grip the workpiece W by closing the gripping jaws and release the workpiece W by opening the gripping jaws. The robot chucks 42c, 42d are opened and closed in response to instructions from the control device 50.

[0022] Rotational drive unit 42b is attached (connected) to the remaining side surface of main body 42a. Rotational drive unit 42b is attached to the inclined surface at the tip (lower end) of Y-axis slider 45a. The remaining side surface of main body 42a is disposed parallel to the inclined surface at the tip of Y-axis slider 45a. As shown in FIG. 2, rotational drive unit 42b includes rotational drive shaft 42e attached to rotational drive unit 42b and a rotational drive device (not shown) that rotates rotational drive shaft 42e.

[0023] (grip moving part) The gripper moving unit 43 moves the gripper 42 relative to the running unit slider 41a in the left-right direction (Z-axis direction) and the up-down direction (Y-axis direction) in Fig. 2. The gripper moving unit 43 has a Z-axis driving unit 44 that moves the gripper 42 along the Z-axis direction, and a Y-axis driving unit 45 that moves the gripper 42 along the Y-axis direction.

[0024] (Z-axis drive unit) Z-axis driving unit 44 moves Z-axis slider 44a, which is slidably attached to running unit slider 41a, along the Z-axis direction. As shown primarily in Fig. 2, Z-axis driving unit 44 includes Z-axis slider 44a, Z-axis guide unit 44b that guides and moves Z-axis slider 44a, and a Z-axis driving device (not shown) that drives and moves Z-axis slider 44a.

[0025] Z-axis slider 44a can mount Y-axis drive unit 45 and thus gripper 42, extends in the left-right direction (Z-axis direction) in FIG. 2, and is guided by Z-axis guide unit 44b to reciprocate (linearly move) along the Z-axis direction. Z-axis guide unit 44b is provided on running unit slider 41a. The Z-axis drive device is provided on Z-axis guide unit 44b or Z-axis slider 44a.

[0026] (Y-axis drive unit) Y-axis driving unit 45 moves Y-axis slider 45a (on which gripper 42 is supported) slidably attached to Z-axis slider 44a along the Y-axis direction. As shown primarily in Fig. 2, Y-axis driving unit 45 includes Y-axis slider 45a, Y-axis guide unit 45b that guides and moves Y-axis slider 45a, and a Y-axis driving device (not shown) that drives and moves Y-axis slider 45a.

[0027] Y-axis slider 45a, on which gripper 42 can be mounted, extends in the vertical direction (Y-axis direction) in FIG. 2, and is guided by Y-axis guide portion 45b to reciprocate (linearly move) along the Y-axis direction. Y-axis guide portion 45b is provided on Z-axis slider 44a. The Y-axis drive device is provided on Y-axis guide portion 45b or Y-axis slider 45a.

[0028] (Control device) The control device 50 is a control device that controls the drive of the spindles 20a, 20b, the tool tables 30a, 30b, and the robots 40a, 40b. In particular, the control device 50 controls the drive of the spindles 20a, 20b and the tool tables 30a, 30b. As shown in FIG. 3, the control device 50 is connected to an input device 50a, a display device 50b, a storage device 50c, current sensors 23, 33a2, 33b2, and servo motors 22, 33a1, 33b1. The input device 50a is provided on the front of the machine tool 10 and allows an operator (user) to input various settings, instructions, and the like to the control device 50. The display device 50b is provided on the front of the machine tool 10 and displays information such as the operating status and maintenance status to the operator. Memory device 50c stores data related to the control of machine tool 10, such as a control program (machining program), parameters used in the control program, data related to various settings and instructions, actual detection data, and association data (storage unit). Control device 50 has a microcomputer (not shown), which includes an input / output interface, a CPU, RAM, and ROM (all not shown), each connected via a bus. The CPU executes various programs to acquire data, detection signals, control information, etc. from input device 50a, memory device 50c, and current sensors 23, 33a2, and 33b2, and to control display device 50b and servo motors 22, 33a1, and 33b1. RAM temporarily stores variables necessary for executing the programs, and ROM stores the programs.

[0029] (Workpiece processing) Furthermore, automation of the setting of the log of the load detection function by the workpiece machining device (machine tool 10) described above will be described with reference to the flowchart shown in Fig. 4. The control device 50 carries out processing in accordance with this flowchart.

[0030] In step S102, the control device 50 determines whether or not the machining program has been started. If there is an instruction to start machining new workpieces W (a predetermined quantity) on the machine tool 10, the control device 50 determines that the machining program has been started ("YES" in step S102), and causes the program to proceed to step S104. On the other hand, if there is no instruction to start machining the workpieces W, the control device 50 determines that the machining program has not been started ("NO" in step S102), and repeatedly performs the determination process of step S102 until there is an instruction to start machining the workpieces W.

[0031] In step S104, the control device 50 clears the use path information. That is, every time a machining program is started, the control device 50 clears the use path information temporarily stored in the storage device 50c.

[0032] A path indicates the location of the load monitoring target (i.e., the load detection target), and is defined between a designated start processing command (e.g., "M130" in the M code) indicating the location where load detection starts and a designated end processing command (e.g., "M131" in the M code) indicating the location where load detection ends. It is preferable that the designated start processing command is placed at the beginning of the processing step that is the load monitoring target, and the designated end processing command is placed at the end of the processing step. Therefore, it can be said that a path indicates a processing step. Note that the designated start processing command and the designated end processing command are designated processing commands for specifying the processing step that is the target of data storage, and the processing program has these designated processing commands.

[0033] It is preferable that the designated start process command include a code indicating the path number (for example, a B code). For example, the B code is represented by a five-digit number (argument), and the designated start process command is represented as M130B00001. When the control device 50 recognizes the M code, it also recognizes the argument of the B code, and can therefore recognize the path number corresponding to the argument.

[0034] The path information used is information about the path related to the machining program, and includes, for example, the path number and log-on / off information. The path information used is an example of data related to paths, which will be described later. The path number is a number that indicates the path, i.e., the machining process (machining location). It is preferable that the path number is set so that the same path number does not overlap between workpieces. The log-on / off information is information that indicates whether to log on (save) or log off (not save) data related to the path. Note that logging on means that data related to the path needs to be saved, and logging off means that data related to the path does not need to be saved.

[0035] The data relating to the path includes the threshold values ​​(determination threshold values) of each drive axis, the tool number, the tool counter, and the like relating to the path.

[0036] The judgment threshold value is a value for judging the state of the machining load (a detectable physical quantity that is related to the machining of the workpiece W) for each machining process (pass). The machining load is a load that occurs when the workpiece W is cut (machined) by the cutting tool 31, and is a physical quantity that acts as resistance to the machining (machining resistance). Here, the machining load refers to the magnitude of the force or energy consumed by the workpiece W or the cutting tool 31 (the driven side) that generates machining resistance on the driving side (in this embodiment, the above-mentioned servo motors), and refers to, for example, the torque load applied to the drive shaft. Note that the detectable physical quantity is not limited to the machining load, and the current consumption or power consumption of the servo motor may also be used.

[0037] In this embodiment, the judgment thresholds can be two upper limits for maximum load, which are the maximum values ​​of the machining load; two upper limits for average load, which are the average values ​​of the machining load; and a lower limit for average load. The upper limit for maximum load has an abnormal upper limit for determining an abnormal state that requires the machine tool 10 to stop machining of the workpiece, and a warning upper limit for determining an abnormal state (warning state) that requires a warning but does not require the machine tool 10 to stop machining of the workpiece. Like the upper limit for maximum load, the upper limit for average load also has an abnormal upper limit and a warning upper limit. The lower limit for average load is a value that determines an abnormal state (warning state) that requires a warning but does not require the machine tool 10 to stop machining. The lower limit for average load may also be a value that determines an abnormal state that requires the machine tool 10 to stop machining. Alternatively, a lower limit for minimum load, which is the minimum value of the machining load, may be used.

[0038] The control device 50 updates the used path information with new content each time a new machining program is started. That is, the control device 50 newly registers used path information related to the path to be used in the machining program that is currently being executed. The control device 50 registers used path information based on an M code for load detection. Specifically, if the control device 50 detects an M code for load detection in step S106, it stores a path corresponding to the detected M code in the storage device 50c as a path related to the used path information (step S108). That is, the control device 50 searches for a specified processing command (M code) (search unit; step S106) and registers a machining process (path) specified by the searched specified processing command as used path information (registration unit; step S108). On the other hand, if the control device 50 does not detect an M code for load detection in step S106, it determines that load detection is not performed in the machining program and does not store a path related to the used path information in the storage device 50c.

[0039] In step S106, when the control device 50 detects the M code, it can recognize the corresponding path from the B code attached to the M code. Furthermore, in step S108, the control device 50 acquires data corresponding to the detected path from a path database (see FIG. 5) stored in the storage device 50c or a management computer (a computer that collectively manages multiple machine tools 10), and stores the data in the storage device 50c as used path information. Furthermore, the start of the processing in steps S104 and S106 is set to the start of processing of the machining program, but this is not limited thereto, and the start of the processing may also be the time when the machining program is pre-loaded before the start of the processing.

[0040] The path database stores (contains) path numbers and log-on / off information associated with the path numbers, as shown in Fig. 5. In this embodiment, it is assumed that paths 1 to 50 are stored. The path database may also include threshold values ​​for each drive axis, tool numbers, tool counters, etc., related to each path, or a separate path database may be provided that includes threshold values ​​for each drive axis, tool numbers, tool counters, etc., related to each path.

[0041] Furthermore, the control device 50 updates and stores the path usage information according to the actual usage status (i.e., updates and stores whether or not data needs to be saved) only when the machining program has ended normally. In other words, the control device 50 prohibits updating the path usage information if the machining program has not ended normally. This makes it possible to suppress (restrict) the adoption of the path usage status when the machining program has not ended normally, and to reliably adopt the path usage status when the machining program has ended normally.

[0042] When the machining program is normally completed (determined as "YES" in step S110), the control device 50 sets the path used in the machining program to log-on (step S124; first setting unit) and sets the path not used in the machining program to log-off (step S118; second setting unit). The first setting unit and the second setting unit may be collectively referred to as a setting unit. That is, when the machining program is normally completed, the control device 50 (setting unit) can set whether or not data related to the path needs to be saved by reflecting the save necessity status of the latest path at the time of the termination. In addition, the control device 50 (setting unit) can search for the specified processing command (search unit) and set whether or not data needs to be saved for the machining process (path) specified by the searched specified processing command.

[0043] The control device 50 can automatically set a path that is actually being used during execution of the machining program (a path where a machining process is being performed) to log on (first setting unit), and can automatically set a path that is not actually being used (a path where a machining process is not being performed) to log off (second setting unit). In other words, the control device 50 sets whether or not it is necessary to save data related to a plurality of machining processes (paths) in which machining of the workpiece W is respectively performed, based on whether or not each machining process is being performed in the machining program that performs machining of the workpiece W (setting unit).

[0044] Specifically, when the currently logged-on path (all paths logged on at the start of the machining program) among the path information for the machining program is in use (determined as "YES" in step S116), the control device 50 maintains the current logon / off state. Note that the currently logged-on path being in use means that it is registered in the path information for use. On the other hand, when the currently logged-on path is not in use (determined as "NO" in step S116), the control device 50 sets the unused path to logoff (step S118). This process is performed until it is completed for all paths set to logon.

[0045] Furthermore, after the determination of all logged-on paths has been completed, the control device 50 performs a setting process for all remaining logged-off paths (all paths that were logged-off at the start of the machining program). The control device 50 determines "YES" in step S122 for the currently logged-on paths (paths that were logged-on at the start of the machining program), and maintains the current logged-on / off state of logged-on. On the other hand, the control device 50 determines "NO" in step S122 for the currently logged-off paths, and sets the used paths to logged-on (step S124). This process is performed for all paths set to logged-off, i.e., until it is completed for all used path information.

[0046] If the machining program has ended normally, the control device 50 determines "YES" in step S110 and proceeds to step S114, and if the machining program has ended other than normally (if an abnormality has occurred during execution of the machining program), the control device 50 determines "NO" and "YES" in steps S110 and S112 and ends this flowchart. Also, if the machining program is being executed and has not ended, the control device 50 determines "NO" in steps S110 and S112 and returns the program to step S106.

[0047] In step S114, it is determined whether one or more pieces of used path information are in use. If there is zero used path information, the control device 50 does not need to set a log for the path and ends this flowchart. On the other hand, if there is one or more used path information, the control device 50 does need to set a log for the path and causes the program to proceed to step S116 and thereafter.

[0048] Furthermore, in step S120, it is determined whether or not the determination of all currently logged-on paths has been completed. Until the determination of all logged-on paths has been completed, the control device 50 returns the program to step S116, and on the other hand, once the determination of all logged-on paths has been completed, the control device 50 proceeds to step S122. Furthermore, in step S126, it is determined whether or not the determination of all paths in the use path information has been completed. Until the determination of all paths in the use path information has been completed, the control device 50 returns the program to step S122, and on the other hand, once the determination of all paths in the use path information has been completed, the control device 50 ends this flowchart.

[0049] (Example (machining program 1, machining program 2)) Furthermore, the processing (control) according to the above-mentioned flowchart will be explained using specific examples (machining program 1 and machining program 2). It is assumed that machining program 1 includes pass 1, pass 2, and pass 3, and machining program 2 includes pass 4, pass 5, and pass 6. As mentioned above, it is assumed that pass 1 to pass 50 are registered.

[0050] A case will be described where machining is performed based on machining program 1. When processing of machining program 1 starts, path 1, path 2, and path 3 are detected (step S106), and data relating to path 1, path 2, and path 3 is acquired from the path database (see FIG. 5). The acquired data relating to the paths is registered in the storage device 50c as use path information for new machining by machining program 1 (step S108). Here, it is assumed that paths 1 to 3 are in a logged-on state at the start of machining program 1.

[0051] Therefore, when registering path information for machining program 1, path 1, path 2, and path 3 are registered as paths, and the logon / off information for each path at the current time (for example, when machining starts or when the machining program is loaded) is associated with these paths and registered. As shown in Table 1 below, the logon / off status for paths 1 to 3 are all logged on.

[0052] [Table 1]

[0053] Furthermore, when the processing by the processing program 1 is completed normally ("YES" in step S110), the path not actually used in the processing is set to logoff (steps S116, 118), and the path actually used in the processing is set to logon (steps S122, 124).

[0054] For example, if the path usage status (setting status) is changed by an operator's operation while the machining program 1 is being executed or after the previous machining program 1 is executed (and before the current machining program 1 is executed), the necessity of saving data related to the paths in the relevant machining process is changed. The following describes a case where paths 1 and 2 are used but path 3 is not (see FIG. 6).

[0055] For Path 1, the logon / off information is "Logon" and is in use, so "YES" is determined in step S116, "YES" is determined in step S122, and the logon / off information is maintained at "Logon." For Path 2, as with Path 1, the logon / off information is maintained at "Logon."

[0056] For Path 3, the logon / off information is "logon" and is not in use, so the determination is "NO" in step S116, and the logon / off information for Path 3 is set (changed) to "logoff" in step S118. Thereafter, in step S122, it is determined whether the logon / off information at the start of the machining program is "logon", so for Path 3, whose logon / off information at the start is "logon", the determination is "YES" in step S122, and the logon / off information is maintained at "logoff", which was the logon / off information before the determination in step S122.

[0057] As shown in Figure 6, the path information in use before the path change (path information in use before the change), in which paths 1 to 3 are each logged on, can be automatically updated and registered to path information in use after the change (path information in use after the change), in which paths 1 and 2 are each logged on and path 3 is logged off, in response to a usage situation in which paths 1 and 2 are used but path 3 is not.The contents of the path information in use after the change are then reflected in the path database.As a result, the path usage status is automatically reflected in the contents of the path database, and the latest logon / off information (path 1: logon, path 2: logon, path 3: logoff) can be maintained.

[0058] Next, a case where machining is performed based on machining program 2 will be described. When processing of machining program 2 starts, path 4, path 5, and path 6 are detected (step S106), and data related to path 4, path 5, and path 6 is acquired from the path database (see FIG. 5). The acquired data related to the paths is registered in the storage device 50c as use path information related to new machining by machining program 2 (step S108). Here, it is assumed that path 4, path 5, and path 6 are in the logged-on, logged-off, and logged-off states, respectively, at the start of machining program 2.

[0059] Therefore, when registering path information for machining program 2, paths 4, 5, and 6 are registered as paths, and the current logon / off information for each path is associated with these paths and registered. As shown in Table 2 below, the logon / off status for paths 4, 5, and 6 is logged on, logged off, and logged off.

[0060] [Table 2]

[0061] Furthermore, when the processing by the processing program 2 is completed normally ("YES" in step S110), the path not actually used in the processing is set to logoff (steps S116, 118), and the path actually used in the processing is set to logon (steps S122, 124).

[0062] For example, if the path usage status (setting status) is changed by an operator's operation during execution of machining program 2 or after execution of the previous machining program 2 (and before execution of the current machining program 2), the necessity of saving data related to the paths in the relevant machining process is changed. The following describes a case where paths 4 and 5 are used, but path 6 is not used (see FIG. 7).

[0063] For path 4, the logon / off information is "logon" and is in use, so the determination in step S116 is "YES" and the determination in step S122 is "YES", and the logon / off information is maintained as "logon".

[0064] For path 5, the logon / off information is "logged off" and path 5 is in use, so the determination in step S116 is "NO" and the program proceeds to step S118. In step S118, paths that are not in use are logged off, but paths that are in use are not logged off and the current logon / off information is maintained. Therefore, since path 5 is in use, the logon / off information for path 5 is maintained as "logged off". Thereafter, in step S122, it is determined whether the logon / off information at the start of the machining program is "logged on", so for path 5, whose logon / off information at the start is "logged off", the determination in step S122 is "NO", and the logon / off information for path 5 is set (changed) to "logged on" (step S124).

[0065] For path 6, the logon / off information is "logged off" and path 6 is not in use, so the determination in step S116 is "NO" and the program proceeds to step S118. In step S118, unused paths are logged off, so the logon / off information for unused path 6 is maintained at "logged off." Thereafter, in step S122, it is determined whether the logon / off information at the start of the machining program is "logged on." Therefore, for path 6, whose logon / off information at the start is "logged off," the determination in step S122 is "NO," and the program proceeds to step S124. In step S124, paths in use are logged on, but the current logon / off information for unused paths is maintained. Therefore, since path 6 is not in use, the logon / off information for path 6 is maintained at "logged off."

[0066] As shown in Figure 7, the path information in use (path information in use before change), in which paths 4 to 6 are logon, logoff, and logoff, respectively, before the path change, can be automatically updated and registered to path information in use (path information in use after change), in which paths 4 and 5 are logon and path 6 is logoff, corresponding to the usage situation in which paths 4 and 5 are used but path 6 is not.The contents of the path information in use after change are then reflected in the path database.As a result, the path usage situation is automatically reflected in the contents of the path database, and the latest logon / off information (path 4: logon, path 5: logon, path 6: logoff) can be maintained.

[0067] (Change pass usage) Furthermore, how the user changes the logon / off settings for each path (changing the path usage status) will be described with reference to the flowchart shown in FIG.

[0068] In step S202, the control device 50 determines whether the logon / off setting has been changed by a user operation. The logon / off setting is changed by a user operation as follows: When the log-on switch 50h7 shown in FIG. 9 is turned on by the user, the user is logged on. Also, when the log-off switch 50h8 is turned on by the user, the user is logged off.

[0069] 9 shows a path setting screen 50h. The path setting screen 50h has a judgment threshold display field 50h1, a path display field 50h2, a workpiece No. display field 50h3, a tool No. display field 50h4, a program display switch 50h5, a judgment threshold display operation switch group 50h6, a log ON switch 50h7, and a log OFF switch 50h8.

[0070] The judgment threshold display field 50h1 is a field that displays the judgment threshold for each axis, and displays, from left to right, the axis to be displayed, the upper limit value for abnormality (for maximum load), the upper limit value for warning (for maximum load), the maximum load which is the largest of the load data used to calculate the judgment threshold, the upper limit value for abnormality (for average load), the upper limit value for warning (for average load), the lower limit value for warning, and the average load which is the average of the load data used to calculate the judgment threshold.

[0071] The path display field 50h2 displays the path number for which the judgment threshold is displayed (load data is stored). The workpiece number display field 50h3 displays the management number of the workpiece for which the judgment threshold is displayed (load data is stored). The tool number display field 50h4 displays the management number of the cutting tool for which the judgment threshold is displayed (load data is stored). The program display switch 50h5 is a switch for switching the screen to a screen that displays the program line (or path) for which the machining load is detected. The judgment threshold display operation switch group 50h6 has switches for scrolling the lines displayed in the judgment threshold display field 50h1 upward or downward.

[0072] The log-on switch 50h7 is a switch for setting whether or not data related to the path currently displayed in the path display field 50h2 needs to be saved to log on. The log-off switch 50h8 is a switch for setting whether or not data related to the path currently displayed in the path display field 50h2 needs to be saved to log off.

[0073] When the log-on switch 50h7 is turned on by the user (determined as "YES" in step S202), the control device 50 sets (changes) the log-on / off information of the path information used for that path to log-on (step S204). When the log-off switch 50h8 is turned on by the user (determined as "YES" in step S202), the control device 50 sets (changes) the log-on / off information of the path information used for that path to log-off (step S204). On the other hand, when the log-on switch 50h7 and the log-off switch 50h8 are not operated by the user (determined as "NO" in step S202), the control device 50 maintains the log-on / off information of the path information used for that path to the current log-on or log-off state, and temporarily ends this flowchart.

[0074] As a result, when the need to save data related to a path is changed by user operation, the setting unit can set whether or not to save data related to a path based on the need or not result after the change.

[0075] The log-on switch 50h7 and the log-off switch 50h8 may be provided on an axis setting screen 50g shown in Fig. 10. In Fig. 10, the judgment threshold value for the X-axis can be displayed for each pass. The axis setting screen 50g is provided with a judgment threshold value display field 50g1, an axis display field 50g2, a workpiece number display field 50g3, a program display switch 50g4, a judgment threshold value display operation switch group 50g5, a log-on switch 50g6, and a log-off switch 50g7. The workpiece number, which is the control number of the workpiece, the tool number used to machine the workpiece, and the type of drive axis related to the machining are associated with the load data.

[0076] The judgment threshold display field 50g1 displays the judgment threshold for each pass. From left to right, it displays the pass number, the tool number used, the abnormal upper limit (for maximum load), the warning upper limit (for maximum load), the maximum load (which is the largest of the load data used to calculate the judgment threshold), the abnormal upper limit (for average load), the warning upper limit (for average load), the warning lower limit, and the average load (which is the average of the load data used to calculate the judgment threshold). The axis display field 50g2 displays the axis on which the judgment threshold is displayed (the axis on which load data is stored). The workpiece number display field 50g3 displays the management number of the workpiece on which the judgment threshold is displayed (the load data is stored). The program display switch 50g4 is a switch for switching the screen to a screen that displays the program line (or pass) on which the machining load is detected. The judgment threshold display operation switch group 50g5 has switches for scrolling the lines displayed in the judgment threshold display field 50g1 upward or downward. The log-on switch 50g6 and the log-off switch 50g7 are the same switches as the log-on switch 50h7 and the log-off switch 50h8 described above.

[0077] On this axis setting screen 50g, the path for which you want to change the logon / off settings can be specified by selecting the path number in the judgment threshold display field 50g1, and after selecting the path number, you can operate the log-on switch 50g6 or the log-off switch 50g7. This makes it easy to change the logon / off settings.

[0078] The change in path usage status due to an operator's operation may occur while a machining program is being executed, or may occur during a period when a machining program is not being executed. In addition, the change in path usage status may occur not only due to an operator's operation, but also due to automatic settings by the machine tool 10 or the management computer.

[0079] Furthermore, in the above-described embodiment, a cutting tool is used as the processing tool, but other processing tools may be used to process the workpiece W. Furthermore, in the above-described embodiment, the machine tool 10 is a dual gantry type having two spindles, two tool posts, and two robots, but it is also possible to adopt a single gantry type machine tool having one spindle, one tool post, and one robot.

[0080] (Effects of this embodiment) The workpiece machining device (machine tool 10) according to the above-described embodiment is equipped with a setting unit (control device 50; steps S118, 124) that sets whether or not data (sometimes simply referred to as data in this specification) relating to the multiple machining processes (paths) in which machining of the workpiece W is respectively performed needs to be saved based on whether or not each machining process (path) is being performed in the machining program that performs machining of the workpiece W.

[0081] According to this embodiment, the machine tool 10 can automatically set whether or not data related to each machining process (pass) needs to be saved based on whether or not machining related to the machining process (pass) is performed in the machining program (i.e., whether or not the machining process (pass) is performed). This allows the machine tool 10 to automatically save data related to each machining process (pass) depending on whether or not machining is performed, without user operation, and therefore makes it possible to appropriately determine whether or not data related to the machining process (pass) needs to be saved (whether or not machining state information needs to be acquired).

[0082] Furthermore, in this embodiment, the setting unit (control device 50) sets whether or not data should be saved when the machining program has ended normally (steps S110, 118, 124). This makes it possible to prevent the saving of such inappropriate data when the machining program has not ended normally, since the data adopted (used) at that time is generally inappropriate in many cases. Consequently, it becomes possible to save only appropriate data.

[0083] In this embodiment, the machining program has a designated processing command for designating a machining process (path) for which data storage is required, and the setting unit (controller 50) searches for the designated processing command (step S106) and can set whether data storage is required for the machining process (path) designated by the searched designated processing command (steps S118, 124). This makes it possible to appropriately search for the machining process (path), and ultimately to accurately store data for the appropriately searched machining process (path).

[0084] Furthermore, in this embodiment, the data includes, for each machining process (pass), a judgment threshold value for judging the state of a detectable physical quantity that is a physical quantity related to machining of the workpiece W. This makes it possible to reliably save the judgment threshold value for the machining process (pass) desired by the user.

[0085] Furthermore, in this embodiment, when the necessity of saving data is changed by a user operation (steps S202, 204), the setting unit (control device 50) can set the necessity of saving data based on the necessity result after the change (steps S118, 124). According to this, when the necessity of saving data related to each processing step (path) is changed by a user operation, it is possible to automatically set the necessity of saving reflecting the operation result. [Explanation of symbols]

[0086] 10...machine tool (workpiece processing device), 50...control device (setting unit (steps S118, 124)), 50c...storage device (storage unit), W...workpiece.

Claims

1. a setting unit that automatically sets whether or not data relating to a plurality of machining steps in which workpiece machining is respectively performed is to be saved based on whether or not each of the machining steps has been performed in the machining program when the machining program for performing the workpiece machining is normally completed; the processing program has a designation processing command for designating the processing step for which the data needs to be saved; the setting unit is capable of searching for the designated processing command and setting whether or not the data needs to be saved for the processing step designated by the searched designated processing command, the data includes a determination threshold value for determining a state of a detectable physical quantity that is a physical quantity related to the machining of the workpiece and that can be detected, for each of the machining steps; the detectable physical quantity is a processing load related to processing of the workpiece, A workpiece machining device, wherein the judgment threshold value is at least one of an upper limit value of a maximum load of the machining load, an upper limit value of an average load of the machining load, and a lower limit value of the average load of the machining load.

2. The workpiece processing device according to claim 1, wherein the setting unit is capable of setting whether or not to save the data based on the result of the change in whether or not to save the data when the need to save the data is changed by user operation.

3. a setting unit that automatically sets whether or not data relating to a plurality of machining steps in which workpiece machining is respectively performed is to be saved based on whether or not each of the machining steps has been performed in the machining program when the machining program for performing the workpiece machining is normally completed; The setting unit of the workpiece processing device automatically sets the data relating to the actually performed processing step to be saved when the processing step is actually performed, and automatically sets the data to be saved when the processing step is not actually performed.

4. a setting unit that automatically sets whether or not data relating to a plurality of machining steps in which workpiece machining is respectively performed is to be saved based on whether or not each of the machining steps has been performed in the machining program when the machining program for performing the workpiece machining is normally completed; When the necessity of storing the data is changed by a user operation, the setting unit can set the necessity of storing the data based on the necessity result after the change, The change by the user's operation is to change log-on / off information indicating whether the log-on means that the data related to the machining process needs to be saved or the log-off means that the data does not need to be saved to the log-on when a log-on switch is turned on by the user, and to change the log-on / off information to the log-off when a log-off switch is turned on by the user, The workpiece machining device has a plurality of drive shafts for performing the machining, and A workpiece machining device that satisfies at least one of the following conditions (a) to (b): (a) the log-on switch and the log-off switch are provided on a path setting screen, The path setting screen further includes a machining process display field for displaying the machining process number, and a first judgment threshold display field for displaying a judgment threshold for each of the drive axes for each of the machining processes, When the log-on switch and / or the log-off switch is operated, the log-on / off information relating to the machining process displayed in the machining process display field is changed. (b) the log-on switch and the log-off switch are provided on an axis setting screen; the axis setting screen further includes an axis display field for displaying the drive axis, and a second judgment threshold display field for displaying a judgment threshold for each of the machining steps for each of the drive axes, When the log-on switch and the log-off switch are operated after the machining process number in the second judgment threshold display field is selected, the log-on / off information relating to the selected machining process is changed.

Citation Information

Patent Citations

  • Machine tool with operation recording means

    JP1999095820A

  • Numerical controller

    JP2005011203A

  • Power monitoring device

    JP2014199521A

  • Waveform display device with data acquisition function for drive shaft of machine tool

    JP2016200894A

  • Abnormality diagnosis system for machine tool, abnormality diagnosis method, abnormality diagnosis program

    JP2020067776A