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
JP7683303B2 - CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM - Google Patents
[go: Go Back, main page]

JP7683303B2 - CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM - Google Patents

CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM Download PDF

Info

Publication number
JP7683303B2
JP7683303B2 JP2021078088A JP2021078088A JP7683303B2 JP 7683303 B2 JP7683303 B2 JP 7683303B2 JP 2021078088 A JP2021078088 A JP 2021078088A JP 2021078088 A JP2021078088 A JP 2021078088A JP 7683303 B2 JP7683303 B2 JP 7683303B2
Authority
JP
Japan
Prior art keywords
alarm
unit
priority
transport device
machine tool
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
JP2021078088A
Other languages
Japanese (ja)
Other versions
JP2022171441A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=83946436&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP7683303(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021078088A priority Critical patent/JP7683303B2/en
Publication of JP2022171441A publication Critical patent/JP2022171441A/en
Application granted granted Critical
Publication of JP7683303B2 publication Critical patent/JP7683303B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本開示は、制御装置、工作システム、及びプログラムに関する。 This disclosure relates to a control device, a machining system, and a program.

特許文献1に記載の工作システムは、ワークを加工する工作機械と、工作機械の動作を制御する制御装置と、工作機械に対してワークの搬入出を行なう搬送装置(文中「ロボット」)とを備える。この工作システムにおいて、作業者は、表示部が表示した画像を見ながら操作部を操作することにより、ワークの搬入出に必要な指令又はデータ等を搬送装置に入力する。 The machining system described in Patent Document 1 includes a machine tool that processes a workpiece, a control device that controls the operation of the machine tool, and a transport device (referred to as "robot" in the text) that loads and unloads the workpiece into and from the machine tool. In this machining system, an operator operates the operation unit while viewing the image displayed on the display unit, thereby inputting commands or data required for loading and unloading the workpiece into the transport device.

特開2019-067153号公報JP 2019-067153 A

搬送装置を構成する機器のトラブル又は搬送装置の制御プログラムのエラー等の異常が生じた場合、搬送装置はアラームを発報する。しかしながら、アラームの原因及びアラームの解除方法等のアラーム情報をマニュアルで調べるには長時間を要する。 If an abnormality occurs, such as a problem with the equipment that constitutes the transport device or an error in the control program of the transport device, the transport device will issue an alarm. However, it takes a long time to manually check alarm information, such as the cause of the alarm and how to reset the alarm.

本開示の目的は、搬送装置に関するアラームのアラーム情報を容易に把握することができる制御装置、工作システム、及びプログラムを提供することにある。 The objective of this disclosure is to provide a control device, machining system, and program that can easily grasp alarm information related to an alarm on a transport device.

本開示に係る制御装置は、表示部を備える工作機械の動作を制御する制御装置において、前記工作機械に対してワークの搬入出を行なう搬送装置に関するアラームを識別する識別情報と、前記アラームの解除に資する第一のアラーム情報とを関連付けて記憶する第一記憶部と、前記搬送装置から前記識別情報を受け付ける受付部と、該受付部が受け付けた前記識別情報に関連付けて前記第一記憶部が記憶している前記第一のアラーム情報を表示するよう前記表示部を制御する表示制御部とを備えることを特徴とする。 The control device according to the present disclosure is a control device for controlling the operation of a machine tool having a display unit, characterized in that it comprises a first memory unit that stores identification information for identifying an alarm related to a transport device that transports workpieces to and from the machine tool in association with first alarm information that contributes to canceling the alarm, a reception unit that receives the identification information from the transport device, and a display control unit that controls the display unit to display the first alarm information stored in the first memory unit in association with the identification information received by the reception unit.

本開示にあっては、受付部が搬送装置から識別情報を受け付ける。
第一記憶部は、搬送装置に関するアラームを識別する識別情報と、第一のアラーム情報とを関連づけて記憶している。第一のアラーム情報は、搬送装置に関するアラームの解除に資する情報であり、アラームの原因及びアラームの解除方法等の情報である。
In the present disclosure, the receiving unit receives the identification information from the transport device.
The first storage unit stores identification information for identifying an alarm related to the transport device and first alarm information in association with each other. The first alarm information is information that contributes to canceling an alarm related to the transport device, such as a cause of the alarm and a method of canceling the alarm.

表示制御部は、受付部が受け付けた識別情報に関連付けて第一記憶部が記憶している第一のアラーム情報を表示するよう表示部を制御し、表示部は第一のアラーム情報を表示する。
作業者は表示部が表示した第一のアラーム情報を見る。作業者が識別情報に基づいてマニュアルで第一のアラーム情報を調べる必要がないので、工作機械に関するアラームのアラーム情報を容易に把握することができる。
The display control unit controls the display unit to display the first alarm information stored in the first memory unit in association with the identification information received by the receiving unit, and the display unit displays the first alarm information.
The operator looks at the first alarm information displayed on the display unit. Since the operator does not need to manually check the first alarm information based on the identification information, the operator can easily grasp the alarm information of the alarm related to the machine tool.

本開示に係る制御装置は、前記工作機械に関するアラームの解除に資する第二のアラーム情報を記憶する第二記憶部と、前記搬送装置に関するアラーム及び前記工作機械に関するアラームの合計が複数である場合、各アラームの優先順位を決定する優先順位決定部とを更に備え、前記表示制御部は、前記優先順位決定部の決定結果に基づいて、最も優先順位が高いアラームの第一又は第二のアラーム情報を表示するよう前記表示部を制御することを特徴とする。 The control device according to the present disclosure further includes a second storage unit that stores second alarm information that contributes to canceling an alarm related to the machine tool, and a priority determination unit that determines the priority of each alarm when there are multiple alarms related to the conveying device and the machine tool, and the display control unit controls the display unit to display the first or second alarm information of the alarm with the highest priority based on the determination result of the priority determination unit.

本開示にあっては、第二記憶部が第二のアラーム情報を記憶している。第二のアラーム情報は工作機械に関するアラームの解除に資する情報である。
搬送装置に関するアラーム及び前記工作機械に関するアラームの合計が複数である場合、優先順位決定部は各アラームの優先順位を決定する。
In the present disclosure, the second storage unit stores second alarm information. The second alarm information is information that contributes to canceling an alarm related to the machine tool.
When there are a plurality of alarms related to the transport device and the machine tool, the priority order determination unit determines the priority order of each alarm.

表示制御部は、優先順位決定部の決定結果に基づいて、最も優先順位が高いアラームの解除に資するアラーム情報を表示するよう表示部を制御する。この結果、搬送装置に関するアラームの優先順位が最も高ければ、表示部は第一記憶部が記憶している第一のアラーム情報を表示する。一方、工作機械に関するアラームの優先順位が最も高ければ、表示部は第二記憶部が記憶している第二のアラーム情報を表示する。
作業者は表示部が表示したアラーム情報を見る。作業者がアラームの優先順位を判断する必要がないので、最も優先順位が高いアラームのアラーム情報を容易に把握することができる。
The display control unit controls the display unit to display alarm information that contributes to canceling the alarm with the highest priority based on the result of the determination by the priority determination unit. As a result, if the alarm related to the transport device has the highest priority, the display unit displays the first alarm information stored in the first storage unit. On the other hand, if the alarm related to the machine tool has the highest priority, the display unit displays the second alarm information stored in the second storage unit.
The worker looks at the alarm information displayed on the display unit. Since the worker does not need to determine the priority of the alarms, the worker can easily grasp the alarm information of the alarm with the highest priority.

本開示に係る制御装置は、前記搬送装置に関するアラーム及び前記工作機械に関するアラームの合計が複数である場合、前記表示制御部は、最新のアラームの第一又は第二のアラーム情報を所定時間表示した後で、最も優先順位が高いアラームの第一又は第二のアラーム情報を表示するよう前記表示部を制御することを特徴とする。 The control device according to the present disclosure is characterized in that, when there are a total of multiple alarms related to the transport device and the machine tool, the display control unit controls the display unit to display the first or second alarm information of the most recent alarm for a predetermined period of time, and then displays the first or second alarm information of the alarm with the highest priority.

本開示にあっては、搬送装置に関するアラーム及び工作機械に関するアラームの合計が複数である場合、表示部は最新のアラームのアラーム情報を所定時間表示する。その後、表示部は最も優先順位が高いアラームのアラーム情報を表示する。故に、作業者は最新のアラームのアラーム情報を把握しつつ、最も優先順位が高いアラームのアラーム情報を容易に把握することができる。 In the present disclosure, when there are a total of multiple alarms related to the transport device and multiple alarms related to the machine tool, the display unit displays the alarm information of the most recent alarm for a predetermined period of time. After that, the display unit displays the alarm information of the alarm with the highest priority. Therefore, the worker can easily grasp the alarm information of the alarm with the highest priority while grasping the alarm information of the most recent alarm.

本開示に係る制御装置は、前記受付部が受け付けた前記識別情報を前記第一記憶部が記憶していない場合、前記表示制御部は所定のメッセージを表示するよう前記表示部を制御することを特徴とする。 The control device according to the present disclosure is characterized in that, if the identification information received by the reception unit is not stored in the first storage unit, the display control unit controls the display unit to display a predetermined message.

本開示にあっては、受付部が受け付けた識別情報を第一記憶部が記憶していない場合、表示部は所定のメッセージを表示する。
例えば搬送装置がグレードアップしたのに第一記憶部の記憶内容が未更新の場合、受付部が受け付けた識別情報を第一記憶部が記憶していないという不都合が生じる。しかしながら、表示部が所定のメッセージを表示するので、作業者は少なくとも搬送装置がアラームを発報したことを把握することができる。
In the present disclosure, when the identification information accepted by the accepting unit is not stored in the first storage unit, the display unit displays a predetermined message.
For example, if the transport device is upgraded but the contents stored in the first storage unit are not updated, the identification information received by the reception unit may not be stored in the first storage unit. However, since the display unit displays a predetermined message, the operator can at least understand that the transport device has issued an alarm.

本開示に係る制御装置は、前記搬送装置に関するアラーム履歴を記憶するか否かを判定する判定部と、該判定部が前記アラーム履歴を記憶すると判定した場合、前記受付部が受け付けた前記識別情報と前記受付部が前記識別情報を受け付けたタイミングを示す情報とを関連付けて記憶する履歴記憶部とを更に備えることを特徴とする。 The control device according to the present disclosure further includes a determination unit that determines whether or not to store an alarm history related to the transport device, and a history storage unit that, when the determination unit determines that the alarm history should be stored, stores the identification information received by the reception unit in association with information indicating the timing at which the reception unit received the identification information.

本開示にあっては、判定部が搬送装置のアラーム履歴を記憶するか否かを判定する。
判定部がアラーム履歴を記憶すると記憶した場合、履歴記憶部は、受付部が受け付けた識別情報と、受付部が識別情報を受け付けたタイミングを示す情報とを関連付けて記憶する。
In the present disclosure, the determination unit determines whether or not to store the alarm history of the transport device.
When the determination unit determines that the alarm history is to be stored, the history storage unit stores the identification information received by the reception unit in association with information indicating the timing at which the reception unit received the identification information.

履歴記憶部が記憶しているタイミングに基づいて、履歴記憶部が記憶している識別情報を時系列順に並べることができる。履歴記憶部が記憶している識別情報に基づいて第一記憶部の記憶内容を検索するかマニュアルを調べれば、アラーム情報を得ることができる。以上の結果、搬送装置に関するアラームを時系列順に把握することができる。 The identification information stored in the history memory unit can be arranged in chronological order based on the timing of storage in the history memory unit. Alarm information can be obtained by searching the contents stored in the first memory unit based on the identification information stored in the history memory unit or by consulting the manual. As a result of the above, alarms related to the transport device can be identified in chronological order.

本開示に係る工作システムは、表示部を備える工作機械と、該工作機械の動作を制御する制御装置と、前記工作機械に対してワークの搬入出を行なう搬送装置とを有する工作システムにおいて、前記搬送装置に関するアラームを識別する識別情報と、前記アラームの解除に資する第一のアラーム情報とを関連付けて記憶する第一記憶部を有し、前記制御装置は、前記搬送装置から前記識別情報を受け付ける受付部と、該受付部が受け付けた前記識別情報に関連付けて前記第一記憶部が記憶している前記第一のアラーム情報を表示するよう前記表示部を制御する表示制御部とを備えることを特徴とする。 The machining system according to the present disclosure has a machine tool equipped with a display unit, a control device that controls the operation of the machine tool, and a transport device that loads and unloads workpieces onto and from the machine tool, and has a first memory unit that stores identification information that identifies an alarm related to the transport device and first alarm information that contributes to canceling the alarm in association with each other, and the control device has a reception unit that receives the identification information from the transport device, and a display control unit that controls the display unit to display the first alarm information stored in the first memory unit in association with the identification information received by the reception unit.

本開示にあっては、制御装置が受付部と表示制御部とを備え、第一記憶部を用いることにより、搬送装置に関するアラームのアラーム情報を容易に把握することができる。 In the present disclosure, the control device includes a reception unit and a display control unit, and by using the first memory unit, alarm information for alarms related to the transport device can be easily grasped.

本開示に係るプログラムは、工作機械の動作を制御する制御装置で実行可能なプログラムであって、前記工作機械に対してワークの搬入出を行なう搬送装置から、該搬送装置に関するアラームを識別する識別情報を受け付け、前記識別情報と前記アラームの解除に資する第一のアラーム情報とを関連付けて記憶する第一記憶部から、受け付けた前記識別情報に対応する前記第一のアラーム情報を取得し、取得した前記第一のアラーム情報を表示する処理を前記制御装置に実行させる。 The program disclosed herein is a program executable by a control device that controls the operation of a machine tool, and receives, from a transport device that loads and unloads workpieces to and from the machine tool, identification information that identifies an alarm related to the transport device, obtains the first alarm information corresponding to the received identification information from a first memory unit that stores the identification information in association with first alarm information that contributes to canceling the alarm, and causes the control device to execute a process of displaying the obtained first alarm information.

本開示にあっては、制御装置が本開示に係るプログラムを実行することにより、搬送装置に関するアラームのアラーム情報を容易に把握することができる。 In this disclosure, the control device executes the program according to this disclosure, making it possible to easily grasp alarm information for alarms related to the transport device.

本開示の制御装置、工作システム、及びプログラムによれば、搬送装置に関するアラームのアラーム情報を容易に把握することができる。 The control device, machining system, and program disclosed herein make it easy to grasp alarm information for alarms related to the transport device.

実施の形態に係る工作システムを略示する斜視図である。1 is a perspective view illustrating a machining system according to an embodiment of the present invention; 工作システムを略示する正面断面図である。FIG. 2 is a front cross-sectional view illustrating the machining system. 工作システムの制御系の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of a control system of the machining system. アラーム情報の表示に関する制御系の構成を示すブロック図である。4 is a block diagram showing the configuration of a control system related to the display of alarm information. FIG. ID記憶部が記憶しているデータの一例を示す模式図である。4 is a schematic diagram showing an example of data stored in an ID storage unit; FIG. 搬送装置で実行するアラーム発報処理の手順を示すフローチャートである。10 is a flowchart showing a procedure of an alarm issuing process executed by the transport device. 第一記憶部が記憶しているデータの一例を示す模式図である。4 is a schematic diagram illustrating an example of data stored in a first memory unit; FIG. 第二記憶部が記憶しているデータの一例を示す模式図である。4 is a schematic diagram showing an example of data stored in a second storage unit; FIG. 発報記憶部が記憶しているデータの一例を示す模式図である。4 is a schematic diagram showing an example of data stored in an alarm storage unit; FIG. 履歴記憶部が記憶しているデータの一例を示す模式図である。FIG. 4 is a schematic diagram illustrating an example of data stored in a history storage unit. 制御装置で実行する第一の発報記憶処理の手順を示すフローチャートである。10 is a flowchart showing the procedure of a first alarm storage process executed by the control device. 制御装置で実行する第二の発報記憶処理の手順を示すフローチャートである。10 is a flowchart showing the procedure of a second alarm storage process executed by the control device. 制御装置で実行する優先度調整処理の手順を示すフローチャートである。10 is a flowchart showing a procedure of a priority adjustment process executed by the control device. 優先度の調整のためのデータテーブルの一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of a data table for adjusting priority levels; 制御装置で実行する表示処理の手順を示すフローチャートである。10 is a flowchart showing a procedure of a display process executed by the control device. 制御装置で実行する表示処理の手順を示すフローチャートである。10 is a flowchart showing a procedure of a display process executed by the control device. 制御装置で実行する表示処理の手順を示すフローチャートである。10 is a flowchart showing a procedure of a display process executed by the control device. 表示部が表示する最新のアラームの一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of the latest alarm displayed on the display unit. 表示部が表示する最優先のアラームの一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of a top-priority alarm displayed on a display unit. 表示部が表示する未登録のアラームの一例を示す模式図である。11 is a schematic diagram showing an example of an unregistered alarm displayed on a display unit; FIG.

以下、本開示の実施の形態について説明する。以下の説明では、図において矢符で示す上下、前後、及び左右を使用する。 The following describes an embodiment of the present disclosure. In the following description, the up/down, front/back, and left/right directions are indicated by arrows in the figures.

図1は、実施の形態に係る工作システムを略示する斜視図である。
図中1は工作システムであり、工作システム1は工作機械2、搬送装置3、制御装置4を備える。
工作機械2は基台21を備える。基台21は床面に載置してある。工作機械2は基台21の上側にてワーク5(後述する図2参照)を加工する。
基台21はカバー22を支持する。カバー22は工作機械2の前後左右を覆う。
FIG. 1 is a perspective view illustrating a machining system according to an embodiment of the present invention.
In the figure, reference numeral 1 denotes a machining system, which includes a machine tool 2, a transport device 3, and a control device 4.
The machine tool 2 includes a base 21. The base 21 is placed on the floor. The machine tool 2 machines a workpiece 5 (see FIG. 2, which will be described later) above the base 21.
The base 21 supports a cover 22. The cover 22 covers the machine tool 2 from the front, rear, left and right sides.

カバー22の前面に正面開口221が設けてある。カバー22は正面扉222を備え、正面扉222は正面開口221を開閉可能に覆う。正面開口221の開放時に作業者は正面開口221を通してカバー22の外側から内側に進入することが可能である。 A front opening 221 is provided on the front surface of the cover 22. The cover 22 is provided with a front door 222, which covers the front opening 221 in an openable and closable manner. When the front opening 221 is open, an operator can enter the cover 22 from the outside to the inside through the front opening 221.

カバー22の右面に側面開口223が設けてある。カバー22は側面扉224を備え、側面扉224は側面開口223を開閉可能に覆う。側面開口223の開放時に搬送装置3の後述するアーム34はカバー22の外側から側面開口223を通してカバー22の内側に進入することが可能である。 A side opening 223 is provided on the right side of the cover 22. The cover 22 has a side door 224 that opens and closes the side opening 223. When the side opening 223 is open, an arm 34 of the conveying device 3, which will be described later, can enter the inside of the cover 22 from the outside of the cover 22 through the side opening 223.

カバー22の内面に扉開閉検出部225,226が設けてある。扉開閉検出部225は正面扉222の開閉を検出する。扉開閉検出部226は側面扉224の開閉を検出する。扉開閉検出部225は検出結果を搬送装置3及び制御装置4に与え、扉開閉検出部226は検出結果を制御装置4に与える(後述する図3参照)。
扉開閉検出部225,226夫々の構成は限定されない。例えば扉開閉検出部225は、正面開口221の周縁部に設けてあるリミットスイッチと、正面扉222の縁部に設けてあり、正面扉222の開放時にリミットスイッチをオンにし、正面扉222の閉鎖時にリミットスイッチをオフにするドッグとを備える。
Door opening/closing detection units 225, 226 are provided on the inner surface of the cover 22. The door opening/closing detection unit 225 detects whether the front door 222 is open or closed. The door opening/closing detection unit 226 detects whether the side door 224 is open or closed. The door opening/closing detection unit 225 provides the detection result to the transport device 3 and the control device 4, and the door opening/closing detection unit 226 provides the detection result to the control device 4 (see FIG. 3 described later).
There are no limitations on the configuration of each of the door opening/closing detection units 225 and 226. For example, the door opening/closing detection unit 225 includes a limit switch provided on the periphery of the front opening 221 and a dog provided on the edge of the front door 222 that turns on the limit switch when the front door 222 is opened and turns off the limit switch when the front door 222 is closed.

カバー22の外面における正面扉222の右側に表示部23及び操作部24が設けてある。表示部23は画像を表示する。操作部24は複数の操作キー241を有する。作業者は、表示部23が表示する画像を見ながら操作部24の操作キー241を操作することにより、ワーク5の加工に必要な指令又はデータ等を制御装置4に入力する。同様にして、作業者はワーク5の搬入出に必要な指令又はデータ等を、制御装置4を介して搬送装置3に入力する。
操作部24は電源キー242及びリセットキー243を有する(後述する図4参照)。作業者は電源キー242を操作することにより、工作システム1の電源をオン/オフする。作業者はリセットキー243を操作することにより、工作システム1をリセットする。
A display unit 23 and an operation unit 24 are provided on the right side of the front door 222 on the outer surface of the cover 22. The display unit 23 displays images. The operation unit 24 has a plurality of operation keys 241. An operator operates the operation keys 241 of the operation unit 24 while watching the image displayed by the display unit 23, thereby inputting commands or data, etc. required for machining the workpiece 5 to the control device 4. In the same manner, the operator inputs commands or data, etc. required for loading and unloading the workpiece 5 to the conveying device 3 via the control device 4.
The operation unit 24 has a power key 242 and a reset key 243 (see FIG. 4 described later). The operator operates the power key 242 to turn on/off the power of the machining system 1. The operator operates the reset key 243 to reset the machining system 1.

図2は、工作システム1を略示する正面断面図である。
工作機械2はテーブル25を備える。テーブル25は基台21の上部に設けてある。テーブル25の上面に治具251が設けてある。治具251は、後述するアーム34がテーブル25に載置したワーク5を保持する。
工作機械2は主軸26を備える。主軸26は上下方向に延びる。主軸26の下端部は工具11を保持する。主軸26が保持した工具11は、主軸26の上側にある主軸モータ261により、上下方向に延びる回転軸を中心に回転する。
FIG. 2 is a front cross-sectional view illustrating the machining system 1. As shown in FIG.
The machine tool 2 includes a table 25. The table 25 is provided on the upper part of the base 21. A jig 251 is provided on the upper surface of the table 25. The jig 251 holds the workpiece 5 placed on the table 25 by an arm 34, which will be described later.
The machine tool 2 includes a spindle 26. The spindle 26 extends in the vertical direction. The lower end of the spindle 26 holds a tool 11. The tool 11 held by the spindle 26 is rotated about a rotation axis extending in the vertical direction by a spindle motor 261 provided above the spindle 26.

テーブル25は主軸26に対して相対的にX軸方向、Y軸方向、Z軸方向に移動可能である。例えばテーブル25がX軸方向及びY軸方向夫々に移動可能に設けてあり、主軸26がZ軸方向に移動可能に設けてある。ここで、X軸方向、Y軸方向、Z軸方向は、左右方向、前後方向、上下方向に平行である。 The table 25 can move in the X-axis, Y-axis, and Z-axis directions relative to the main shaft 26. For example, the table 25 is arranged so that it can move in the X-axis and Y-axis directions, and the main shaft 26 is arranged so that it can move in the Z-axis direction. Here, the X-axis, Y-axis, and Z-axis directions are parallel to the left-right direction, the front-back direction, and the up-down direction.

工作機械2はタレット型の工具マガジン27を備える。工具マガジン27は複数の工具11を回転移動可能に保持する。主軸26は工具マガジン27に対して相対的にZ軸方向に移動する。
工作機械2は、テーブル25の治具251が保持した未加工のワーク5を、主軸26が保持した工具11で加工する。
The machine tool 2 includes a turret-type tool magazine 27. The tool magazine 27 rotatably holds a plurality of tools 11. The spindle 26 moves in the Z-axis direction relative to the tool magazine 27.
The machine tool 2 machines an unmachined workpiece 5 held by a jig 251 on a table 25 with a tool 11 held by a spindle 26 .

図1及び図2に示す如く搬送装置3は工作機械2の右側にある。搬送装置3は基部31を備える。基部31は工作機械2の基台21に設けてある。
基部31には箱状の走行体32が設けてある(図1参照)。基部31は走行体32を前後方向に往復移動可能に支持する。
走行体32に支持部33が設けてある。支持部33は走行体32の上部から上向きに延びる。支持部33はアーム34を支持する。
1 and 2, the transfer device 3 is located on the right side of the machine tool 2. The transfer device 3 has a base 31. The base 31 is provided on the base 21 of the machine tool 2.
A box-shaped running body 32 (see FIG. 1) is provided on the base 31. The base 31 supports the running body 32 so that the running body 32 can reciprocate in the front-rear direction.
A support portion 33 is provided on the running body 32. The support portion 33 extends upward from the upper portion of the running body 32. The support portion 33 supports an arm 34.

アーム34は第一アーム341、第二アーム342、ハンド343を備える。第一アーム341の基端部は支持部33の上端部に連結し、第一アーム341は前後方向に延びる図示しない枢軸を中心に揺動可能である。第二アーム342の基端部は第一アーム341の先端部に連結し、第二アーム342は前後方向に延びる図示しない枢軸を中心に揺動可能である。ハンド343の基端部は第二アーム342の上端部に連結し、ハンド343は前後方向に延びる図示しない枢軸を中心に揺動可能である。ハンド343は二つのワーク5を個別に把持することが可能である。 The arm 34 comprises a first arm 341, a second arm 342, and a hand 343. The base end of the first arm 341 is connected to the upper end of the support part 33, and the first arm 341 can swing around a pivot (not shown) extending in the front-rear direction. The base end of the second arm 342 is connected to the tip of the first arm 341, and the second arm 342 can swing around a pivot (not shown) extending in the front-rear direction. The base end of the hand 343 is connected to the upper end of the second arm 342, and the hand 343 can swing around a pivot (not shown) extending in the front-rear direction. The hand 343 can grip two workpieces 5 individually.

ワーク載置台12及び安全柵13は搬送装置3付近に固定する。
ワーク載置台12は搬送装置3の右側に隣り合う。ワーク載置台12にはワーク5が載置してある。安全柵13はワーク載置台12及び搬送装置3を囲む。安全柵13により、作動中の搬送装置3に作業者が接触することを防止できる。作業者は、安全柵13を開けてワーク載置台12に未加工のワークを載置し、ワーク載置台12に載置してある加工済みのワークを取り出す。安全柵13の開閉を検出する柵開閉検出部131が安全柵13に設けてある。柵開閉検出部131は検出結果を搬送装置3に与える(後述する図3参照)。
The workpiece placement table 12 and the safety fence 13 are fixed near the transport device 3 .
The workpiece placement table 12 is adjacent to the right side of the transport device 3. A workpiece 5 is placed on the workpiece placement table 12. A safety fence 13 surrounds the workpiece placement table 12 and the transport device 3. The safety fence 13 prevents an operator from coming into contact with the transport device 3 while it is in operation. An operator opens the safety fence 13 to place an unmachined workpiece on the workpiece placement table 12 and remove a machined workpiece placed on the workpiece placement table 12. A fence opening/closing detection unit 131 that detects whether the safety fence 13 is open or closed is provided on the safety fence 13. The fence opening/closing detection unit 131 provides the detection result to the transport device 3 (see FIG. 3 described later).

図3は、工作システム1の制御系の構成を示すブロック図である。
工作機械2は扉開閉検出部225,226及び主軸モータ261の他、X軸モータ252、Y軸モータ253、エアブレーキ255、Z軸モータ262、マガジンモータ271を備える。
FIG. 3 is a block diagram showing the configuration of a control system of the machining system 1.
The machine tool 2 is equipped with door opening/closing detectors 225 , 226 and a spindle motor 261 , as well as an X-axis motor 252 , a Y-axis motor 253 , an air brake 255 , a Z-axis motor 262 , and a magazine motor 271 .

X軸モータ252によりテーブル25はX軸方向に移動する。Y軸モータ253によりテーブル25はY軸方向に移動する。エアブレーキ255はテーブル25の制動を行ない、テーブル25の姿勢を維持する。 The X-axis motor 252 moves the table 25 in the X-axis direction. The Y-axis motor 253 moves the table 25 in the Y-axis direction. The air brake 255 brakes the table 25 and maintains the position of the table 25.

エアブレーキ255による適切な制動のために、エアブレーキ255が用いるエアの圧力が所定の最低圧力以上である必要がある。エアブレーキ255は図示しない圧力検出部を有し、エアブレーキ255が用いるエアの圧力の検出結果を制御装置4に与える。 For proper braking by the air brakes 255, the pressure of the air used by the air brakes 255 must be equal to or higher than a specified minimum pressure. The air brakes 255 have a pressure detection unit (not shown) and provide the detection result of the pressure of the air used by the air brakes 255 to the control device 4.

Z軸モータ262により主軸26はZ軸方向に移動する。
マガジンモータ271により、工具マガジン27が保持した複数の工具11が回転移動する。工具11の回転移動は、所定の工具11が工具交換位置に到達した場合に停止する。工具交換位置にある工具11は、Z軸モータ262による主軸26の下降中に工具マガジン27から主軸26に移る。主軸26は工具マガジン27から受け取った工具11を保持する。
The Z-axis motor 262 moves the spindle 26 in the Z-axis direction.
The magazine motor 271 rotates the multiple tools 11 held in the tool magazine 27. The rotational movement of the tools 11 stops when a specific tool 11 reaches the tool change position. The tool 11 at the tool change position is transferred from the tool magazine 27 to the spindle 26 while the spindle 26 is lowered by the Z-axis motor 262. The spindle 26 holds the tool 11 received from the tool magazine 27.

主軸26が保持した工具11は、主軸モータ261により回転しながらテーブル25の治具251が保持したワーク5に接触することにより、ワーク5を加工する。
工作機械2は冷却液供給部28を備える。冷却液供給部28は、加工中の工具11及びワーク5を冷却すると共に加工によって生じる切削屑を洗い流すための冷却液を工具11及びワーク5に供給する。
The tool 11 held by the spindle 26 is rotated by the spindle motor 261 and comes into contact with the workpiece 5 held by the jig 251 on the table 25 , thereby machining the workpiece 5 .
The machine tool 2 includes a coolant supply unit 28. The coolant supply unit 28 supplies coolant to the tool 11 and the workpiece 5 for cooling the tool 11 and the workpiece 5 during machining and for washing away cutting chips generated by machining.

冷却液供給部28による適切な冷却のために、冷却液供給部28が用いる冷却液の温度が所定の最高温度以下である必要がある。冷却液供給部28は図示しない温度検出部を有し、冷却液供給部28が用いる冷却液の温度の検出結果を搬送装置3及び制御装置4に与える。 For proper cooling by the cooling liquid supply unit 28, the temperature of the cooling liquid used by the cooling liquid supply unit 28 must be equal to or lower than a predetermined maximum temperature. The cooling liquid supply unit 28 has a temperature detection unit (not shown) and provides the detection result of the temperature of the cooling liquid used by the cooling liquid supply unit 28 to the conveying device 3 and the control device 4.

加工終了後、主軸26が保持した工具11の回転が停止する。Z軸モータ262により主軸26が上昇し、主軸26が保持した工具11がワーク5から離隔する。主軸26が保持した工具11は、主軸26の上昇中に主軸26から工具マガジン27に移る。工具マガジン27は主軸26から受け取った工具11を保持する。
テーブル25が右側に移動することにより、加工済みのワーク5はワーク搬送位置に移動する。
After the machining is completed, the rotation of the tool 11 held by the spindle 26 stops. The Z-axis motor 262 raises the spindle 26, and the tool 11 held by the spindle 26 moves away from the workpiece 5. The tool 11 held by the spindle 26 is transferred from the spindle 26 to the tool magazine 27 while the spindle 26 is rising. The tool magazine 27 holds the tool 11 received from the spindle 26.
As the table 25 moves to the right, the machined workpiece 5 moves to the workpiece transfer position.

搬送装置3は走行モータ321及びアーム駆動部344を備える。走行モータ321により走行体32は前後方向に走行する。支持部33及びアーム34は走行体32と共に前後方向に往復走行する。 The conveying device 3 is equipped with a travel motor 321 and an arm drive unit 344. The travel motor 321 causes the travel body 32 to travel in the forward and backward directions. The support unit 33 and the arm 34 travel back and forth in the forward and backward directions together with the travel body 32.

アーム駆動部344とは、第一アーム341の揺動用のモータ、第二アーム342の揺動用のモータ、ハンド343の揺動用のモータ、及びハンド343のワーク把持用のアクチュエータの総称である。
第一アーム341の初期位置は、先端部が上向きになる位置であり、第二アーム342の初期位置は、先端部が下向きになる位置である(図1参照)。
アーム駆動部344によりアーム34は左右方向に伸縮する。
The arm drive unit 344 is a collective term for a motor for swinging the first arm 341, a motor for swinging the second arm 342, a motor for swinging the hand 343, and an actuator for the hand 343 to grip a workpiece.
The initial position of the first arm 341 is a position where its tip portion faces upward, and the initial position of the second arm 342 is a position where its tip portion faces downward (see FIG. 1).
The arm 34 extends and retracts in the left and right directions due to the arm drive unit 344 .

制御装置4は工作機械2の後側にある(図1参照)。制御装置4は給電部41を備える。給電部41は工作機械2のX軸モータ252、Y軸モータ253、主軸モータ261、Z軸モータ262、マガジンモータ271に給電すると共に、搬送装置3の走行モータ321及びアーム駆動部344に給電する。給電部41がオフである場合、これらのモータ及びアクチュエータは何れも作動しない。 The control device 4 is located at the rear of the machine tool 2 (see Figure 1). The control device 4 is equipped with a power supply unit 41. The power supply unit 41 supplies power to the X-axis motor 252, Y-axis motor 253, spindle motor 261, Z-axis motor 262, and magazine motor 271 of the machine tool 2, as well as to the travel motor 321 and arm drive unit 344 of the transport device 3. When the power supply unit 41 is off, none of these motors and actuators operate.

作業者は、工作システム1動作開始前に、正面扉222及び安全柵13を閉じる。 The operator closes the front door 222 and the safety fence 13 before starting operation of the machining system 1.

搬送装置3は、未加工のワーク5を工作機械2に搬入し、加工済みのワーク5を工作機械2から搬出する。このために、まず、アーム駆動部344によりアーム34が右向きに伸長し、ワーク載置台12に載置してある未加工のワーク5を把持する。ワーク5の把持後、アーム34は左向きに収縮して初期位置に戻る。 The transport device 3 transports the unmachined workpiece 5 into the machine tool 2 and transports the machined workpiece 5 out of the machine tool 2. To do this, first, the arm 34 is extended to the right by the arm drive unit 344 and grasps the unmachined workpiece 5 placed on the workpiece placement table 12. After grasping the workpiece 5, the arm 34 retracts to the left and returns to the initial position.

走行モータ321により走行体32が走行し、アーム34とワーク搬送位置にあるテーブル25とが側面開口223を通して互いに対向する位置で停止する。
アーム34は左向きに伸長し、側面開口223を通してカバー22の内側に進入する(図2参照)。カバー22の内側に進入したアーム34は、加工済みのワーク5を把持し、未加工のワーク5をテーブル25に載置する。
未加工のワーク5をテーブル25に載置し終えたアーム34はカバー22の内側からカバー22の外側に退出する。
The travel motor 321 causes the travel body 32 to travel, and the arm 34 and the table 25 at the work transfer position are stopped at a position where they face each other through the side opening 223 .
The arm 34 extends leftward and enters inside the cover 22 through the side opening 223 (see FIG. 2). The arm 34 that enters inside the cover 22 grips the machined workpiece 5 and places the unmachined workpiece 5 on the table 25.
After placing the unmachined workpiece 5 on the table 25 , the arm 34 moves out from inside the cover 22 to outside the cover 22 .

走行体32は再び走行し、アーム34がワーク載置台12に対向する位置で停止する。アーム34は加工済みのワーク5をワーク載置台12に載置してから初期位置に戻る。
側面扉224は未加工のワーク5の搬入前に開き、加工済みのワーク5の搬出後に閉まる。側面扉224の開閉方法は限定しない。例えば側面扉224は引き戸であり、走行体32の前後移動に連動して開閉する。
The traveling body 32 starts traveling again and stops at a position where the arm 34 faces the workpiece mounting table 12. The arm 34 places the machined workpiece 5 on the workpiece mounting table 12 and then returns to the initial position.
The side door 224 opens before the unmachined workpiece 5 is carried in and closes after the machined workpiece 5 is carried out. There is no limitation on the method of opening and closing the side door 224. For example, the side door 224 is a sliding door, and opens and closes in conjunction with the forward and backward movement of the traveling body 32.

搬送装置3により、作業者が手作業でワーク5を搬送する場合よりも安全性が高まる。
側面扉224が閉まった後で、工作機械2はワーク5の加工を開始する。正面扉222及び側面扉224が共に閉まっているので、カバー22により、ワーク5の加工によって生じる切削屑の飛散、作動中の工作機械2に作業者が接触すること等を防止することができる。
The conveying device 3 improves safety compared to when an operator conveys the workpiece 5 manually.
After the side door 224 is closed, the machine tool 2 starts machining the workpiece 5. Since the front door 222 and the side door 224 are both closed, the cover 22 can prevent cutting chips generated by machining the workpiece 5 from scattering, and can prevent an operator from coming into contact with the machine tool 2 during operation.

図4は、後述するアラーム情報の表示に関する制御系の構成を示すブロック図である。
搬送装置3は制御部35、主記憶部36、及び補助記憶部37を備え、これらはバスを介して相互に接続してある。
FIG. 4 is a block diagram showing the configuration of a control system related to the display of alarm information, which will be described later.
The transport device 3 includes a control unit 35, a main memory unit 36, and an auxiliary memory unit 37, which are interconnected via a bus.

制御部35はCPU、MPU、GPU等の1又は複数のプロセッサを含む。主記憶部36は揮発性を有し、例えばRAMである。補助記憶部37は不揮発性を有し、例えばROM、フラッシュメモリ、ハードディスク、又はSSDである。補助記憶部37は、搬送装置3の動作を制御するためのコンピュータプログラム3P、並びにコンピュータプログラム3Pの実行に必要な各種のデータを予め記憶している。補助記憶部37の記憶領域の一部は、後述するID記憶部371である。 The control unit 35 includes one or more processors such as a CPU, MPU, GPU, etc. The main memory unit 36 is volatile and is, for example, a RAM. The auxiliary memory unit 37 is non-volatile and is, for example, a ROM, flash memory, hard disk, or SSD. The auxiliary memory unit 37 pre-stores a computer program 3P for controlling the operation of the transport device 3, as well as various data required for executing the computer program 3P. A part of the memory area of the auxiliary memory unit 37 is an ID memory unit 371, which will be described later.

制御部35は、主記憶部36を作業領域として用い、補助記憶部37が記憶しているコンピュータプログラム3Pに従って、各種の演算処理及び制御処理等を実行する。例えば、制御部35はワーク5の搬入出時に走行モータ321及びアーム駆動部344夫々の動作を制御することにより走行体32及びアーム34夫々の動作を制御する。制御部35は工作システム1(特に搬送装置3)にて異常が生じたか否かを判定し、異常が生じた場合、後述するようにアラームを発報する。以下では、アラームを発すべき異常として、正面扉222又は安全柵13の開放、冷却液の過熱、不当な指令、及び給電部41からの給電の停止を例示する。 The control unit 35 uses the main memory unit 36 as a working area and executes various calculation processes and control processes according to the computer program 3P stored in the auxiliary memory unit 37. For example, the control unit 35 controls the operation of the travel motor 321 and the arm drive unit 344 when loading and unloading the workpiece 5, thereby controlling the operation of the travel body 32 and the arm 34. The control unit 35 determines whether an abnormality has occurred in the machining system 1 (particularly the conveying device 3), and if an abnormality has occurred, issues an alarm as described below. Below, examples of abnormalities that should issue an alarm include the opening of the front door 222 or safety fence 13, overheating of the coolant, an improper command, and the stop of power supply from the power supply unit 41.

制御部35は、給電部41から給電されている場合に正面扉222及び安全柵13夫々の開閉の判定を行なう。具体的には、制御部35は扉開閉検出部225の検出結果に基づいて正面扉222が開いているか閉じているかを判定し、柵開閉検出部131の検出結果に基づいて安全柵13が開いているか閉じているかを判定する。制御部35は、正面扉222及び安全柵13が閉まっている場合に走行モータ321及びアーム駆動部344夫々が作動するよう制御する。正面扉222又は安全柵13が開いた場合、扉開閉検出部225,226の検出結果が制御部35に出力され、制御部35は「正面扉又は安全柵の開放」という名称のアラームを発報する。以下では、「α」という名称のアラームをアラーム「α」という。走行モータ321又はアーム駆動部344の作動中に正面扉222又は安全柵13が開いた場合、制御部35は作動中の走行モータ321又はアーム駆動部344が停止するよう制御した上で、アラーム「正面扉又は安全柵の開放」を発報する。 When power is being supplied from the power supply unit 41, the control unit 35 determines whether the front door 222 and the safety fence 13 are open or closed. Specifically, the control unit 35 determines whether the front door 222 is open or closed based on the detection result of the door opening/closing detection unit 225, and determines whether the safety fence 13 is open or closed based on the detection result of the fence opening/closing detection unit 131. The control unit 35 controls the travel motor 321 and the arm drive unit 344 to operate when the front door 222 and the safety fence 13 are closed. When the front door 222 or the safety fence 13 is open, the detection results of the door opening/closing detection units 225 and 226 are output to the control unit 35, and the control unit 35 issues an alarm named "Front door or safety fence open". In the following, the alarm named "α" will be referred to as alarm "α". If the front door 222 or safety fence 13 is opened while the travel motor 321 or arm drive unit 344 is operating, the control unit 35 controls the operating travel motor 321 or arm drive unit 344 to stop, and then issues an alarm indicating that the front door or safety fence is open.

走行モータ321及びアーム駆動部344の作動開始前に、制御部35は冷却液供給部28が有する温度検出部の検出結果に基づいて冷却液の温度が所定の最高温度以下であるか否かを判定する。冷却液の温度が所定の最高温度を超えている場合、制御部35はアラーム「冷却液の過熱」を発報する。 Before the travel motor 321 and the arm drive unit 344 start operating, the control unit 35 determines whether the temperature of the coolant is below a predetermined maximum temperature based on the detection result of the temperature detection unit of the coolant supply unit 28. If the temperature of the coolant exceeds the predetermined maximum temperature, the control unit 35 issues an alarm "coolant overheating."

作業者が操作部24の操作キー241、電源キー242、又はリセットキー243を操作した場合、操作部24は操作キー241、電源キー242、又はリセットキー243に対応する信号を制御装置4に与える。 When the operator operates the operation key 241, the power key 242, or the reset key 243 of the operation unit 24, the operation unit 24 sends a signal corresponding to the operation key 241, the power key 242, or the reset key 243 to the control device 4.

作業者が操作部24を用いて入力した指令がワーク5の搬入出に必要な指令である場合、制御装置4はワーク5の搬入出に必要な指令を搬送装置3に与える。
搬送装置3の制御部35は、制御装置4を介して受けた指令の当否を判定する。妥当な指令ではない場合、受けた指令に従うことはできないので、制御部35はアラーム「不当な指令」を発報する。
When the command input by the operator using the operation unit 24 is a command required for loading and unloading the workpiece 5 , the control device 4 gives the command required for loading and unloading the workpiece 5 to the transport device 3 .
The control unit 35 of the conveying device 3 judges whether the command received via the control device 4 is valid. If the command is invalid, the control unit 35 issues an alarm "invalid command" since the received command cannot be followed.

走行モータ321又はアーム駆動部344の作動中に給電部41からの給電が停止した場合、作動中の走行モータ321又はアーム駆動部344は停止する。給電部41からの給電が停止したことが原因で作動中の走行モータ321又はアーム駆動部344が停止した場合、制御部35はアラーム「給電停止」を発報する。 If power supply from the power supply unit 41 is stopped while the traveling motor 321 or the arm drive unit 344 is operating, the traveling motor 321 or the arm drive unit 344 that is operating will stop. If the traveling motor 321 or the arm drive unit 344 that is operating stops due to the stop of power supply from the power supply unit 41, the control unit 35 will issue an alarm "power supply stopped."

図5は、ID記憶部371が記憶しているデータの一例を示す模式図である。
ID記憶部371には、アラームの名称とアラームを識別する識別情報(以下、アラームIDという)とアラームの解除条件(後述)とが互いに関連付けて記憶してある。例えば、アラームの名称「正面扉又は安全柵の開放」にアラームID「A01」とアラームの解除条件「リセット」とが関連付けてある。また、アラームの名称「冷却液の過熱」にアラームID「A02」とアラームの解除条件「電源オフ」とが関連付けてある。
FIG. 5 is a schematic diagram showing an example of data stored in the ID storage unit 371. As shown in FIG.
The ID storage unit 371 stores the name of an alarm, identification information for identifying the alarm (hereinafter referred to as an alarm ID), and the alarm release condition (described later) in association with each other. For example, the alarm name "front door or safety fence open" is associated with the alarm ID "A01" and the alarm release condition "reset." Also, the alarm name "coolant overheat" is associated with the alarm ID "A02" and the alarm release condition "power off."

図6は、搬送装置3で実行するアラーム発報処理の手順を示すフローチャートである。
正面扉222又は安全柵13の開放、冷却液の過熱、不当な指令、及び給電部41からの給電の停止の内、少なくとも一つの異常が生じた場合、制御部35は実行中の処理を中断又は中止してから、アラーム発報処理を実行する。
制御部35はID記憶部371を参照することにより、生じた異常に対応するアラームIDを取得する(S11)。
制御部35は、S11で取得したアラームIDを制御装置4に出力する(S12)。
FIG. 6 is a flowchart showing the procedure of an alarm issuing process executed by the transport device 3.
If at least one of the following abnormalities occurs: the front door 222 or the safety fence 13 is opened, the coolant overheats, an improper command is received, or power supply from the power supply unit 41 is stopped, the control unit 35 interrupts or cancels the ongoing process and then executes an alarm issuance process.
The control unit 35 refers to the ID storage unit 371 to obtain an alarm ID corresponding to the abnormality that has occurred (S11).
The control unit 35 outputs the alarm ID acquired in S11 to the control device 4 (S12).

従来、搬送装置3が発報したアラームのアラームIDを、工作機械2の表示部23が表示することがある。本実施の形態における表示部23は、後述するように、アラームIDと共に、アラームの解除に資するアラーム情報も表示する。アラーム情報はアラームの原因及びアラームの解除方法を含む。
作業者は表示部23が表示したアラームの原因及びアラームの解消方法を見て、異常を解消するための作業を行なうことにより、アラームの解除条件を満たす。本実施の形態では、アラームの解除条件として、解除条件「電源オフ」、解除条件「リセット」、及び解除条件「キー操作」を例示する。
Conventionally, the display unit 23 of the machine tool 2 may display the alarm ID of an alarm issued by the transport device 3. In this embodiment, the display unit 23 displays alarm information useful for resetting the alarm together with the alarm ID, as described below. The alarm information includes the cause of the alarm and a method for resetting the alarm.
The operator looks at the cause of the alarm and the method of resolving the alarm displayed on the display unit 23, and performs the work to resolve the abnormality, thereby satisfying the alarm cancellation conditions. In this embodiment, the cancellation conditions for the alarm are exemplified by the cancellation condition "power off", the cancellation condition "reset", and the cancellation condition "key operation".

S12の処理終了後、制御部35は、S11で取得したアラームIDに関連付けてID記憶部371が記憶しているアラームの解除条件を取得し(S13)、作業者がアラームの解除条件を満たしたか否かを判定する(S14)。作業者がアラームの解除条件を満たしていない場合(S14でNO)、制御部35は処理をS14へ戻す。 After the process of S12 is completed, the control unit 35 acquires the alarm cancellation conditions stored in the ID storage unit 371 in association with the alarm ID acquired in S11 (S13), and determines whether the worker has satisfied the alarm cancellation conditions (S14). If the worker has not satisfied the alarm cancellation conditions (NO in S14), the control unit 35 returns the process to S14.

制御部35は、電源キー242の操作により工作システム1の電源がオフになった後で再びオンになった場合に解除条件「電源オフ」を満たしたと判定する。解除条件「電源オフ」を満たした場合、制御部35は解除条件「リセット」及び解除条件「キー操作」も満たしたと判定する。
制御部35は、解除条件「電源オフ」操作により工作システム1のリセットが行なわれた場合に解除条件「リセット」を満たしたと判定する。解除条件「リセット」を満たした場合、制御部35は解除条件「キー操作」も満たしたと判定する。
制御部35は、作業者が所定の操作キー241を操作した場合に解除条件「キー操作」を満たしたと判定する。作業者が所定の操作キー241を操作したことは、操作部24から制御装置4を介して搬送装置3に伝わる。
The control unit 35 determines that the release condition "power off" is satisfied when the power of the machining system 1 is turned off and then turned on again by operating the power key 242. When the release condition "power off" is satisfied, the control unit 35 determines that the release condition "reset" and the release condition "key operation" are also satisfied.
The control unit 35 determines that the release condition "reset" is satisfied when the machining system 1 is reset by the "power off" operation, which is the release condition of the control unit 35. When the release condition "reset" is satisfied, the control unit 35 determines that the release condition "key operation" is also satisfied.
The control unit 35 determines that the release condition “key operation” is satisfied when the worker operates a predetermined operation key 241. The fact that the worker has operated the predetermined operation key 241 is transmitted from the operation unit 24 to the transport device 3 via the control device 4.

作業者がアラームの解除条件を満たした場合(S14でYES)、制御部35はアラーム発報処理を終了する。アラーム発報処理の終了後、制御部35は、異常の発生時に中断した処理を再開するか、又は新たな処理を開始する。即ち、制御部35はアラームを解除する。 If the operator meets the alarm cancellation conditions (YES in S14), the control unit 35 ends the alarm issuance process. After the alarm issuance process ends, the control unit 35 resumes the process that was interrupted when the abnormality occurred, or starts a new process. In other words, the control unit 35 cancels the alarm.

ただし、作業者がアラームの解除条件を満たしたとしても、アラームの原因である異常が残っていれば、制御部35は異常が生じたと判定してアラーム発報処理を再び実行する。故に、作業者がアラームの解除条件を満たしただけ(例えば開いている正面扉222を閉めずにリセットキー243を操作しただけ)ではアラームの解除は成立しない。 However, even if the operator meets the alarm cancellation conditions, if the abnormality causing the alarm remains, the control unit 35 determines that an abnormality has occurred and executes the alarm issuing process again. Therefore, the alarm is not cancelled just because the operator meets the alarm cancellation conditions (for example, just operating the reset key 243 without closing the open front door 222).

なお、ID記憶部371が記憶するデータは、アラームの名称、アラームID、及びアラームの解除条件に限定されない。例えばID記憶部371はアラームIDに関連付けてアラームの優先度を記憶してもよい。複数のアラームを同時的に発報する場合、S12の処理における制御部35は優先度が高いアラームのアラームIDから順に制御装置4に出力する。 The data stored in the ID storage unit 371 is not limited to the name of the alarm, the alarm ID, and the alarm cancellation conditions. For example, the ID storage unit 371 may store the priority of the alarm in association with the alarm ID. When multiple alarms are issued simultaneously, the control unit 35 in the process of S12 outputs the alarm IDs of the alarms with the highest priority to the control device 4.

図4示す如く制御装置4は制御部42、主記憶部43、補助記憶部44、及び時計部45を備え、これらはバスを介して相互に接続してある。 As shown in FIG. 4, the control device 4 includes a control unit 42, a main memory unit 43, an auxiliary memory unit 44, and a clock unit 45, which are interconnected via a bus.

制御部42はCPU、MPU、GPU等の1又は複数のプロセッサを含む。主記憶部43は揮発性を有し、例えばRAMである。補助記憶部44は不揮発性を有し、例えばROM、フラッシュメモリ、ハードディスク、又はSSDである。補助記憶部44は、工作機械2及び制御装置4夫々の動作を制御するためのコンピュータプログラム4P、並びにコンピュータプログラム4Pの実行に必要な各種のデータを予め記憶している。補助記憶部44の記憶領域の一部は後述する第一記憶部441、第二記憶部442、発報記憶部443、及び履歴記憶部444である。時計部45は現在日時を計時する。 The control unit 42 includes one or more processors such as a CPU, MPU, GPU, etc. The main memory unit 43 is volatile and is, for example, a RAM. The auxiliary memory unit 44 is non-volatile and is, for example, a ROM, flash memory, hard disk, or SSD. The auxiliary memory unit 44 pre-stores a computer program 4P for controlling the operation of the machine tool 2 and the control device 4, as well as various data required for executing the computer program 4P. Part of the memory area of the auxiliary memory unit 44 is a first memory unit 441, a second memory unit 442, an alarm memory unit 443, and a history memory unit 444, which will be described later. The clock unit 45 keeps track of the current date and time.

制御部42は、主記憶部43を作業領域として用い、補助記憶部44が記憶しているコンピュータプログラム4Pに従って、各種の演算処理及び制御処理等を実行する。例えば、制御部42はワーク5の加工時に工作機械2の各部の動作を制御する。また、制御部35は工作システム1(特に工作機械2)にて異常が生じたか否かを判定し、異常が生じた場合、後述するようにしてアラームを発報する。コンピュータプログラム4Pには、本実施の形態のプログラムが含まれている。 The control unit 42 uses the main memory unit 43 as a working area, and executes various calculation processes and control processes, etc., according to the computer program 4P stored in the auxiliary memory unit 44. For example, the control unit 42 controls the operation of each part of the machine tool 2 when machining the workpiece 5. The control unit 35 also determines whether an abnormality has occurred in the machining system 1 (particularly the machine tool 2), and if an abnormality has occurred, issues an alarm as described below. The computer program 4P includes the program of this embodiment.

以下では、アラームを発すべき異常として、正面扉222の開放、側面扉224の開放、エアブレーキ255が用いるエアの低圧、及び冷却液供給部28が用いる冷却液の過熱を例示する。 Below, examples of abnormalities that should trigger an alarm include the opening of the front door 222, the opening of the side door 224, low air pressure used by the air brake 255, and overheating of the coolant used by the coolant supply unit 28.

制御部42は扉開閉検出部225の検出結果に基づいて正面扉222の開閉を判定し、扉開閉検出部226の検出結果に基づいて側面扉224の開閉を判定する。制御部42は、正面扉222及び側面扉224が閉まっている場合に給電部41をオンにする。給電部41がオンであり、且つ正面扉222が開いた場合、制御部42は給電部41をオフにしてアラーム「正面扉の開放」を発報する。給電部41がオンであり、且つ側面扉224が開いた場合、制御部42は給電部41をオフにしてアラーム「側面扉の開放」を発報する。 The control unit 42 determines whether the front door 222 is open or closed based on the detection result of the door open/close detection unit 225, and determines whether the side door 224 is open or closed based on the detection result of the door open/close detection unit 226. The control unit 42 turns on the power supply unit 41 when the front door 222 and the side door 224 are closed. When the power supply unit 41 is on and the front door 222 is open, the control unit 42 turns off the power supply unit 41 and issues an alarm "front door open". When the power supply unit 41 is on and the side door 224 is open, the control unit 42 turns off the power supply unit 41 and issues an alarm "side door open".

制御部42はエアブレーキ255が有する圧力検出部の検出結果に基づいてエアの圧力が所定の最低圧力以上であるか否かを判定する。給電部41がオンであり、且つエアの圧力が所定の最低圧力を下回っている場合、制御部42は給電部41をオフにしてアラーム「エア低下」を発報する。
制御部42は冷却液供給部28が有する温度検出部の検出結果に基づいて冷却液の温度が所定の最高温度以下である否かを判定する。給電部41がオンであり、且つ冷却液の温度が所定の最高温度を超えている場合、制御部42は給電部41をオフにしてアラーム「冷却液の過熱」を発報する。
The control unit 42 determines whether or not the air pressure is equal to or higher than a predetermined minimum pressure based on the detection result of a pressure detection unit provided in the air brake 255. When the power supply unit 41 is on and the air pressure is below the predetermined minimum pressure, the control unit 42 turns off the power supply unit 41 and issues an alarm "low air pressure."
The control unit 42 determines whether the temperature of the coolant is equal to or lower than a predetermined maximum temperature based on the detection result of the temperature detection unit included in the coolant supply unit 28. When the power supply unit 41 is on and the temperature of the coolant exceeds the predetermined maximum temperature, the control unit 42 turns off the power supply unit 41 and issues an alarm "coolant overheating."

図7は、第一記憶部441が記憶しているデータの一例を示す模式図である。第一記憶部441に、搬送装置3が発報するアラームの名称とアラームIDとアラームの優先度とアラームの解除条件とが互いに関連付けて記憶してある。更に、第一記憶部441には、アラームIDに関連付けて、アラームの原因とアラームの解除方法とアラームの属性(後述)を示す情報とを記憶してある。本実施の形態では、搬送装置3が発報するアラームは搬送装置3に関するアラームである。第一記憶部441に記憶してあるアラームの原因及びアラームの解消方法は、搬送装置3が発報するアラームの解除に資する第一のアラーム情報である。なお、第一のアラーム情報はアラームの原因のみ、又はアラームの解消方法のみでもよいし、他の情報でもよい。 Figure 7 is a schematic diagram showing an example of data stored in the first memory unit 441. The first memory unit 441 stores the name of the alarm issued by the transport device 3, the alarm ID, the priority of the alarm, and the alarm cancellation conditions, which are associated with each other. Furthermore, the first memory unit 441 stores information indicating the cause of the alarm, the method of canceling the alarm, and the attributes of the alarm (described later), which are associated with the alarm ID. In this embodiment, the alarm issued by the transport device 3 is an alarm related to the transport device 3. The cause of the alarm and the method of resolving the alarm stored in the first memory unit 441 are first alarm information that contributes to the cancellation of the alarm issued by the transport device 3. Note that the first alarm information may be only the cause of the alarm, or only the method of resolving the alarm, or may be other information.

例えば、アラームの名称「正面扉又は安全柵の開放」とアラームID「A01」とアラームの優先度「5」とアラームの解除条件「リセット」とが互いに関連付けて記憶してある。更に、これらに関連付けてアラームの原因「正面扉又は安全柵が開いています」とアラームの解除方法「正面扉又は安全柵を閉めてからリセットしてください」と属性「正面扉」とが記憶してある。また、アラームの名称「冷却液の過熱」とアラームID「A02」とアラームの優先度「4」とアラームの解除条件「電源オフ」とが互いに関連付けて記憶してある。更に、これらに関連付けてアラームの原因「冷却液の温度が上がりすぎています」とアラームの解除方法「電源をオフにしてから冷却液を交換又は補充してください」と属性「冷却液」とが記憶してある。ここでは、アラームの優先度は、数値が大きいほど高く、高い程工作システムの動作に与える影響が高い。 For example, the alarm name "Front door or safety fence open", alarm ID "A01", alarm priority "5", and alarm release condition "reset" are stored in association with each other. Furthermore, the alarm cause "Front door or safety fence is open", the alarm release method "Close the front door or safety fence before resetting", and the attribute "front door" are stored in association with these. Also, the alarm name "coolant overheating", alarm ID "A02", alarm priority "4", and alarm release condition "power off" are stored in association with each other. Furthermore, the alarm cause "coolant temperature is too high", the alarm release method "Turn off the power and then replace or refill the coolant", and the attribute "coolant" are stored in association with these. Here, the higher the alarm priority, the higher the value, and the higher the priority, the greater the impact on the operation of the machining system.

図8は、第二記憶部442が記憶しているデータの一例を示す模式図である。第二記憶部442に、制御装置4が発報するアラームの名称とアラームIDとアラームの優先度とアラームの解除条件とが互いに関連付けて記憶してある。更に、第二記憶部442には、アラームIDに関連付けて、アラームの原因とアラームの原因であるアラームの解除方法とアラームの属性(後述)を示す情報とを記憶してある。本実施の形態では、制御装置4が発報するアラームは工作機械2に関するアラームである。第二記憶部442に記憶してあるアラームの原因及びアラームの解消方法は、制御装置4が発報するアラームの解除に資する第二のアラーム情報である。なお、第二のアラーム情報はアラームの原因のみ、又はアラームの解消方法のみでもよいし、他の情報でもよい。 Figure 8 is a schematic diagram showing an example of data stored in the second memory unit 442. The second memory unit 442 stores the name of the alarm issued by the control device 4, the alarm ID, the priority of the alarm, and the alarm cancellation conditions, which are associated with each other. Furthermore, the second memory unit 442 stores information indicating the cause of the alarm, the method of canceling the alarm that is the cause of the alarm, and the attributes of the alarm (described later), which are associated with the alarm ID. In this embodiment, the alarm issued by the control device 4 is an alarm related to the machine tool 2. The cause of the alarm and the method of resolving the alarm stored in the second memory unit 442 are second alarm information that contributes to the cancellation of the alarm issued by the control device 4. Note that the second alarm information may be only the cause of the alarm, or only the method of resolving the alarm, or may be other information.

例えば、アラームの名称「正面扉の開放」とアラームID「B01」とアラームの優先度「5」とアラームの解除条件「リセット」とが互いに関連付けて記憶してある。更に、これらに関連付けてアラームの原因「正面扉が開いています」とアラームの解除方法「正面扉を閉めてからリセットしてください」と属性「正面扉」とが記憶してある。また、アラームの名称「側面扉の開放」とアラームID「B02」とアラームの優先度「5」とアラームの解除条件「電源オフ」とが互いに関連付けて記憶してある。更に、これらに関連付けてアラームの原因「側面扉が開いています」とアラームの解除方法「電源をオフにしてから側面扉の開閉機構を点検してください」と属性「側面扉」とが記憶してある。 For example, the alarm name "front door open", alarm ID "B01", alarm priority "5", and alarm release condition "reset" are stored in association with each other. Furthermore, the alarm cause "front door is open", alarm release method "close the front door and then reset", and attribute "front door" are stored in association with these. Also, the alarm name "side door open", alarm ID "B02", alarm priority "5", and alarm release condition "power off" are stored in association with each other. Furthermore, the alarm cause "side door open", alarm release method "turn off the power and then check the side door opening and closing mechanism", and attribute "side door" are stored in association with these.

アラームIDには、搬送装置3が発報したアラームのアラームIDであるか、制御装置4が発報したアラームのアラームIDであるかを判別するための情報が含まれている。 The alarm ID contains information to determine whether the alarm ID is for an alarm issued by the transport device 3 or the control device 4.

図9は、発報記憶部443が記憶しているデータの一例を示す模式図である。制御部42は、アラームIDに関連付けてアラームの日時と優先度と解除条件と現状を示す情報とを関連付けて発報記憶部443に書き込む。 Figure 9 is a schematic diagram showing an example of data stored in the alarm storage unit 443. The control unit 42 associates the alarm date and time, priority, release conditions, and information indicating the current state with the alarm ID, and writes them to the alarm storage unit 443.

ここで、アラームの日時は、工作システム1にて異常が生じたと制御部42が判定した時点で、時計部45が計時した現在日時である。又は、アラームの日時は、搬送装置3からアラームIDを受け付けた時点で時計部45が計時した現在日時である。アラームの優先度は、アラームIDに関連付けて第一記憶部441又は第二記憶部442に記憶してある優先度である。ただし、後述するようにして制御部42が優先度を調整することがある。アラームの現状とは、アラーム情報を表示済みか未表示であるかを意味する。 The date and time of the alarm is the current date and time measured by the clock unit 45 at the time when the control unit 42 determines that an abnormality has occurred in the machining system 1. Alternatively, the date and time of the alarm is the current date and time measured by the clock unit 45 at the time when the alarm ID is received from the transport device 3. The priority of the alarm is the priority stored in the first memory unit 441 or the second memory unit 442 in association with the alarm ID. However, the control unit 42 may adjust the priority as described below. The current state of the alarm means whether the alarm information has been displayed or not.

例えば、発報記憶部443においては、アラームID「B01」に関連付けてアラームの日時「3月2日10時0分」と優先度「5」と現状「表示済み」と解除条件「リセット」とが記憶してある。また、アラームID「A01」に関連付けてアラームの日時「3月2日10時0分」と優先度「5→1」と現状「未表示」と解除条件「リセット」とが記憶してある。ここで、優先度「5→1」とは優先度「5」が優先度「1」に調整してあることを表わす。 For example, in the alarm memory unit 443, the alarm date and time "March 2nd, 10:00", priority "5", current status "already displayed", and release condition "reset" are stored in association with alarm ID "B01". Also, the alarm date and time "March 2nd, 10:00", priority "5→1", current status "not displayed", and release condition "reset" are stored in association with alarm ID "A01". Here, priority "5→1" indicates that priority "5" has been adjusted to priority "1".

図10は、履歴記憶部444が記憶しているデータの一例を示す模式図である。作業者は、操作部24を操作することにより、アラームの履歴を残すか否かを示す履歴要否情報を制御装置4に与える。履歴要否情報は補助記憶部44が記憶する。なお、補助記憶部44はデフォルトの履歴要否情報を記憶していてもよい。履歴要否情報がアラームの履歴を残すことを示している場合、制御部42は、アラームIDとアラームの日時とを互いに関連付けて履歴記憶部444に書き込む(後述する図12のS36参照)。 Figure 10 is a schematic diagram showing an example of data stored in the history storage unit 444. The worker operates the operation unit 24 to provide the control device 4 with history necessity information indicating whether or not to keep a history of the alarm. The history necessity information is stored in the auxiliary storage unit 44. Note that the auxiliary storage unit 44 may store default history necessity information. If the history necessity information indicates that the alarm history should be kept, the control unit 42 writes the alarm ID and the date and time of the alarm in association with each other in the history storage unit 444 (see S36 in Figure 12 described later).

なお、作業者は全てのアラームに共通の履歴要否情報を入力してもよく、アラーム毎に履歴要否情報を入力してもよく、搬送装置3が発報するアラーム及び制御装置4が発報するアラーム夫々に対して別個の履歴要否情報を入力してもよい。 The operator may input history necessity information common to all alarms, may input history necessity information for each alarm, or may input separate history necessity information for each alarm issued by the conveying device 3 and the control device 4.

履歴記憶部444は、発報記憶部443が記憶したアラームIDとアラームの日時とを互いに関連づけて記憶する。履歴記憶部444が記憶したアラームIDに基づいて第一記憶部441及び第二記憶部442を検索することにより、アラームの名称及びアラーム情報等を得ることができる。履歴記憶部444が記憶したアラームの日時に基づいてソートすることにより、アラームを発報順に並べることができる。 The history memory unit 444 stores the alarm ID and the date and time of the alarm stored in the alarm activation memory unit 443 in association with each other. By searching the first memory unit 441 and the second memory unit 442 based on the alarm ID stored in the history memory unit 444, the name of the alarm, alarm information, etc. can be obtained. By sorting based on the date and time of the alarm stored in the history memory unit 444, the alarms can be arranged in the order in which they were activated.

例えば、アラームID「B01」に関連付けてアラームの日時「3月2日10時0分」が記憶してあり、アラームID「A01」に関連付けてアラームの日時「3月2日10時1分」が記憶してある。アラームID「A01」及びアラームID「B01」に基づいて第一記憶部441及び第二記憶部442を検索することにより、搬送装置3がアラーム「正面扉又は安全柵の開放」を発報し、制御装置4がアラーム「正面扉の開放」を発報したことが分かる。アラーム「正面扉の開放」の日時とアラーム「正面扉又は安全柵の開放」の日時とがほぼ同じなので、3月2日10時0分頃に正面扉222が開という異常が発生したことが分かる。 For example, the alarm date and time "March 2nd, 10:00" is stored in association with alarm ID "B01", and the alarm date and time "March 2nd, 10:01" is stored in association with alarm ID "A01". By searching the first memory unit 441 and the second memory unit 442 based on alarm ID "A01" and alarm ID "B01", it is found that the conveying device 3 issued an alarm "Front door or safety fence open" and that the control device 4 issued an alarm "Front door open". Because the date and time of the alarm "Front door open" and the date and time of the alarm "Front door or safety fence open" are almost the same, it is found that an abnormality occurred at around March 2nd, 10:00, when the front door 222 was open.

履歴記憶部444は、アラームID「A01」に関連付けてアラームの日時「3月1日13時31分」を記憶している。これは、制御装置4がアラーム「正面扉の開放」を発報せず、搬送装置3がアラーム「正面扉又は安全柵の開放」を発報したことを意味する。ここから、3月1日13時31分頃に安全柵13が開くという異常が発生したことが分かる。 The history storage unit 444 stores the date and time of the alarm, "March 1st, 13:31", in association with the alarm ID "A01". This means that the control device 4 did not issue an alarm "front door open", but the transport device 3 issued an alarm "front door or safety fence open". From this, it can be seen that an abnormality occurred, with the safety fence 13 opening, at around 13:31 on March 1st.

通常、制御装置4が備える補助記憶部44の記憶容量は、搬送装置3が備える補助記憶部37の記憶容量より大きいので、制御装置4が履歴記憶部444を備えることは合理的である。図10に示す履歴記憶部444は搬送装置3が発報したアラームのデータ及び制御装置4が発報したアラームのデータを両方記憶しているが、搬送装置3用の履歴記憶部と制御装置4用の履歴記憶部とが分かれていてもよい。 Normally, the storage capacity of the auxiliary storage unit 44 of the control device 4 is larger than the storage capacity of the auxiliary storage unit 37 of the transport device 3, so it is reasonable for the control device 4 to have a history storage unit 444. The history storage unit 444 shown in FIG. 10 stores both the data of alarms issued by the transport device 3 and the data of alarms issued by the control device 4, but the history storage unit for the transport device 3 and the history storage unit for the control device 4 may be separate.

履歴記憶部444はアラームIDに関連付けて、アラームの日時のみならずアラームに関する各種のデータを記憶してもよい。アラームに関するデータは、例えば異常発生時に制御部35が実行していたプログラムの実行行、又はアーム34が停止した位置の座標である。この場合、搬送装置3がアラームIDと共にアラームに関するデータを制御装置4に出力する。なお、搬送装置3又は制御装置4とシステム外部の通信装置との間で信号の入出力を行なう場合、アラームに関するデータは、異常発生時の信号の入出力状況でもよい。 The history storage unit 444 may store not only the date and time of the alarm but also various data related to the alarm in association with the alarm ID. The data related to the alarm is, for example, the line of execution of the program that the control unit 35 was executing when the abnormality occurred, or the coordinates of the position where the arm 34 stopped. In this case, the conveying device 3 outputs the data related to the alarm along with the alarm ID to the control device 4. Note that when signals are input/output between the conveying device 3 or the control device 4 and a communication device external to the system, the data related to the alarm may be the signal input/output status when the abnormality occurred.

図11は、制御装置4で実行する第一の発報記憶処理の手順を示すフローチャートである。正面扉222の開放、側面扉224の開放、エアブレーキ255が用いるエアの低圧、及び冷却液供給部28が用いる冷却液の過熱の内、少なくとも一つの異常が生じた場合、制御部42は実行中の処理を中断又は中止してから、第一の発報記憶処理を実行する。
制御部42は異常が生じた日時を時計部45から取得する(S21)。制御部42は第二記憶部442を参照することにより、生じた異常に対応するアラームID、アラームの優先度、及びアラームの解除条件を取得する(S22)。
11 is a flowchart showing the procedure of the first alarm storage process executed by the control device 4. When at least one of the following abnormalities occurs: the front door 222 is open, the side door 224 is open, the air pressure used by the air brake 255 is low, and the coolant used by the coolant supply unit 28 is overheated, the control unit 42 interrupts or stops the process being executed, and then executes the first alarm storage process.
The control unit 42 acquires the date and time when the abnormality occurred from the clock unit 45 (S21). The control unit 42 acquires an alarm ID corresponding to the abnormality that occurred, the priority of the alarm, and a condition for canceling the alarm by referring to the second storage unit 442 (S22).

制御部42は、S21で取得した日時とS22で取得したアラームID、アラームの優先度、アラームの解除条件とアラームの現状「未表示」とを関連付けて発報記憶部443に書き込み(S23)、第一の発報記憶処理を終了する。 The control unit 42 associates the date and time obtained in S21 with the alarm ID, alarm priority, alarm cancellation conditions, and the current alarm status of "not displayed" obtained in S22, and writes them to the alarm storage unit 443 (S23), and ends the first alarm storage process.

図12は、制御装置4で実行する第二の発報記憶処理の手順を示すフローチャートである。制御部42は、搬送装置3からのアラームIDの入力があった場合に第二の発報記憶処理を実行する。制御部42は搬送装置3が出力したアラームIDを受け付ける(S31)。S31における制御部42は、本実施の形態における受付部として機能する。制御部42はS31でアラームIDを受け付けた日時を時計部45から取得する(S32)。 Figure 12 is a flowchart showing the procedure of the second alarm storage process executed by the control device 4. The control unit 42 executes the second alarm storage process when an alarm ID is input from the transport device 3. The control unit 42 accepts the alarm ID output by the transport device 3 (S31). The control unit 42 in S31 functions as a reception unit in this embodiment. The control unit 42 obtains the date and time when the alarm ID was accepted in S31 from the clock unit 45 (S32).

制御部42はS31で受け付けたアラームIDに基づいて第一記憶部441を検索する(S33)。制御部42は、S31で受け付けたアラームIDを第一記憶部441が記憶しているか否かを判定し(S34)、記憶してある場合(S34でYES)、アラームIDに関連付けられたアラームの優先度及び解除条件を取得する(S35)。 The control unit 42 searches the first memory unit 441 based on the alarm ID received in S31 (S33). The control unit 42 determines whether the alarm ID received in S31 is stored in the first memory unit 441 (S34), and if it is stored (YES in S34), obtains the priority and cancellation conditions of the alarm associated with the alarm ID (S35).

制御部42は、S31で受け付けたアラームIDとS32で取得した日時とS35で取得したアラームの優先度及び解除条件とアラームの現状「未表示」とを関連付けて発報記憶部443に書き込み(S36)、第二の発報記憶処理を終了する。 The control unit 42 associates the alarm ID received in S31, the date and time obtained in S32, the alarm priority and release conditions obtained in S35, and the current alarm status of "not displayed" and writes them to the alarm storage unit 443 (S36), and ends the second alarm storage process.

例えば搬送装置3がグレードアップしたのに第一記憶部441の記憶内容が未更新の場合、S31で受け付けたアラームIDを第一記憶部441が記憶していないという不都合が生じる。S31で受け付けたアラームIDを第一記憶部441が記憶していない場合(S34でNO)、制御部42はアラームの優先度及び解除条件を所定の優先度及び解除条件として(S37)、処理をS36に移す。この場合、S36における制御部42は、S31で受け付けたアラームIDとS32で取得した日時と所定の優先度及び解除条件とアラームの現状「未表示」とを関連付けて発報記憶部443に書き込む。 For example, if the transport device 3 has been upgraded but the contents stored in the first memory unit 441 have not been updated, the first memory unit 441 may not store the alarm ID received in S31. If the first memory unit 441 does not store the alarm ID received in S31 (NO in S34), the control unit 42 sets the alarm priority and release condition to a predetermined priority and release condition (S37) and moves the process to S36. In this case, the control unit 42 in S36 writes the alarm ID received in S31, the date and time acquired in S32, the predetermined priority and release condition, and the current alarm status of "not displayed" in association with each other in the alarm generation memory unit 443.

ここで、所定の優先度は例えば最低の優先度「1」、所定の解除条件は最も緩い解除条件「キー操作」であり、第一記憶部441に記憶してある(図7参照)。S37の処理終了後、制御部42がS36の処理を行なうことにより、例えば図9に示す如く、発報記憶部443はアラームID「C99」に関連付けてアラームの日時「3月2日10時2分」と優先度「1」と解除条件「キー操作」と現状「未表示」とを記憶する。 Here, the predetermined priority is, for example, the lowest priority "1", the predetermined release condition is the loosest release condition "key operation", and these are stored in the first memory unit 441 (see FIG. 7). After the process of S37 is completed, the control unit 42 performs the process of S36, and as shown in FIG. 9, for example, the alarm memory unit 443 stores the alarm date and time "March 2nd, 10:02", the priority "1", the release condition "key operation", and the current state "not displayed" in association with the alarm ID "C99".

図13は、制御装置4で実行する優先度調整処理の手順を示すフローチャートである。
図10に示す第一の発報記憶処理又は図11に示す第二の発報記憶処理を終了した場合、制御部42は優先度調整処理を実行する。制御部42は発報記憶部443に複数のアラームIDが記憶してあるか否かを判定する(S41)。発報記憶部443に記憶してあるアラームIDが一つである場合(S41でNO)、制御部42は優先度調整処理を終了する。
FIG. 13 is a flowchart showing the procedure of the priority adjustment process executed by the control device 4.
When the first alarm storage process shown in Fig. 10 or the second alarm storage process shown in Fig. 11 is completed, the control unit 42 executes a priority adjustment process. The control unit 42 judges whether or not a plurality of alarm IDs are stored in the alarm storage unit 443 (S41). When there is only one alarm ID stored in the alarm storage unit 443 (NO in S41), the control unit 42 ends the priority adjustment process.

発報記憶部443に複数のアラームIDが記憶してある場合(S41でYES)、制御部42は、各アラームIDに基づき、搬送装置3に関するアラームIDと制御装置4に関するアラームIDとが混在しているか否かを判定する(S42)。搬送装置3が発報したアラームのアラームIDのみ、又は制御装置4が発報したアラームのアラームIDのみが発報記憶部443に記憶してある場合(S42でNO)、制御部42は優先度調整処理を終了する。 When multiple alarm IDs are stored in the alarm memory unit 443 (YES in S41), the control unit 42 determines whether or not an alarm ID related to the transport device 3 and an alarm ID related to the control device 4 are mixed based on each alarm ID (S42). When only the alarm ID of the alarm issued by the transport device 3 or only the alarm ID of the alarm issued by the control device 4 is stored in the alarm memory unit 443 (NO in S42), the control unit 42 ends the priority adjustment process.

搬送装置3が発報したアラームのアラームIDと制御装置4が発報したアラームのアラームIDとが混在している場合(S42でYES)、制御部42は、搬送装置3が発報したアラームの優先度を調整し(S43)、優先度調整処理を終了する。 If the alarm ID of the alarm issued by the transport device 3 and the alarm ID of the alarm issued by the control device 4 are mixed (YES in S42), the control unit 42 adjusts the priority of the alarm issued by the transport device 3 (S43) and ends the priority adjustment process.

ここで、S43の処理について具体的に説明する。
搬送装置3は工作機械2の従属的な装置なので、搬送装置3が発報したアラームよりも制御装置4が発報したアラームを優先することが望ましい。最も単純なS43の処理は、搬送装置3が発報したアラームの優先度を一律に最低の優先度に変更することである。
Here, the process of S43 will be specifically described.
Since the transport device 3 is a device subordinate to the machine tool 2, it is desirable to give priority to an alarm issued by the control device 4 over an alarm issued by the transport device 3. The simplest process of S43 is to change the priority of alarms issued by the transport device 3 to the lowest priority across the board.

本実施の形態においては、S43の処理のために、第一記憶部441及び第二記憶部442夫々が記憶している各アラームIDに、アラームの属性を示す情報を関連付けてある。例えば第一記憶部441のアラーム「正面扉又は安全柵の開放」にも第二記憶部442のアラーム「正面扉の開放」にも属性「正面扉」が関連付けてある。 In this embodiment, for the processing of S43, information indicating the attributes of the alarm is associated with each alarm ID stored in the first memory unit 441 and the second memory unit 442. For example, the attribute "front door" is associated with both the alarm "front door or safety fence open" in the first memory unit 441 and the alarm "front door open" in the second memory unit 442.

発報記憶部443にアラーム「正面扉又は安全柵の開放」のアラームIDもアラーム「正面扉の開放」のアラームIDも記憶してある場合、アラーム「正面扉又は安全柵の開放」の原因は正面扉222が開いていることである。仮に、表示部23がアラーム「正面扉又は安全柵の開放」を優先的に表示した場合、作業者は正面扉222及び安全柵13を両方確認しなければならない。 If the alarm ID of both the "Front door or safety fence open" alarm and the "Front door open" alarm are stored in the alarm memory unit 443, the cause of the "Front door or safety fence open" alarm is that the front door 222 is open. If the display unit 23 preferentially displays the "Front door or safety fence open" alarm, the worker must check both the front door 222 and the safety fence 13.

一方、表示部23がアラーム「正面扉の開放」を優先的に表示した場合、作業者は正面扉222を確認すればよい。作業者が正面扉222を閉じれば、アラーム「正面扉の開放」の原因もアラーム「正面扉又は安全柵の開放」の原因も解消する。表示部23がアラーム「正面扉又は安全柵の開放」よりもアラーム「正面扉の開放」を優先的に表示することが分かっていれば、表示部23がアラーム「正面扉又は安全柵の開放」を表示した場合、作業者は安全柵13を確認すればよい。 On the other hand, if the display unit 23 gives priority to displaying the alarm "front door open", the worker need only check the front door 222. If the worker closes the front door 222, both the causes of the alarm "front door open" and the alarm "front door or safety fence open" are eliminated. If it is known that the display unit 23 gives priority to displaying the alarm "front door open" over the alarm "front door or safety fence open", then when the display unit 23 gives priority to displaying the alarm "front door or safety fence open", the worker need only check the safety fence 13.

故に、S43における制御部42は、まず、搬送装置3が発報したアラームのアラームIDに関連付けられている属性が、制御装置4が発報したアラームのアラームIDに関連付けられている属性と同じであるか否かを判定する。両者の属性が同じである場合、制御部42は、発報記憶部443において、搬送装置3が発報したアラームのアラームIDに関連付けられている優先度を最低の優先度「1」に変更する。両者の属性が異なる場合、制御部42は、優先度の変更を行なわない。 Therefore, in S43, the control unit 42 first determines whether the attribute associated with the alarm ID of the alarm issued by the transport device 3 is the same as the attribute associated with the alarm ID of the alarm issued by the control device 4. If the two attributes are the same, the control unit 42 changes the priority associated with the alarm ID of the alarm issued by the transport device 3 in the alarm activation memory unit 443 to the lowest priority "1". If the two attributes are different, the control unit 42 does not change the priority.

なお、優先度の変更は、アラームの属性の比較に基づくものに限定されず、元の優先度から優先度「1」への変更に限定されない。図14は、優先度の調整のためのデータテーブルの一例を示す模式図である。図に示すデータテーブルは、例えば補助記憶部44が記憶している。発報記憶部443に搬送装置3に関するアラームID「A01」と制御装置4に関するアラームID「B01」とが記憶してある場合、発報記憶部443において、搬送装置3に関するアラームIDに関連付けられている優先度が減少値「3」だけ減る。同様に、搬送装置3に関するアラームID「A02」と制御装置4に関するアラームID「B04」とが記憶してある場合、優先度が減少値「2」だけ減る。 Note that the change in priority is not limited to being based on a comparison of alarm attributes, and is not limited to changing the original priority to a priority of "1". FIG. 14 is a schematic diagram showing an example of a data table for adjusting priority. The data table shown in the figure is stored, for example, in the auxiliary memory unit 44. When alarm ID "A01" related to the transport device 3 and alarm ID "B01" related to the control device 4 are stored in the alarm storage unit 443, the priority associated with the alarm ID related to the transport device 3 in the alarm storage unit 443 is decreased by a decrease value of "3". Similarly, when alarm ID "A02" related to the transport device 3 and alarm ID "B04" related to the control device 4 are stored, the priority is decreased by a decrease value of "2".

図15~図17は、制御装置4で実行する表示処理の手順を示すフローチャートである。制御部42は、発報記憶部443がアラームIDを記憶している場合に表示処理を実行する。図15に示す如く、制御部42は、発報記憶部443が現状「未表示」のアラームIDを記憶しているか否かを判定する(S51)。発報記憶部443が現状「未表示」のアラームIDを記憶している場合(S51でYES)、制御部42は、現状「未表示」のアラームIDの内、最優先で表示すべきアラームを決定する(S52)。 Figures 15 to 17 are flowcharts showing the procedure of the display process executed by the control device 4. The control unit 42 executes the display process when the alarm memory unit 443 stores an alarm ID. As shown in Figure 15, the control unit 42 determines whether the alarm memory unit 443 stores an alarm ID that is currently "not displayed" (S51). If the alarm memory unit 443 stores an alarm ID that is currently "not displayed" (YES in S51), the control unit 42 determines the alarm that should be displayed with the highest priority among the alarm IDs that are currently "not displayed" (S52).

S52における制御部42は、現状「未表示」のアラームIDが一つであれば、それを最優先で表示すべきアラームとする。現状「未表示」のアラームIDが複数の場合、制御部42は、現状「未表示」のアラームIDに関連付けて発報記憶部443が記憶している日時に基づいて、最新のアラームを決定する。 In S52, if there is one alarm ID that is currently "not displayed", the control unit 42 determines that to be the alarm that should be displayed with the highest priority. If there are multiple alarm IDs that are currently "not displayed", the control unit 42 determines the most recent alarm based on the date and time stored in the alarm storage unit 443 in association with the alarm ID that is currently "not displayed".

制御部42は、S52で決定したアラームのアラームIDに基づいて第一記憶部441及び第二記憶部442を検索することにより、S52で決定したアラームのアラーム情報を取得する(S53)。制御部42は、S52で決定したアラームのアラームIDとS53で取得したアラーム情報とを表示するよう表示部23を制御する(S54)。 The control unit 42 acquires alarm information of the alarm determined in S52 by searching the first memory unit 441 and the second memory unit 442 based on the alarm ID of the alarm determined in S52 (S53). The control unit 42 controls the display unit 23 to display the alarm ID of the alarm determined in S52 and the alarm information acquired in S53 (S54).

S54の処理終了後、制御部42は、最新のアラームを表示してからの経過時間の計時を開始する(S55)。制御部42は、S52で決定したアラームのアラームIDに関連付けて発報記憶部443が記憶している現状「未表示」を「表示済」に変更する(S56)。 After the process of S54 is completed, the control unit 42 starts measuring the time that has elapsed since the most recent alarm was displayed (S55). The control unit 42 changes the current status stored in the alarm storage unit 443 in association with the alarm ID of the alarm determined in S52 from "not displayed" to "displayed" (S56).

制御部42は、最新のアラームを表示してから所定時間が経過したか否かを判定する(S57)。所定時間は、例えば3秒である。最新のアラームを表示してから所定時間が経過した場合(S57でYES)、制御部42は経過時間の計時を終了し(S58)、表示中のアラームID及びアラーム情報を消去するよう表示部23を制御し(S59)、処理をS51へ戻す。 The control unit 42 determines whether a predetermined time has elapsed since the latest alarm was displayed (S57). The predetermined time is, for example, 3 seconds. If the predetermined time has elapsed since the latest alarm was displayed (YES in S57), the control unit 42 ends counting the elapsed time (S58), controls the display unit 23 to erase the displayed alarm ID and alarm information (S59), and returns the process to S51.

最新のアラームを表示してからの経過時間が所定時間に達していない場合(S57でNO)、図16に示す如く、制御部42は、発報記憶部443に記憶してあるアラームの解除条件を作業者が満たしたか否かを判定する(S61)。S61における制御部42の判定は、S14(図6参照)における制御部35の判定と同様である。作業者がアラームの解除条件を満たしていない場合(S61でNO)、制御部42は、処理をS57(図15参照)へ戻す。 If the time that has elapsed since the most recent alarm was displayed has not reached the predetermined time (NO in S57), as shown in FIG. 16, the control unit 42 determines whether the worker has satisfied the alarm cancellation conditions stored in the alarm storage unit 443 (S61). The determination by the control unit 42 in S61 is the same as the determination by the control unit 35 in S14 (see FIG. 6). If the worker has not satisfied the alarm cancellation conditions (NO in S61), the control unit 42 returns the process to S57 (see FIG. 15).

作業者がアラームの解除条件を満たした場合(S61でYES)、制御部42は、履歴要否情報に基づいて、アラーム履歴を記憶するか否かを判定する(S62)。アラーム履歴を記憶する場合(S62でYES)、制御部42は、解除条件を満たしたアラームのアラームID及びアラーム日時を発報記憶部443から読み出して履歴記憶部444に書き込む(S63)。 When the worker satisfies the alarm cancellation condition (YES in S61), the control unit 42 determines whether or not to store the alarm history based on the history necessity information (S62). When storing the alarm history (YES in S62), the control unit 42 reads the alarm ID and alarm date and time of the alarm that satisfied the cancellation condition from the alarm generation storage unit 443 and writes them to the history storage unit 444 (S63).

S63における履歴記憶部444への書き込み後、又はアラーム履歴を記憶しない場合(S62でNO)、制御部42は、解除条件を満たしたアラームのアラームIDに関連付けられたデータを発報記憶部443から削除する(S64)。制御部42は、表示中のアラームID及びアラーム情報を消去するよう表示部23を制御し(S65)、表示処理を終了する。表示処理を終了後、制御部42は適宜のタイミングで再び表示処理を実行する。 After writing to the history storage unit 444 in S63, or if the alarm history is not stored (NO in S62), the control unit 42 deletes the data associated with the alarm ID of the alarm that satisfied the cancellation condition from the alarm generation storage unit 443 (S64). The control unit 42 controls the display unit 23 to erase the alarm ID and alarm information being displayed (S65), and ends the display process. After ending the display process, the control unit 42 executes the display process again at an appropriate timing.

図15に示す如く、発報記憶部443が現状「未表示」のアラームIDを記憶していない場合(S51でNO)、図17に示す如く、制御部42は、現状「表示済」のアラームIDの内、最優先で表示すべきアラームを決定する(S71)。 As shown in FIG. 15, if the alarm memory unit 443 does not store an alarm ID that is currently "not displayed" (NO in S51), as shown in FIG. 17, the control unit 42 determines the alarm that should be displayed with the highest priority from among the alarm IDs that are currently "displayed" (S71).

S71における制御部42は、現状「表示済」のアラームIDが一つであれば、それを最優先で表示すべきアラームとする。現状「表示済」のアラームIDが複数の場合、制御部42は、現状「表示済」のアラームIDに関連付けて発報記憶部443が記憶している優先度に基づいて、最優先で表示すべきアラームを決定する。具体的には、制御部42は、優先度が最も高いものを最優先で表示すべきアラームとする。優先度が最も高いアラームが複数ある場合、制御部42は、優先度が最も高いアラームの内でアラームの日時が最も早いものを最優先で表示すべきアラームとする。 In S71, if there is one alarm ID that is currently "displayed", the control unit 42 determines that as the alarm that should be displayed with the highest priority. If there are multiple alarm IDs that are currently "displayed", the control unit 42 determines the alarm that should be displayed with the highest priority based on the priority stored in the alarm memory unit 443 in association with the currently "displayed" alarm ID. Specifically, the control unit 42 determines the alarm with the highest priority as the alarm that should be displayed with the highest priority. If there are multiple alarms with the highest priority, the control unit 42 determines the alarm with the earliest alarm date and time among the highest priority alarms as the alarm that should be displayed with the highest priority.

制御部42は、S71で決定したアラームのアラームIDに基づいて第一記憶部441及び第二記憶部442を検索することにより、S71で決定したアラームのアラーム情報を取得する(S72)。制御部42は、S71で決定したアラームのアラームIDとS72で取得したアラーム情報とを表示するよう表示部23を制御する(S73)。 The control unit 42 searches the first memory unit 441 and the second memory unit 442 based on the alarm ID of the alarm determined in S71 to obtain alarm information of the alarm determined in S71 (S72). The control unit 42 controls the display unit 23 to display the alarm ID of the alarm determined in S71 and the alarm information obtained in S72 (S73).

S73の処理終了後、制御部42は、発報記憶部443に記憶してあるアラームの解除条件を作業者が満たしたか否かを判定する(S74)。S74における制御部42の判定は、S14(図6参照)における制御部35の判定と同様である。作業者がアラームの解除条件を満たした場合(S74でYES)、制御部42は、処理をS62(図16参照)に移す。 After completing the process of S73, the control unit 42 determines whether the worker has satisfied the alarm cancellation conditions stored in the alarm storage unit 443 (S74). The determination by the control unit 42 in S74 is the same as the determination by the control unit 35 in S14 (see FIG. 6). If the worker has satisfied the alarm cancellation conditions (YES in S74), the control unit 42 moves the process to S62 (see FIG. 16).

作業者がアラームの解除条件を満たしていない場合(S74でNO)、制御部42は、現在実行中の表示処理と並行して図13に示す優先度調整処理をS71の処理終了後に実行したか否かを判定する(S75)。S75の処理は、最優先で表示すべきアラームの決定後に新たなアラームの発報があったか否かを判定する処理である。優先度調整処理を実行していない場合(S75でNO)、制御部42は処理をS74、適宜のタイミングで再びS74の処理を行なう。 If the operator does not satisfy the alarm cancellation conditions (NO in S74), the control unit 42 determines whether or not the priority adjustment process shown in FIG. 13 has been executed after the end of S71 in parallel with the currently executing display process (S75). The process of S75 is a process for determining whether or not a new alarm has been issued after determining the alarm that should be displayed with the highest priority. If the priority adjustment process has not been executed (NO in S75), the control unit 42 returns to the process of S74 and executes the process of S74 again at an appropriate timing.

優先度調整処理を実行した場合(S75でYES)、制御部42は、表示中のアラームID及びアラーム情報を消去するよう表示部23を制御し(S76)、処理をS51(図15参照)へ戻す。この結果、制御部42はS51でYESと判定するので、表示部23が最新のアラームを表示する。 When the priority adjustment process has been executed (YES in S75), the control unit 42 controls the display unit 23 to erase the displayed alarm ID and alarm information (S76), and returns the process to S51 (see FIG. 15). As a result, the control unit 42 determines YES in S51, so that the display unit 23 displays the latest alarm.

S52及びS71における制御部42は、本実施の形態における優先順位決定部として機能する。S54及びS73における制御部42は、本実施の形態における表示制御部として機能する。S62における制御部42は、本実施の形態における判定部として機能する。 The control unit 42 in S52 and S71 functions as a priority determination unit in this embodiment. The control unit 42 in S54 and S73 functions as a display control unit in this embodiment. The control unit 42 in S62 functions as a determination unit in this embodiment.

図18は、表示部23が表示する最新のアラームの一例を示す模式図である。
S54の処理の結果、表示部23は所定の表示領域に最新のアラームのアラームIDとアラームの原因とアラームの解除方法とを表示する。これらに関連付けて、表示部23は最新のアラームであることを示すメッセージを表示することが望ましい。
FIG. 18 is a schematic diagram showing an example of the latest alarm displayed on the display unit 23. As shown in FIG.
As a result of the process of S54, the display unit 23 displays the alarm ID of the latest alarm, the cause of the alarm, and the method of canceling the alarm in a predetermined display area. In association with these, it is preferable that the display unit 23 display a message indicating that this is the latest alarm.

図19は、表示部23が表示する最優先のアラームの一例を示す模式図である。
S73の処理の結果、表示部23は所定の表示領域に最優先のアラームのアラームIDとアラームの原因とアラームの解除方法とを表示する。これらに関連付けて、表示部23は最優先のアラームであることを示すメッセージを表示することが望ましい。
最優先のアラームが最新のアラームと同じである場合、S54の処理の結果として表示部23が表示するアラームとS73の処理の結果として表示部23が表示するアラームとは同じである。
FIG. 19 is a schematic diagram showing an example of a top-priority alarm displayed on the display unit 23. As shown in FIG.
As a result of the process of S73, the display unit 23 displays the alarm ID of the alarm with the highest priority, the cause of the alarm, and the method of canceling the alarm in a predetermined display area. In association with these, the display unit 23 desirably displays a message indicating that the alarm is the alarm with the highest priority.
If the highest priority alarm is the same as the latest alarm, the alarm displayed on the display unit 23 as a result of the process in S54 is the same as the alarm displayed on the display unit 23 as a result of the process in S73.

以上のような工作システム1によれば、作業者は表示部23が表示したアラーム情報を見てアラームを解除する作業を行なう。作業者がアラームIDに基づいて紙マニュアル又は電子マニュアルでアラーム情報を調べる必要がないので、搬送装置3又は制御装置4が発報したアラームのアラーム情報を容易に把握することができる。
表示部23は最新のアラームのアラーム情報を所定時間表示してから最優先のアラームのアラーム情報を表示する。故に、作業者は最新のアラームを把握しつつ、最優先のアラームを優先的に解除することができる。
According to the machining system 1 described above, the worker performs the work of canceling the alarm by looking at the alarm information displayed on the display unit 23. Since the worker does not need to look up the alarm information in the paper manual or electronic manual based on the alarm ID, the worker can easily grasp the alarm information of the alarm issued by the conveying device 3 or the control device 4.
The display unit 23 displays the alarm information of the most recent alarm for a predetermined period of time, and then displays the alarm information of the alarm with the highest priority, so that the operator can preferentially cancel the alarm with the highest priority while understanding the most recent alarm.

図12に示すS34の処理でNOだった場合、第一記憶部441はS52及びS71で決定したアラームのアラームIDを記憶していない。そこで、第一記憶部441は、第一記憶部441が記憶していない全てのアラームID(即ち未登録のアラームID)に関連付けて、所定のメッセージを記憶している。例えば、所定のメッセージはアラームの原因「搬送装置で異常が発生しました」及びアラームの解除方法「アラームIDに基づきマニュアルを参照してください」である。 If the result of the process in S34 shown in FIG. 12 is NO, the first memory unit 441 does not store the alarm ID of the alarm determined in S52 and S71. Therefore, the first memory unit 441 stores a predetermined message in association with all alarm IDs not stored in the first memory unit 441 (i.e., unregistered alarm IDs). For example, the predetermined message is the cause of the alarm "An abnormality has occurred in the transport device" and the method of canceling the alarm "Please refer to the manual based on the alarm ID."

図20は、表示部23が表示する未登録のアラームの一例を示す模式図である。
例えばS54の処理の結果、表示部23は所定の表示領域に最新のアラームとして未登録のアラームIDと所定のメッセージとを表示する。故に、作業者は少なくとも搬送装置3で異常が発生したことを把握することができる。
FIG. 20 is a schematic diagram showing an example of an unregistered alarm displayed on the display unit 23. As shown in FIG.
For example, as a result of the process of S54, the display unit 23 displays an unregistered alarm ID and a predetermined message as the latest alarm in a predetermined display area. Therefore, the operator can at least understand that an abnormality has occurred in the transport device 3.

なお、第一記憶部441は制御装置4が備える構成に限定されず、例えば搬送装置3が備えてもよい。この場合、搬送装置3から制御装置4へのアラームIDの出力後、制御装置4の要求に応じて搬送装置3が制御装置4にアラーム情報を出力する。 The first memory unit 441 is not limited to being provided in the control device 4, and may be provided in the transport device 3, for example. In this case, after the alarm ID is output from the transport device 3 to the control device 4, the transport device 3 outputs alarm information to the control device 4 in response to a request from the control device 4.

最優先のアラームの表示後、表示部23は作業者による操作部24の操作に応じて最優先のアラームの表示を優先順位が低いアラームの表示に切り替えてもよい。
表示部23は同時に複数のアラームを表示してもよい。例えば二つのアラームを同時に表示する場合、表示部23は最新のアラームと最優先のアラームとを表示するか、又は優先順位が1位のアラームと2位のアラームとを表示する。
After displaying the alarm with the highest priority, the display unit 23 may switch the display of the alarm with the highest priority to the display of an alarm with a lower priority in response to an operation of the operation unit 24 by the operator.
The display unit 23 may display multiple alarms simultaneously. For example, when displaying two alarms simultaneously, the display unit 23 displays the latest alarm and the alarm with the highest priority, or displays the alarm with the first priority and the alarm with the second priority.

表示部23は、アラームと同時に作業者へのメッセージを表示してもよい。例えば作業者がアラームの解消のために操作部24を操作している場合に、表示部23は最優先のアラームと作業者が行なった操作部24の操作ミスを報知するメッセージとを表示する。
作業者へのメッセージに優先度が設けてあってもよい。この場合、表示部23は最新又は最優先のアラームと最優先のメッセージとを表示する。制御部42は搬送装置3から作業者へのメッセージの優先度を所定の手順で調整してもよい。
The display unit 23 may display a message to the operator simultaneously with the alarm. For example, when the operator is operating the operation unit 24 to cancel the alarm, the display unit 23 displays the highest priority alarm and a message informing the operator of an operation error of the operation unit 24 made by the operator.
Priority may be set for messages to the worker. In this case, the display unit 23 displays the latest or highest priority alarm and the highest priority message. The control unit 42 may adjust the priority of messages from the transport device 3 to the worker in a predetermined procedure.

履歴記憶部444が記憶したデータは表示部23が表示するか、又は制御装置4からシステム外部のプリンタに送られてプリンタが記録用紙に出力してもよい。
搬送装置3が発報したアラームの履歴は搬送装置3の補助記憶部37が記憶してもよいが、制御装置4の時計部45が計時する時刻と搬送装置3が備える時計部が計時する時刻とが一致していないことがあるので、制御装置4にて一括管理することが望ましい。
The data stored in the history storage unit 444 may be displayed on the display unit 23, or may be sent from the control unit 4 to a printer outside the system and output by the printer onto recording paper.
The history of alarms issued by the conveying device 3 may be stored in the auxiliary memory unit 37 of the conveying device 3, but since the time kept by the clock unit 45 of the control device 4 may not match the time kept by the clock unit provided in the conveying device 3, it is desirable to manage it all at once in the control device 4.

工作システム1が第一記憶部441、第二記憶部442、発報記憶部443、又は履歴記憶部444を備えるデータサーバを備え、制御装置4の制御部42が必要に応じてデータサーバにデータを要求する構成でもよい。 The machining system 1 may be configured to include a data server having a first memory unit 441, a second memory unit 442, an alarm memory unit 443, or a history memory unit 444, and the control unit 42 of the control device 4 may request data from the data server as necessary.

今回開示された実施の形態は、全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲と均等の意味及び特許請求の範囲内での全ての変更が含まれることが意図される。 The embodiments disclosed herein are illustrative in all respects and should not be considered limiting. The scope of the present invention is intended to include not only the above-mentioned meaning, but also the meaning equivalent to the claims and all modifications within the scope of the claims.

1 工作システム
2 工作機械
23 表示部
3 搬送装置
4 制御装置
42 制御部(受付部、表示制御部、優先順位決定部、判定部)
441 第一記憶部
442 第二記憶部
443 発報記憶部
444 履歴記憶部
4P コンピュータプログラム(プログラム)
5 ワーク
REFERENCE SIGNS LIST 1 Machining system 2 Machine tool 23 Display unit 3 Conveyor device 4 Control device 42 Control unit (reception unit, display control unit, priority order determination unit, judgment unit)
441 First storage unit 442 Second storage unit 443 Alarm storage unit 444 History storage unit 4P Computer program (program)
5. Work

Claims (8)

表示部を備える工作機械の動作を制御する制御装置において、
前記工作機械に対してワークの搬入出を行なう搬送装置に関するアラームを識別する識別情報と、前記アラームの解除に資する第一のアラーム情報と、前記アラームの優先度とを関連付けて記憶する第一記憶部と、
前記搬送装置から前記識別情報を受け付ける受付部と、
該受付部が受け付けた前記識別情報に関連付けて前記第一記憶部が記憶している前記第一のアラーム情報を表示するよう前記表示部を制御する表示制御部と
前記工作機械に関するアラームの解除に資する第二のアラーム情報と、前記アラームの優先度とを関連付けて記憶する第二記憶部と、
前記搬送装置に関するアラーム及び前記工作機械に関するアラームの合計が複数である場合、各アラームの優先順位を決定する優先順位決定部と
を備え
該優先順位決定部は、複数の前記アラームに、前記搬送装置に関するアラームと前記工作機械に関するアラームとが含まれており、且つ、所定の条件が成立している場合、前記搬送装置に関するアラームの優先度を前記第二記憶部に記憶してある優先度よりも小さくしてから各アラームの優先順位を決定し、
前記表示制御部は、前記優先順位決定部の決定結果に基づいて、最も優先順位が高いアラームの第一又は第二のアラーム情報を表示するよう前記表示部を制御することを特徴とする制御装置。
A control device for controlling an operation of a machine tool having a display unit,
a first storage unit that stores, in association with each other, identification information for identifying an alarm related to a transport device that loads and unloads a workpiece to and from the machine tool , first alarm information contributing to canceling the alarm, and a priority level of the alarm ;
a reception unit that receives the identification information from the transport device;
a display control unit that controls the display unit to display the first alarm information stored in the first storage unit in association with the identification information received by the receiving unit ;
a second storage unit that stores second alarm information contributing to canceling an alarm related to the machine tool and a priority level of the alarm in association with each other;
a priority order determination unit that determines the priority order of each alarm when there are a plurality of alarms related to the transport device and the machine tool;
Equipped with
when the plurality of alarms include an alarm related to the transport device and an alarm related to the machine tool and a predetermined condition is satisfied, the priority order determination unit sets the priority of the alarm related to the transport device lower than the priority stored in the second storage unit and then determines the priority order of each alarm;
The control device , characterized in that the display control unit controls the display unit to display first or second alarm information of an alarm with the highest priority based on a result of the determination by the priority determination unit .
前記第一記憶部及び前記第二記憶部夫々は、前記アラームの属性を更に関連付けて記憶し、each of the first storage unit and the second storage unit further stores attributes of the alarm in association with each other;
前記所定の条件が成立している場合とは、前記搬送装置に関するアラームの属性と前記工作機械に関するアラームの属性とが同じである場合であることを特徴とする請求項1に記載の制御装置。2. The control device according to claim 1, wherein the predetermined condition is satisfied when an attribute of an alarm related to the transport device is the same as an attribute of an alarm related to the machine tool.
前記搬送装置に関するアラームと前記工作機械に関するアラームとの組合せを示すデータテーブルを記憶する記憶部a storage unit for storing a data table indicating a combination of an alarm related to the transport device and an alarm related to the machine tool;
を更に備え、Further comprising:
前記所定の条件が成立している場合とは、前記搬送装置に関するアラームと前記工作機械に関するアラームとの組合せが前記データテーブルに示されている場合であることを特徴とする請求項1に記載の制御装置。2. The control device according to claim 1, wherein the case where the predetermined condition is satisfied is a case where a combination of an alarm related to the transport device and an alarm related to the machine tool is shown in the data table.
前記搬送装置に関するアラーム及び前記工作機械に関するアラームの合計が複数である場合、前記表示制御部は、最新のアラームの第一又は第二のアラーム情報を所定時間表示した後で、最も優先順位が高いアラームの第一又は第二のアラーム情報を表示するよう前記表示部を制御することを特徴とする請求項1から3の何れか一項に記載の制御装置。 The control device according to any one of claims 1 to 3, characterized in that when there are a total of multiple alarms related to the transport device and alarms related to the machine tool, the display control unit controls the display unit to display first or second alarm information of the latest alarm for a predetermined period of time, and then display first or second alarm information of the alarm with the highest priority. 前記受付部が受け付けた前記識別情報を前記第一記憶部が記憶していない場合、前記表示制御部は所定のメッセージを表示するよう前記表示部を制御することを特徴とする請求項1からの何れか一項に記載の制御装置。 A control device as described in any one of claims 1 to 4, characterized in that when the identification information accepted by the acceptance unit is not stored in the first memory unit, the display control unit controls the display unit to display a predetermined message. 前記搬送装置に関するアラーム履歴を記憶するか否かを判定する判定部と、
該判定部が前記アラーム履歴を記憶すると判定した場合、前記受付部が受け付けた前記識別情報と前記受付部が前記識別情報を受け付けたタイミングを示す情報とを関連付けて記憶する履歴記憶部と
を更に備えることを特徴とする請求項1からの何れか一項に記載の制御装置。
a determination unit that determines whether or not to store an alarm history related to the transport device;
The control device according to any one of claims 1 to 5, further comprising a history memory unit that, when the judgment unit judges that the alarm history should be stored, stores the identification information received by the reception unit in association with information indicating the timing at which the reception unit received the identification information.
表示部を備える工作機械と、
該工作機械の動作を制御する制御装置と、
前記工作機械に対してワークの搬入出を行なう搬送装置と
を有する工作システムにおいて、
前記搬送装置に関するアラームを識別する識別情報と、前記アラームの解除に資する第一のアラーム情報と、前記アラームの優先度とを関連付けて記憶する第一記憶部と、
前記工作機械に関するアラームの解除に資する第二のアラーム情報と、前記アラームの優先度とを関連付けて記憶する第二記憶部と
を有し、
前記制御装置は、
前記搬送装置から前記識別情報を受け付ける受付部と、
該受付部が受け付けた前記識別情報に関連付けて前記第一記憶部が記憶している前記第一のアラーム情報を表示するよう前記表示部を制御する表示制御部と
前記搬送装置に関するアラーム及び前記工作機械に関するアラームの合計が複数である場合、各アラームの優先順位を決定する優先順位決定部と
を備え
該優先順位決定部は、複数の前記アラームに、前記搬送装置に関するアラームと前記工作機械に関するアラームとが含まれており、且つ、所定の条件が成立している場合、前記搬送装置に関するアラームの優先度を前記第二記憶部に記憶してある優先度よりも小さくしてから各アラームの優先順位を決定し、
前記表示制御部は、前記優先順位決定部の決定結果に基づいて、最も優先順位が高いアラームの第一又は第二のアラーム情報を表示するよう前記表示部を制御することを特徴とする工作システム。
A machine tool having a display unit;
A control device for controlling an operation of the machine tool;
A conveying device that carries in and out a workpiece to the machine tool,
a first storage unit that stores identification information for identifying an alarm related to the transport device, first alarm information contributing to canceling the alarm , and a priority level of the alarm in association with each other ;
a second storage unit that stores second alarm information contributing to canceling an alarm related to the machine tool and a priority level of the alarm in association with each other;
having
The control device includes:
a reception unit that receives the identification information from the transport device;
a display control unit that controls the display unit to display the first alarm information stored in the first storage unit in association with the identification information received by the reception unit ;
a priority order determination unit that determines the priority order of each alarm when there are a plurality of alarms related to the transport device and the machine tool;
Equipped with
when the plurality of alarms include an alarm related to the transport device and an alarm related to the machine tool and a predetermined condition is satisfied, the priority order determination unit sets the priority of the alarm related to the transport device lower than the priority stored in the second storage unit and then determines the priority order of each alarm;
The machining system is characterized in that the display control unit controls the display unit to display first or second alarm information of the alarm with the highest priority based on the determination result of the priority determination unit .
工作機械の動作を制御する制御装置で実行可能なプログラムであって、
前記工作機械に対してワークの搬入出を行なう搬送装置から、該搬送装置に関するアラームを識別する識別情報を受け付け、
前記識別情報と前記アラームの解除に資する第一のアラーム情報と前記アラームの優先度とを関連付けて記憶する第一記憶部から、受け付けた前記識別情報に対応する前記第一のアラーム情報を取得し、
取得した前記第一のアラーム情報を表示し、
前記工作機械に関するアラームを発報する場合に、前記工作機械に関するアラームの解除に資する第二のアラーム情報と、前記アラームの優先度とを関連付けて記憶する第二記憶部から取得した前記第二のアラーム情報を表示し、
前記搬送装置に関するアラーム及び前記工作機械に関するアラームの合計が複数である場合、複数の前記アラームに、前記搬送装置に関するアラームと前記工作機械に関するアラームとが含まれており、且つ、所定の条件が成立している場合、前記搬送装置に関するアラームの優先度を前記第二記憶部に記憶してある優先度よりも小さくしてから各アラームの優先順位を決定し、
最も優先順位が高いアラームの第一又は第二のアラーム情報を表示する
処理を前記制御装置に実行させることを特徴とするプログラム。
A program executable by a control device for controlling an operation of a machine tool,
receiving, from a transport device that carries in and out a workpiece to and from the machine tool, identification information for identifying an alarm related to the transport device;
acquiring the first alarm information corresponding to the received identification information from a first storage unit that stores the identification information, first alarm information contributing to canceling the alarm, and a priority level of the alarm in association with each other ;
Displaying the acquired first alarm information;
when an alarm related to the machine tool is issued, displaying second alarm information acquired from a second storage unit that stores second alarm information contributing to canceling the alarm related to the machine tool in association with a priority of the alarm;
When the total number of alarms related to the transport device and the machine tool is multiple, when the multiple alarms include an alarm related to the transport device and an alarm related to the machine tool and a predetermined condition is satisfied, the priority of the alarm related to the transport device is made lower than the priority stored in the second storage unit, and then the priority order of each alarm is determined;
A program for causing the control device to execute a process of displaying first or second alarm information of an alarm with the highest priority .
JP2021078088A 2021-04-30 2021-04-30 CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM Active JP7683303B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021078088A JP7683303B2 (en) 2021-04-30 2021-04-30 CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021078088A JP7683303B2 (en) 2021-04-30 2021-04-30 CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2022171441A JP2022171441A (en) 2022-11-11
JP7683303B2 true JP7683303B2 (en) 2025-05-27

Family

ID=83946436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021078088A Active JP7683303B2 (en) 2021-04-30 2021-04-30 CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP7683303B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034316A (en) 1999-07-26 2001-02-09 Murata Mach Ltd Machine controller
JP2001195124A (en) 2000-01-07 2001-07-19 Toshiba Corp Plant monitoring and control equipment
JP2008176579A (en) 2007-01-18 2008-07-31 Fanuc Ltd Controller of machine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63108411A (en) * 1986-10-27 1988-05-13 Fanuc Ltd Fault recording method for cell controller
JPH04164552A (en) * 1990-10-25 1992-06-10 Yamazaki Mazak Corp Alarm information display control unit for machine tool
JPH05241635A (en) * 1992-02-26 1993-09-21 Mitsubishi Electric Corp Numerical controller
JPH06262482A (en) * 1993-03-15 1994-09-20 Toyota Motor Corp Abnormality countermeasure instruction device
JP3659993B2 (en) * 1994-10-21 2005-06-15 株式会社アマダ Machine tool component information display method, alarm information display method and operation information display method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034316A (en) 1999-07-26 2001-02-09 Murata Mach Ltd Machine controller
JP2001195124A (en) 2000-01-07 2001-07-19 Toshiba Corp Plant monitoring and control equipment
JP2008176579A (en) 2007-01-18 2008-07-31 Fanuc Ltd Controller of machine

Also Published As

Publication number Publication date
JP2022171441A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
US9815158B2 (en) Rotary-magazine tool changer capable of changing tool storage position
JP6326374B2 (en) Machine Tools
CN211554727U (en) Machine tools, machining systems and management systems
JP6569825B1 (en) Numerical controller
US20070050079A1 (en) NC Machine Tool
US8629641B2 (en) Machine tool to control driving of control objects
US20180065220A1 (en) Position compensation system and position compensation method for tool changer
JP2007290113A (en) Method for automatically exchanging tool of machine-tool with numerical control device and automatic tool exchanger
JP7683303B2 (en) CONTROL DEVICE, MACHINE SYSTEM, AND PROGRAM
US12539571B2 (en) Machine tool and information processing device
JP4984135B2 (en) Machine tool, tool magazine control program and recording medium
WO2022185773A1 (en) Tool transport system, control method for tool transport system, and control program for tool transport system
JP5008674B2 (en) Method for reducing vibration generated during machining of machine elements or workpieces
JP4706445B2 (en) Machine tool and its tool change method
JP4433968B2 (en) Machine tool and tool change method for machine tool
JP2008311262A (en) Electronic component mounting system and electronic component mounting apparatus
EP4403299A1 (en) Machine tool, control method, and control program
JP7817812B2 (en) Workpiece processing equipment
EP3506036A1 (en) Cutting machine
JP6730219B2 (en) Component supply device and component mounter equipped with the same
JP2022133798A (en) Tool carrier system, tool carrier system control method, and tool carrier system control program
JP2014026477A (en) Numerical control unit
US20210031318A1 (en) Machine tool
WO2025243732A1 (en) Tool transport device and machine tool
JP7489487B2 (en) Machine Tools

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250115

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250428

R150 Certificate of patent or registration of utility model

Ref document number: 7683303

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20251226