JP6578028B2 - Model editing unit, model editing method, program, and storage medium - Google Patents
Model editing unit, model editing method, program, and storage medium Download PDFInfo
- Publication number
- JP6578028B2 JP6578028B2 JP2018021433A JP2018021433A JP6578028B2 JP 6578028 B2 JP6578028 B2 JP 6578028B2 JP 2018021433 A JP2018021433 A JP 2018021433A JP 2018021433 A JP2018021433 A JP 2018021433A JP 6578028 B2 JP6578028 B2 JP 6578028B2
- Authority
- JP
- Japan
- Prior art keywords
- processors
- event
- queue
- unit
- output
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- General Factory Administration (AREA)
Description
本発明の実施形態は、モデル編集ユニット、モデル編集方法、プログラム、及び記憶媒体に関する。 Embodiments described herein relate generally to a model editing unit, a model editing method , a program, and a storage medium.
処理システムにおける生産性や品質の向上のために、当該処理システムで検出された各種データに生産情報を付加可能なツールの開発が行われている。このようなツールを実際の処理システムに適用する場合は、その処理システムの構成や、付加したい生産情報などに応じて、プログラムを作成する必要がある。より短い時間でツールを実装するためには、プログラムの作成に要する時間が短いことが望ましい。 In order to improve productivity and quality in a processing system, a tool capable of adding production information to various data detected by the processing system has been developed. When such a tool is applied to an actual processing system, it is necessary to create a program according to the configuration of the processing system, production information to be added, and the like. In order to implement the tool in a shorter time, it is desirable that the time required for creating the program is short.
本発明が解決しようとする課題は、より短時間で、処理システムの構成や付加したい生産情報に応じたプログラムの作成を可能とする、モデル編集ユニット、モデル編集方法、プログラム、及び記憶媒体を提供することである。 The problem to be solved by the present invention is to provide a model editing unit, a model editing method , a program, and a storage medium that enable creation of a program according to the configuration of a processing system and production information to be added in a shorter time. It is to be.
実施形態に係るモデル編集ユニットは、読込部と、編集部と、を備える。前記読込部は、ソフトウェア部品の情報を有する定義ファイルを読み込む。前記ソフトウェア部品は、処理システムに設けられる互いに異なる検出部のデータをそれぞれイベントとして収集する複数の第1プロセッサと、前記複数の第1プロセッサの少なくとも1つで収集された前記イベントを保持する第1キューと、前記第1キューに保持された前記イベントに、それぞれ互いに異なる生産情報を付加し、処理イベントを出力する複数の第2プロセッサと、を含む。前記複数の第2プロセッサの1つは、前記処理システムへのワークの投入を示す前記イベントが前記第1キューに保持されると、複数の状態と、前記複数の状態間の遷移と、アクションと、を含むステートマシンを生成し、前記生産情報としてIDを発番して前記ステートマシンに付加する、前記編集部は、前記定義ファイルの前記情報に対応する前記ソフトウェア部品、及び編集領域を表示し、前記編集領域において、前記複数の第1プロセッサの少なくとも1つと前記第1キューとが接続され、前記第1キューと前記複数の第2プロセッサの少なくとも1つとが接続されることで、モデルを構築可能とする。 The model editing unit according to the embodiment includes a reading unit and an editing unit. The reading unit reads a definition file having software component information. The software component includes a plurality of first processors that collect data of different detection units provided in the processing system as events, and a first that holds the events collected by at least one of the plurality of first processors. A queue, and a plurality of second processors that add different production information to the event held in the first queue and output a processing event. One of the plurality of second processors has a plurality of states, a transition between the plurality of states, an action, when the event indicating the input of a work to the processing system is held in the first queue. , Generate an ID as the production information, and add it to the state machine. The editing unit displays the software part corresponding to the information in the definition file and an editing area. In the editing area, at least one of the plurality of first processors and the first queue are connected, and a model is constructed by connecting the first queue and at least one of the plurality of second processors. Make it possible.
以下に、本発明の各実施形態について図面を参照しつつ説明する。
本願明細書と各図において、既に説明したものと同様の要素には同一の符号を付して詳細な説明は適宜省略する。
Embodiments of the present invention will be described below with reference to the drawings.
In the present specification and each drawing, the same elements as those already described are denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
図1は、実施形態に係る支援システムの構成を表すブロック図である。
実施形態に係る支援システム1は、例えば、処理システムPSにおけるデータ収集の流れを表すモデル(データ収集フロー)を構築するために用いられる。また、支援システム1は、構築したデータ収集フローに対応するプログラムを生成して処理システムPSのデータ収集を行うためにも用いられる。
FIG. 1 is a block diagram illustrating a configuration of a support system according to the embodiment.
The support system 1 according to the embodiment is used, for example, to construct a model (data collection flow) representing a data collection flow in the processing system PS. The support system 1 is also used to generate a program corresponding to the constructed data collection flow and collect data of the processing system PS.
図1に表したように、実施形態に係る支援システム1は、モデル編集ユニット10、データ収集ユニット20、第1記憶部31、第2記憶部32、及び第3記憶部33を備える。
As illustrated in FIG. 1, the support system 1 according to the embodiment includes a
モデル編集ユニット10は、支援システム1のユーザがデータ収集フローを構築する際に用いられる。データ収集ユニット20は、モデル編集ユニット10で構築されたデータ収集フローに対応するプログラムを生成する。そして、データ収集ユニット20は、当該プログラムを駆動し、処理システムPSのデータ収集を行う。
The
第1記憶部31は、プラグインを記憶する。プラグインは、データ収集ユニット20のソフトウェア機能を拡張するための追加プログラムである。第2記憶部32は、モデル編集ユニット10でモデルを編集する際に用いられる定義ファイルを記憶する。この定義ファイルは、第1記憶部31に記憶されたプラグインの設定項目に対応する情報を有する。
The first storage unit 31 stores plug-ins. The plug-in is an additional program for extending the software function of the
より具体的には、モデル編集ユニット10は、読込部11、編集部12、及び出力部13を有する。
読込部11は、第2記憶部32に記憶された定義ファイルを読み込む。
編集部12は、読み込まれた定義ファイルに基づき、グラフィカルユーザインタフェース(GUI)をディスプレイに表示させる。GUIでは、プラグインに対応するソフトウェア部品を表すアイコンの一覧、アイコンを配置してモデルを構築するための編集領域、ソフトウェア部品の詳細設定画面などが表示される。ユーザは、編集部12により表示されたGUI上でモデルを構築できる。
出力部13は、構築されたモデルに対応する設定ファイルを、データ収集ユニット20が読み込み可能な形式で出力し、第3記憶部33に記憶する。
More specifically, the
The
The
The
データ収集ユニット20は、生成部21及び駆動部22を有する。
生成部21は、第3記憶部33に記憶された設定ファイルと、第1記憶部31に記憶されたプラグインと、を読み込む。そして、生成部21は、設定ファイル及びプラグインに対応したプログラムを生成する。
駆動部22は、生成部21で生成されたプログラムを駆動させ、当該プログラムに沿って処理システムPSのデータ収集を行う。
The
The
The
図1に表した例では、データ収集ユニット20は、判定部23及び通知部24をさらに有する。
判定部23は、設定ファイルと、第2記憶部32に記憶された定義ファイルと、を読み込む。第2記憶部32の定義ファイルには、設定ファイルの文法定義が含まれている。判定部23は、定義ファイルの文法定義に基づいて、設定ファイルにおけるテキストの記述が適切か判定する。
In the example illustrated in FIG. 1, the
The
設定ファイルに誤りが有った場合、判定部23は、その判定結果を通知部24に出力する。通知部24は、判定部23から判定結果を受信すると、ユーザに向けて通知を発する。例えば、支援システム1に設けられた発光部からの発光、またはスピーカーからの音の発生などによって通知される。または、通知部24は、ログへの記録、または予め登録された端末への情報送信などで通知しても良い。
設定ファイルに誤りが無かった場合、判定部23は、設定ファイルを生成部21に出力する。その後の生成部21における動作は、上述した通りである。
When there is an error in the setting file, the
If there is no error in the setting file, the
支援システム1において、例えば、モデル編集ユニット10、データ収集ユニット20、第1記憶部31、第2記憶部32、及び第3記憶部33は、互いに、有線または無線で接続される。これらは、ネットワークを介して互いに接続されていても良い。または、第1記憶部31がデータ収集ユニット20に組み込まれ、第2記憶部32がモデル編集ユニット10に組み込まれていても良い。また、モデル編集ユニット10からデータ収集ユニット20に設定ファイルが直接送信される場合、支援システム1は、第3記憶部を備えていなくても良い。
In the support system 1, for example, the
例えば、設定ファイルの形式がXML(eXtensible Markup Language)の場合、定義ファイルの形式は、XSD(XML Schema Definition)またはXMLである。または、設定ファイル及び定義ファイルの形式は、JSON(JavaScript(登録商標) Object Notation)でも良い。プラグインの形式は、データ収集ユニット20に応じて適宜変更できる。一例として、プラグインの形式は、DLL(Dynamic Link Library)である。
For example, when the format of the setting file is XML (eXtensible Markup Language), the format of the definition file is XSD (XML Schema Definition) or XML. Alternatively, the format of the setting file and the definition file may be JSON (JavaScript (registered trademark) Object Notation). The format of the plug-in can be changed as appropriate according to the
上述した支援システム1の動作を、図2を参照して説明する。
図2は、実施形態に係る支援システムの動作を表すフローチャートである。
The operation of the support system 1 described above will be described with reference to FIG.
FIG. 2 is a flowchart showing the operation of the support system according to the embodiment.
まず、読込部11が定義ファイルを読み込む(ステップS1)。編集部12は、定義ファイルに基づき、GUIを表示する(ステップS2)。ユーザにより、GUI上でモデルが構築されると、出力部13は、当該モデルに対応する設定ファイルを出力する(ステップS3)。
First, the
判定部23は、定義ファイル及び設定ファイルを読み込み、設定ファイルの文法に誤りが無いか判定する(ステップS4)。誤りがある場合、通知部24は、通知を発する(ステップS5)。誤りが無い場合、生成部21は、設定ファイル及びプラグインを読み込み、プログラムを生成する(ステップS6)。駆動部22は、生成されたプログラムを駆動する(ステップS7)。
The
次に、図3〜図5を参照して、編集部12により表示されるGUIの一例を説明する。
図3〜図5は、編集部により表示されるGUIを例示する模式図である。
Next, an example of a GUI displayed by the
3 to 5 are schematic views illustrating GUIs displayed by the editing unit.
例えば図3(a)に表したように、ユーザは、GUI上で、ソフトウェア部品の一覧("Parts pallet")を開くことができる。図3(a)の例では、2つのキュー41a及び41b("queue1"及び"queue2")と、9つのプロセッサ42a〜42i("Processor1"〜"Processor9")が表示されている。これらのソフトウェア部品は、定義ファイルに含まれている、プラグインの設定項目に基づく。すなわち、GUI上では、プラグインに対応したソフトウェア部品がアイコンで表示される。
For example, as shown in FIG. 3A, the user can open a list of software parts (“Parts pallet”) on the GUI. In the example of FIG. 3A, two
処理システムPSには、例えば、複数の検出部が設けられている。検出部は、近接センサまたは光電センサなどの物体を検出するセンサ、ロボットの動きを検出するカメラ、バーコードを読み取るリーダなどである。 In the processing system PS, for example, a plurality of detection units are provided. The detection unit is a sensor that detects an object such as a proximity sensor or a photoelectric sensor, a camera that detects the movement of the robot, a reader that reads a barcode, and the like.
支援システム1では、例えば、処理システムにおける検出部のデータを全て「イベント」という単位で扱う。例えば、イベントは、当該イベントの発生時刻、当該イベントのID、その他の生産情報を含む。 In the support system 1, for example, all data of the detection unit in the processing system is handled in units of “events”. For example, the event includes the event occurrence time, the event ID, and other production information.
図3(a)に表示されたソフトウェア部品について、プロセッサは、イベントを処理し、キューは、イベントを保持する。 For the software component displayed in FIG. 3A, the processor processes the event, and the queue holds the event.
より具体的には、プロセッサは、第1プロセッサ、第2プロセッサ、及び第3プロセッサに分類される。
第1プロセッサは、処理システムに設置された特定の検出部のデータを受け付けると、イベントを生成する。例えば、センサまたはバーコードリーダにより、ワークが処理システムに投入されたことが検出されると、第1プロセッサは、その検出データに応じてイベントを生成する。
第2プロセッサは、生成されたイベントを処理し、処理イベントを出力する。例えば、第2プロセッサは、イベントに生産情報を付加し、処理イベントとして出力する。生産情報は、例えば、ワークのID、ロットのID、処理システムPSのID、処理システムPSを担当しているオペレータのID、処理システムPSで実施される工程のIDなどの少なくとも1つを含む。
第3プロセッサは、外部データベースやFTPサーバなどの外部へイベントを出力する。
More specifically, the processors are classified into a first processor, a second processor, and a third processor.
When the first processor receives data from a specific detection unit installed in the processing system, the first processor generates an event. For example, when it is detected by a sensor or a barcode reader that a workpiece has been input to the processing system, the first processor generates an event according to the detection data.
The second processor processes the generated event and outputs a processing event. For example, the second processor adds production information to the event and outputs it as a processing event. The production information includes, for example, at least one of a work ID, a lot ID, an ID of the processing system PS, an ID of an operator in charge of the processing system PS, an ID of a process performed in the processing system PS, and the like.
The third processor outputs an event to the outside such as an external database or an FTP server.
キューは、メモリ(RAM)またはデータベース上でイベントをバッファリングする。各プロセッサ間には、キューが接続され、キューを介してイベントの入出力が行われる。すなわち、第1プロセッサまたは第2プロセッサから出力されたイベントは、キューによって保持され、第3プロセッサまたは別の第2プロセッサによって引き出される。 The queue buffers events on memory (RAM) or a database. A queue is connected between the processors, and events are input / output through the queue. That is, the event output from the first processor or the second processor is held by the queue, and is pulled out by the third processor or another second processor.
キューは、単にイベントを保持するだけで無く、他の機能を有していても良い。例えば、複数のイベントを、それぞれのイベントの発生時刻順にソートする機能がキューに設けられていても良い。 Queues may have other functions than simply holding events. For example, the queue may be provided with a function of sorting a plurality of events in the order of occurrence time of each event.
これらのソフトウェア部品のアイコンは、例えば、ドラッグ&ドロップにより、図3(b)に表したように、編集領域43上に配置される。配置したアイコン同士は、有向線44により接続することができる。有向線44は、プロセッサとキューとの間におけるイベントの流れを表す。複数のプロセッサと1つのキューが有向線44で接続されても良く、1つのプロセッサと複数のキューが有向線44で接続されても良い。
These software component icons are arranged on the
また、編集領域43上に配置したプロセッサまたはキューをダブルクリックすることで、図4に表したように、プロセッサまたはキューの詳細設定画面を開くことができる。図4に表した例では、項目45a〜45cのそれぞれを設定できる。各項目について、さらに詳細な設定項目を展開する場合は、例えばその項目からドリルダウンして、詳細を設定できるようになっている。
Further, by double-clicking a processor or queue arranged in the
図5は、プロセッサまたはキューの詳細設定画面を模式的に表している。例えば図5(a)に表したように、項目45cには、ドリルダウン可能であることを示すマーク45mが付されている。このマーク45mをクリックすることで、項目45cに関して、より下の階層の項目45e〜45gを示す図5(b)の画面が表示される。例えば、項目45gには、マーク45mが付されている。このマーク45mをクリックすることで、項目45gに関して、さらに下の階層のデータを示す図5(c)の画面が表示される。ドリルダウンした後、上位の階層のデータを表示させる場合には、例えば、マーク45nをクリックする。
FIG. 5 schematically shows a detailed setting screen for a processor or a queue. For example, as shown in FIG. 5A, a
このように、編集領域43へのアイコン(プロセッサ及びキュー)の配置、アイコン同士の接続、プロセッサ及びキューの詳細設定を繰り返すことで、データ収集フローを構築することができる。
In this way, a data collection flow can be constructed by repeating the arrangement of icons (processors and queues) in the
実施形態の効果を説明する。
上述したように、実施形態に係るモデル編集ユニット10において、編集部12は、ソフトウェア部品及び編集領域43をGUIに表示する。ユーザは、編集領域43において、複数の第1プロセッサの少なくとも1つとキューとを接続し、当該キューと複数の第2プロセッサの少なくとも1つとを接続することで、モデルを構築できる。従って、検出部のデータに生産情報を付加するためのプログラムのモデルを容易に構築できる。
The effect of the embodiment will be described.
As described above, in the
また、適用される処理システムPSに設けられている検出部の種類や数に応じて、モデルに用いる第1プロセッサを適宜選択できる。付加したい生産情報に応じて、モデルに用いる第2プロセッサを適宜選択できる。これにより、処理システムの構成や所望の生産情報に対応したモデルを容易に構築できる。また、処理システムの構成や所望の生産情報に応じて、データ収集ユニット20で駆動されるプログラムを直接編集する必要が無い。このため、構築されたモデルを用いることで、データ収集ユニット20の駆動に必要なプログラムを、容易に、より短い時間で得ることが可能となる。
In addition, the first processor used for the model can be selected as appropriate according to the type and number of detection units provided in the applied processing system PS. The second processor used for the model can be appropriately selected according to the production information to be added. Thereby, a model corresponding to the configuration of the processing system and desired production information can be easily constructed. Further, it is not necessary to directly edit the program driven by the
編集領域43では、さらに第3プロセッサ及び第2キューが配置され、第2プロセッサと第3プロセッサが第2キューを介して接続される。このとき、互いに異なる方式で外部に出力する複数の第3プロセッサから少なくとも1つを選択できることで、所望のデータの出力方式に応じて、モデルを構築できる。
In the
なお、第1プロセッサ及び第2プロセッサのみが用いられ、第3プロセッサが用いられていない場合は、イベントのデータは外部に出力されない。しかし、この場合でも、例えば、第2プロセッサから出力されたイベントに基づいて、処理システムの動作の制御等が可能である。例えば、第2プロセッサは、第1キューに保持されたイベントに応じて、処理システムPSへの入力操作を行う。すなわち、人が処理システムPSに対して行う、キーボードやマウス、タッチパネル、ボタンなどを用いた入力を、第2プロセッサから出力
されるイベントで代替することが可能である。これにより、処理システムPSの運転の少なくとも一部を自動化できる。
When only the first processor and the second processor are used and the third processor is not used, the event data is not output to the outside. However, even in this case, for example, it is possible to control the operation of the processing system based on the event output from the second processor. For example, the second processor performs an input operation to the processing system PS in accordance with the event held in the first queue. That is, it is possible to substitute an event output from the second processor for an input using a keyboard, a mouse, a touch panel, a button, or the like performed by a person on the processing system PS. Thereby, at least a part of the operation of the processing system PS can be automated.
または、第1プロセッサ及び第3プロセッサのみが用いられ、第2プロセッサが用いられなくても良い。この場合は、イベントに生産情報が付加されず、そのままデータが外部に出力される。この場合でも、イベントは、発生時刻やIDを含むため、検出部のデータに対して情報を付加することができる。 Alternatively, only the first processor and the third processor may be used, and the second processor may not be used. In this case, production information is not added to the event, and the data is output to the outside as it is. Even in this case, since the event includes an occurrence time and an ID, information can be added to the data of the detection unit.
また、支援システム1において、データ収集ユニット20は、プラグインのファイルを読み込んで、プログラムを生成する。プラグインにより必要な機能が追加されることで、処理システムPSの構成等に応じてソフトウェアを構築し直す必要が無い。
In the support system 1, the
さらに、モデル編集ユニット10で用いられる定義ファイルは、プラグインの設定項目に対応する情報を有する。これにより、モデル編集ユニット10から出力される設定ファイルも、プラグインに対応させることができる。こうすることで、プラグインに応じて設定ファイルの内容を編集する必要が無くなり、設定ファイルをデータ収集ユニット20で直接読み込んでプログラムの生成を行うことが可能となる。また、定義ファイルをプラグインに対応させることで、プラグインに応じて、モデル編集ユニット10をカスタマイズする必要も無い。
Further, the definition file used in the
また、編集部12により、プラグインに対応したソフトウェア部品がGUI上で表示され、且つ各ソフトウェア部品の詳細設定を編集可能とすることで、処理システムの具体的な構成等に対応したモデルを構築できる。
Also, the software unit corresponding to the plug-in is displayed on the GUI by the
好ましくは、モデル編集ユニット10の使い勝手を向上させるために、詳細設定の画面において、図4に表したように注釈47が表示される。注釈47は、各設定項目を説明するものである。注釈47が表示されることで、各設定項目の意味をユーザが理解し易くなる。
Preferably, in order to improve the usability of the
このような注釈47に関する情報は、定義ファイルに含まれる。読込部11は、定義ファイルを読み込んだ際に、注釈47に関する情報も読み込み、編集部12は、当該注釈47を詳細設定画面に表示させる。
Such information on the
また、モデル編集ユニット10から出力される設定ファイルの形式は、第2記憶部32の定義ファイルの形式に対応し、定義ファイルは、当該形式の文法定義を含んでいる。実施形態に係る支援システム1では、データ収集ユニット20に、設定ファイル及び定義ファイルを読み込んで、設定ファイルの文法に誤りが無いか判定する判定部23が設けられる。判定部23が設けられることで、設定ファイルに誤りが有った場合には、ユーザに通知できるとともに、生成部21に正常な設定ファイルのみを読み込ませることが可能となる。
The format of the setting file output from the
(実施例)
以下で、実施形態に係る支援システム1を用いた、具体的なデータ収集フローの構築方法について説明する。
図6は、編集部により表示されるGUIを例示する模式図である。
図6に表した例では、ソフトウェア部品として、"MemoryEventQueue"(キュー41a)、"OrderedMemoryEventQueue"(キュー41b)、"SQLEventQueue"(キュー41c)、"BarcodeReaderProcessor"(プロセッサ42a)、"SensorInputProcessor"(プロセッサ42b)、"FtpOutputProcessor"(プロセッサ42c)、"GridDbOutputProcessor"(プロセッサ42d)、"AnalogTrimProcessor"(プロセッサ42e)、"BasicStateMachineProcessor"(プロセッサ42f)が表示されている。
(Example)
Below, the construction method of the specific data collection flow using the support system 1 which concerns on embodiment is demonstrated.
FIG. 6 is a schematic view illustrating a GUI displayed by the editing unit.
In the example shown in FIG. 6, “MemoryEventQueue” (
キュー41aは、メモリ(RAM)上でイベントをバッファリングするキューを表す。キュー41bは、イベントを時刻順にソートする機能を有するキューを表す。キュー41cは、データベース上でイベントをバッファリングするキューを表す。
The
プロセッサ42aは、バーコードリーダの入力をイベント化するプロセッサを表す。プロセッサ42bは、処理システムに設けられたセンサの入力をイベント化するプロセッサを表す。プロセッサ42cは、FTP(File Transfer Protocol)サーバにCSVファイル形式のイベントを送信するプロセッサを表す。プロセッサ42dは、GridDBへイベントを出力するプロセッサを表す。プロセッサ42eは、開始終了イベントで囲まれた範囲のアナログイベントにIDを紐付けるプロセッサを表す。プロセッサ42fは、状態遷移モデルを駆動することで、ユーザが定義した任意のロジックを実行するプロセッサを表す。
The
図6に表した例では、編集領域43に、複数のキュー41(キュー41a0〜41a3)、及びプロセッサ42a、プロセッサ42b、複数のプロセッサ42c(プロセッサ42c1及び42c2)、プロセッサ42e、プロセッサ42fが配置され、モデルが構築されている。
In the example shown in FIG. 6, a plurality of queues 41 (queues 41a0 to 41a3), a
例えば、このモデルでは、処理システムへワークが投入される際に、バーコードリーダでワークのIDが読み取られると、プロセッサ42aがイベントを出力する。出力されたイベントは、キュー41a0に保持される。
For example, in this model, when a work is input to the processing system, the
また、処理システムには、複数のセンサが設けられる。例えば、処理システム内におけるワークの通過を検出するセンサ、処理システムからのワークの搬出を検出するセンサ、ワーク処理時の条件(温度、圧力、ガス流量など)を検出するセンサなどが設けられる。プロセッサ42bは、これらのセンサの入力があると、イベントを出力する。
The processing system is provided with a plurality of sensors. For example, a sensor that detects the passage of a workpiece in the processing system, a sensor that detects the unloading of the workpiece from the processing system, a sensor that detects conditions (temperature, pressure, gas flow rate, etc.) during workpiece processing, and the like are provided. When there is an input from these sensors, the
一例として、ワークの搬入出及び通過の検出信号は、デジタルデータで送信され、ワーク処理時の条件は、アナログデータで送信される。プロセッサ42bは、デジタルデータのイベントをキュー41a0に送り、アナログデータのイベントをキュー41a2に送る。
As an example, the workpiece loading / unloading / passing detection signal is transmitted as digital data, and the conditions for processing the workpiece are transmitted as analog data. The
プロセッサ42fは、処理システムへのワークの投入に対応するイベントを受け付けると、ステートマシンを生成する。同時に、プロセッサ42fは、それぞれのステートマシンに対して、IDを発番して付与する。また、プロセッサ42fは、処理システム内におけるワークの通過を示すイベントを受け付けると、ステートマシンを駆動させる。プロセッサ42fは、処理システムからのワークの搬出に対応するイベントを受け付けると、ステートマシンを消滅させ、その履歴がイベントとしてキュー41a1に保持される。また、ステートマシンは、状態の遷移に応じて、キュー41a1に向けてイベントを送信するアクションを有する。このイベントには、イベントを発したステートマシンに付与されたIDが含まれている。
When the
プロセッサ42eにおけるステートマシンの生成及び消滅のタイミングや、ステートマシンの挙動については、ステートマシンモデルファイル及び定義ファイルに基づいて設定される。
The timing of generation and disappearance of the state machine in the
プロセッサ42eは、ステートマシンからキュー41a2にイベントが送信されると、プロセッサ42bによって生成された、ワーク処理中の波形データの一部を切り出す。プロセッサ42eは、さらに、切り出した波形データの一部と、ステートマシンから送信されたイベントに含まれるIDと、を紐付ける。それらのデータは、キュー41a3に保持される。
When an event is transmitted from the state machine to the queue 41a2, the
プロセッサ42c1及び42c2は、それぞれ、キュー41a1に保持されたイベント及びキュー41a3に保持されたイベントを、CSV形式でFTPサーバに送信する。 The processors 42c1 and 42c2 respectively transmit the event held in the queue 41a1 and the event held in the queue 41a3 to the FTP server in the CSV format.
なお、上述した例におけるプロセッサ42bのように、実施形態に係るモデル編集ユニット10では、プロセッサから各キューへ出力されるイベントを、具体的に設定することが可能である。プロセッサからキューへ出力されるイベントを設定する方法について、図7及び図8を照して説明する。
Note that, like the
図7及び図8は、編集部により表示されるGUIを例示する模式図である。
図7(a)では、編集領域43にプロセッサ42bが配置され、プロセッサ42bの詳細設定画面が開かれている。例えば、この詳細設定画面では、イベントドレインを設定するための項目45hが表示される。なお、ここでは、イベントドレインとは、イベントが出力される出力端子を意味する。
7 and 8 are schematic views illustrating GUIs displayed by the editing unit.
In FIG. 7A, the
この項目45hをドリルダウンするためのマーク45mをクリックすることで、図7(b)に表したように、イベントドレインを追加するための詳細画面が開く。図7(b)に表した画面において、マーク45oをクリックすることで、プロセッサ42bのイベントドレインを追加できる。これにより、例えば図8(a)に表したように、複数のイベントドレインを追加できる。なお、プロセッサを編集領域43上に配置した際に存在する初期設定のイベントドレインからは、例えば全てのイベントが出力されるよう設定されている。
By clicking on the
イベントドレインを追加すると、図8(a)に表したように、それぞれのイベントドレインから出力されるイベントを設定するための項目45i1及び45i2が表示される。例えば、項目45i1のマーク45mをクリックし、ドリルダウンさせることで、図8(b)に表したように、イベントドレインから出力されるイベントを入力する項目45jが表示される。
When an event drain is added, as shown in FIG. 8A, items 45i1 and 45i2 for setting an event output from each event drain are displayed. For example, when the
項目45jにイベントIDを入力することで、追加した1つ目のイベントドレインから出力されるイベントが指定される。1つのイベントドレインに複数のイベントIDを設定する場合は、マーク45оをクリックすることで、項目45jを増やすことができる。また、項目45jに入力されるIDは、図8(b)に表したように、正規表現を用いて記述されても良い。これにより、1つの項目の設定で、複数のイベントIDを指定できる。同様に、2つ目のイベントドレインについても、出力されるイベントを指定することができる。
By inputting the event ID in the
イベントドレインの設定を終えた後は、編集領域43においてイベントドレインとキューとを接続することで、特定のキューへ、特定のイベントのみを出力するように設定できる。
After setting the event drain, by connecting the event drain and the queue in the
図9は、図6で例示したモデルの動作を説明するための機能ブロック図である。
図6のGUI上で構築されたモデルは、図9に表したように、BCRデータ受信部61、シリアルデータ受信部62、入力用イベントデータリスト63、入力用プロセスデータリスト64、ステートマシン駆動部65、ステートマシンリスト66、設定ファイル読込部67、紐付け部68、出力用イベントデータリスト69、出力用プロセスデータリスト70、イベントデータ出力部71、及びプロセスデータ出力部72を備えるデータ収集フロー2に対応する。
FIG. 9 is a functional block diagram for explaining the operation of the model illustrated in FIG.
As shown in FIG. 9, the model constructed on the GUI of FIG. 6 includes a BCR
例えば、データが収集される処理システムPSには、検出部A〜Cが設けられている。一例として、検出部Aは、バーコードリーダである。検出部Bは、処理システムへのワークの投入及び払い出し、処理システムにおけるワークの通過を検出するセンサである。検出部Cは、処理システムに設けられた加工室における条件(温度、圧力、ガス流量など)を検出するセンサである。 For example, the processing units PS that collect data include detection units A to C. As an example, the detection unit A is a barcode reader. The detection unit B is a sensor that detects the loading and unloading of the workpiece into the processing system and the passage of the workpiece in the processing system. The detection unit C is a sensor that detects conditions (temperature, pressure, gas flow rate, etc.) in a processing chamber provided in the processing system.
BCRデータ受信部61は、プロセッサ42aに対応する。BCRデータ受信部61は、検出部Aから送信されたデータをイベントとして収集し、入力用イベントデータリスト63に格納する。シリアルデータ受信部62は、プロセッサ42bに対応する。シリアルデータ受信部62は、検出部B及びCから送信されたデータを、シリアル通信で受信する。
The BCR
入力用イベントデータリスト63は、キュー41a0に対応する。入力用プロセスデータリスト64は、キュー41a2に対応する。シリアルデータ受信部62は、受信したデータを解析し、イベントを入力用イベントデータリスト63に格納し、波形データ(アナログイベント)を入力用プロセスデータリスト64に格納する。
The input event data list 63 corresponds to the queue 41a0. The input process data list 64 corresponds to the queue 41a2. The serial
ステートマシン駆動部65、ステートマシンリスト66、設定ファイル読込部67は、プロセッサ42fに対応する。
The state
ステートマシンリスト66は、ステートマシンが生成された際に、そのステートマシンを保持する。ステートマシンは、処理システムへのワークの投入を示すイベントが、入力用イベントデータリスト63に格納された際に、当該ワークに対応するモデルとして生成される。ステートマシンは、複数の状態、複数の状態間の遷移、およびアクションを含む。これらの状態や遷移、アクションは、処理システムにおける実際のワークの動きに即して設定される。また、ステートマシンには、IDが発番されて付与される。生成されたステートマシンは、仮想のワークとしてふるまう。すなわち、処理システムへのワークの投入にあわせて、それぞれのワークに対応し、IDが付与された仮想のワークとしてのステートマシンが生成されていく。ステートマシンリスト66は、ステートマシンが消滅するまで、それぞれのステートマシンを保持し続ける。
The
ステートマシン駆動部65は、入力用イベントデータリスト63に応じて、ステートマシンリスト66に保持されたステートマシンを駆動させる。例えば、処理システムの検出部Bによって、加工室に投入されるワークが検出された際、ステートマシン駆動部65は、当該ワークに対応するステートマシンを駆動させ、ステートマシンがローダ内にある状態から加工室内にある状態に遷移させる。
The state
また、図9に表した例では、ステートマシンリスト66は、仮想ローダ66aとして機能する別のステートマシンを保持する。ワークの投入を示すイベントが入力用イベントデータリスト63に格納されると、ステートマシン駆動部65は、仮想ローダ66aを駆動させる。これにより、処理システムへのワークの投入に合わせて、仮想ワークとしてのステートマシンが生成される。
In the example shown in FIG. 9, the
設定ファイル読込部67は、外部の記憶部からステートマシンのモデルファイルを読み込む。モデルファイルは、仮想ローダ66aとしてのステートマシンと、仮想ワークとしてのステートマシンと、について、ステートマシンの受信イベントリストおよび状態リストを含む。状態リストは、ステートマシンが採り得る状態を含む。また、受信イベントリストは、状態リストに含まれる状態間での遷移を生じさせるイベントを含む。この他に、モデルファイルは、二次イベントの送信などのアクション、遷移の条件判定を行うためのガード条件も含んでいる。
The setting
ステートマシン駆動部65は、例えば、入力用イベントデータリスト63に格納されたイベントに応じて、投入履歴書き出し、OK払出し履歴書出し、NG払出し履歴書出し、波形切り出し開始、および波形切り出し終了のアクションを実行する。
For example, the state
投入履歴は、ワークが処理システムに投入されたことを示す記録を含む。OK払出し履歴は、ワークが処理システムから正常として払い出されたことを示す記録を含む。NG払出し履歴は、ワークが処理システムから異常として払い出されたことを示す記録を含む。例えば、処理システムにおけるワークの検査で、ワークに異常が見つかった場合、当該ワークは異常として払い出される。 The input history includes a record indicating that the work has been input to the processing system. The OK payout history includes a record indicating that the work has been normally discharged from the processing system. The NG payout history includes a record indicating that the work has been paid out as an abnormality from the processing system. For example, when an abnormality is found in the workpiece in the inspection of the workpiece in the processing system, the workpiece is paid out as an abnormality.
切り出し開始および切り出し終了は、波形データの切り出しを行うためのイベントを送信するアクションである。これらのアクションが実行されると、入力用プロセスデータリスト64にイベントが送信される。以降では、ステートマシンのアクションによって送信されるイベントを「二次イベント」と言う。二次イベントには、当該二次イベントを送信したステートマシンのIDが付帯されている。
Cutout start and cutout are actions for transmitting an event for cutting out waveform data. When these actions are executed, an event is transmitted to the input
出力用イベントデータリスト69は、キュー42a1に対応する。投入履歴書き出し、OK履歴書出し、またはNG履歴書出しのアクションが実行されると、その履歴が、出力用イベントデータリスト69に書き出される。
The output
紐付け部68は、二次イベントが入力用プロセスデータリスト64に保持されると、入力用プロセスデータリスト64に保持された波形データの一部を切り出す。そして、紐付け部68は、切り出された波形データと、二次イベントに付帯されたIDと、を紐付ける。これにより、ステートマシンと波形データが、共通のIDで紐付けられる。
When the secondary event is held in the input
具体的な一例として、ワークがある加工室に投入されると、それに合わせてステートマシンが対応する状態へ入場する。このとき、ステートマシンによって、「切出し開始」のアクションが実行され、二次イベントが送信される。 As a specific example, when a workpiece is put into a certain processing chamber, the state machine enters a corresponding state accordingly. At this time, the action “start cutting” is executed by the state machine, and a secondary event is transmitted.
例えば、当該加工室では、圧力が所定時間毎に検出されている。すなわち、時間に対する圧力の変化を表す波形データが、入力用プロセスデータリスト64に保持されている。紐付け部68は、「切出し開始」のアクションによって二次イベントが送信されると、この波形データの切り出しを開始する。
For example, in the processing chamber, the pressure is detected every predetermined time. That is, waveform data representing a change in pressure with respect to time is held in the input
ワークの処理が終了し、ワークが当該加工室から払い出されると、それに合わせてステートマシンが対応する状態から退場する。このとき、ステートマシンによって、「切出し終了」のアクションが実行され、二次イベントが送信される。この二次イベントが送信されると、紐付け部68は、波形データの切り出しを終了する。
When the processing of the workpiece is completed and the workpiece is paid out from the processing chamber, the state machine exits from the corresponding state accordingly. At this time, the state machine executes an action of “end cutting” and transmits a secondary event. When this secondary event is transmitted, the associating
出力用プロセスデータリスト70は、キュー42a3に対応する。紐付け部68は、切り出した波形データにステートマシンのIDを紐付け、出力用プロセスデータリスト70に送信する。
The output process data list 70 corresponds to the queue 42a3. The associating
イベントデータ出力部71及びプロセスデータ出力部72は、それぞれ、プロセッサ42c1及び42c2に対応する。イベントデータ出力部71およびプロセスデータ出力部72は、それぞれ、出力用イベントデータリスト69および出力用プロセスデータリスト70を参照し、格納されたデータを、CSV形式でFTPサーバへ送信する。
The event
図10および図11を用いて、データ収集フロー2の動作の具体的な一例を説明する。
図10(a)は、実際のワークの処理の一例を表す模式図である。図10(b)は、図10(a)に対応した仮想上のワークの処理を表す模式図である。
図11は、仮想ワークの一例を表すステートマシン図である。
なお、図11のステートマシン図は、Unified Modeling Language(UML)で作成されたものである。
A specific example of the operation of the
FIG. 10A is a schematic diagram illustrating an example of actual workpiece processing. FIG. 10B is a schematic diagram showing processing of a virtual work corresponding to FIG.
FIG. 11 is a state machine diagram illustrating an example of a virtual work.
Note that the state machine diagram of FIG. 11 is created by the Unified Modeling Language (UML).
図11に表すステートマシン図は、状態S10〜S15の6つの状態を含む。状態S10は、初期状態であり、状態S15は、終端状態である。状態S11〜S14のそれぞれの上段には、状態名が記載されている。状態間の矢印は、遷移とその方向を表している。矢印には、「イベント/[ガード条件]/アクション」が付されうる。イベント、ガード条件、およびアクションは、いずれも適宜省略可能である。図11に表す例では、矢印に付された文字は、イベントを表している。状態S11およびS12の下段には、アクションの実行条件が記載されている。例えば、状態S11における「entry/ID発番」は、状態S11に入場した際に、IDを発番するアクションが設定されていることを表す。 The state machine diagram shown in FIG. 11 includes six states S10 to S15. State S10 is an initial state, and state S15 is a terminal state. A state name is described in the upper part of each of the states S11 to S14. Arrows between states represent transitions and their directions. An arrow may be attached with “event / [guard condition] / action”. Any of the event, the guard condition, and the action can be omitted as appropriate. In the example illustrated in FIG. 11, characters attached to the arrows represent events. In the lower part of states S11 and S12, action execution conditions are described. For example, “entry / ID numbering” in the state S11 indicates that an action for issuing an ID is set when entering the state S11.
以降では、図10(a)に表すように、実際の製造装置において加工されるワークを「実ワーク」、図10(b)に表すステートマシンを「仮想ワーク」と称する。 Hereinafter, as shown in FIG. 10A, a workpiece processed in an actual manufacturing apparatus is referred to as “real workpiece”, and a state machine illustrated in FIG. 10B is referred to as “virtual workpiece”.
検出部B1は、ローダへ投入される実ワークを検出する。この検出信号は、BCRデータ受信部61(プロセッサ42a)によってワーク投入イベントとして収集される。ステートマシンリスト66の仮想ローダ66aは、ワーク投入イベントが生成された際に、仮想ワークを生成する。
The detection unit B1 detects an actual work put into the loader. This detection signal is collected as a work input event by the BCR data receiving unit 61 (
図11に表すように、ワーク投入イベントが生成されると、仮想ワークが、初期状態S10からローダ内に配された状態S11へ遷移する。状態S11に入場すると、IDを発番するアクションが実行される。これにより、仮想ワークにIDが付与される。 As illustrated in FIG. 11, when the work input event is generated, the virtual work changes from the initial state S10 to the state S11 arranged in the loader. When entering the state S11, an action for issuing an ID is executed. Thereby, ID is provided to the virtual work.
ローダから払い出された実ワークは、加工室へ投入される。検出部B2は、加工室へ投入される実ワークを検出する。BCRデータ受信部61(プロセッサ42a)は、この検出信号を加工室への投入イベントとして収集する。加工室投入イベントを受けて、ステートマシン駆動部65は、仮想ワークを、ローダ内に配された状態S11から、加工室内に配された状態S12へ遷移させる。
The actual workpiece paid out from the loader is put into the processing chamber. The detection part B2 detects the actual workpiece put into the processing chamber. The BCR data receiving unit 61 (
状態S12に入場すると、仮想ワークのアクションにより、波形の切り出しを開始するための二次イベントが送信される。紐付け部68は、この二次イベントを受けて、加工室内に設けられた検出部Cによる検出結果(波形データ)の切り出しを開始する。
When entering the state S12, a secondary event for starting to cut out the waveform is transmitted by the action of the virtual work. In response to this secondary event, the associating
実ワークは、加工が終了すると、加工室から払い出される。検出部B3は、加工室から払い出される実ワークを検出する。例えばBCRデータ受信部61は、この検出信号を加工室からの払出イベントとして収集する。加工室払出イベントを受けて、ステートマシン駆動部65は、仮想ワークを、加工室内に配された状態S12から、検査室内に配された状態S13へ遷移させる。このとき、仮想ワークのアクションにより、波形の切り出しを終了するための二次イベントが送信される。紐付け部68は、この二次イベントを受けて、波形データの切り出しを終了する。
The actual work is paid out from the processing chamber when the processing is completed. The detection unit B3 detects an actual workpiece that is paid out from the processing chamber. For example, the BCR
これらの二次イベントには、仮想ワークのIDが付帯されている。紐付け部68は、抽出された波形データに、仮想ワークのIDを紐付ける。
These secondary events are accompanied by virtual work IDs. The associating
検査室で良品と判定されたワークは、アンローダへ搬送される。不良品と判定されたワークは、不良品を回収するための容器へ搬送される。このとき、検出部B4は、良品が搬送される経路上のワークを検出する。検出部B5は、不良品が搬送される経路上のワークを検出する。 The work determined as non-defective in the inspection room is transferred to the unloader. The work determined as defective is transported to a container for collecting the defective. At this time, the detection unit B4 detects the workpiece on the path along which the non-defective product is conveyed. The detection unit B5 detects a workpiece on a path along which a defective product is conveyed.
検出部B4が実ワークを検出すると、シリアルデータ受信部62(プロセッサ42b)は、この検出信号を検査OKイベントとして収集する。検査OKイベントを受けて、ステートマシン駆動部65は、仮想ワークを、検査室内に配された状態S13からアンローダ内に配された状態S14へ遷移させる。
When the detection unit B4 detects an actual work, the serial data reception unit 62 (
一方、検出部B6が実ワークを検出すると、シリアルデータ受信部62は、この検出信号を検査NGイベントとして収集する。検査NGイベントを受けて、ステートマシン駆動部65は、仮想ワークを、検査室内に配された状態S13から終端状態S15へ遷移させる。
On the other hand, when the detection unit B6 detects an actual workpiece, the serial
検出部B5は、アンローダから払い出されるワークを検出する。シリアルデータ受信部622は、この検出信号を、製造装置からのワーク払出イベントとして収集する。ワーク払出イベントを受けて、ステートマシン駆動部65は、仮想ワークを、アンローダ内に配された状態S14から終端状態S15へ遷移させる。
The detection unit B5 detects a workpiece paid out from the unloader. The serial data receiving unit 622 collects this detection signal as a work payout event from the manufacturing apparatus. In response to the work payout event, the state
終端状態S15へ遷移したステートマシンは、消滅する。消滅したステートマシンは、ステートマシンリスト66から削除される。このとき、ステートマシンが初期状態S10から終端状態S15へ至るまでの過程、当該ステートマシンに付与されたID、および当該IDに紐付けられた波形データ、などの情報が、外部へ出力される。
The state machine that has transitioned to the terminal state S15 disappears. The disappeared state machine is deleted from the
ここで、上述した例を、図12を参照しつつより具体的に説明する。
図12は、製造装置の動作とそれに応じた仮想ワークの状態の一例を表すグラフである。
Here, the above-described example will be described more specifically with reference to FIG.
FIG. 12 is a graph showing an example of the operation of the manufacturing apparatus and the state of the virtual work corresponding thereto.
図12では、主に、上段から、シリアルデータ受信部62によって収集されるワーク通過イベント、加工室におけるプロセスの波形データ、仮想ワークの状態遷移の履歴、IDが紐付けられた後のプロセスの波形データ、が表されている。
なお、ID紐付け後の波形データについては、紐付けが行われた部分が実線で表され、紐付けされていない部分は破線で表されている。
In FIG. 12, mainly from the upper stage, the workpiece passing event collected by the serial
In addition, regarding the waveform data after the ID association, the portion where the association is performed is represented by a solid line, and the portion which is not associated is represented by a broken line.
時刻t1では、ワーク投入イベントが生成されている。このとき、1番目の仮想ワークが生成され、当該仮想ワークが状態S11に遷移する。
時刻t2で、加工室投入イベントが生成されると、仮想ワークが状態S12に遷移する。このとき、加工室内の圧力データの切り出しが開始される。
時刻t3で、加工室払出イベントが生成されると、仮想ワークが状態S13に遷移する。このとき、加工室内の圧力データの切り出しが終了する。
時刻t2から時刻t3までの間の波形データが切り出され、1番目のワークのIDと紐付けられる。
At time t 1, work on event has been generated. At this time, the first virtual work is generated, and the virtual work changes to the state S11.
In time t 2, the the processing chamber on event is generated, the virtual workpiece is shifted to a state S12. At this time, extraction of pressure data in the processing chamber is started.
At time t 3, when the processing chamber payout event is generated, the virtual workpiece is shifted to a state S13. At this time, extraction of the pressure data in the processing chamber is completed.
Waveform data between the time t 2 to time t 3 is cut out, attached ID and string of the first workpiece.
時刻t4で、検査OKイベントが生成されると、仮想ワークが状態S14に遷移する。
時刻t5で、ワーク払出イベントが生成されると、仮想ワークが状態S15(終端状態)に遷移し、消滅する。
At time t 4, the inspection OK event is generated, the virtual workpiece is shifted to a state S14.
At time t 5, when the workpiece payout event is generated, the virtual work transitions to state S15 (terminal state), disappears.
2番目以降のワークについても同様に、各イベントの生成に応じて、状態が遷移していく。そして、状態の遷移に伴って、波形データの一部が切り出され、それぞれの仮想ワークのIDと紐付けられていく。 Similarly for the second and subsequent workpieces, the state transitions according to the generation of each event. Along with the state transition, a part of the waveform data is cut out and associated with the ID of each virtual work.
なお、図12に表す例では、3番目のワークについて、検査NGイベントが生成され、状態S13から終端状態S15へ遷移している。このため、3番目の仮想ワークの履歴には、状態S14が含まれていない。 In the example shown in FIG. 12, an inspection NG event is generated for the third work, and the state transitions from the state S13 to the terminal state S15. For this reason, the state S14 is not included in the history of the third virtual work.
このように、生産情報(ID)が付加された仮想ワークを生成し、実ワークの動きに併せて状態を遷移させていくことで、実ワークの処理過程のデータを、生産情報を付加して収集していくことが可能となる。 In this way, by generating a virtual work with production information (ID) added and changing the state in accordance with the movement of the real work, the production process data is added to the actual work process data. It becomes possible to collect.
例えば、上述した例において、検出部A〜Cが別のものに置き換えられたり、検出部A〜Cで取得されるデータが変更されたりした場合には、それらが入力されるBCRデータ受信部61及びシリアルデータ受信部62の機能も変更する必要がある。しかし、実施形態に係る支援システム1によれば、編集領域43上で、それらの変更に対応して第1プロセッサを組み替えることで、変更後の処理システムPSに適用可能なデータ収集フローを構築できる。
また、検出部のデータに付加したい生産情報が変わった場合も、その変更に対応して第2プロセッサを組み替えることで、所望の生産情報を付加可能なデータ収集フローを構築できる。
また、データの出力方式や、出力されるデータの形式を変更したい場合も、その変更に対応して第3プロセッサを組み替えることで、所望の出力方式及びデータ形式を出力可能なデータ収集フローを構築できる。
For example, in the above-described example, when the detection units A to C are replaced with different ones or the data acquired by the detection units A to C is changed, the BCR
Further, even when the production information to be added to the data of the detection unit changes, a data collection flow capable of adding desired production information can be constructed by rearranging the second processor in response to the change.
In addition, if you want to change the data output method or the format of the data to be output, the data collection flow that can output the desired output method and data format is constructed by reconfiguring the third processor in response to the change. it can.
また、第2プロセッサについては、フローチャートなどの任意の手法により、その動作ロジックを定義することができる。より望ましくは、第2プロセッサのロジックは、上述した実施例のように、ステートマシンを用いて定義される。ステートマシンを用いることで、第2プロセッサの動作をより容易にモデリングすることが可能となる。 The operation logic of the second processor can be defined by an arbitrary method such as a flowchart. More preferably, the logic of the second processor is defined using a state machine as in the above-described embodiment. By using the state machine, the operation of the second processor can be more easily modeled.
また、ステートマシンは、実施例のように、第2プロセッサにより生産情報をイベントに付加する場合以外にも適用できる。例えば、状態遷移に応じて、処理システムPSに対して入力操作(制御信号)を送信するよう、ステートマシンのアクションを設定することもできる。 The state machine can also be applied to cases other than the case where production information is added to an event by the second processor as in the embodiment. For example, the action of the state machine can be set to transmit an input operation (control signal) to the processing system PS in accordance with the state transition.
以上で説明した支援システム1において、モデル編集ユニット10は、例えば、CPUやメモリなどを備えたコンピュータにより構成される。このコンピュータのプログラム格納部には、当該コンピュータを、読込部11、編集部12、出力部13などとして機能させるためのプログラムが格納されている。
また、データ収集ユニット20は、監視制御ユニットにより構成される。このユニットのプログラム格納部には、当該ユニットを、生成部21、駆動部22、判定部23、通知部24などとして機能させるためのプログラムが格納されている。
In the support system 1 described above, the
The
以上で説明した実施形態に係るモデル編集ユニット、モデル編集方法、支援システムを用いることで、多様なデータ収集フローを容易に構築することが可能である。同様に、コンピュータを、モデル編集ユニットまたは支援システムとして動作させるためのプログラムを用いることで、多様なデータ収集フローを容易に構築することが可能である。 By using the model editing unit, the model editing method, and the support system according to the embodiment described above, various data collection flows can be easily constructed. Similarly, it is possible to easily construct various data collection flows by using a program for operating a computer as a model editing unit or a support system.
以上、本発明のいくつかの実施形態を例示したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更などを行うことができる。これら実施形態やその変形例は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。また、前述の各実施形態は、相互に組み合わせて実施することができる。 As mentioned above, although several embodiment of this invention was illustrated, these embodiment is shown as an example and is not intending limiting the range of invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, changes, and the like can be made without departing from the spirit of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and equivalents thereof. Further, the above-described embodiments can be implemented in combination with each other.
1 支援システム、 2 データ収集フロー、 10 モデル編集ユニット、 11 読込部、 12 編集部、 13 出力部、 20 データ収集ユニット、 21 生成部、 22 駆動部、 23 判定部、 24 通知部、 31 第1記憶部、 32 第2記憶部、 33 第3記憶部、 41a〜41c、41a1〜41a4 キュー、 42a〜42f プロセッサ、 43 編集領域、 44 有向線、 45a〜45c、45e〜45g 項目、 45m、45n マーク、 47 注釈、 61 BCRデータ受信部、 62 シリアルデータ受信部、 63 入力用イベントデータリスト、 64 入力用プロセスデータリスト、 65 ステートマシン駆動部、 66 ステートマシンリスト、 66a 仮想ローダ、 67 設定ファイル読込部、 68 紐付け部、 69 出力用イベントデータリスト、 70 出力用プロセスデータリスト、 71 イベントデータ出力部、 72 プロセスデータ出力部、 A、B、B1〜B6、C 検出部 DESCRIPTION OF SYMBOLS 1 Support system, 2 Data collection flow, 10 Model editing unit, 11 Reading part, 12 Editing part, 13 Output part, 20 Data collection unit, 21 Generation part, 22 Drive part, 23 Determination part, 24 Notification part, 31 1st Storage unit, 32 second storage unit, 33 third storage unit, 41a-41c, 41a1-41a4 queue, 42a-42f processor, 43 editing area, 44 directed line, 45a-45c, 45e-45g item, 45m, 45n Mark, 47 Annotation, 61 BCR data receiver, 62 Serial data receiver, 63 Event data list for input, 64 Process data list for input, 65 State machine driver, 66 State machine list, 66a Virtual loader, 67 Load configuration file Part, 68 tying part, 69 out Event data list for power, 70 process data list for output, 71 event data output unit, 72 process data output unit, A, B, B1-B6, C detection unit
Claims (13)
前記複数の第1プロセッサの少なくとも1つで収集された前記イベントを保持する第1キューと、
前記第1キューに保持された前記イベントに、それぞれ互いに異なる生産情報を付加し、処理イベントを出力する複数の第2プロセッサであって、前記複数の第2プロセッサの1つは、前記処理システムへのワークの投入を示す前記イベントが前記第1キューに保持されると、複数の状態と、前記複数の状態間の遷移と、アクションと、を含むステートマシンを生成し、前記生産情報としてIDを発番して前記ステートマシンに付加する、前記複数の第2プロセッサと、
を含むソフトウェア部品の情報を有する定義ファイルを読み込む読込部と、
前記定義ファイルの前記情報に対応する前記ソフトウェア部品、及び編集領域を表示し、前記編集領域において、前記複数の第1プロセッサの少なくとも1つと前記第1キューとが接続され、前記第1キューと前記複数の第2プロセッサの少なくとも1つとが接続されることで、モデルを構築可能とする編集部と、
を備えたモデル編集ユニット。 A plurality of first processors each collecting data of different detection units provided in the processing system as events;
A first queue for holding at least one said event which is collected by the plurality of first processors,
A plurality of second processors that add different production information to the event held in the first queue and output a processing event, wherein one of the plurality of second processors is sent to the processing system. When the event indicating the input of the workpiece is held in the first queue , a state machine including a plurality of states, transitions between the plurality of states, and an action is generated, and an ID is used as the production information. A plurality of second processors that issue and add to the state machine;
A reading unit for reading a definition file having information on software parts including
The software component corresponding to the information of the definition file and an editing area are displayed, and in the editing area, at least one of the plurality of first processors and the first queue are connected, and the first queue and the An editing unit that allows a model to be constructed by being connected to at least one of a plurality of second processors;
Model editing unit with
前記第2キューは、前記複数の第2プロセッサの少なくとも1つから出力された前記処理イベントを保持し、
前記複数の第3プロセッサは、前記第2キューに保持された前記処理イベントを、それぞれ、互いに異なる方式で外部に出力する請求項1記載のモデル編集ユニット。 In the definition file, the software component includes a second queue and a plurality of third processors,
The second queue holds the processing event output from at least one of the plurality of second processors,
2. The model editing unit according to claim 1, wherein the plurality of third processors output the processing events held in the second queue to the outside in different ways.
前記出力部は、構築された前記モデルを、前記処理システムのデータを収集するデータ収集ユニットで読み込み可能な設定ファイルとして出力する請求項1または2に記載のモデル編集ユニット。 An output unit;
The model editing unit according to claim 1, wherein the output unit outputs the constructed model as a setting file that can be read by a data collection unit that collects data of the processing system.
前記複数の第2プロセッサの別の1つは、前記波形データの一部を切り出し、前記IDと紐付ける請求項1記載のモデル編集ユニット。 One of the plurality of first processors collects waveform data in a processing system as the event;
2. The model editing unit according to claim 1, wherein another one of the plurality of second processors cuts out a part of the waveform data and associates it with the ID.
前記複数の第1プロセッサの少なくとも1つで収集された前記イベントを保持する第1キューと、
前記第1キューに保持された前記イベントに、それぞれ互いに異なる生産情報を付加し、処理イベントを出力する複数の第2プロセッサであって、前記複数の第2プロセッサの1つは、前記処理システムへのワークの投入を示す前記イベントが前記第1キューに保持されると、複数の状態と、前記複数の状態間の遷移と、アクションと、を含むステートマシンを生成し、前記生産情報としてIDを発番して前記ステートマシンに付加する、前記複数の第2プロセッサと、
を含むソフトウェア部品の情報を有する定義ファイルを、モデル編集ユニットの読込部に読み込ませ、
前記定義ファイルの前記情報に対応する前記ソフトウェア部品と、編集領域と、を前記モデル編集ユニットの編集部に表示させ、前記編集領域において、ユーザが、前記複数の第1プロセッサの少なくとも1つと前記第1キューとを接続し、前記第1キューと前記複数の第2プロセッサの少なくとも1つとを接続することでモデルを構築する、モデル編集方法。 A plurality of first processors each collecting data of different detection units provided in the processing system as events;
A first queue holding the events collected by at least one of the plurality of first processors;
A plurality of second processors that add different production information to the event held in the first queue and output a processing event, wherein one of the plurality of second processors is sent to the processing system. When the event indicating the input of the workpiece is held in the first queue , a state machine including a plurality of states, transitions between the plurality of states, and an action is generated, and an ID is used as the production information. A plurality of second processors that issue and add to the state machine;
The definition file with the information of software components, including, Mase write reading the reading portion of the model editing unit,
The software component corresponding to the information in the definition file and an editing area are displayed on the editing unit of the model editing unit, and in the editing area, the user can select at least one of the plurality of first processors and the first area. A model editing method, wherein a model is constructed by connecting one queue and connecting the first queue and at least one of the plurality of second processors.
前記第2キューは、前記複数の第2プロセッサの少なくとも1つから出力された前記処理イベントを保持し、
前記複数の第3プロセッサは、前記第2キューに保持された前記処理イベントを、それぞれ、互いに異なる方式で外部に出力する請求項5記載のモデル編集方法。 In the definition file, the software component includes a second queue and a plurality of third processors,
The second queue holds the processing event output from at least one of the plurality of second processors,
6. The model editing method according to claim 5, wherein the plurality of third processors output the processing events held in the second queue to the outside in different ways.
前記複数の第2プロセッサの別の1つは、前記波形データの一部を切り出し、前記IDと紐付ける請求項5記載のモデル編集方法。 One of the plurality of first processors collects waveform data in a processing system as the event;
The model editing method according to claim 5, wherein another one of the plurality of second processors cuts out a part of the waveform data and associates it with the ID.
処理システムに設けられる互いに異なる検出部のデータをそれぞれイベントとして収集する複数の第1プロセッサと、
前記複数の第1プロセッサの少なくとも1つで収集された前記イベントを保持する第1キューと、
前記第1キューに保持された前記イベントに、それぞれ互いに異なる生産情報を付加し、処理イベントを出力する複数の第2プロセッサであって、前記複数の第2プロセッサの1つは、前記処理システムへのワークの投入を示す前記イベントが前記第1キューに保持されると、複数の状態と、前記複数の状態間の遷移と、アクションと、を含むステートマシンを生成し、前記生産情報としてIDを発番して前記ステートマシンに付加する、前記複数の第2プロセッサと、
を含むソフトウェア部品の情報を有する定義ファイルを読み込ませ、
前記定義ファイルの前記情報に対応する前記ソフトウェア部品と、編集領域と、を表示させ、前記編集領域において、前記複数の第1プロセッサの少なくとも1つと前記第1キューとが接続され、前記第1キューと前記複数の第2プロセッサの少なくとも1つとが接続されることで、モデルを構築可能とさせる、プログラム。 On the computer,
A plurality of first processors each collecting data of different detection units provided in the processing system as events;
A first queue holding the events collected by at least one of the plurality of first processors;
A plurality of second processors that add different production information to the event held in the first queue and output a processing event, wherein one of the plurality of second processors is sent to the processing system. When the event indicating the input of the workpiece is held in the first queue , a state machine including a plurality of states, transitions between the plurality of states, and an action is generated, and an ID is used as the production information. A plurality of second processors that issue and add to the state machine;
Read the definition file that contains the software component information including
The software component corresponding to the information of the definition file and an editing area are displayed, and in the editing area, at least one of the plurality of first processors and the first queue are connected, and the first queue And at least one of the plurality of second processors are connected to each other so that a model can be constructed.
前記第2キューは、前記複数の第2プロセッサの少なくとも1つから出力された前記処理イベントを保持し、
前記複数の第3プロセッサは、前記第2キューに保持された前記処理イベントを、それぞれ、互いに異なる方式で外部に出力する請求項9記載のプログラム。 In the definition file, the software component includes a second queue and a plurality of third processors,
The second queue holds the processing event output from at least one of the plurality of second processors,
The program according to claim 9, wherein the plurality of third processors output the processing events held in the second queue to the outside in different ways.
前記複数の第2プロセッサの別の1つは、前記波形データの一部を切り出し、前記IDと紐付ける請求項9記載のプログラム。 One of the plurality of first processors collects waveform data in a processing system as the event;
The program according to claim 9, wherein another one of the plurality of second processors cuts out a part of the waveform data and associates it with the ID.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018021433A JP6578028B2 (en) | 2018-02-08 | 2018-02-08 | Model editing unit, model editing method, program, and storage medium |
PCT/JP2018/035425 WO2019155678A1 (en) | 2018-02-08 | 2018-09-25 | Model editing unit, model editing method, and assistance system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018021433A JP6578028B2 (en) | 2018-02-08 | 2018-02-08 | Model editing unit, model editing method, program, and storage medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019087422A Division JP7143245B2 (en) | 2019-05-07 | 2019-05-07 | Data collection unit, data collection method, model editing unit, model editing method, support system, program, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019139456A JP2019139456A (en) | 2019-08-22 |
JP6578028B2 true JP6578028B2 (en) | 2019-09-18 |
Family
ID=67548570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018021433A Active JP6578028B2 (en) | 2018-02-08 | 2018-02-08 | Model editing unit, model editing method, program, and storage medium |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6578028B2 (en) |
WO (1) | WO2019155678A1 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6483524B1 (en) * | 1999-10-01 | 2002-11-19 | Global Graphics Software Limited | Prepress workflow method using raster image processor |
JP2002163003A (en) * | 2000-11-27 | 2002-06-07 | Yamatake Sangyo Systems Co Ltd | Device and method for preparing control program, and recording medium |
JP4691895B2 (en) * | 2004-03-31 | 2011-06-01 | 株式会社国際電気通信基礎技術研究所 | Data processing system design apparatus and computer program therefor |
US20090070121A1 (en) * | 2007-09-11 | 2009-03-12 | Jean-Baptiste Leonelli | System, Method And Graphical User Interface For Workflow Generation, Deployment And/Or Execution |
JP6531374B2 (en) * | 2014-10-31 | 2019-06-19 | キヤノンマーケティングジャパン株式会社 | INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM |
JP6505767B2 (en) * | 2016-11-09 | 2019-04-24 | 株式会社東芝 | Data acquisition system, processing system, program, and storage medium |
-
2018
- 2018-02-08 JP JP2018021433A patent/JP6578028B2/en active Active
- 2018-09-25 WO PCT/JP2018/035425 patent/WO2019155678A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2019155678A1 (en) | 2019-08-15 |
JP2019139456A (en) | 2019-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2680175A1 (en) | Design assistance system | |
US20140075320A1 (en) | Design assistance system | |
JP2006139514A (en) | Information processing device and method, operational status control device, program, and computer readable recording medium in which program is recorded | |
JP6802872B2 (en) | Processing systems, programs, and storage media | |
CN102067117B (en) | Method for displaying and operating table | |
KR101772785B1 (en) | Program chart display device, program chart display method, and computer readable recoding medium for recording program chart display program | |
JP6741923B1 (en) | Information collecting system for industrial equipment, control device for industrial equipment, and information collecting method for industrial equipment | |
JP2007079896A (en) | Monitoring device and monitoring method | |
JP6578028B2 (en) | Model editing unit, model editing method, program, and storage medium | |
JP2011039786A (en) | Software test support device, software test support method and program | |
US20230133985A1 (en) | Display control device and display control method | |
JP7143245B2 (en) | Data collection unit, data collection method, model editing unit, model editing method, support system, program, and storage medium | |
JP2019159405A (en) | Gui test device, gui test method and program | |
JP2014153722A (en) | Log visualization operation screen control system and method | |
JP2012174179A (en) | Operation definition generation device for monitoring control system | |
JP5916897B2 (en) | Project data creation device | |
JP2007072546A (en) | Flow editing device and flow editing method | |
JP2008158691A (en) | Parts list generation method and parts list generation program | |
JP2007072545A (en) | Monitoring device and monitoring method | |
JP2018124785A (en) | Information processing device, and method and program for controlling information processing device | |
US20220164495A1 (en) | Manufacturing system design assistance apparatus | |
JP2008117029A (en) | Method for checking out invalid procedure during creation of operational work procedure, method for generating command for preventing occurrence of failure, automatic execution command generation system, and program therefor | |
JP2009098898A (en) | Check item display device, check item display method, program and storage medium | |
JP3357563B2 (en) | Operation log data management device | |
JP2014203257A (en) | Quality control method and program for quality control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190218 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20190218 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20190222 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190226 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190507 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190521 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190716 |
|
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: 20190725 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190823 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6578028 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |