Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7817812B2 - Workpiece processing equipment - Google Patents
[go: Go Back, main page]

JP7817812B2 - Workpiece processing equipment - Google Patents

Workpiece processing equipment

Info

Publication number
JP7817812B2
JP7817812B2 JP2021178385A JP2021178385A JP7817812B2 JP 7817812 B2 JP7817812 B2 JP 7817812B2 JP 2021178385 A JP2021178385 A JP 2021178385A JP 2021178385 A JP2021178385 A JP 2021178385A JP 7817812 B2 JP7817812 B2 JP 7817812B2
Authority
JP
Japan
Prior art keywords
machining
log
path
workpiece
data
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2021178385A
Other languages
Japanese (ja)
Other versions
JP2023067294A (en
Inventor
雄基 伊藤
哲輝 野々口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2021178385A priority Critical patent/JP7817812B2/en
Publication of JP2023067294A publication Critical patent/JP2023067294A/en
Application granted granted Critical
Publication of JP7817812B2 publication Critical patent/JP7817812B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Description

本明細書は、ワーク加工装置に関する。 This specification relates to a workpiece processing device.

ワーク加工装置の一形式として、特許文献1には、加工状態情報取得のサンプリング開始指令、終了指令をNC加工プログラムに組み込んだ数値制御装置が開示されている。この数値制御装置においては、加工状態情報及び加工箇所情報がメモリに記憶されており、加工箇所に対応付けて加工状態情報を取得できるようになっている。 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 status information are incorporated into the NC machining program. In this numerical control device, machining status information and machining location information are stored in memory, and machining status information can be acquired in association with the machining location.

特開2005-011203号公報Japanese Patent Application Laid-Open No. 2005-011203

上述した特許文献1に記載されている数値制御装置において、サンプリング開始指令及び終了指令に応じてプログラムで設定された全ての加工箇所について加工状態情報を取得できるものの、加工箇所のなかには加工状態情報を取得する必要がないものがあり、ユーザ利便性の向上の観点から、加工状態情報の取得要否を適切に実施できるワーク加工装置が要請されている。 The numerical control device described in Patent Document 1 mentioned above can acquire machining status information for all machining locations set in the program in response to sampling start and end commands. However, 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 machining status information needs to be acquired.

このような事情に鑑みて、本明細書は、加工状態情報の取得要否を適切に実施することができるワーク加工装置を開示する。 In light of these circumstances, this specification discloses a workpiece machining device that can appropriately determine whether or not machining status information needs to be acquired.

本明細書は、ワークの加工がそれぞれ実施される複数の加工工程に関するデータの保存の要否を、前記ワークの加工を実施する加工プログラムの正常終了時に、前記加工プログラム中にて前記各加工工程が実施されたか否かに基づいてそれぞれ自動的に設定する設定部を備え、前記加工プログラムは、前記データの保存の要否の対象となる前記加工工程を指定するための指定処理命令を有し、前記設定部は、前記指定処理命令を検索し、検索した前記指定処理命令により指定された前記加工工程に対して前記データの保存の要否を設定可能であり、前記データは、前記加工工程毎に、前記ワークの加工に係る物理量であって検出可能である検出可能物理量の状態の判定をするための判定用閾値を含み、前記検出可能物理量は、前記ワークの加工に係る加工負荷であり、前記判定用閾値は、前記加工負荷の最大負荷の上限値と、前記加工負荷の平均負荷の上限値と、前記加工負荷の平均負荷の下限値と、のうち少なくとも一つである、ワーク加工装置を開示する。 This specification discloses a workpiece processing device that includes a setting unit that automatically sets whether or not data relating to a plurality of processing steps in which workpiece processing is performed is required to be saved based on whether or not each of the processing steps has been performed in the processing program when the processing program that performs the processing of the workpiece is normally terminated, the processing program having a designated processing command for specifying the processing step for which the data is required to be saved, the setting unit is able to search for the designated processing command and set whether or not the data is required to be saved for the processing step specified by the searched designated processing command, the data includes a judgment threshold for determining, for each processing step, the state of a detectable physical quantity that is a physical quantity related to the processing of the workpiece and can be detected, the detectable physical quantity is a processing load related to the processing of the workpiece, and the judgment threshold is at least one of an upper limit value of a maximum load of the processing load, an upper limit value of an average load of the processing load, and a lower limit value of the average load of the processing load.

本開示によれば、ワーク加工装置は、各加工工程に関するデータの保存の要否を、加工プログラム中において加工工程が実施されるか否か(すなわち、加工工程の実施の有無)に基づいて自動的に設定することが可能となる。これによれば、ワーク加工装置は、ユーザの操作なしで、加工の実施の有無に応じて、各加工工程に関するデータを、自動的に保存することが可能となるので、加工工程に関するデータの保存の要否(加工状態情報の取得要否)を適切に実施することが可能となる。 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 being performed). This allows the workpiece machining device to automatically save data related to each machining process depending on whether or not machining is being 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 status information).

ワーク加工装置が適用された工作機械10を示す正面図である。1 is a front view showing a machine tool 10 to which a workpiece machining device is applied. 図1に示す工作機械10を示す側面図である。FIG. 2 is a side view showing the machine tool 10 shown in FIG. 1 . 工作機械10を示すブロック図である。FIG. 1 is a block diagram showing a machine tool 10. 図3に示す制御装置50にて実施されるプログラムを表すフローチャートである。4 is a flowchart showing a program executed by the control device 50 shown in FIG. 3 . パスデータベースを示す図である。FIG. 10 is a diagram illustrating a path database. 加工プログラム1における、変更前の使用パス情報、及び変更後の使用パス情報を示す図である。10A and 10B are diagrams 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. 加工プログラム2における、変更前の使用パス情報、及び変更後の使用パス情報を示す図である。10A and 10B are diagrams showing the path information to be used before the change and the path information to be used after the change in the machining program 2. FIG. 図3に示す制御装置50にて実施されるプログラム(ログオン・オフ設定)を表すフローチャートである。4 is a flowchart showing a program (logon/off setting) executed by the control device 50 shown in FIG. 3 . パス設定画面50hを示す図である。FIG. 5 shows a path setting screen 50h. 軸設定画面50gを示す図である。FIG. 10 is a diagram showing an axis setting screen 50g.

(工作機械)
以下、ワーク加工装置が適用された工作機械の一例である一実施形態について説明する。以下の各図において、XYZ座標系を用いて図中の方向を説明する。このXYZ座標系においては、水平面に平行な平面をXZ平面とする。このXZ平面において、後述する工作機械10の主軸20a,20bの軸線方向をZ軸方向と表記し、Z軸方向に直交する方向をX軸方向と表記する。また、XZ平面に垂直な方向はY軸方向と表記する。
(machine tools)
An embodiment of a machine tool to which a workpiece machining device is applied will be described below. In the following drawings, directions in the drawings 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 a 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.

工作機械10は、ワークWの加工を実施するワーク加工装置である。工作機械10は、図1に示すように、本体11、一対の主軸20a,20b、一対の工具台30a,30b、一対のワーク搬送ロボット(以下、単にロボットと称する場合もある。)40a,40b、並びに、主軸20a,20b、工具台30a,30b、及びワーク搬送ロボット40a,40bを制御する制御装置50を備えている。 The machine tool 10 is a workpiece machining device that processes 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 tables 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 tables 30a, 30b, and the workpiece transport robots 40a, 40b.

主軸20aは、ワークWを回転可能に保持するものである。主軸20aは、図2にて左右方向(Z軸方向)に沿って水平に配置されるように、本体11に設けられた主軸台(不図示)に回転可能に支持されている。主軸20aの先端部にはワークWを着脱可能に把持する主軸チャック21が設けられる。主軸チャック21は、複数の把持爪21aを有しており、これら把持爪21aを閉じることでワークWを掴み、開くことでワークWを放すことが可能である。主軸チャック21の開閉は、制御装置50からの指示によって実施されている。主軸20aは、サーボモータ22(図3参照)によって回転駆動される。サーボモータ22の電流(駆動電流)は、電流センサ23(図3参照)によって検出され、その検出結果(検出電流値)は後述する制御装置50に出力されている。主軸20bは、主軸20aと同様に構成されている。 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 that it is positioned horizontally 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 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 similar configuration to the spindle 20a.

工具台30aは、加工工具である切削工具31に送り運動を与える装置である。工具台30aは、いわゆるタレット型の工具台であり、ワークWの切削をする複数の切削工具31が装着される工具保持部32を有している。工具保持部32は、回転駆動部(不図示)によって回転可能に支持されるとともに所定の切削位置に位置決め可能である。工具台30aは、工具台移動装置33によって工具台30aひいては切削工具31を図1にて左右方向(X軸方向)及び前後方向(Z軸方向)に沿って移動される。 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 holder 32 on which multiple cutting tools 31 for cutting the workpiece W are attached. The tool holder 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 Figure 1 by a tool table moving device 33.

工具台移動装置33は、工具台30aをX軸方向に沿って移動させるX軸駆動装置33a(図3参照;X軸駆動軸であり、単にX軸と称する場合がある。)と、工具台30aをZ軸方向に沿って移動させるZ軸駆動装置33b(図3参照;Z軸駆動軸であり、単にZ軸と称する場合がある。)とを有している。X軸駆動装置33aは、サーボモータ33a1(図3参照)によって回転駆動される。サーボモータ33a1の電流(駆動電流)は、電流センサ33a2(図3参照)によって検出され、その検出結果(検出電流値)は後述する制御装置50に出力されている。Z軸駆動装置33bは、サーボモータ33b1(図3参照)によって回転駆動される。サーボモータ33b1の電流(駆動電流)は、電流センサ33b2(図3参照)によって検出され、その検出結果(検出電流値)は後述する制御装置50に出力されている。工具台30bは、工具台30aと同様に構成されている。 The tool table moving device 33 includes 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 the 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 the control device 50 (described later). Tool stand 30b is configured in the same way as tool stand 30a.

上述した主軸20a及び工具台30aは、ワークWを加工する加工部35aを構成する。上述した主軸20b及び工具台30bは、ワークWを加工する加工部35bを構成する。 The above-mentioned spindle 20a and tool rest 30a constitute the processing unit 35a that processes the workpiece W. The above-mentioned spindle 20b and tool rest 30b constitute the processing unit 35b that processes the workpiece W.

(ロボット)
ロボット40a及び40bは、同一走行台の走行がそれぞれ可能であり、かつワークWを主軸20a,20bやワーク載置装置60に搬入出可能である。ワーク載置装置60は、ワークWを載置可能な装置であり、例えば、工作機械10に搬入されるワークWを載置面に載置するワーク搬入装置、工作機械10から搬出されるワークWを載置面に載置するワーク搬出装置、工作機械10から搬出されたワークWの姿勢を反転させたりシフトさせたりする反転・シフト装置などがある。
(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 loading device 60. Workpiece loading device 60 is a device that can load workpieces W, and includes, for example, a workpiece loading device that loads the workpiece W to be loaded into machine tool 10 onto a loading surface, a workpiece unloading device that loads the workpiece W to be unloaded from machine tool 10 onto a loading surface, and an inversion/shift device that inverts or shifts the posture of the workpiece W unloaded from machine tool 10.

ロボット40aは、自身の走行(X軸に沿った移動)をさせるための走行部41、ワークWを脱着可能に把持する把持部42、及び、把持部42を走行部41に対して相対移動させる把持部移動部43を備えている。本実施形態において、ロボット40aは、例えば3軸直交ロボット(3軸ガントリーロボット)である。ロボット40aは、直交ロボットに限定されず、垂直多関節ロボット、水平多関節ロボット(スカラー型ロボット)、パラレルリンクロボットでもよい。ロボット40bは、ロボット40aと同様に構成されている。 Robot 40a is equipped with a running unit 41 for running (movement along the X-axis), a gripping unit 42 for detachably gripping the workpiece W, and a gripping unit movement unit 43 for moving the gripping unit 42 relative to the running unit 41. In this embodiment, robot 40a is, for example, a three-axis Cartesian robot (three-axis gantry robot). Robot 40a is not limited to a Cartesian robot, and may also be a vertical articulated robot, a horizontal articulated robot (SCARA robot), or a parallel link robot. Robot 40b is configured similarly to robot 40a.

(走行部)
図1に示すように、走行部41は、走行部スライダ41a(X軸スライダと称してもよい。)と、走行部スライダ41aをガイドして走行させる走行台であるガイド部41bと、走行部スライダ41aを走行駆動させるための走行駆動装置(不図示)とを備えている。
(Running part)
As shown in Figure 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.

走行部スライダ41aは、把持部42及び把持部移動部43を搭載可能であり、図1にて左右方向(X軸方向)に沿って延設されているガイド部41bに案内されて左右方向に沿って往復動(直動)される。 The running slider 41a can be equipped with a gripping section 42 and a gripping section moving section 43, and is guided by a guide section 41b extending in the left-right direction (X-axis direction) in Figure 1, allowing it to reciprocate (linearly move) in the left-right direction.

ガイド部41bは、本体11に設けられており、主軸20a,20b及び工具台30a,30bの上方に配設されている。ガイド部41bの一端部(図1にて左側端部)は、本体11の左側に設置されたワーク載置装置60の直上まで延設されている。ガイド部41bの他端部(図1にて右側端部)は、本体11の右側に設置されたワーク載置装置60の直上まで延設されている。尚、走行部スライダ41aとガイド部41bとから走行駆動軸(X軸駆動軸)が構成されている。走行駆動装置は、走行部スライダ41aまたはガイド部41b側に設けられている。 The guide portion 41b is provided on the main body 11 and is arranged above the spindles 20a, 20b and tool tables 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 travel slider 41a and the guide portion 41b form a travel drive shaft (X-axis drive shaft). The travel drive device is provided on the travel slider 41a or guide portion 41b side.

(把持部)
主として図2に示すように、把持部42は、Y軸スライダ45aに回転駆動部42bを介して回転可能に連結されている。把持部42は、直交する2つの側面と残りの側面を有する三角柱形状の本体42aを有している。直交する2つの側面のうち一方の側面は、X-Z平面に平行可能な平面であり、ワークWを脱着可能に把持するロボットチャック42cが設けられている。他方の側面は、X-Y平面に平行な平面であり、ワークWを脱着可能に把持するロボットチャック42dが設けられている。
(gripping part)
As shown primarily in FIG. 2, the gripping unit 42 is rotatably connected to a Y-axis slider 45a via a rotation drive unit 42b. The gripping unit 42 has a triangular prism-shaped main body 42a having 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 X-Z plane, and is provided with a robot chuck 42c that detachably grips the workpiece W. The other side surface is a plane that is parallel to the X-Y plane, and is provided with a robot chuck 42d that detachably grips the workpiece W.

本体42aは、回転駆動部42bによって回転可能であり、各ロボットチャック42c,42dは2つの位置(Y軸方向下向き位置とZ軸方向奥側向き位置)に回転切換が可能となる。その結果、把持部42は、各ロボットチャック42c,42dをY軸方向下向き位置にすることでY軸方向上向きの載置面(例えばワーク載置装置60の載置面)に対してワークWを受け渡しすることができる。また、把持部42は、各ロボットチャック42c,42dをZ軸方向奥側向き位置にすることでZ軸方向手前側向きの載置面(例えば主軸20a,20bの主軸チャック21の載置面)に対してワークWを受け渡しすることができる。ロボットチャック42c,42dは、図示しない複数の把持爪を有しており、これら把持爪を閉じることでワークWを掴み、開くことでワークWを放すことが可能である。ロボットチャック42c,42dの開閉は、制御装置50からの指示によって実施されている。 The main body 42a is rotatable by the rotation drive unit 42b, and each robot chuck 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 gripping unit 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 robot chuck 42c, 42d in the downward position in the Y-axis direction. Furthermore, the gripping unit 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 robot chuck 42c, 42d in the rearward position in the Z-axis direction. The robot chucks 42c, 42d have multiple gripping jaws (not shown), which can be closed to grip the workpiece W and opened to release the workpiece W. The robot chucks 42c and 42d are opened and closed in response to instructions from the control device 50.

本体42aの残りの側面には、Y軸スライダ45aの先端部(下端部)の傾斜面に設けられた回転駆動部42bが取り付けられている(接続されている)。本体42aの残りの側面は、Y軸スライダ45aの先端部の傾斜面に平行に配設されている。回転駆動部42bは、図2に示すように、回転駆動部42bに設けられた回転駆動軸42eと、回転駆動軸42eを回転駆動する回転駆動装置(不図示)とを有している。 A rotary drive unit 42b is attached (connected) to the remaining side of the main body 42a. The remaining side of the main body 42a is arranged parallel to the inclined surface at the tip (lower end) of the Y-axis slider 45a. As shown in Figure 2, the rotary drive unit 42b has a rotary drive shaft 42e attached to the rotary drive unit 42b and a rotary drive device (not shown) that rotates the rotary drive shaft 42e.

(把持部移動部)
把持部移動部43は、把持部42を走行部スライダ41aに対して図2にて左右方向(Z軸方向)及び上下方向(Y軸方向)に沿って相対移動させるものである。把持部移動部43は、把持部42をZ軸方向に沿って移動させるZ軸駆動部44と、把持部42をY軸方向に沿って移動させるY軸駆動部45とを有している。
(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.

(Z軸駆動部)
Z軸駆動部44は、走行部スライダ41aに対して摺動可能に取り付けられたZ軸スライダ44aをZ軸方向に沿って移動させる。主として図2に示すように、Z軸駆動部44は、Z軸スライダ44aと、Z軸スライダ44aをガイドして移動させるZ軸ガイド部44bと、Z軸スライダ44aを移動駆動させるためのZ軸駆動装置(不図示)とを備えている。
(Z-axis drive unit)
The Z-axis drive unit 44 moves a Z-axis slider 44a, which is slidably attached to the running unit slider 41a, along the Z-axis direction. As shown primarily in Figure 2, the Z-axis drive unit 44 includes the Z-axis slider 44a, a Z-axis guide unit 44b that guides and moves the Z-axis slider 44a, and a Z-axis drive device (not shown) that drives and moves the Z-axis slider 44a.

Z軸スライダ44aは、Y軸駆動部45ひいては把持部42を搭載可能であり、図2にて左右方向(Z軸方向)に沿って延設されており、Z軸ガイド部44bに案内されてZ軸方向に沿って往復動(直動)される。Z軸ガイド部44bは、走行部スライダ41aに設けられている。Z軸駆動装置は、Z軸ガイド部44bまたはZ軸スライダ44aに設けられている。 The Z-axis slider 44a can mount the Y-axis drive unit 45 and thus the gripper 42. It extends left and right in FIG. 2 (the Z-axis direction) and is guided by the Z-axis guide unit 44b, allowing it to reciprocate (linearly move) along the Z-axis direction. The Z-axis guide unit 44b is provided on the running unit slider 41a. The Z-axis drive device is provided on the Z-axis guide unit 44b or the Z-axis slider 44a.

(Y軸駆動部)
Y軸駆動部45は、Z軸スライダ44aに対して摺動可能に取り付けられたY軸スライダ45a(把持部42が支持されている)をY軸方向に沿って移動させる。主として図2に示すように、Y軸駆動部45は、Y軸スライダ45aと、Y軸スライダ45aをガイドして移動させるY軸ガイド部45bと、Y軸スライダ45aを移動駆動させるためのY軸駆動装置(不図示)とを備えている。
(Y-axis drive unit)
The Y-axis driving unit 45 moves a Y-axis slider 45a (on which the gripping unit 42 is supported) slidably attached to the Z-axis slider 44a along the Y-axis direction. As shown primarily in Fig. 2, the Y-axis driving unit 45 includes the Y-axis slider 45a, a Y-axis guide unit 45b that guides and moves the Y-axis slider 45a, and a Y-axis driving device (not shown) that drives and moves the Y-axis slider 45a.

Y軸スライダ45aは、把持部42を搭載可能であり、図2にて上下方向(Y軸方向)に沿って延設されており、Y軸ガイド部45bに案内されてY軸方向に沿って往復動(直動)される。Y軸ガイド部45bは、Z軸スライダ44aに設けられている。Y軸駆動装置は、Y軸ガイド部45bまたはY軸スライダ45aに設けられている。 The Y-axis slider 45a can carry the gripping portion 42, extends in the vertical direction (Y-axis direction) in Figure 2, and is guided by the Y-axis guide portion 45b to reciprocate (linearly move) along the Y-axis direction. The Y-axis guide portion 45b is provided on the Z-axis slider 44a. The Y-axis drive unit is provided on the Y-axis guide portion 45b or the Y-axis slider 45a.

(制御装置)
制御装置50は、主軸20a,20b、工具台30a,30b、及びロボット40a,40bを駆動制御する制御装置である。特に、制御装置50は、主軸20a,20b、及び工具台30a,30bの駆動制御を実施する。制御装置50は、図3に示すように、入力装置50a、表示装置50b、記憶装置50c、電流センサ23,33a2,33b2及びサーボモータ22,33a1,33b1に接続されている。入力装置50aは、工作機械10の前面に設けられており、作業者(ユーザ)が各種設定、各種指示などを制御装置50に入力するためのものである。表示装置50bは、工作機械10の前面に設けられており、作業者に対して運転状況やメンテナンス状況などの情報を表示するためのものである。記憶装置50cは、工作機械10の制御に係るデータ、例えば、制御プログラム(加工プログラム)、制御プログラムで使用するパラメータ、各種設定や各種指示に関するデータ、実検出データ、関連付けデータなどを記憶している(記憶部)。制御装置50は、マイクロコンピュータ(不図示)を有しており、マイクロコンピュータは、バスを介してそれぞれ接続された入出力インターフェース、CPU、RAMおよびROM(いずれも不図示)を備えている。CPUは、各種プログラムを実施して、入力装置50a、記憶装置50c及び電流センサ23,33a2,33b2からデータ、検出信号、制御情報などを取得したり、表示装置50b及びサーボモータ22,33a1,33b1を制御したりする。RAMは同プログラムの実施に必要な変数を一時的に記憶するものであり、ROMは前記プログラムを記憶するものである。
(Control device)
The control device 50 is a control device that drives and controls the spindles 20a, 20b, tool tables 30a, 30b, and robots 40a, 40b. In particular, the control device 50 controls the drive of the spindles 20a, 20b and 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. The memory device 50c stores data related to the control of the 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). The 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 the input device 50a, the memory device 50c, and the current sensors 23, 33a2, and 33b2, and to control the display device 50b and the servo motors 22, 33a1, and 33b1. The RAM temporarily stores variables necessary for executing the programs, and the ROM stores the programs.

(ワークの加工)
さらに、上述したワーク加工装置(工作機械10)による負荷検知機能のログの設定の自動化について図4に示すフローチャートに沿って説明する。制御装置50は、本フローチャートに沿った処理を実施する。
(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 Figure 4. The control device 50 carries out processing in accordance with this flowchart.

制御装置50は、ステップS102において、加工プログラムが開始されたか否かを判定する。制御装置50は、工作機械10にて新たなワークWの加工(所定数量)の開始の指示があった場合には、加工プログラムが開始されたと判定し(ステップS102にて「YES」)、プログラムをステップS104に進める。一方、制御装置50は、ワークWの加工開始の指示がなかった場合には、加工プログラムが開始されていないと判定し(ステップS102にて「NO」)、ワークWの加工開始指示があるまでステップS102の判定処理を繰り返し実施する。 In step S102, the control device 50 determines whether the machining program has started. If there is an instruction to start machining new workpieces W (predetermined quantity) on the machine tool 10, the control device 50 determines that the machining program has started ("YES" in step S102) and proceeds 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 started ("NO" in step S102) and repeats the determination process of step S102 until there is an instruction to start machining the workpieces W.

制御装置50は、ステップS104において、使用パス情報をクリアする。すなわち、加工プログラムが開始されるたびに、制御装置50は、記憶装置50cに一時記憶されている使用パス情報をクリアする。 In step S104, the control device 50 clears the path information used. That is, each time a machining program is started, the control device 50 clears the path information used that is temporarily stored in the memory device 50c.

パスとは、負荷監視対象(すなわち負荷検知対象)の場所を示しており、負荷検知開始の場所を示す指定開始処理命令(例えば、Mコードのうち「M130」)から、負荷検知終了の場所を示す指定終了処理命令(例えば、Mコードのうち「M131」)までの間で規定されている。指定開始処理命令は、負荷監視対象となる加工工程の先頭に置かれ、指定終了処理命令は、加工工程の最後に置かれるのが好ましい。よって、パスは、加工工程を示していると称することができる。尚、指定開始処理命令及び指定終了処理命令は、データの保存の要否の対象となる加工工程を指定するための指定処理命令であり、加工プログラムはこの指定処理命令を有している。 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 begins and a designated end processing command (e.g., "M131" in the M code) indicating the location where load detection ends. The designated start processing command is preferably placed at the beginning of the processing step that is the target of load monitoring, and the designated end processing command is preferably placed at the end of the processing step. Therefore, a path can be said to indicate a processing step. The designated start processing command and designated end processing command are designated processing commands for specifying the processing step for which data saving is required, and the processing program contains these designated processing commands.

尚、指定開始処理命令に、パス番号を示すコード(例えば、Bコード)を含めるようにするのが好ましい。例えば、Bコードは、5桁の数字(引数)で示され、指定開始処理命令は、M130B00001のように示される。制御装置50は、Mコードを認識した場合、同時にBコードの引数も認識し、ひいては引数に対応したパス番号を認識することができる。 It is preferable that the designated start processing 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 processing command is represented as M130B00001. When the control device 50 recognizes the M code, it also recognizes the argument of the B code, and is therefore able to recognize the path number corresponding to the argument.

使用パス情報とは、当該加工プログラムに係るパスの情報であり、例えば、パス番号、ログオン・オフ情報を含んでいる。尚、使用パス情報は、後述するパスに関するデータの一例である。パス番号は、パスすなわち加工工程(加工箇所)を示す番号である。パス番号は、ワーク間で同じパス番号が被らないように設定されるのが好ましい。ログオン・オフ情報は、当該パスに関するデータをログオンする(記憶する)かログオフする(記憶しない)かを示す情報である。尚、ログオンは、パスに関するデータの保存が必要であることを意味し、ログオフは、パスに関するデータの保存が不要であることを意味する。 The path information used is information about the path related to the machining program, and includes, for example, the path number and logon/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 path numbers are set so that the same path number does not overlap between workpieces. The logon/off information is information that indicates whether data related to the path is to be logged on (stored) or logged off (not stored). 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.

パスに関するデータは、当該パスに関する、各駆動軸の各閾値(判定用閾値)、工具番号、工具カウンタなどを含んでいる。 Path-related data includes the thresholds (judgment thresholds) for each drive axis, tool numbers, tool counters, etc. for that path.

判定用閾値は、加工工程(パス)毎に、加工負荷(ワークWの加工に係る物理量であって検出可能である検出可能物理量)の状態の判定をするための値である。加工負荷は、ワークWを切削工具31により切削(加工)する際に発生する負荷であり、加工に対して抵抗となる物理量(加工抵抗)である。ここでは、加工負荷は、駆動する側(本実施例では、上述した各サーボモータ)に対して、加工抵抗を発生させるワークWや切削工具31(駆動される側)が及ぼす力や消費するエネルギーの大きさをいい、例えば駆動軸にかかるトルク負荷のことをいう。尚、検出可能物理量としては、加工負荷に限られず、サーボモータの消費電流、消費電力を採用してもよい。 The judgment threshold is a value used to determine the state of the machining load (a detectable physical quantity related to the machining of the workpiece W) for each machining process (pass). The machining load is the load generated when the workpiece W is cut (machined) by the cutting tool 31, and is a physical quantity that acts as resistance to machining (machining resistance). Here, the machining load refers to the magnitude of the force or energy consumed by the workpiece W or cutting tool 31 (the driven side) that generates machining resistance on the driving side (in this embodiment, the servo motors mentioned above), for example, the torque load on the drive shaft. Note that the detectable physical quantity is not limited to the machining load; the current consumption or power consumption of the servo motor may also be used.

本実施形態では、判定用閾値は、加工負荷の最大値である最大負荷の上限値(2種類)、加工負荷の平均値である平均負荷の上限値(2種類)、平均負荷の下限値を採用可能である。最大負荷の上限値は、工作機械10のワーク加工の停止を必要とする異常状態と判定する異常用上限値と、工作機械10のワーク加工を停止するまでもなく警告を必要とする異常状態(警告状態)と判定する警告用上限値を有する。平均負荷の上限値も、最大負荷の上限値と同様に、異常用上限値と警告用上限値を有する。平均負荷の下限値は、工作機械10の加工を停止するまでもなく警告を必要とする異常状態(警告状態)と判定する値である。尚、平均負荷の下限値は、工作機械10の加工の停止を必要とする異常状態と判定する値としてもよい。また、加工負荷の最小値である最小負荷の下限値を採用するようにしてもよい。 In this embodiment, the judgment thresholds can include two upper limits for maximum load, which are the maximum value of the machining load; two upper limits for average load, which are the average value of the machining load; and a lower limit for average load. The upper limit for maximum load has an abnormal upper limit, which determines an abnormal state requiring the machine tool 10 to stop machining of the workpiece, and a warning upper limit, which determines an abnormal state (warning state) requiring a warning without requiring 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 which determines an abnormal state (warning state) requiring a warning without requiring the machine tool 10 to stop machining. The lower limit for average load may also be a value which determines an abnormal state requiring 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.

制御装置50は、使用パス情報を、加工プログラムが新たに開始されるたびに新しい内容に更新する。すなわち、制御装置50は、現時点にて実施しようとしている加工プログラムにて使用しようとしているパスに係る使用パス情報を新たに登録する。制御装置50は、負荷検知用のMコードに基づいて使用パス情報を登録する。具体的には、制御装置50は、ステップS106において、負荷検知用のMコードを検出した場合には、検出したMコードに対応したパスを使用パス情報に係るパスとして記憶装置50cに記憶する(ステップS108)。すなわち、制御装置50は、指定処理命令(Mコード)を検索し(検索部;ステップS106)、検索した指定処理命令により指定された加工工程(パス)を使用パス情報として登録する(登録部;ステップS108)。一方、制御装置50は、ステップS106において、負荷検知用のMコードを検出しない場合には、加工プログラムでは負荷検知を実施しないとして、使用パス情報に係るパスを記憶装置50cに記憶しない。 The control device 50 updates the usage path information with new content each time a new machining program is started. That is, the control device 50 newly registers usage path information related to the path to be used in the machining program currently being executed. The control device 50 registers usage path information based on the load detection M code. Specifically, if the control device 50 detects a load detection M code in step S106, it stores the path corresponding to the detected M code in the storage device 50c as a path related to the usage path information (step S108). That is, the control device 50 searches for a specified processing command (M code) (search unit; step S106) and registers the machining process (path) specified by the searched specified processing command as usage path information (registration unit; step S108). On the other hand, if the control device 50 does not detect a load detection M code in step S106, it determines that load detection is not performed in the machining program and does not store the path related to the usage path information in the storage device 50c.

尚、ステップS106において、制御装置50は、Mコードを検知すると、Mコードに付随したBコードから対応したパスを認識することができる。また、ステップS108において、制御装置50は、記憶装置50cまたは管理コンピュータ(複数の工作機械10を一括管理するコンピュータ)に記憶されているパスデータベース(図5参照)から、検出したパスに対応したデータを取得し、使用パス情報として記憶装置50cに記憶する。また、ステップS104及びステップS106の処理の開始を、加工プログラムの処理の開始時点としたが、これに限られず、当該処理の開始前に加工プログラムが事前に読み込まれた時点としてもよい。 In step S106, when the control device 50 detects an M code, it can recognize the corresponding path from the B code attached to the M code. 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 usage path information. In addition, although the start of processing in steps S104 and S106 is set to the start of processing the machining program, this is not limited thereto and may also be set to the point when the machining program is pre-loaded before the start of the processing.

パスデータベースには、図5に示すように、パス番号及び当該パス番号に関連付けられたログオン・オフ情報が記憶されている(含まれている)。本実施形態では、パスはパス1からパス50までが記憶されているとする。尚、パスデータベースには、各パスに関する、各駆動軸の各閾値、工具番号、工具カウンタなどを含めるようにしてもよく、各パスに関する、各駆動軸の各閾値、工具番号、工具カウンタなどを含むパスデータベースを別に設けるようにしてもよい。 As shown in Figure 5, the path database stores (contains) path numbers and log-on/off information associated with those path numbers. In this embodiment, paths 1 to 50 are stored. The path database may also include thresholds for each drive axis, tool numbers, tool counters, etc. for each path, or a separate path database may be provided that includes thresholds for each drive axis, tool numbers, tool counters, etc. for each path.

さらに、制御装置50は、当該加工プログラムが正常に終了した場合に限って、使用パス情報を実際の使用状況に応じて更新記憶する(すなわちデータの保存要否を更新設定し記憶する)。換言すると、制御装置50は、当該加工プログラムが正常に終了しない場合には、使用パス情報の更新設定を禁止する。これにより、当該加工プログラムが正常に終了しない場合のパスの使用状態を採用するのを抑制(規制)することができ、当該加工プログラムが正常に終了した場合のパスの使用状態を確実に採用することが可能となる。 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 if 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.

制御装置50は、加工プログラムが正常に終了した場合には(ステップS110にて「YES」と判定)、当該加工プログラムにて使用しているパスをログオンに設定し(ステップS124;第1設定部)、当該加工プログラムにて使用していないパスをログオフに設定する(ステップS118;第2設定部)。第1設定部と第2設定部とを合わせて設定部と称するようにしてもよい。すなわち、制御装置50(設定部)は、加工プログラムが正常に終了した場合に、その終了時点の最新のパスに係る保存要否状態を反映することにより、パスに関するデータの保存の要否を設定することができる。また、制御装置50(設定部)は、上記指定処理命令を検索し(検索部)、検索した指定処理命令により指定された加工工程(パス)に対してデータの保存の要否を設定可能である。 When a machining program has ended normally (determined "YES" in step S110), the control device 50 sets the path used in the machining program to logon (step S124; first setting unit) and sets the path not used in the machining program to logoff (step S118; second setting unit). The first setting unit and second setting unit may be collectively referred to as the setting unit. That is, when a machining program has ended normally, the control device 50 (setting unit) can set whether data related to the path needs to be saved by reflecting the save necessity status of the most recent path at the time of termination. The control device 50 (setting unit) can also search for the specified processing command (search unit) and set whether data needs to be saved for the machining process (path) specified by the searched specified processing command.

制御装置50は、当該加工プログラムの実施中にて実際に使用しているパス(加工工程が実施されているパス)をログオンに自動的に設定したり(第1設定部)、実際には使用していないパス(加工工程が実施されていないパス)をログオフに自動的に設定したり(第2設定部)することが可能である。換言すると、制御装置50は、ワークWの加工がそれぞれ実施される複数の加工工程(パス)に関するデータの保存の要否を、ワークWの加工を実施する加工プログラム中にて各加工工程が実施されているか否かに基づいてそれぞれ設定する(設定部)。 The control device 50 can automatically set paths that are actually in use (paths where machining processes are being performed) to logon during execution of the machining program (first setting unit), and automatically set paths that are not actually in use (paths where no machining processes are being performed) to logoff (second setting unit). In other words, the control device 50 sets whether or not data related to multiple machining processes (paths) in which the workpiece W is machined is to be saved based on whether or not each machining process is being performed in the machining program that processes the workpiece W (setting unit).

具体的には、制御装置50は、当該加工プログラムの使用パス情報のうち、現在ログオンしているパス(当該加工プログラムの開始時点にてログオンしている全パス)が使用されている場合には(ステップS116にて「YES」と判定)、現在のログオン・オフ状態を維持する。尚、現在ログオンしているものが使用されているとは、使用パス情報に登録されていることを意味する。一方、制御装置50は、現在ログオンしているパスが使用されていない場合には(ステップS116にて「NO」と判定)、使用していないパスをログオフに設定する(ステップS118)。この処理は、ログオンに設定されている全パスについて終了するまで実施される。 Specifically, if the currently logged-on path (all paths logged on at the start of the machining program) in the path information for that machining program is in use (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, if the currently logged-on path is not in use (NO in step S116), the control device 50 sets the unused path to logoff (step S118). This process is repeated until all paths set for logon have been processed.

さらに、ログオンしている全パスの判定が終了した後、残りのログオフしている全パス(当該加工プログラムの開始時点にてログオフしている全パス)の設定処理を行う。制御装置50は、現在ログオンしているパス(当該加工プログラムの開始時点にてログオンしているパス)は、ステップS122にて「YES」と判定し、現在のログオン・オフ状態であるログオンを維持する。一方、制御装置50は、現在ログオフしているパスは、ステップS122にて「NO」と判定し、使用しているパスをログオンに設定する(ステップS124)。この処理は、ログオフに設定されている全パスについて、すなわち全使用パス情報について終了するまで実施される。 Furthermore, after the determination of all logged-on paths has been completed, the setting process is performed 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 path (path that was 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 path, and sets the used path to logged-on (step S124). This process is performed for all paths that have been set to logged-off, i.e., until it is completed for all used path information.

尚、制御装置50は、加工プログラムが正常に終了した場合には、ステップS110にて「YES」と判定し、プログラムをステップS114に進め、加工プログラムが正常以外で終了した場合(加工プログラムの実施中に異常が発生した場合)には、ステップS110,112にて「NO」、「YES」と判定し、本フローチャートを終了する。また、制御装置50は、加工プログラムが実施中であり終了していない場合には、ステップS110,112にてそれぞれ「NO」と判定し、プログラムをステップS106に戻す。 If the machining program has ended normally, the control device 50 determines "YES" in step S110 and proceeds to step S114. If the machining program has ended other than normally (if an abnormality occurs during execution of the machining program), the control device 50 determines "NO" and "YES" in steps S110 and S112 and ends this flowchart. 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.

また、ステップS114においては、使用パス情報が1つ以上使用されているか否かが判定される。使用パス情報が0個である場合には、制御装置50は、パスに対するログの設定は必要でないため、本フローチャートを終了し、一方、使用パス情報が1つ以上である場合には、制御装置50は、パスに対するログの設定は必要であるため、プログラムをステップS116以降に進める。 Furthermore, 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 terminates this flowchart, as it is not necessary to set a log for the path. On the other hand, if there is one or more used path information, the control device 50 proceeds to step S116 and beyond, as it is necessary to set a log for the path.

また、ステップS120においては、現在ログオンしている全パスの判定が終了したか否かが判定される。ログオンしている全パスの判定が終了するまで、制御装置50は、プログラムをステップS116に戻し、一方、ログオンしている全パスの判定が終了すると、制御装置50は、プログラムをステップS122に進める。また、ステップS126においては、使用パス情報の全パスの判定が終了したか否かが判定される。使用パス情報の全パスの判定が終了するまで、制御装置50は、プログラムをステップS122に戻し、一方、使用パス情報の全パスの判定が終了すると、制御装置50は、本フローチャートを終了する。 In step S120, it is determined whether or not the evaluation of all currently logged-on paths has been completed. Until the evaluation of all logged-on paths has been completed, the control device 50 returns the program to step S116. On the other hand, once the evaluation of all logged-on paths has been completed, the control device 50 proceeds to step S122. In step S126, it is determined whether or not the evaluation of all paths in the used path information has been completed. Until the evaluation of all paths in the used path information has been completed, the control device 50 returns the program to step S122. On the other hand, once the evaluation of all paths in the used path information has been completed, the control device 50 ends this flowchart.

(実施例(加工プログラム1,加工プログラム2))
さらに、上述したフローチャートによる処理(制御)を具体的な実施例(加工プログラム1及び加工プログラム2)を挙げて説明する。加工プログラム1は、パス1、パス2及びパス3を含み、加工プログラム2は、パス4、パス5及びパス6を含んでいるとする。尚、上述したように、パスはパス1からパス50までが登録されているとする。
(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.

加工プログラム1に基づいて加工が実施された場合について説明する。加工プログラム1の処理が開始されると、パス1、パス2及びパス3が検出され(ステップS106)、パスデータベース(図5参照)からパス1、パス2及びパス3に関するデータが取得される。取得したパスに関するデータは、加工プログラム1による新たな加工に関する使用パス情報として記憶装置50cに登録される(ステップS108)。ここで、加工プログラム1の開始時点ではパス1~パス3がログオン状態であるとする。 The following describes the case where machining is performed based on machining program 1. When processing of machining program 1 begins, paths 1, 2, and 3 are detected (step S106), and data related to paths 1, 2, and 3 is obtained from the path database (see Figure 5). The obtained path-related data is registered in storage device 50c as usage 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 when machining program 1 begins.

よって、加工プログラム1について使用パス情報を登録する場合には、パスとしてパス1、パス2及びパス3が登録され、さらに、これらパスに、現時点(例えば、加工開始時点、加工プログラム読込時点)での各パスに係るログオン・オフ情報が関連付けられて登録される。下記表1に示すように、パス1からパス3までのログオン・オフ状態は全てログオンである。 Therefore, when registering path information for machining program 1, paths 1, 2, and 3 are registered as paths, and the logon/off information for each path at the current time (e.g., when machining starts, 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 is all logged on.

さらに、加工プログラム1による加工処理が正常に終了した際に(ステップS110にて「YES」)、当該加工処理において実際に使用していないパスがログオフに設定され(ステップS116,118)、当該加工処理において実際に使用しているパスがログオンに設定される(ステップS122,124)。 Furthermore, when the machining process using machining program 1 is completed normally ("YES" in step S110), paths not actually used in the machining process are set to logoff (steps S116, S118), and paths actually used in the machining process are set to logon (steps S122, S124).

例えば、加工プログラム1の実施中、または前回の加工プログラム1の実施後(かつ、今回の加工プログラム1の実施前)に、作業者による操作によってパスの使用状況(設定状況)が変更された場合、当該加工処理におけるパスに関するデータの保存の要否が変更される。パス1及びパス2は使用され、パス3が使用されない場合について説明する(図6参照)。 For example, if the path usage status (setting status) is changed by an operator while Machining Program 1 is being executed, or after the previous Machining Program 1 has been executed (and before the current Machining Program 1 is executed), the need to save path-related data for that machining process will change. We will explain the case where Path 1 and Path 2 are used, but Path 3 is not (see Figure 6).

パス1については、ログオン・オフ情報は「ログオン」であり使用されているので、ステップS116にて「YES」と判定され、ステップS122にて「YES」と判定され、ログオン・オフ情報は「ログオン」に維持される。パス2についても、パス1と同様に、ログオン・オフ情報は「ログオン」に維持される。 For path 1, the logon/off information is "logged on" and is in use, so step S116 returns "YES" and step S122 returns "YES", and the logon/off information remains "logged on". For path 2, as with path 1, the logon/off information remains "logged on".

パス3については、ログオン・オフ情報は「ログオン」であり使用されていないので、ステップS116にて「NO」と判定され、ステップS118においてパス3のログオン・オフ情報は「ログオフ」に設定(変更)される。その後、ステップS122においては、当該加工プログラムの開始時点のログオン・オフ情報が「ログオン」であるか否かを判定しているので、当該開始時点のログオン・オフ情報が「ログオン」であるパス3については、ステップS122にて「YES」と判定され、ログオン・オフ情報はステップS122の判定前のログオン・オフ情報である「ログオフ」に維持される。 For path 3, the logon/off information is "logon" and is not in use, so step S116 returns "NO," and step S118 sets (changes) the logon/off information for path 3 to "logoff." Then, step S122 determines 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," step S122 returns "YES," and the logon/off information remains at "logoff," which was the logon/off information before the determination in step S122.

図6に示すように、パス変更前においてパス1からパス3がそれぞれログオンである使用パス情報(変更前使用パス情報)は、パス1及びパス2は使用されパス3が使用されないという使用状況に対応して、パス1及びパス2がそれぞれログオンでありパス3がログオフである使用パス情報(変更後使用パス情報)に自動的に更新登録することが可能となる。そして、変更後使用パス情報の内容が、パスデータベースに反映される。よって、パスデータベースの内容は、パスの使用状況が自動的に反映され、最新のログオン・オフ情報(パス1:ログオン、パス2:ログオン、パス3:ログオフ)を維持することができる。 As shown in Figure 6, the path information in use (path information before change) in which paths 1 to 3 are each logged on before the path change can be automatically updated and registered to path information in use (path information after change) in which paths 1 and 2 are each logged on and path 3 is logged off, corresponding to a usage situation in which paths 1 and 2 are used but path 3 is not. The contents of the path information after change are then reflected in the path database. Therefore, 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.

さらに、加工プログラム2に基づいて加工が実施された場合について説明する。加工プログラム2の処理が開始されると、パス4、パス5及びパス6が検出され(ステップS106)、パスデータベース(図5参照)からパス4、パス5及びパス6に関するデータが取得される。取得したパスに関するデータは、加工プログラム2による新たな加工に関する使用パス情報として記憶装置50cに登録される(ステップS108)。ここで、加工プログラム2の開始時点ではパス4、パス5及びパス6がそれぞれログオン、ログオフ及びログオフ状態であるとする。 Next, we will explain the case where machining is performed based on machining program 2. When processing of machining program 2 begins, paths 4, 5, and 6 are detected (step S106), and data related to paths 4, 5, and 6 is obtained from the path database (see Figure 5). The obtained path-related data is registered in storage device 50c as usage path information for new machining by machining program 2 (step S108). Here, we assume that paths 4, 5, and 6 are in the logged-on, logged-off, and logged-off states, respectively, at the start of machining program 2.

よって、加工プログラム2について使用パス情報を登録する場合には、パスとしてパス4、パス5及びパス6が登録され、さらに、これらパスに、現時点での各パスに係るログオン・オフ情報が関連付けられて登録される。下記表2に示すように、パス4、パス5及びパス6の各ログオン・オフ状態はログオン、ログオフ及びログオフである。 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.

さらに、加工プログラム2による加工処理が正常に終了した際に(ステップS110にて「YES」)、当該加工処理において実際に使用していないパスがログオフに設定され(ステップS116,118)、当該加工処理において実際に使用しているパスがログオンに設定される(ステップS122,124)。 Furthermore, when the machining process using machining program 2 is completed normally ("YES" in step S110), paths not actually used in the machining process are set to logoff (steps S116, S118), and paths actually used in the machining process are set to logon (steps S122, S124).

例えば、加工プログラム2の実施中、または前回の加工プログラム2の実施後(かつ、今回の加工プログラム2の実施前)に、作業者による操作によってパスの使用状況(設定状況)が変更された場合、当該加工処理におけるパスに関するデータの保存の要否が変更される。パス4及びパス5は使用され、パス6が使用されない場合について説明する(図7参照)。 For example, if the path usage status (setting status) is changed by an operator during the execution of machining program 2 or after the previous execution of machining program 2 (and before the current execution of machining program 2), the need to save path-related data for that machining process will change. We will explain the case where paths 4 and 5 are used, but path 6 is not (see Figure 7).

パス4については、ログオン・オフ情報は「ログオン」であり使用されているので、ステップS116にて「YES」と判定され、ステップS122にて「YES」と判定され、ログオン・オフ情報は「ログオン」に維持される。 For path 4, the logon/off information is "logon" and is in use, so step S116 returns "YES" and step S122 returns "YES," and the logon/off information remains "logon."

パス5については、ログオン・オフ情報は「ログオフ」であり使用されているので、ステップS116にて「NO」と判定され、プログラムはステップS118に進められる。ステップS118においては、使用していないパスはログオフされるが、使用しているパスはログオフされずに現状のログオン・オフ情報が維持される。よって、パス5は使用されているので、パス5のログオン・オフ情報は「ログオフ」に維持される。その後、ステップS122においては、当該加工プログラムの開始時点のログオン・オフ情報が「ログオン」であるか否かを判定しているので、当該開始時点のログオン・オフ情報が「ログオフ」であるパス5については、ステップS122にて「NO」と判定され、パス5のログオン・オフ情報は「ログオン」に設定(変更)される(ステップS124)。 For path 5, the logon/off information is "logged off" and path 5 is in use, so step S116 returns "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." Then, in step S122, it is determined whether the logon/off information at the start of the machining program is "logged on." Therefore, for path 5, whose logon/off information at the start is "logged off," step S122 returns "NO," and the logon/off information for path 5 is set (changed) to "logged on" (step S124).

パス6については、ログオン・オフ情報は「ログオフ」であり使用されていないので、ステップS116にて「NO」と判定され、プログラムはステップS118に進められる。ステップS118においては、使用していないパスはログオフされるので、使用されていないパス6のログオン・オフ情報は「ログオフ」に維持される。その後、ステップS122においては、当該加工プログラムの開始時点のログオン・オフ情報が「ログオン」であるか否かを判定しているので、当該開始時点のログオン・オフ情報が「ログオフ」であるパス6については、ステップS122にて「NO」と判定され、プログラムはステップS124に進められる。ステップS124においては、使用しているパスはログオンされるが、使用していないパスは現状のログオン・オフ情報が維持される。よって、パス6は使用されていないので、パス6のログオン・オフ情報は「ログオフ」に維持される。 For path 6, the logon/off information is "logged off" and path 6 is not in use, so step S116 returns "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." Then, 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," step S122 returns "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."

図7に示すように、パス変更前においてパス4からパス6がそれぞれログオン、ログオフ、ログオフである使用パス情報(変更前使用パス情報)は、パス4及びパス5は使用されパス6が使用されないという使用状況に対応して、パス4及びパス5がそれぞれログオンでありパス6がログオフである使用パス情報(変更後使用パス情報)に自動的に更新登録することが可能となる。そして、変更後使用パス情報の内容が、パスデータベースに反映される。よって、パスデータベースの内容は、パスの使用状況が自動的に反映され、最新のログオン・オフ情報(パス4:ログオン、パス5:ログオン、パス6:ログオフ)を維持することができる。 As shown in Figure 7, the path usage information (path usage information before change) in which paths 4 to 6 are logged on, logged off, and logged off, respectively, before the path change can be automatically updated and registered to path usage information (path usage information after change) in which paths 4 and 5 are logged on and path 6 is logged off, corresponding to a usage situation in which paths 4 and 5 are used but path 6 is not. The contents of the path usage information after change are then reflected in the path database. Therefore, the contents of the path database automatically reflect the path usage status, and the latest logon/off information (path 4: logon, path 5: logon, path 6: logoff) can be maintained.

(パスの使用状況の変更)
さらに、パス毎のログオン・オフ設定のユーザによる変更(パスの使用状況の変更)について図8に示すフローチャートに沿って説明する。
(Changes in pass usage)
Furthermore, a change by a user of the logon/off setting for each path (change in the path usage status) will be described with reference to the flowchart shown in FIG.

制御装置50は、ステップS202において、ユーザの操作によりログオン・オフ設定が変更されたか否かを判定する。ユーザの操作によるログオン・オフ設定の変更は、次のとおりである。図9に示すログONスイッチ50h7がユーザによってオン操作されると、ログオンされる。また、ログOFFスイッチ50h8がユーザによってオン操作されると、ログオフされる。 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. Furthermore, when the log-off switch 50h8 is turned on by the user, the user is logged off.

図9は、パス設定画面50hを示している。パス設定画面50hは、判定用閾値表示欄50h1、パス表示欄50h2、ワークNo表示欄50h3、工具No表示欄50h4、プログラム表示スイッチ50h5、判定用閾値表示操作スイッチ群50h6、ログONスイッチ50h7、及び、ログOFFスイッチ50h8が設けられている。 Figure 9 shows the path setting screen 50h. The path setting screen 50h has a judgment threshold display field 50h1, a path display field 50h2, a workpiece number display field 50h3, a tool number 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.

判定用閾値表示欄50h1は、軸毎に判定用閾値を表示する欄であり、左から順番に、表示対象となる軸、異常用上限値(最大負荷用)、警告用上限値(最大負荷用)、判定用閾値を算出するために使用した負荷データのうち最大である最大負荷、異常用上限値(平均負荷用)、警告用上限値(平均負荷用)、警告用下限値、及び、判定用閾値を算出するために使用した負荷データの平均である平均負荷を表示する。 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 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.

パス表示欄50h2は、判定用閾値が表示されている(負荷データが記憶されている)パスNoを表示する。ワークNo表示欄50h3は、判定用閾値が表示されている(負荷データが記憶されている)ワークの管理番号を表示する。工具No表示欄50h4は、判定用閾値が表示されている(負荷データが記憶されている)切削工具の管理番号を表示する。プログラム表示スイッチ50h5は、加工負荷が検出されているプログラム行(またはパス)が表示される画面に画面を切り替えるためのスイッチである。判定用閾値表示操作スイッチ群50h6は、判定用閾値表示欄50h1に表示されている行を、上向きにスクロールさせたり、下向きにスクロールさせたりするためのスイッチを有している。 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.

ログONスイッチ50h7は、パス表示欄50h2に現在表示されているパスに関するデータの保存要否について、ログオンに設定するためのスイッチである。ログOFFスイッチ50h8は、パス表示欄50h2に現在表示されているパスに関するデータの保存要否について、ログオフに設定するためのスイッチである。 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 (logon). 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 (logoff).

制御装置50は、ログONスイッチ50h7がユーザによってオン操作されると(ステップS202にて「YES」と判定し)、当該パスの使用パス情報のログオン・オフ情報をログオンに設定(変更)する(ステップS204)。また、制御装置50は、ログOFFスイッチ50h8がユーザによってオン操作される(ステップS202にて「YES」と判定し)、当該パスの使用パス情報のログオン・オフ情報をログオフに設定(変更)する(ステップS204)。一方、制御装置50は、ログONスイッチ50h7及びログOFFスイッチ50h8がユーザによって操作されない場合には(ステップS202にて「NO」と判定し)、当該パスの使用パス情報のログオン・オフ情報を現状のログオンまたはログオフに維持し、本フローチャートを一旦終了する。 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). Also, 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.

これにより、上述した設定部は、パスに関するデータの保存の要否がユーザの操作によって変更された場合には、変更後の要否結果に基づいてパスに関するデータの保存の要否を設定することが可能となる。 As a result, when the need to save path-related data is changed by a user operation, the setting unit can set whether or not to save path-related data based on the result of the change.

尚、ログONスイッチ50h7、及び、ログOFFスイッチ50h8は、図10に示す軸設定画面50gに設けるようにしてもよい。図10にはX軸に係る判定用閾値が、パス毎に表示が可能である。軸設定画面50gは、判定用閾値表示欄50g1、軸表示欄50g2、ワークNo表示欄50g3、プログラム表示スイッチ50g4、判定用閾値表示操作スイッチ群50g5、ログONスイッチ50g6、及び、ログOFFスイッチ50g7が設けられている。尚、ワークの管理番号であるワークNo、ワークの加工に使用した工具No、及び加工に関係した駆動軸の種類は、負荷データと関連付けられている。 The log on switch 50h7 and log off switch 50h8 may be provided on the axis setting screen 50g shown in Figure 10. In Figure 10, the judgment threshold for the X axis can be displayed for each pass. The axis setting screen 50g is provided with a judgment threshold display field 50g1, an axis display field 50g2, a workpiece number display field 50g3, a program display switch 50g4, a judgment threshold display operation switch group 50g5, a log on switch 50g6, and a log off switch 50g7. The workpiece number, which is the workpiece's management number, the tool number used to machine the workpiece, and the type of drive axis related to the machining are associated with the load data.

判定用閾値表示欄50g1は、パス毎に判定用閾値を表示する欄であり、左から順番に、パスNo、使用した工具No、異常用上限値(最大負荷用)、警告用上限値(最大負荷用)、判定用閾値を算出するために使用した負荷データのうち最大である最大負荷、異常用上限値(平均負荷用)、警告用上限値(平均負荷用)、警告用下限値、及び、判定用閾値を算出するために使用した負荷データの平均である平均負荷を表示する。軸表示欄50g2は、判定用閾値が表示されている(負荷データが記憶されている)軸を表示する。ワークNo表示欄50g3は、判定用閾値が表示されている(負荷データが記憶されている)ワークの管理番号を表示する。プログラム表示スイッチ50g4は、加工負荷が検出されているプログラム行(またはパス)が表示される画面に画面を切り替えるためのスイッチである。判定用閾値表示操作スイッチ群50g5は、判定用閾値表示欄50g1に表示されている行を、上向きにスクロールさせたり、下向きにスクロールさせたりするためのスイッチを有している。ログONスイッチ50g6、及び、ログOFFスイッチ50g7は、上述したログONスイッチ50h7、及び、ログOFFスイッチ50h8と同様のスイッチである。 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 workpiece management number on which the judgment threshold is displayed (the workpiece management number on which load data is stored). The program display switch 50g4 switches the screen to display 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.

この軸設定画面50gにおいては、ログオン・オフ設定の変更したいパスを判定用閾値表示欄50g1のパスNoを選択することで指定することが可能となり、パスNoを選択した後に、ログONスイッチ50g6またはログOFFスイッチ50g7を操作すればよい。これによれば、ログオン・オフ設定の変更を容易に実施することが可能となる。 On this axis setting screen 50g, you can specify the path for which you want to change the logon/off settings by selecting the path number in the judgment threshold display field 50g1. After selecting the path number, simply operate the log on switch 50g6 or log off switch 50g7. This makes it easy to change the logon/off settings.

尚、作業者の操作によるパスの使用状況の変更は、加工プログラムの実施中に行われる場合もあれば、加工プログラムが実施されていない期間に行われる場合もある。また、パスの使用状況の変更は、作業者の操作によるものだけでなく、工作機械10や管理コンピュータの自動設定によるものもある。 Changes to path usage status due to operator operation may occur while a machining program is being executed, or may occur during periods when a machining program is not being executed. Changes to path usage status may occur not only due to operator operation, but also due to automatic settings by the machine tool 10 or management computer.

また、上述した実施形態においては、加工工具として切削工具を使用するようにしたが、ワークWを加工する他の加工工具を使用するようにしてもよい。また、上述した実施形態においては、主軸、工具台及びロボットが2つ設けられたデュアルガントリータイプの工作機械10であったが、主軸、工具台及びロボットが1つ設けられたシングルガントリータイプの工作機械を採用することも可能である。 In addition, in the above-described embodiment, a cutting tool is used as the processing tool, but other processing tools for processing the workpiece W may also be used. In addition, in the above-described embodiment, a dual gantry type machine tool 10 is provided with two spindles, two tool tables, and two robots, but it is also possible to adopt a single gantry type machine tool with one spindle, one tool table, and one robot.

(本実施形態の作用効果)
上述した実施形態によるワーク加工装置(工作機械10)は、ワークWの加工がそれぞれ実施される複数の加工工程(パス)に関するデータ(本明細書において、単にデータと称する場合がある。)の保存の要否を、ワークWの加工を実施する加工プログラム中にて各加工工程(パス)が実施されているか否かに基づいてそれぞれ設定する設定部(制御装置50;ステップS118,124)を備えている。
(Effects of this embodiment)
The workpiece machining device (machine tool 10) according to the embodiment described above 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.

本実施形態によれば、工作機械10は、各加工工程(パス)に関するデータの保存の要否を、加工プログラム中において加工工程(パス)に係る加工が実施されるか否か(すなわち、加工工程(パス)の実施の有無)に基づいて自動的に設定することが可能となる。これによれば、工作機械10は、ユーザの操作なしで、加工の実施の有無に応じて、各加工工程(パス)に関するデータを、自動的に保存することが可能となるので、加工工程(パス)に関するデータの保存の要否(加工状態情報の取得要否)を適切に実施することが可能となる。 According to this embodiment, the machine tool 10 can automatically set whether or not to save data related to each machining process (path) based on whether or not machining related to the machining process (path) is performed in the machining program (i.e., whether or not the machining process (path) is performed). This allows the machine tool 10 to automatically save data related to each machining process (path) 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 (path) (whether or not to acquire machining status information).

また、本実施形態において、設定部(制御装置50)は、加工プログラムが正常に終了した場合に、データの保存の要否を設定する(ステップS110,118,124)。これによれば、加工プログラムが正常に終了しない場合には、その際に採用(使用)されたデータは一般的に適切でない場合が多く、このような不適切なデータの保存を抑制することが可能となる。ひいては、適切なデータのみを保存することが可能となる。 In addition, in this embodiment, the setting unit (control device 50) sets whether or not data should be saved when the machining program has finished normally (steps S110, 118, 124). This makes it possible to prevent the saving of such inappropriate data when the machining program has not finished normally, as the data adopted (used) at that time is generally inappropriate. This ultimately makes it possible to save only appropriate data.

また、本実施形態において、加工プログラムは、データの保存の要否の対象となる加工工程(パス)を指定するための指定処理命令を有し、設定部(制御装置50)は、指定処理命令を検索し(ステップS106)、検索した指定処理命令により指定された加工工程(パス)に対してデータの保存の要否を設定可能である(ステップS118,124)。これによれば、加工工程(パス)を適切に検索することが可能となり、ひいては、適切に検索された加工工程(パス)に対して的確にデータを保存することが可能となる。 In addition, in this embodiment, the machining program has a designated processing command for specifying the 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) specified by the searched designated processing command (steps S118, S124). This makes it possible to properly search for the machining process (path), and ultimately to properly store data for the properly searched machining process (path).

また、本実施形態において、データは、加工工程(パス)毎に、ワークWの加工に係る物理量であって検出可能である検出可能物理量の状態の判定をするための判定用閾値を含んでいる。これによれば、ユーザの所望する加工工程(パス)の判定用閾値を確実に保存することが可能となる。 In addition, in this embodiment, the data includes a judgment threshold value for each machining process (pass) to determine the state of a detectable physical quantity that is a physical quantity related to the machining of the workpiece W and can be detected. This makes it possible to reliably save the judgment threshold value for the machining process (pass) desired by the user.

また、本実施形態において、設定部(制御装置50)は、データの保存の要否がユーザの操作によって変更された場合には(ステップS202,204)、変更後の要否結果に基づいてデータの保存の要否を設定することが可能である(ステップS118,124)。これによれば、ユーザの操作によって各加工工程(パス)に関するデータの保存の要否が変更された場合、操作結果が反映された保存の要否を自動的に設定することが可能となる。 Furthermore, in this embodiment, when the need for data storage is changed by user operation (steps S202, 204), the setting unit (control device 50) can set whether or not data storage is required based on the result of the change (steps S118, 124). This makes it possible to automatically set whether or not data related to each processing step (path) needs to be stored, reflecting the result of the operation, when the need for data storage is changed by user operation.

10…工作機械(ワーク加工装置)、50…制御装置(設定部(ステップS118,124))、50c…記憶装置(記憶部)、W…ワーク。 10...machine tool (workpiece machining device), 50...control device (setting unit (steps S118, 124)), 50c...storage device (storage unit), W...workpiece.

Claims (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 ;
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.
前記設定部は、前記データの保存の要否がユーザの操作によって変更された場合には、変更後の要否結果に基づいて前記データの保存の要否を設定することが可能である請求項1に記載のワーク加工装置。 The workpiece machining device described in claim 1, wherein, when the need for saving the data is changed by a user operation, the setting unit is capable of setting whether or not to save the data based on the result of the change. ワークの加工がそれぞれ実施される複数の加工工程に関するデータの保存の要否を、前記ワークの加工を実施する加工プログラムの正常終了時に、前記加工プログラム中にて前記各加工工程が実施されたか否かに基づいてそれぞれ自動的に設定する設定部を備え
前記設定部は、前記加工工程が実際に実施された場合には、前記実際に実施された前記加工工程に関する前記データの保存が必要である旨の設定をし、前記加工工程が実際に実施されなかった場合には、前記データの保存が必要でない旨の設定を自動的に行うワーク加工装置。
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.
ワークの加工がそれぞれ実施される複数の加工工程に関するデータの保存の要否を、前記ワークの加工を実施する加工プログラムの正常終了時に、前記加工プログラム中にて前記各加工工程が実施されたか否かに基づいてそれぞれ自動的に設定する設定部を備え
前記設定部は、前記データの保存の要否がユーザの操作によって変更された場合には、変更後の要否結果に基づいて前記データの保存の要否を設定することが可能であり、
前記ユーザの操作による変更は、ログオンスイッチが前記ユーザによりオン操作されると当該加工工程に関する前記データの保存が必要であることを意味するログオンであるか前記データの保存が不要であることを意味するログオフであるかを示すログオン・オフ情報を前記ログオンに変更し、ログオフスイッチが前記ユーザによりオン操作されると前記ログオン・オフ情報を前記ログオフに変更することである、ワーク加工装置であって、
前記ワーク加工装置は、前記加工をするための複数の駆動軸を備え、かつ、
下記に示される条件(a)~(b)のうち少なくとも1つの条件を満足するワーク加工装置。
(a)前記ログオンスイッチおよび前記ログオフスイッチは、パス設定画面に設けられており、
前記パス設定画面には、当該加工工程番号を表示する加工工程表示欄と、前記加工工程毎に各前記駆動軸の判定用閾値を表示する第1判定用閾値表示欄と、がさらに設けられており、
前記ログオンスイッチ又は/及び前記ログオフスイッチが操作されると、前記加工工程表示欄に表示されている前記加工工程に関する前記ログオン・オフ情報が変更される。
(b)前記ログオンスイッチおよび前記ログオフスイッチは、軸設定画面に設けられており、
前記軸設定画面には、当該駆動軸を表示する軸表示欄と、前記駆動軸毎に各前記加工工程の判定用閾値を表示する第2判定用閾値表示欄と、がさらに設けられており、
前記第2判定用閾値表示欄の前記加工工程番号を選択した後に、前記ログオンスイッチおよび前記ログオフスイッチが操作されると、前記選択した前記加工工程に関する前記ログオン・オフ情報が変更される。
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.
JP2021178385A 2021-10-29 2021-10-29 Workpiece processing equipment Active JP7817812B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021178385A JP7817812B2 (en) 2021-10-29 2021-10-29 Workpiece processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021178385A JP7817812B2 (en) 2021-10-29 2021-10-29 Workpiece processing equipment

Publications (2)

Publication Number Publication Date
JP2023067294A JP2023067294A (en) 2023-05-16
JP7817812B2 true JP7817812B2 (en) 2026-02-19

Family

ID=86325712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021178385A Active JP7817812B2 (en) 2021-10-29 2021-10-29 Workpiece processing equipment

Country Status (1)

Country Link
JP (1) JP7817812B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005011203A (en) 2003-06-20 2005-01-13 Fanuc Ltd Numerical controller
JP2014199521A (en) 2013-03-29 2014-10-23 東芝機械株式会社 Power monitoring device
JP2016200894A (en) 2015-04-08 2016-12-01 ファナック株式会社 Waveform display device with data acquisition function for drive shaft of machine tool
US20190204143A1 (en) 2017-12-29 2019-07-04 Chung Yuan Christian University Method and device for monitoring idle machining of processing machine
JP2020067776A (en) 2018-10-23 2020-04-30 オークマ株式会社 Abnormality diagnosis system for machine tool, abnormality diagnosis method, abnormality diagnosis program
WO2021193496A1 (en) 2020-03-25 2021-09-30 ファナック株式会社 Control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1195820A (en) * 1997-09-16 1999-04-09 Toyoda Mach Works Ltd Machine tool with operation recording means

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005011203A (en) 2003-06-20 2005-01-13 Fanuc Ltd Numerical controller
JP2014199521A (en) 2013-03-29 2014-10-23 東芝機械株式会社 Power monitoring device
JP2016200894A (en) 2015-04-08 2016-12-01 ファナック株式会社 Waveform display device with data acquisition function for drive shaft of machine tool
US20190204143A1 (en) 2017-12-29 2019-07-04 Chung Yuan Christian University Method and device for monitoring idle machining of processing machine
JP2020067776A (en) 2018-10-23 2020-04-30 オークマ株式会社 Abnormality diagnosis system for machine tool, abnormality diagnosis method, abnormality diagnosis program
WO2021193496A1 (en) 2020-03-25 2021-09-30 ファナック株式会社 Control device

Also Published As

Publication number Publication date
JP2023067294A (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US10688612B2 (en) Machine tool
CN109877626B (en) Machine tool
CN106475833B (en) Numerical control device and control method
US7899574B2 (en) Machine-tool controller
EP1758004A2 (en) NC Machine Tool
US6640676B2 (en) Tool presetter and tool offset amount calculation method
EP0421323B1 (en) Grinder robot
KR102459650B1 (en) Robot-automated machine tool, robot handler used to machine tool and control method for the same
JPH05305553A (en) Tool breakage detection method
JP7817812B2 (en) Workpiece processing equipment
WO2022190155A1 (en) Workpiece processing apparatus
JP4047986B2 (en) Numerical control method and apparatus
JP7569613B2 (en) Workpiece processing equipment
JP2020069595A (en) Door opening/closing device and machine tool
JP2026008686A (en) Transport system, transport system control method and program
WO2019111413A1 (en) Control device, workpiece operation device, workpiece operation system, and control method
JP2004216504A (en) Loader control device
JP7781650B2 (en) Workpiece processing equipment
JP2020055053A (en) Tooling system, and control method and computer program for workpiece carrier device
JP2023147723A (en) Robot control device, robot control method, and robot control program
JP2020069594A (en) Door opening/closing device and machine tool
JP7759521B1 (en) Machine tool system, operation method for machine tool system, and program
JP2024115097A (en) Workpiece processing equipment
JP7806087B2 (en) Workpiece processing equipment
WO2022208899A1 (en) Workpiece processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250909

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20251106

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20260127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260206

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20260210

R150 Certificate of patent or registration of utility model

Ref document number: 7817812

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150