JP3084012B2 - Control device and method of creating control program therefor - Google Patents

Control device and method of creating control program therefor

Info

Publication number
JP3084012B2
JP3084012B2 JP10146103A JP14610398A JP3084012B2 JP 3084012 B2 JP3084012 B2 JP 3084012B2 JP 10146103 A JP10146103 A JP 10146103A JP 14610398 A JP14610398 A JP 14610398A JP 3084012 B2 JP3084012 B2 JP 3084012B2
Authority
JP
Japan
Prior art keywords
mode
control
controlled element
stop
directly
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.)
Expired - Fee Related
Application number
JP10146103A
Other languages
Japanese (ja)
Other versions
JPH11338517A (en
Inventor
卓雄 高野
Original Assignee
株式会社デンノー
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社デンノー filed Critical 株式会社デンノー
Priority to JP10146103A priority Critical patent/JP3084012B2/en
Priority to GB9900528A priority patent/GB2334596B/en
Priority to US09/244,846 priority patent/US6591152B1/en
Priority to DE19904946A priority patent/DE19904946A1/en
Publication of JPH11338517A publication Critical patent/JPH11338517A/en
Application granted granted Critical
Publication of JP3084012B2 publication Critical patent/JP3084012B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御用のコンピュ
ータ・プログラムを規格化するための技術に関する。本
発明は、制御用のコンピュータ・プログラムの設計、修
正、改造その他を規格化して単純に実行するための技術
に関する。本発明は、一つの被制御系に含まれる複数n
個の被制御要素をそれぞれ個別に制御するn個の制御モ
ジュールと、この制御モジュールを階層的に制御する制
御モジュールとを組合わせて作る制御装置の制御プログ
ラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for standardizing a computer program for control. The present invention relates to a technique for simply executing design, modification, remodeling, and the like of a control computer program by standardizing the program. The present invention provides a method for controlling a plurality of n
The present invention relates to a control program for a control device formed by combining n control modules that individually control the controlled elements and control modules that hierarchically control the control modules.

【0002】[0002]

【従来の技術】一つの「系」の中にn個の被制御要素が
設けられ、そのn個の被制御要素をそれぞれ個別に制御
するためにn個の制御モジュールが設けられ、そのn個
の制御モジュールを階層的に制御する制御モジュールを
設け、全体として前記「系」を制御する技術が広く行わ
れている。
2. Description of the Related Art In one "system", n controlled elements are provided, and n control modules are provided for individually controlling the n controlled elements, and the n control modules are provided. There is widely used a technique for providing a control module for hierarchically controlling the above control modules, and for controlling the “system” as a whole.

【0003】図2は一つの系を模式的に表す制御系統図
である。この図2は従来例技術においても本発明実施例
においても共通である。図2で、この系には複数n個の
被制御要素E(1)〜E(n)を備える。この被制御要
素E(1)〜E(3)を一つの制御モジュールM(1)
が制御する。被制御要素E(4)、E(5)、…を制御
モジュールM(2)が制御する。被制御要素E(i)〜
E(n)を制御モジュールM(k)が制御する。そし
て、制御モジュールM(1)およびM(2)を一つの制
御モジュール(k+1)が制御し、制御モジュールM
(k)までの複数の制御モジュールを一つの制御モジュ
ールM(k+2)が制御する。さらにこの二つの制御モ
ジュールM(k+1)およびM(k+2)を一つの制御
モジュールM(k+3)が制御するというように階層構
造になっている。
FIG. 2 is a control system diagram schematically showing one system. FIG. 2 is common to both the prior art and the embodiment of the present invention. In FIG. 2, this system includes a plurality of n controlled elements E (1) to E (n). The controlled elements E (1) to E (3) are connected to one control module M (1).
Controls. The control module M (2) controls the controlled elements E (4), E (5),... Controlled element E (i) ~
E (n) is controlled by the control module M (k). Then, one control module (k + 1) controls the control modules M (1) and M (2).
One control module M (k + 2) controls a plurality of control modules up to (k). Further, the two control modules M (k + 1) and M (k + 2) have a hierarchical structure such that one control module M (k + 3) controls them.

【0004】そして、一つの通信用メモリCOMが設け
られ、各制御モジュールM(1)〜M(k)は、この通
信用メモリCOMに通信線C(1)〜C(k+3)によ
りアクセスできるように構成されている。各制御モジュ
ールM(1)〜M(k)は定められた周期で、この通信
用メモリCOMの割当てられた領域に書込まれた自モジ
ュール宛ての通信を読取りに行くとともに、他モジュー
ルに割当てられた領域にそのモジュール宛ての通信を書
込みに行くように構成されている。
[0004] One communication memory COM is provided, and each control module M (1) to M (k) can access the communication memory COM through communication lines C (1) to C (k + 3). Is configured. Each of the control modules M (1) to M (k) reads the communication addressed to the own module written in the assigned area of the communication memory COM at a predetermined cycle, and is assigned to another module. It is configured so that the communication addressed to the module is written in the area set.

【0005】これを分かりやすくするために例示により
説明する。いまかりに、この系が半導体製造装置である
とすると、被制御要素E(1)は第一真空チャンバの真
空ポンプであり、被制御要素E(2)は第一真空チャン
バの内部エレベータであり、被制御要素E(3)は第一
真空チャンバの圧力バルブである。被制御要素E(4)
は第二真空チャンバとの連絡室用真空ポンプであり、被
制御要素E(5)はこの連絡室の搬送ベルトである。被
制御要素E(i)は製品出口の開閉扉であり、被制御要
素E(n−1)は製品出口のエレベータであり、被制御
要素E(n)は製品出口の搬送具である。
[0005] This will be described by way of example to make it easier to understand. Now, assuming that this system is a semiconductor manufacturing apparatus, the controlled element E (1) is a vacuum pump of the first vacuum chamber, the controlled element E (2) is an internal elevator of the first vacuum chamber, The controlled element E (3) is a pressure valve of the first vacuum chamber. Controlled element E (4)
Is a vacuum pump for the communication chamber with the second vacuum chamber, and the controlled element E (5) is a transport belt of this communication chamber. The controlled element E (i) is a door at the product outlet, the controlled element E (n-1) is an elevator at the product outlet, and the controlled element E (n) is a transporter at the product outlet.

【0006】これらの被制御要素E(i)〜E(n)
は、一つの制御モジュールM(k+3)の制御により統
括されて、階層的に各制御モジュールM(1)〜M(k
+2)により制御されて、一例の連続的な半導体製造工
程を実現する。すなわち、第一真空チャンバに材料とな
るシリコンウエーハが搬入され、定められた位置に設定
され、真空ポンプの動作により真空度が高められ、蒸着
工程が実施され、というようにして、最終的に複数の工
程を経た製品(または半製品)が製品出口に搬出され
る。
The controlled elements E (i) to E (n)
Are controlled by the control of one control module M (k + 3), and the control modules M (1) to M (k
+2) to realize an example of a continuous semiconductor manufacturing process. That is, a silicon wafer as a material is loaded into the first vacuum chamber, set at a predetermined position, the degree of vacuum is increased by the operation of a vacuum pump, a vapor deposition process is performed, and so on. The product (or semi-finished product) that has passed through the step is carried out to the product outlet.

【0007】それぞれの被制御要素にはセンサがあり、
このセンサ出力情報はその被制御要素を制御する制御モ
ジュールに送られる。各制御モジュールはこのセンサ出
力情報にしたがって、サーボ制御が実行される。そし
て、他の制御モジュールとの関連情報は、通信用メモリ
COMを介して他の制御モジュールに伝達され、他の制
御モジュールから伝達される。
Each controlled element has a sensor,
This sensor output information is sent to a control module that controls the controlled element. Each control module executes servo control according to the sensor output information. Then, the information related to the other control module is transmitted to the other control module via the communication memory COM, and transmitted from the other control module.

【0008】[0008]

【発明が解決しようとする課題】ここで、本願発明者は
長らく図2に例示するような複数の制御モジュールが複
数の被制御要素を制御する制御系の制御プログラムの設
計に従事してきたが、被制御要素E(1)〜E(n)
は、ある場合にはバルブであり、ある場合にはモータの
スイッチであり、またある場合にはロボット装置の回転
軸である。そうすると、それぞれの制御モジュールはそ
れに適合するように、それぞれ異なる仕様のものが利用
されてきた。
Here, the present inventor has long been engaged in designing a control program for a control system in which a plurality of control modules as shown in FIG. 2 control a plurality of controlled elements. Controlled elements E (1) to E (n)
Is a valve in some cases, a switch of a motor in some cases, and a rotation axis of a robot device in some cases. Then, each control module has a different specification so as to conform to it.

【0009】すなわち、このような一つの制御系の制御
プログラムを設計する場合に、それぞれ被制御要素E
(1)〜E(n)毎に、その特性や特徴に合わせて制御
モジュールを設計することが必要であった。このため
に、制御系の制御プログラムの設計にはきわめて多数の
工数を要するとともに、かりに、仕様変更や修正が必要
となる場合には、制御モジュールの制御プログラムをそ
の都度変更するなどの大きい工数を要することになって
いた。つまり、階層的に組合された制御モジュールの一
つに設計変更を要することがあると、その上位の制御モ
ジュールにも、あるいはその下位の制御モジュールにも
それが影響して、多数の制御モジュールの設計変更を伴
うことになっていた。
That is, when designing a control program for one such control system, each of the controlled elements E
It is necessary to design a control module in accordance with the characteristics and characteristics for each of (1) to E (n). For this reason, the design of the control program for the control system requires an extremely large number of man-hours, and when the specifications need to be changed or modified, large man-hours such as changing the control program of the control module each time are required. It was supposed to be. In other words, if a design change is required for one of the hierarchically combined control modules, it may affect the higher-level control module or the lower-level control module, and may affect many control modules. The design was to be changed.

【0010】また、新規に設定される被制御系を構成す
る被制御要素の中に、過去に用いた被制御要素が含まれ
ている場合でも、設計者は改めて新規の被制御系全体の
動作を把握し、最初のステップから最終のステップまで
を一連の動作に照らしてプログラムを作成する必要があ
る。したがって、過去の設計を流用するとしても、その
上位および下位の制御モジュールのプログラムもそれに
合わせて変更することが必要になる。結果的に、原則的
に過去に用いた部分的な被制御要素のプログラムを新規
の被制御系のプログラムに転用することができるとして
も、ごく一部に限られることになっていた。
In addition, even if the controlled elements constituting the newly set controlled system include the controlled elements used in the past, the designer needs to re-operate the new controlled system. It is necessary to create a program from the first step to the last step in light of a series of operations. Therefore, even if a past design is diverted, it is necessary to change the programs of the upper and lower control modules accordingly. As a result, in principle, even if a partially controlled element program used in the past can be diverted to a new controlled system program, it is limited to only a small part.

【0011】本発明はこのような背景に行われたもので
あって、過去に設計した制御モジュールのプログラムの
重要部分を、そのまま利用することができるプログラム
制御装置およびその制御プログラムの作成方法を提供す
ることを目的とする。本発明は、制御モジュールを組み
合わせて作成する制御系の制御プログラム作成のための
工数を著しく小さくすることができる、制御装置および
その制御プログラムの作成方法を提供することを目的と
する。本発明は制御プログラム作成の工程を合理化する
ことができる制御装置およびその制御プログラムの作成
方法を提供することを目的とする。本発明は、制御対象
となる装置、被制御要素が異なる場合であっても、過去
に設計した制御モジュールのプログラムをわずかな変更
により組み込むことができる制御装置およびその制御プ
ログラムの作成方法を提供することを目的とする。本発
明は、被制御要素や制御条件に変更や修正が発生した場
合でも、小さい作業工数でこれに対応することができる
制御装置およびその制御プログラム作成方法を提供する
ことを目的とする。本発明は、被制御要素や制御条件に
変更や修正が発生した場合でも、専門的な知識を有しな
い一般ユーザがこれに対応することができる制御装置お
よびその制御プログラム作成方法を提供することを目的
とする。
The present invention has been made in such a background, and provides a program control device and a method of creating the control program, which can directly use an important part of a program of a control module designed in the past. The purpose is to do. SUMMARY OF THE INVENTION An object of the present invention is to provide a control device and a method of creating a control program that can significantly reduce the number of steps for creating a control program for a control system created by combining control modules. An object of the present invention is to provide a control device capable of streamlining the process of creating a control program and a method of creating the control program. The present invention provides a control device capable of incorporating a program of a control module designed in the past with a slight change even if the device to be controlled and the controlled element are different, and a method of creating the control program. The purpose is to: It is an object of the present invention to provide a control device and a control program creation method capable of coping with a change or correction of a controlled element or control condition with a small number of man-hours. An object of the present invention is to provide a control device and a control program creation method for a general user who does not have specialized knowledge to respond to a change or correction of a controlled element or a control condition even when the change or correction occurs. Aim.

【0012】[0012]

【課題を解決するための手段】本発明は、一つの系を制
御する制御装置の中で、制御モジュールのモードおよび
モードの遷移をすべての制御モジュールについて統一化
することをその第一の特徴とする。ある制御モジュール
で基本モジュールのうち使わないモードがあるとして
も、そのモードを基本モジュールにしたがって設けたま
まとする。また、モードおよびモードの遷移を基本モジ
ュールに備えられたものを越えて拡大しないことにす
る。拡大する必要があるときには、別の制御モジュール
を当てて設計を行う。制御モジュールのモジュールおよ
びモジュールの遷移は、すべて、少なくとも一つの閉じ
た系の中で統一化する。制御条件や被制御要素により与
えられる条件にしたがって、そのモードおよびモードの
遷移に対してパラメタを設定することによりあらゆる制
御態様について設計を行うことができる。
SUMMARY OF THE INVENTION The first feature of the present invention is to unify the mode of the control module and the transition of the mode for all the control modules in the control device for controlling one system. I do. Even if a certain control module has a mode which is not used among the basic modules, the mode is kept provided according to the basic module. In addition, modes and mode transitions are not expanded beyond those provided in the basic module. When it is necessary to expand, another control module is used for the design. All the modules of the control module and the transitions of the modules are unified in at least one closed system. By setting parameters for the mode and the transition of the mode in accordance with the control condition and the condition given by the controlled element, it is possible to design any control mode.

【0013】すなわち本発明の第一の観点は、複数の被
制御要素をそれぞれ制御する複数の制御モジュールと、
この複数の制御モジュールを階層的に制御する一以上の
制御モジュールと、前記制御モジュール間の通信手段と
を備え全体で一つの系を制御する制御装置であって、前
記制御モジュールのモードおよびモードの遷移が統一化
された制御装置である。
That is, a first aspect of the present invention provides a plurality of control modules for controlling a plurality of controlled elements, respectively.
A control device comprising one or more control modules for hierarchically controlling the plurality of control modules, and communication means between the control modules, and controlling one system as a whole. This is a control device whose transition is unified.

【0014】ここで、本発明の特徴とするところは、前
記複数の制御モジュールには、それぞれ階層的に上位の
制御モジュールからの命令により前記複数の被制御要素
を制御する手順を記録した具体的なシーケンス・データ
・テーブルと、このシーケンス・データ・テーブルを参
照して前記被制御要素の制御を実行するインタープリタ
制御手段とを備えたところにある。
Here, a feature of the present invention is that the plurality of control modules each include a procedure for controlling the plurality of controlled elements by an instruction from a hierarchically higher-order control module. A sequence data table, and interpreter control means for controlling the controlled element with reference to the sequence data table.

【0015】前記制御モジュールの非動作時に前記シー
ケンス・データ・テーブルは端末装置からのアクセスに
より変更可能に設定されることが望ましい。
Preferably, the sequence data table is set to be changeable by access from a terminal device when the control module is not operating.

【0016】前記シーケンス・データ・テーブルは、当
業者が理解できる程度の中間言語により記録され、前記
端末装置に入力されるユーザが専門知識を有しなくとも
理解できる通常言語による表示を前記シーケンス・デー
タ・テーブルの形式に自動的に翻訳する翻訳手段を備え
ることが望ましい。
The sequence data table is recorded in an intermediate language that can be understood by those skilled in the art, and a display in a normal language, which is input to the terminal device and can be understood by a user without having specialized knowledge, is stored in the sequence data table. It is desirable to have a translation means for automatically translating into the form of a data table.

【0017】これにより、本発明の制御装置を利用する
ユーザが、その被制御要素の動作をユーザ自身で書換え
ることができる。すなわち、被制御要素や制御条件に変
更や修正が発生した場合でも、専門的な知識を有しない
一般ユーザがこれに対応することができる。
Thus, the user using the control device of the present invention can rewrite the operation of the controlled element by himself / herself. That is, even when a change or correction occurs in the controlled element or the control condition, a general user who does not have specialized knowledge can respond to this.

【0018】前記通常言語による表示は、フローチャー
ト、タイムチャート、シーケンス表のうちの一つである
ことができる。
The display in the normal language may be one of a flowchart, a time chart, and a sequence table.

【0019】前記翻訳手段は、前記端末装置に入力され
た前記通常言語による表示が不適当であり翻訳が実行で
きないときにはその端末装置に再入力を促す表示を行う
手段を含むことが望ましい。
Preferably, the translation means includes a means for prompting the terminal device to re-input when the display in the normal language input to the terminal device is inappropriate and the translation cannot be executed.

【0020】このように、ユーザとの対話形式により、
本発明の制御装置に適する形でユーザ・データを得るこ
とができる。このとき、ユーザとしては、専門的な知識
を有しなくてもデータの過不足を制御装置との対話によ
って知ることができるため、最適なユーザ・データを制
御装置に提供することができる。
As described above, in the form of dialogue with the user,
User data can be obtained in a form suitable for the control device of the present invention. At this time, since the user can know the excess or deficiency of the data by interacting with the control device without having any specialized knowledge, it is possible to provide optimal user data to the control device.

【0021】また、前記制御モジュールのモードおよび
モードの遷移は、対応する被制御要素の起動を制御する
起動モードと、この起動モードから直接に移行できその
被制御要素の正常動作を制御する正常動作モードと、こ
の正常動作モードと相互にかつ直接に移行できその被制
御要素の停止を制御する停止モードと、この停止モード
と相互にかつ直接に移行でき前記起動モードへ直接に移
行できかつ前記被制御要素を保留状態に制御する保留モ
ードと、この保留モードから直接に移行できるとともに
前記停止モードと相互に移行でき前記被制御要素を逆転
状態に制御する逆転モードと、前記保留モードから直接
に移行できるとともに前記停止モードと相互に移行でき
前記正常動作モードまたは前記起動モードに移行可能で
あり前記被制御要素を手動制御する手動制御モードと、
前記各モードから移行でき警報を発生させる警報モード
と、前記各モードから移行でき前記各モードの少なくと
も一部について一時的に同期から外れた動作を行わせる
例外動作モードと、前記保留モードから直接に移行でき
前記被制御要素の制御を終了させる終了モードとを含
む。
Further, the mode of the control module and the mode transition include a start mode for controlling the start of the corresponding controlled element, and a normal operation for directly shifting from the start mode and controlling the normal operation of the controlled element. And a stop mode that can shift directly and directly to the normal operation mode and control the stop of the controlled element; and a shift mode that can shift directly and directly to the stop mode and that can shift directly to the start mode and change the start mode. A holding mode for controlling a control element to a holding state, a reversing mode for directly shifting from the holding mode and reciprocating with the stop mode for controlling the controlled element to a reversing state, and shifting directly from the holding mode. And can shift to the stop mode and can shift to the normal operation mode or the start mode. And manual control mode for manual control,
An alarm mode in which a transition can be made from each of the modes and an alarm is generated, an exceptional operation mode in which a transition can be made from each of the modes and at least a part of each of the modes is temporarily out of synchronization, and directly from the hold mode And an end mode in which the control of the controlled element can be ended.

【0022】前記起動モードは、制御ファイルを作成す
るコールドスタートモードと、このコールドスタートモ
ードから移行されファイルデータをRAMに書込むホッ
トスタートモードとを含む。
The start modes include a cold start mode for creating a control file and a hot start mode for shifting from the cold start mode and writing file data to the RAM.

【0023】前記正常動作モードは、前記被制御要素が
原点にあることを確認する原点モードと、自動運転され
る前記被制御要素のシーケンスをシーケンス中断直前の
状態に戻す復元モードと、前記被制御要素を自動運転す
るための準備を行う準備モードと、前記被制御要素の自
動運転を行うための運転モードとを含む。
The normal operation mode includes an origin mode for confirming that the controlled element is at the origin, a restoration mode for returning the sequence of the automatically controlled controlled elements to a state immediately before the interruption of the sequence, It includes a preparation mode for preparing for automatic operation of the element and an operation mode for performing automatic operation of the controlled element.

【0024】前記停止モードは、前記被制御要素の運転
を緊急に停止する緊急停止モードと、前記被制御要素の
運転を徐々に停止する減速停止モードと、前記被制御要
素の運転をそのシーケンスの区切りで停止するステップ
停止モードとを含む。
The stop mode includes an emergency stop mode for urgently stopping the operation of the controlled element, a deceleration stop mode for gradually stopping the operation of the controlled element, And a step stop mode for stopping at a break.

【0025】前記保留モードは、CPUを停止すること
ができるCPU停止モードと、前記被制御要素を制御か
ら解放する制御解放モードと、制御から解放された前記
被制御要素を制御下に戻す制御回復モードと、前記被制
御要素の運転状況を情報化するとともに制御仕様を変更
することができる診断モードとを含む。
The suspension mode includes a CPU halt mode in which the CPU can be stopped, a control release mode for releasing the controlled element from control, and a control recovery for returning the controlled element released from control to control. And a diagnostic mode in which the operating state of the controlled element is converted into information and the control specification can be changed.

【0026】前記警報モードは、前記被制御要素の運転
に異常が検出されたときに運転を停止する異常停止モー
ドと、運転状況にかかわらず外部の指示にしたがって非
常停止を行う非常停止モードとを含む。
The alarm mode includes an abnormal stop mode in which the operation is stopped when an abnormality is detected in the operation of the controlled element, and an emergency stop mode in which an emergency stop is performed according to an external instruction regardless of the operating condition. Including.

【0027】本発明の第二の観点は前記制御装置の制御
プログラムの作成方法であって、モードおよびモードの
遷移が設定された基本モジュールを複数個複製する工程
と、複製された基本モジュールのモードおよびモードの
遷移の形態を固定したままこの基本モジュールをそれぞ
れ加工することにより各仕様に対応する複数の制御モジ
ュールを作成する工程と、この複数の制御モジュールを
階層的に組合せることにより一つの系の制御プログラム
を作成する工程とを含むことを特徴とする。
According to a second aspect of the present invention, there is provided a method for creating a control program for the control device, comprising: a step of copying a plurality of basic modules in which modes and mode transitions are set; And processing the basic module while fixing the mode transition mode to create a plurality of control modules corresponding to each specification, and combining the plurality of control modules hierarchically to form one system. And a step of creating the control program.

【0028】ここで前記基本モジュールについて、前記
モードおよびモードの遷移は、対応する被制御要素の起
動を制御する起動モードと、この起動モードから直接に
移行できその被制御要素の正常動作を制御する正常動作
モードと、この正常動作モードと相互にかつ直接に移行
できその被制御要素の停止を制御する停止モードと、こ
の停止モードと相互にかつ直接に移行でき前記起動モー
ドへ直接に移行できかつ前記被制御要素を保留状態に制
御する保留モードと、この保留モードから直接に移行で
きるとともに前記停止モードと相互に移行でき前記被制
御要素を逆転状態に制御する逆転モードと、前記保留モ
ードから直接に移行できるとともに前記停止モードと相
互に移行でき前記正常動作モードまたは前記起動モード
に移行可能であり前記被制御要素を手動制御する手動制
御モードと、前記各モードから移行でき警報を発生させ
る警報モードと、前記各モードから移行でき前記各モー
ドの少なくとも一部について一時的に同期から外れた動
作を行わせる例外動作モードと、前記保留モードから直
接に移行でき前記被制御要素の制御を終了させる終了モ
ードとを含む。
Here, with respect to the basic module, the modes and the mode transitions include a start mode for controlling the start of the corresponding controlled element, and a normal transition from the start mode to control the normal operation of the controlled element. A normal operation mode, a stop mode that can shift directly and directly to the normal operation mode and controls the stop of the controlled element, and a shift mode that can shift directly and directly to the stop mode and can directly shift to the start mode; A hold mode in which the controlled element is controlled to a hold state, a reverse mode in which the hold mode can be directly shifted and the stop mode can be shifted to each other to control the controlled element in a reverse state, and the hold mode directly. Can be shifted to the stop mode and can shift to the normal operation mode or the start mode. A manual control mode for manually controlling the controlled element, an alarm mode for shifting from each mode and generating an alarm, and an operation for temporarily shifting out of synchronization for at least a part of each mode that can shift from each mode. An exception operation mode to be performed and an end mode in which the control of the controlled element can be ended by directly shifting from the suspension mode are included.

【0029】本発明の第三の観点は機械読取可能な記録
媒体であり、本発明の特徴とするところは、この記録媒
体には、対応する被制御要素の起動を制御する起動モー
ドと、この起動モードから直接に移行でき前記被制御要
素の正常動作を制御する正常動作モードと、この正常動
作モードと相互にかつ直接に移行でき前記被制御要素の
停止を制御する停止モードと、この停止モードと相互に
かつ直接に移行でき前記起動モードへ直接に移行できか
つ前記被制御要素を保留状態に制御する保留モードと、
この保留モードから直接に移行できるとともに前記停止
モードと相互に移行でき前記被制御要素を逆転状態に制
御する逆転モードと、前記保留モードから直接に移行で
きるとともに前記停止モードと相互に移行でき前記正常
モードまたは前記起動モードに移行可能であり前記被制
御要素を手動制御する手動制御モードと、前記各モード
から移行でき警報を発生させる警報モードと、前記各モ
ードから移行でき前記各モードの少なくとも一部につい
て一時的に同期から外れた動作を行わせる例外動作モー
ドと、前記保留モードから直接に移行でき前記被制御要
素の制御を終了させる終了モードとを含み、それぞれ数
値を設定することにより制御プログラムとなる規格化さ
れたプログラムが記録されたところにある。
A third aspect of the present invention is a machine-readable recording medium. A feature of the present invention is that the recording medium includes an activation mode for controlling activation of a corresponding controlled element, A normal operation mode which can directly shift from the start mode and controls the normal operation of the controlled element; a stop mode which can shift directly and directly to the normal operation mode and controls the stop of the controlled element; A hold mode that can shift directly and mutually to the start mode and control the controlled element in a hold state mutually and directly,
The reverse mode, which can directly shift from the hold mode and can also shift to the stop mode and control the controlled element to the reverse state, and can shift directly from the hold mode and can shift to the stop mode mutually, At least a part of each of the modes that can be shifted from each of the modes, and a manual control mode that can shift to the mode or the start-up mode and that manually controls the controlled element; An exceptional operation mode in which an operation is temporarily out of synchronization, and an end mode in which control can be directly shifted from the hold mode to end the control of the controlled element, and a control program is performed by setting respective numerical values. Where a standardized program is recorded.

【0030】[0030]

【発明の実施の形態】発明の実施の形態を図1、図2、
図6および図13を参照して説明する。図1は本発明実
施例の統一化されたモードおよびそのモードの遷移を示
す図である。図2は本発明が実施される一つの制御系の
制御系統図である。図6は通信用メモリCOMの要部ブ
ロック構成図である。図13はシーケンス・データ・テ
ーブルの一例を示す図である。この制御系統図は多様に
構成することができるが、この図2には一つのわかりや
すいモデルを模式的に示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described with reference to FIGS.
This will be described with reference to FIGS. FIG. 1 is a diagram showing a unified mode and a transition of the mode according to the embodiment of the present invention. FIG. 2 is a control system diagram of one control system in which the present invention is implemented. FIG. 6 is a block diagram of a main part of the communication memory COM. FIG. 13 is a diagram showing an example of the sequence data table. Although this control system diagram can be variously configured, FIG. 2 schematically shows one easy-to-understand model.

【0031】図2において、この系には複数n個の被制
御要素E(1)〜E(n)を備える。この被制御要素E
(1)〜E(3)を一つの制御モジュールM(1)が制
御する。被制御要素E(4)、E(5)、…を制御モジ
ュールM(2)が制御する。被制御要素E(i)〜E
(n)を制御モジュールM(k)が制御する。そして、
制御モジュールM(1)およびM(2)を一つの制御モ
ジュールM(k+1)が制御し、制御モジュールM
(k)までの複数の制御モジュールを一つの制御モジュ
ールM(k+2)が制御する。さらにこの二つの制御モ
ジュールM(k+1)およびM(k+2)を一つの制御
モジュールM(k+3)が制御するというように階層構
造になっている。
In FIG. 2, the system includes a plurality of n controlled elements E (1) to E (n). This controlled element E
One control module M (1) controls (1) to E (3). The control module M (2) controls the controlled elements E (4), E (5),... Controlled elements E (i) to E
(N) is controlled by the control module M (k). And
One control module M (k + 1) controls the control modules M (1) and M (2),
One control module M (k + 2) controls a plurality of control modules up to (k). Further, the two control modules M (k + 1) and M (k + 2) have a hierarchical structure such that one control module M (k + 3) controls them.

【0032】そして、一つの通信用メモリCOMが設け
られ、各制御モジュールM(1)〜M(k+3)は、こ
の通信用メモリCOMに通信線C(1)〜C(k+3)
によりアクセスできるように構成されている。各制御モ
ジュールM(1)〜M(k+3)は定められた周期で、
この通信用メモリCOMの割当てられた領域に書込まれ
た自モジュール宛ての通信を読取りに行くとともに、他
モジュールに割当てられた領域にそのモジュール宛ての
通信を書込みに行くように構成されている。
Then, one communication memory COM is provided, and each control module M (1) to M (k + 3) connects communication lines C (1) to C (k + 3) to this communication memory COM.
Is configured to be accessible. Each of the control modules M (1) to M (k + 3) has a predetermined cycle,
The communication destined for the own module written in the assigned area of the communication memory COM is read, and the communication destined for that module is written in the area assigned to another module.

【0033】この複数n個の被制御要素E(1)〜E
(n)が実用的な装置とどのように対応するかについて
は、上の従来例技術の説明の欄と同等である。ここで説
明が繰り返しになるが、分かりやすくするために例示に
より説明する。いまかりに、この系が半導体製造装置で
あるとすると、被制御要素E(1)は第一真空チャンバ
の真空ポンプであり、被制御要素E(2)は第一真空チ
ャンバの内部エレベータであり、被制御要素E(3)は
第一真空チャンバの圧力バルブである。被制御要素E
(4)は第二真空チャンバとの連絡室用真空ポンプであ
り、被制御要素E(5)はこの連絡室の搬送ベルトであ
る。被制御要素E(i)は製品出口の開閉扉であり、被
制御要素E(n−1)は製品出口のエレベータであり、
被制御要素E(n)は製品出口の搬送具である。
The plurality of n controlled elements E (1) to E (E)
How (n) corresponds to a practical device is the same as that described in the description of the prior art. Here, the description will be repeated, but for simplicity, description will be given by way of example. Now, assuming that this system is a semiconductor manufacturing apparatus, the controlled element E (1) is a vacuum pump of the first vacuum chamber, the controlled element E (2) is an internal elevator of the first vacuum chamber, The controlled element E (3) is a pressure valve of the first vacuum chamber. Controlled element E
(4) is a vacuum pump for the communication room with the second vacuum chamber, and the controlled element E (5) is a transport belt of this communication room. The controlled element E (i) is an opening / closing door of a product outlet, the controlled element E (n-1) is an elevator of a product outlet,
The controlled element E (n) is a carrier at the product outlet.

【0034】これらの被制御要素E(i)〜E(n)
は、一つの制御モジュールM(k+3)の制御により統
括されて、階層的に各制御モジュールM(1)〜M(k
+2)により制御されて、一例の連続的な半導体製造工
程を実現する。すなわち、第一真空チャンバに材料とな
るシリコンウエーハが搬入され、定められた位置に設定
され、真空ポンプの動作により真空度が高められ、蒸着
工程が実施され、というようにして、最終的に複数の工
程を経た製品(または半製品)が製品出口に搬出され
る。
These controlled elements E (i) to E (n)
Are controlled by the control of one control module M (k + 3), and the control modules M (1) to M (k
+2) to realize an example of a continuous semiconductor manufacturing process. That is, a silicon wafer as a material is loaded into the first vacuum chamber, set at a predetermined position, the degree of vacuum is increased by the operation of a vacuum pump, a vapor deposition process is performed, and so on. The product (or semi-finished product) that has passed through the step is carried out to the product outlet.

【0035】それぞれの被制御要素にはセンサがあり、
このセンサ出力情報はその被制御要素を制御する制御モ
ジュールに送られる。各制御モジュールはこのセンサ出
力情報にしたがって、サーボ制御が実行される。そし
て、他の制御モジュールとの関連情報は、通信用メモリ
COMを介して他の制御モジュールに伝達され、他の制
御モジュールから伝達される。この制御モジュールM
(1)〜M(k+3)は、そのモードおよびモードの遷
移が図1に示すように統一化して設定され、この図1の
構成はすべての制御モジュールM(1)〜M(k+3)
について共通化する。
Each controlled element has a sensor,
This sensor output information is sent to a control module that controls the controlled element. Each control module executes servo control according to the sensor output information. Then, the information related to the other control module is transmitted to the other control module via the communication memory COM, and transmitted from the other control module. This control module M
The modes (1) to M (k + 3) are set such that their modes and mode transitions are unified as shown in FIG. 1, and the configuration of FIG. 1 has all the control modules M (1) to M (k + 3).
About.

【0036】ここで、本発明の特徴とするところは、制
御モジュールM(1)〜M(k+3)には、それぞれ階
層的に上位の制御モジュールからの命令により被制御要
素E(1)〜E(n)を制御する手順を記録した図13
に示すような具体的なシーケンス・データ・テーブル
と、このシーケンス・データ・テーブルを参照して被制
御要素E(1)〜E(n)の制御を実行するインタープ
リタ制御手段としての図6に示すアクセス制御部10と
を備えたところにある。
Here, a feature of the present invention is that the control modules M (1) to M (k + 3) are controlled by the commands from the hierarchically higher control modules, and the controlled elements E (1) to E (k) FIG. 13 recording the procedure for controlling (n)
6 and FIG. 6 as an interpreter control means for controlling the controlled elements E (1) to E (n) with reference to the specific sequence data table shown in FIG. An access control unit 10 is provided.

【0037】制御モジュールM(1)〜M(k+3)の
非動作時に前記シーケンス・データ・テーブルは端末装
置からのアクセスにより変更可能に設定される。
When the control modules M (1) to M (k + 3) are not operating, the sequence data table is set to be changeable by access from the terminal device.

【0038】前記シーケンス・データ・テーブルは当業
者が理解できる程度の中間言語により記録され、前記端
末装置に入力されるユーザが専門知識を有しなくとも理
解できる通常言語による表示を前記シーケンス・データ
・テーブルの形式に自動的に翻訳する翻訳手段をアクセ
ス制御部10に備える。
The sequence data table is recorded in an intermediate language that can be understood by those skilled in the art, and a display in a normal language, which is input to the terminal device and can be understood by a user without having specialized knowledge, is stored in the sequence data table. The access control unit 10 is provided with a translation means for automatically translating into a table format.

【0039】前記通常言語による表示は、フローチャー
ト、タイムチャート、シーケンス表のうちの一つであ
る。
The display in the normal language is one of a flowchart, a time chart, and a sequence table.

【0040】また、アクセス制御部10は、前記端末装
置に入力された前記通常言語による表示が不適当であり
翻訳が実行できないときにはその端末装置に再入力を促
す表示を行う。
When the display in the normal language input to the terminal device is inappropriate and the translation cannot be executed, the access control unit 10 displays a message prompting the terminal device to re-input.

【0041】そしてこのモードおよびモードの遷移を説
明すると、対応する被制御要素の起動を制御する起動モ
ードST1と、この起動モードST1から直接に移行で
き前記被制御要素の正常動作を制御する正常動作モード
ST2と、この正常動作モードST2と相互にかつ直接
に移行でき前記被制御要素の停止を制御する停止モード
ST3と、この停止モードST3と相互にかつ直接に移
行でき起動モードST1へ直接に移行できかつ前記被制
御要素を保留状態に制御する保留モードST4と、この
保留モードST4から直接に移行できるとともに停止モ
ードST3と相互に移行でき前記被制御要素を逆転状態
に制御する逆転モードST6と、保留モードST4から
直接に移行できるとともに停止モードST3と相互に移
行でき正常動作モードST2または起動モードST1に
移行可能であり前記被制御要素を手動制御する手動制御
モードST5と、各モードST1〜ST7から移行でき
警報を発生させる警報モードST7と、各モードST1
〜ST7から移行でき各モードST1〜ST7の少なく
とも一部について一時的に同期から外れた動作を行わせ
る例外動作モードと、保留モードST4から直接に移行
でき前記被制御要素の制御を終了させる終了モードST
8とを備える。
The mode and the transition of the modes will be described. A start mode ST1 for controlling the start of the corresponding controlled element, and a normal operation for directly shifting from the start mode ST1 and controlling the normal operation of the controlled element. A mode ST2, a stop mode ST3 which can directly and directly transition to the normal operation mode ST2 and controls the stop of the controlled element, and a transition to the stop mode ST3 which can directly and directly transition to the start mode ST1. A reversing mode ST4 that can control the controlled element in a reversing state by allowing the controllable element to be in a reversing state; It is possible to shift directly from the hold mode ST4 and to shift to the stop mode ST3 mutually, thereby enabling normal operation mode. A manual control mode ST5 to manually control the a migratable the controlled element in de ST2 or start mode ST1, the alarm mode ST7 generating an alarm can migrate from each mode ST1~ST7, each mode ST1
, An exceptional operation mode in which at least a part of each of the modes ST1 to ST7 is temporarily out of synchronization, and an end mode in which the control of the controlled element can be ended by directly shifting from the hold mode ST4. ST
8 is provided.

【0042】さらに具体的には、起動モードST1は、
制御ファイルを作成するコールドスタートモードst1
0と、このコールドスタートモードst10から移行さ
れファイルデータをRAMに書込むホットスタートモー
ドst11とを含む。正常動作モードST2は、前記被
制御要素が原点にあることを確認する原点モードst1
2と、自動運転される前記被制御要素のシーケンスをシ
ーケンス中断直前の状態に戻す復元モードst13と、
前記被制御要素を自動運転するための準備を行う準備モ
ードst14と、前記被制御要素の自動運転を行うため
の運転モードst15とを含む。停止モードST3は、
前記被制御要素の運転を緊急に停止する緊急停止モード
st16と、前記被制御要素の運転を徐々に停止する減
速停止モードst17と、前記被制御要素の運転をその
シーケンスの区切りで停止するステップ停止モードst
18とを含む。保留モードST4は、CPUを停止する
ことができるCPU停止モードst19と、前記被制御
要素を制御から解放する制御解放モードst20と、制
御から解放された前記被制御要素を制御下に戻す制御回
復モードst21と、前記被制御要素の運転状況を情報
化するとともに制御仕様を変更することができる診断モ
ードst22とを含む。警報モードST7は、前記被制
御要素の運転に異常が検出されたときに運転を停止する
異常停止モードst23と、運転状況にかかわらず外部
の指示にしたがって非常停止を行う非常停止モードst
24とを含む。
More specifically, the start mode ST1 is:
Cold start mode st1 for creating control file
0, and a hot start mode st11 in which the file data is transferred from the cold start mode st10 and the file data is written to the RAM. The normal operation mode ST2 is an origin mode st1 for confirming that the controlled element is at the origin.
2, a restoration mode st13 for returning the sequence of the controlled elements to be automatically operated to the state immediately before the interruption of the sequence,
A preparation mode st14 for preparing for automatic operation of the controlled element and an operation mode st15 for performing automatic operation of the controlled element are included. The stop mode ST3 is
An emergency stop mode st16 for urgently stopping the operation of the controlled element, a deceleration stop mode st17 for gradually stopping the operation of the controlled element, and a step stop for stopping the operation of the controlled element at the break of the sequence Mode st
18 inclusive. The suspension mode ST4 includes a CPU halt mode st19 that can halt the CPU, a control release mode st20 that releases the controlled element from control, and a control recovery mode that returns the controlled element released from control to control. st21 and a diagnostic mode st22 in which the operation status of the controlled element can be converted into information and the control specification can be changed. The alarm mode ST7 includes an abnormal stop mode st23 in which the operation is stopped when an abnormality is detected in the operation of the controlled element, and an emergency stop mode st in which an emergency stop is performed according to an external instruction regardless of the operation state.
24.

【0043】図1には、例えば原点st12を見ると、
枠で囲まれた中に「この状態に変化する際には、予めC
NフラグがONになっていること」と記載があるが、こ
れはモードが「原点」に遷移する場合の条件である。モ
ードが「復元」に遷移する場合の条件は同じく二つあり
「CNフラグがON、ORフラグがON」である。同様
にモードが「準備」に遷移する場合には「CNフラグが
ON、ORフラグがON、RSフラグがON」との三つ
の条件があり、モードが「運転」に遷移する場合には
「CNフラグがON、ORフラグがON、RSフラグが
ON、RDフラグがON」との四つの条件があり、モー
ドが「逆転」に遷移する場合には「CNフラグがON、
ORフラグがON、RSフラグがON、RDフラグがO
N」との四つの条件がある。ここで、CNフラグとは定
位置フラグであり、ORフラグとは原点フラグであり、
RSフラグとは復元フラグであり、RDフラグとは準備
フラグである。
In FIG. 1, for example, looking at the origin st12,
While the frame is enclosed, "When changing to this state, C
"N flag is ON", which is a condition when the mode transits to the "origin". Similarly, there are two conditions when the mode transitions to “restoration”: “CN flag is ON, OR flag is ON”. Similarly, when the mode transitions to “prepare”, there are three conditions of “CN flag is ON, OR flag is ON, and RS flag is ON”. There are four conditions that the flag is ON, the OR flag is ON, the RS flag is ON, and the RD flag is ON.
OR flag is ON, RS flag is ON, RD flag is O
N ". Here, the CN flag is a fixed position flag, the OR flag is an origin flag,
The RS flag is a restoration flag, and the RD flag is a preparation flag.

【0044】上に示した例示で、被制御要素E(2)は
チャンバ内部のエレベータであるとした。かりにこのエ
レベータが三軸エレベータであるとすると、被制御要素
E(2)に代えて図3に示すような三軸制御系をおき換
えることができる。すなわち、図1の制御モジュールM
(1)の下位制御モジュールM1 (1)を新たに設け、
これを三軸制御用の制御モジュールとし、その制御下に
三軸エレベータの三つの軸E2 (1)、E2 (2)、E
2 (3)を配置する構成とすることができる。この場合
にも新たに設けられた制御モジュールM1 (1)はその
モードおよびモードの遷移が統一化された制御モードで
ある。
In the above example, the controlled element E (2) is assumed to be an elevator inside the chamber. Assuming that the elevator is a three-axis elevator, a three-axis control system as shown in FIG. 3 can be replaced in place of the controlled element E (2). That is, the control module M shown in FIG.
A lower control module M 1 (1) of (1) is newly provided,
This is a control module for three-axis control. Under the control, three axes E 2 (1), E 2 (2), E
2 (3) can be arranged. Also in this case, the newly provided control module M 1 (1) is a control mode in which the mode and the mode transition are unified.

【0045】この例では半導体製造装置を用いたが、こ
れは一例であり、複数の被制御要素を階層的に制御する
形態の系に広く本発明を実施することができる。
Although the semiconductor manufacturing apparatus is used in this example, this is merely an example, and the present invention can be widely applied to a system in which a plurality of controlled elements are controlled in a hierarchical manner.

【0046】これらはいずれの場合も、基本モジュール
を複製し、その基本モジュールにそれぞれ仕様に基づく
個別のパラメタを設定することにより、制御モジュール
を設計することができる。
In any case, the control module can be designed by duplicating the basic module and setting individual parameters based on the specifications in the basic module.

【0047】この基本モジュールは、フロッピディス
ク、CD−ROM、その他記憶媒体に記録して販売する
ことができる。制御装置の設計者は、この基本モジュー
ルに基づき、関連する制御モジュールを設計し、これを
組み合わせて一つの系の制御装置を設計することができ
る。
This basic module can be sold after being recorded on a floppy disk, CD-ROM, or other storage medium. The designer of the control device can design a related control module based on the basic module, and can design one control device by combining the control modules.

【0048】[0048]

【実施例】本発明実施例を図4ないし図9を参照して説
明する。図4は旋盤の要部構成図である。図5は旋盤の
制御系統図である。図6は通信用メモリの要部構成図で
ある。図7は制御モジュールの接続関係を示す概念図で
ある。図8はイベントコードおよび各種フラグの転送形
態を示す概念図である。図9はアラームフラグおよび非
常停止(異常停止)フラグの転送形態を示す概念図であ
る。図4に示す旋盤は、サーボモータSM−1、SM−
2、SM−3、油圧シリンダOS−1、OS−2、OS
−3、オイルバルブOV−1により構成される。サーボ
モータSM−1は主軸回転用であり、被加工物(以降、
ワークという)を回転させる。このサーボモータSM−
1は、正転のみであり逆転はしない。また、このサーボ
モータSM−1は、ワークを回転させるためのものであ
るから、複雑な制御は必要とせず、ワーク保持が完了し
た時点で回転を始める。サーボモータSM−2は刃物台
のX軸送り用であり、正転および逆転を行う。サーボモ
ータSM−3は刃物台Y軸送り用であり、正転および逆
転を行う。油圧シリンダOS−1はチャック用であり、
ワークを掴むチャックを駆動させる。油圧シリンダOS
−2は芯押し用である。油圧シリンダOS−3は刃物ク
ランプ用であり、刃物を掴むために用いられる。オイル
バルブOV−1は、ワークに切削油を供給するために用
いられる。なお、センサAはチャックの定位置および原
点を確認するために用いられる。センサBはワークの有
無を確認するために用いられる。センサCは芯押し台の
定位置および原点を確認するために用いられる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. FIG. 4 is a configuration diagram of a main part of the lathe. FIG. 5 is a control system diagram of the lathe. FIG. 6 is a configuration diagram of a main part of the communication memory. FIG. 7 is a conceptual diagram showing a connection relationship between control modules. FIG. 8 is a conceptual diagram showing a transfer form of an event code and various flags. FIG. 9 is a conceptual diagram showing a transfer form of an alarm flag and an emergency stop (abnormal stop) flag. The lathe shown in FIG. 4 has servo motors SM-1, SM-
2, SM-3, hydraulic cylinder OS-1, OS-2, OS
-3, an oil valve OV-1. The servo motor SM-1 is for rotating the spindle, and the workpiece (hereinafter referred to as
Work). This servo motor SM-
1 indicates only forward rotation and not reverse rotation. Further, since the servo motor SM-1 is for rotating the work, complicated control is not required, and the servo motor SM-1 starts rotating when the work holding is completed. The servo motor SM-2 is for feeding the tool rest in the X-axis, and performs forward rotation and reverse rotation. The servo motor SM-3 is for feeding the tool rest Y-axis and performs forward rotation and reverse rotation. The hydraulic cylinder OS-1 is for a chuck,
The chuck that holds the work is driven. Hydraulic cylinder OS
-2 is for tailing. The hydraulic cylinder OS-3 is for a blade clamp and is used for gripping the blade. The oil valve OV-1 is used for supplying cutting oil to the work. The sensor A is used for confirming the fixed position and the origin of the chuck. The sensor B is used to confirm the presence or absence of a work. The sensor C is used to confirm the home position and the origin of the tailstock.

【0049】図5は、図4に示した旋盤の制御系統図で
あり、被制御要素E(1)として油圧シリンダOS−
1、被制御要素E(2)として油圧シリンダOS−2、
被制御要素E(3)としてサーボモータSM−2、被制
御要素E(4)としてサーボモータSM−3、被制御要
素E(5)として油圧シリンダOS−3、被制御要素E
(6)としてオイルバルブOV−1が割当てられ、制御
モジュールM(1)は油圧シリンダOS−1を制御し、
制御モジュールM(2)は油圧シリンダOS−2を制御
し、制御モジュールM(3)はサーボモータSM−2お
よびSM−3を制御し、制御モジュールM(4)は油圧
シリンダOS−3を制御し、制御モジュールM(5)は
オイルバルブOV−1を制御する。
FIG. 5 is a control system diagram of the lathe shown in FIG. 4, and shows a hydraulic cylinder OS- as a controlled element E (1).
1. Hydraulic cylinder OS-2 as controlled element E (2)
Servo motor SM-2 as controlled element E (3), servo motor SM-3 as controlled element E (4), hydraulic cylinder OS-3 as controlled element E (5), controlled element E
The oil valve OV-1 is assigned as (6), and the control module M (1) controls the hydraulic cylinder OS-1.
The control module M (2) controls the hydraulic cylinder OS-2, the control module M (3) controls the servomotors SM-2 and SM-3, and the control module M (4) controls the hydraulic cylinder OS-3. Then, the control module M (5) controls the oil valve OV-1.

【0050】さらに、制御モジュールM(6)は制御モ
ジュールM(1)およびM(2)およびサーボモータS
M−1を制御し、制御モジュールM(7)は制御モジュ
ールM(3)、M(4)、M(5)を制御する。さら
に、制御モジュールM(8)は制御モジュールM(6)
およびM(7)を制御する。また、これらの制御モジュ
ールM(1)〜M(8)が共通にアクセスできる通信用
メモリCOMを備える。
Further, the control module M (6) includes the control modules M (1) and M (2) and the servo motor S
M-1 is controlled, and the control module M (7) controls the control modules M (3), M (4), and M (5). Further, the control module M (8) is controlled by the control module M (6).
And M (7). Further, a communication memory COM that can be commonly accessed by these control modules M (1) to M (8) is provided.

【0051】通信用メモリCOMは、図6に示すよう
に、各制御モジュールM(1)〜M(8)と通信線C
(1)〜C(8)を介して通信を行う。図5では通信線
C(1)〜C(8)を図示しないことにするが、通信線
C(1)〜C(8)は図2に示すように、各制御モジュ
ールM(1)〜M(8)と通信用メモリCOMとの間に
設置されている。この通信線C(1)〜C(8)は、各
制御モジュールM(1)〜M(8)と通信用メモリCO
Mとの間に物理的に設置された回線である場合もある
し、あるいは、各制御モジュールM(1)〜M(8)間
を接続する回線を用いて論理的に設定された論理回線で
ある場合もある。
As shown in FIG. 6, the communication memory COM includes the control modules M (1) to M (8) and the communication line C.
Communication is performed via (1) to C (8). Although the communication lines C (1) to C (8) are not shown in FIG. 5, the communication lines C (1) to C (8) are, as shown in FIG. It is installed between (8) and the communication memory COM. The communication lines C (1) to C (8) are connected to the control modules M (1) to M (8) and the communication memory CO
M or a logical line logically set using a line connecting the control modules M (1) to M (8). There can be.

【0052】図6に示す通信用メモリCOMでは、各制
御モジュールM(1)〜M(8)は定められた周期で、
この通信用メモリCOMの割当てられた領域m(1)〜
m(8)に書込まれた自モジュール宛ての通信を読取り
に行くとともに、他モジュールに割当てられた領域m
(i)(iは1〜8のいずれかの整数)にその制御モジ
ュール宛ての通信を書込みに行くように構成されてい
る。このようにして各制御モジュールM(1)〜M
(8)は相互にデータを交換することができる。ここ
で、データとは、例えば、油圧シリンダOS−1、OS
−2、OS−3あるいはサーボモータSM−2、SM−
3であれば、これらが駆動するアクチュエータの位置を
示す数値データであり、アクチュエータが原点または定
位置にあるか否かを判断するために用いられる。
In the communication memory COM shown in FIG. 6, each of the control modules M (1) to M (8) has a predetermined cycle.
The assigned area m (1) of the communication memory COM
While the communication addressed to the own module written in m (8) is read, the area m assigned to another module is read.
(I) The communication destined for the control module is written in (i is an integer from 1 to 8). Thus, each control module M (1) to M
(8) can exchange data with each other. Here, the data is, for example, the hydraulic cylinders OS-1, OS-1
-2, OS-3 or servo motor SM-2, SM-
If it is 3, these are numerical data indicating the position of the actuator to be driven, and are used to determine whether the actuator is at the origin or a fixed position.

【0053】図7に示すように、各制御モジュールM
(1)〜M(8)および通信用メモリCOMは配置され
ている。各制御モジュールM(1)〜M(8)が送受信
する情報としては前述したデータの他に、イベントコー
ドおよび各種フラグがある。ここで、イベントコードと
は、図1に示す制御モジュールM(1)〜M(8)にお
ける各モードへの遷移を制御するためのコードである。
図8において、白丸(○)はイベントコードおよび各種
フラグの発行を示しており、黒丸(●)はイベントコー
ドおよび各種フラグに対する応答を示している。
As shown in FIG. 7, each control module M
(1) to M (8) and the communication memory COM are arranged. Information transmitted and received by each of the control modules M (1) to M (8) includes an event code and various flags in addition to the data described above. Here, the event code is a code for controlling a transition to each mode in the control modules M (1) to M (8) shown in FIG.
In FIG. 8, white circles (○) indicate the issuance of event codes and various flags, and black circles (●) indicate responses to the event codes and various flags.

【0054】例えば、図6および図7に示す最上位の制
御モジュールM(8)がそれに続く下位の制御モジュー
ルM(1)〜M(7)をそれぞれの起動モードST1に
遷移させる場合には、その旨を示すイベントコードを直
下の制御モジュールM(6)およびM(7)に転送す
る。これを受けた制御モジュールM(6)およびM
(7)は、同じイベントコードを発行してそれぞれの直
下の制御モジュールM(1)、M(2)およびM
(3)、M(4)、M(5)に転送する。このイベント
コードに対する応答は遷移完了情報であり、逆に下位か
ら上位へと転送される。このようにして、上位から下位
方向に各モードへの遷移の制御を行うことができる。ま
た、各種フラグについてもイベントコードと同様に上位
から下位方向に情報が転送される。ただし、図8に破線
で示したように、例外的に非常停止モードst23およ
び異常停止モードst24に関わるイベントコードおよ
びフラグに関してはこの限りではない。また、図9に示
すように、非常停止モードst23および異常停止モー
ドst24に関わるフラグの発行(図9の黒四角■)お
よび監視(図9の白四角□)は各制御モジュールM
(1)〜M(8)が自律分散的に行う。
For example, when the uppermost control module M (8) shown in FIGS. 6 and 7 causes the subsequent lower control modules M (1) to M (7) to transition to the respective start modes ST1, The event code indicating that is transferred to the control modules M (6) and M (7) immediately below. Control modules M (6) and M receiving this
(7) issues the same event code and issues control modules M (1), M (2) and M
(3), transfer to M (4), M (5). The response to this event code is transition completion information, and is conversely transferred from lower to higher. In this way, it is possible to control the transition from the upper order to the lower order to each mode. In addition, information on various flags is transferred from the higher order to the lower order similarly to the event code. However, as shown by the broken line in FIG. 8, exceptionally, the event codes and flags relating to the emergency stop mode st23 and the abnormal stop mode st24 are not limited to this. As shown in FIG. 9, the issuance of flags related to the emergency stop mode st23 and the abnormal stop mode st24 (black squares in FIG. 9) and monitoring (white squares in FIG. 9) are performed by each control module M.
(1) to M (8) are performed autonomously and decentralized.

【0055】ここで、図4に示す旋盤の実際の動作に対
応する本発明の制御モジュールの動作を説明する。本発
明では、各制御モジュールM(1)〜M(8)は、全て
図1に示す構成を共通に有する。制御モジュールM
(8)は、スタートモードST0においてスタート信号
を待つ。スタート信号が到来したら、制御モジュールM
(8)は、起動モードST1に遷移する。このとき制御
モジュールM(8)は、下位の制御モジュールM(6)
およびM(7)を起動モードST1に遷移させるための
イベントコードを発行する。このイベントコードを受信
した制御モジュールM(6)およびM(7)は、起動モ
ードST1に遷移するとともに、遷移完了情報を制御モ
ジュールM(8)に返信する。同様にして、制御モジュ
ールM(6)およびM(7)は、下位の制御モジュール
M(1)〜M(5)を起動モードST1に遷移させるた
めのイベントコードを発行する。このイベントコードを
受信した制御モジュールM(1)〜M(5)は、起動モ
ードST1に遷移するとともに、遷移完了情報を制御モ
ジュールM(6)およびM(7)に返信する。さらに、
遷移完了情報は制御モジュールM(6)およびM(7)
を介して制御モジュールM(8)に返信される。
Here, the operation of the control module of the present invention corresponding to the actual operation of the lathe shown in FIG. 4 will be described. In the present invention, all of the control modules M (1) to M (8) have the configuration shown in FIG. 1 in common. Control module M
(8) Waits for a start signal in the start mode ST0. When the start signal arrives, the control module M
(8) makes a transition to the activation mode ST1. At this time, the control module M (8)
And an event code for causing M (7) to transition to the activation mode ST1. The control modules M (6) and M (7) that have received the event code transit to the activation mode ST1, and return transition completion information to the control module M (8). Similarly, the control modules M (6) and M (7) issue an event code for causing the lower control modules M (1) to M (5) to transition to the start mode ST1. The control modules M (1) to M (5) that have received the event code transit to the activation mode ST1, and return transition completion information to the control modules M (6) and M (7). further,
The transition completion information is transmitted to the control modules M (6) and M (7).
To the control module M (8).

【0056】このようにして、各制御モジュールM
(1)〜M(8)が起動モードST1に遷移する。な
お、起動モードST1に含まれるコールドスタートモー
ドst10およびホットスタートモードst11につい
ては既に説明したとおりである。続いて、制御モジュー
ルM(8)は、正常動作モードST2の原点モードst
12に遷移する旨のイベントコードを発行する。このイ
ベントコードは上位から下位方向に、各制御モジュール
M(1)〜M(8)に転送される。
Thus, each control module M
(1) to M (8) transition to the start mode ST1. Note that the cold start mode st10 and the hot start mode st11 included in the start mode ST1 are as described above. Subsequently, the control module M (8) sets the origin mode st in the normal operation mode ST2.
An event code for transition to 12 is issued. This event code is transferred to each of the control modules M (1) to M (8) from the higher order to the lower order.

【0057】ここで、原点モードst12に遷移する条
件として、定位置フラグ(CNフラグ)がONであるこ
とが要求される。このとき、被制御要素E(1)〜E
(6)の中で、定位置にあることが要求されるものは、
油圧シリンダOS−1、OS−2、OS−3およびサー
ボモータSM−2、SM−3に関わる被制御要素E
(1)、E(2)、E(3)、E(4)、E(5)であ
る。したがって、被制御要素E(1)、E(2)、E
(3)、E(4)、E(5)を制御する制御モジュール
M(1)、M(2)、M(3)、M(4)は、各油圧シ
リンダOS−1、OS−2、OS−3およびサーボモー
タSM−2、SM−3の現在位置を検出し、その位置が
定位置でなければ位置を修正し、その位置データを通信
用メモリCOMの領域m(1)、m(2)、m(3)、
m(4)に書込む。
Here, as a condition for transition to the origin mode st12, it is required that the home position flag (CN flag) is ON. At this time, the controlled elements E (1) to E (1) to E
In (6), those that are required to be in fixed positions are:
Controlled element E related to hydraulic cylinders OS-1, OS-2, OS-3 and servo motors SM-2, SM-3
(1), E (2), E (3), E (4) and E (5). Therefore, the controlled elements E (1), E (2), E
(3), control modules M (1), M (2), M (3) and M (4) for controlling E (4) and E (5) are provided with hydraulic cylinders OS-1, OS-2, The current positions of the OS-3 and the servo motors SM-2 and SM-3 are detected, and if the positions are not fixed positions, the positions are corrected, and the position data is stored in the areas m (1), m ( 2), m (3),
Write to m (4).

【0058】制御モジュールM(8)は、通信用メモリ
COMを監視しており、被制御要素E(1)、E
(2)、E(3)、E(4)、E(5)の位置が定位置
であることを確認すると、定位置フラグ(CNフラグ)
をONにし、原点モードst12に遷移する。同時に、
他の制御モジュールM(1)〜M(7)も定位置フラグ
がONであることを受けて原点モードst12に遷移す
る。各制御モジュールM(1)〜M(7)の遷移完了情
報は、制御モジュールM(8)に向けて返信される。
The control module M (8) monitors the communication memory COM, and controls the controlled elements E (1) and E (1).
When it is confirmed that the positions of (2), E (3), E (4) and E (5) are the home positions, the home position flag (CN flag)
Is turned ON, and the mode transits to the origin mode st12. at the same time,
The other control modules M (1) to M (7) also transition to the origin mode st12 in response to the fact that the home position flag is ON. The transition completion information of each of the control modules M (1) to M (7) is returned to the control module M (8).

【0059】このようにして、各制御モジュールM
(1)〜M(8)が原点モードst12に遷移する。続
いて、制御モジュールM(8)は、正常動作モードST
2の準備モードst14に遷移する旨のイベントコード
を発行する。このイベントコードは上位から下位方向
に、各制御モジュールM(1)〜M(7)に転送され
る。
In this way, each control module M
(1) to M (8) transition to the origin mode st12. Subsequently, the control module M (8) operates in the normal operation mode ST.
An event code for transition to the second preparation mode st14 is issued. This event code is transferred to each of the control modules M (1) to M (7) from the higher order to the lower order.

【0060】ここで、準備モードst14に遷移する条
件として、定位置フラグ(CNフラグ)、原点フラグ
(ORフラグ)、復元フラグ(RSフラグ)がONであ
ることが要求される。このとき、被制御要素E(1)〜
E(6)の中で、定位置にあり、しかもその定位置が原
点であることが要求されるものは、油圧シリンダOS−
1、OS−2、OS−3、サーボモータSM−2、SM
−3に関わる被制御要素E(1)、E(2)、E
(3)、E(4)、E(5)である。なお、復元フラグ
(RSフラグ)は、一時中断された自動運転のシーケン
スが中断直前の状態に復元されているか否かを表示する
ためのフラグであり、初回起動時にはONとして設定さ
れる。
Here, as a condition for transition to the preparation mode st14, it is required that the home position flag (CN flag), the origin flag (OR flag), and the restoration flag (RS flag) are ON. At this time, the controlled elements E (1) to
Among the E (6), those which are at a fixed position and the fixed position is required to be the origin are the hydraulic cylinder OS-
1, OS-2, OS-3, servo motor SM-2, SM
-3 related to controlled elements E (1), E (2), E
(3), E (4) and E (5). The restoration flag (RS flag) is a flag for indicating whether or not the temporarily interrupted automatic operation sequence has been restored to the state immediately before the interruption, and is set to ON at the first startup.

【0061】したがって、被制御要素E(1)、E
(2)、E(3)、E(4)、E(5)を制御する制御
モジュールM(1)、M(2)、M(3)、M(4)
は、油圧シリンダOS−1、OS−2、OS−3、サー
ボモータSM−2、SM−3の現在位置を検出し、その
位置が定位置であり、かつ原点でなければ位置を修正
し、その位置データを通信用メモリCOMの領域m
(1)、m(2)、m(3)、m(4)に書込む。
Therefore, the controlled elements E (1), E
(2), control modules M (1), M (2), M (3), M (4) for controlling E (3), E (4), E (5)
Detects the current positions of the hydraulic cylinders OS-1, OS-2, OS-3 and the servomotors SM-2, SM-3, corrects the position if the position is a fixed position and not the origin, The position data is stored in the area m of the communication memory COM.
Write in (1), m (2), m (3), m (4).

【0062】制御モジュールM(8)は、通信用メモリ
COMを監視しており、被制御要素E(1)、E
(2)、E(3)、E(4)、E(5)の位置が定位置
であり、かつ原点であることを確認すると、定位置フラ
グ(CNフラグ)、原点フラグ(ORフラグ)、復元フ
ラグ(RSフラグ)を共にONにし、準備モードst1
4に遷移する。同時に、他の制御モジュールM(1)〜
M(7)も定位置フラグ、原点フラグ、準備フラグがO
Nであることを受けて準備モードst14に遷移する。
各制御モジュールM(1)〜M(7)の遷移完了情報
は、制御モジュールM(1)〜M(7)から制御モジュ
ールM(8)に向けて返信される。
The control module M (8) monitors the communication memory COM, and controls the controlled elements E (1) and E (1).
When it is confirmed that the positions of (2), E (3), E (4), and E (5) are the fixed position and the origin, the fixed position flag (CN flag), the origin flag (OR flag), Both the restoration flag (RS flag) is turned ON, and the preparation mode st1
Transition to 4. At the same time, the other control modules M (1) to
M (7) also has the fixed position flag, origin flag, and ready flag of O
In response to N, the mode transits to the preparation mode st14.
The transition completion information of each of the control modules M (1) to M (7) is returned from the control modules M (1) to M (7) to the control module M (8).

【0063】このようにして、各制御モジュールM
(1)〜M(8)が準備モードst14に遷移する。続
いて、制御モジュールM(8)は、正常動作モードST
2の運転モードst15に遷移する旨のイベントコード
を発行する。このイベントコードは上位から下位方向
に、各制御モジュールM(1)〜M(7)に転送され
る。
In this way, each control module M
(1) to M (8) transition to the preparation mode st14. Subsequently, the control module M (8) operates in the normal operation mode ST.
An event code for transition to the second operation mode st15 is issued. This event code is transferred to each of the control modules M (1) to M (7) from the higher order to the lower order.

【0064】ここで、運転モードst15に遷移する条
件として、定位置フラグ(CNフラグ)、原点フラグ
(ORフラグ)、復元フラグ(RSフラグ)、準備フラ
グ(RDフラグ)がONであることが要求される。この
とき、被制御要素E(1)〜E(6)の中で、定位置に
あり、しかもその定位置が原点であり、運転以前の準備
段階でのセッティングを要求されるものは、油圧シリン
ダOS−1、OS−2、OS−3、サーボモータSM−
2、SM−3に関わる被制御要素E(1)、E(2)、
E(3)、E(4)、E(5)である。このとき、定位
置フラグ、原点フラグ、復元フラグについては、準備モ
ードst14の段階ですでにONとなっている。したが
って、サーボモータSM−2、SM−3については、運
転以前の準備段階でのセッティングが完了している。
Here, the condition for transition to the operation mode st15 is that the home position flag (CN flag), the origin flag (OR flag), the restoration flag (RS flag), and the preparation flag (RD flag) are ON. Is done. At this time, among the controlled elements E (1) to E (6), those which are at a fixed position, the fixed position is the origin, and the setting of which is required in a preparation stage before the operation are performed by the hydraulic cylinder OS-1, OS-2, OS-3, servo motor SM-
2, controlled elements E (1), E (2) related to SM-3,
E (3), E (4) and E (5). At this time, the fixed position flag, the origin flag, and the restoration flag are already ON at the stage of the preparation mode st14. Therefore, the setting of the servo motors SM-2 and SM-3 in the preparation stage before the operation is completed.

【0065】さらに、運転以前の準備段階として、チャ
ックを駆動するための油圧シリンダOS−1について
は、ワークをチャックした状態とし、芯押し用の油圧シ
リンダOS−2については、ワークの芯押しをした状態
とし、刃物クランプ用の油圧シリンダOS−3について
は、所定の刃物をクランプした状態とし、その状態デー
タを通信用メモリCOMの領域m(1)、m(2)、m
(4)に書込む。
Further, as a preparation stage before the operation, the hydraulic cylinder OS-1 for driving the chuck is in a state where the work is chucked, and the hydraulic cylinder OS-2 for centering is to center the work. In the hydraulic cylinder OS-3 for blade clamping, a predetermined blade is clamped, and the state data is stored in the areas m (1), m (2), and m (m) of the communication memory COM.
Write in (4).

【0066】制御モジュールM(8)は、通信用メモリ
COMを監視しており、被制御要素E(1)、E
(2)、E(3)、E(4)、E(5)の位置が定位置
であり、かつ原点であり、かつ、運転以前の準備段階の
セッティングが完了していることを確認すると、定位置
フラグ(CNフラグ)、原点フラグ(ORフラグ)、復
元フラグ(RSフラグ)、準備フラグ(RDフラグ)を
共にONにし、運転モードst15に遷移する。同時
に、他の制御モジュールM(1)〜M(7)も定位置フ
ラグ、原点フラグ、復元フラグ、準備フラグがONであ
ることを受けて運転モードst15に遷移する。各制御
モジュールM(1)〜M(7)の遷移完了情報は、制御
モジュールM(1)〜M(7)から制御モジュールM
(8)に向けて返信される。このようにして、各制御モ
ジュールM(1)〜M(8)が運転モードst15に遷
移する。各制御モジュールM(1)〜M(8)が運転モ
ードst15に遷移すると、旋盤がワークの切削を開始
する。
The control module M (8) monitors the communication memory COM, and controls the controlled elements E (1) and E (1).
When it is confirmed that the positions of (2), E (3), E (4), and E (5) are the fixed position, the origin, and that the setting in the preparation stage before the operation is completed, The fixed position flag (CN flag), the origin flag (OR flag), the restoration flag (RS flag), and the preparation flag (RD flag) are all turned ON, and the operation mode transits to the operation mode st15. At the same time, the other control modules M (1) to M (7) also transition to the operation mode st15 in response to the ON of the home position flag, the origin flag, the restoration flag, and the preparation flag. The transition completion information of each of the control modules M (1) to M (7) is transmitted from the control module M (1) to M (7).
A reply is sent to (8). Thus, each of the control modules M (1) to M (8) transitions to the operation mode st15. When each of the control modules M (1) to M (8) transitions to the operation mode st15, the lathe starts cutting the work.

【0067】ここまでは、スタートモードST0から正
常動作モードST2の運転モードst15に遷移するま
での過程を詳細に説明した。図1に示す制御モジュール
M(1)〜M(8)には、この他にも停止モードST
3、保留モードST4、手動モードST5、逆転モード
ST6、警報モードST7、エンドモードST8があ
り、さらに、停止モードST3には、緊急停止モードs
t16、減速停止モードst17、ステップ停止モード
st18があり、保留モードST4には、CPU停止モ
ードst19、制御解放モードst20、制御回復モー
ドst21、診断モードst22があり、警報モードS
T7には、異常停止モードst23、非常停止モードs
t24がある。各モードの内容については、すでに説明
したとおりである。また、各モードへの遷移を行う手順
については、すでに説明したスタートモードST0から
正常動作モードST2の運転モードst15に遷移する
までの過程と同様に説明することができる。
Up to this point, the process from the start mode ST0 to the operation mode st15 of the normal operation mode ST2 has been described in detail. The control modules M (1) to M (8) shown in FIG.
3, hold mode ST4, manual mode ST5, reverse rotation mode ST6, alarm mode ST7, end mode ST8, and stop mode ST3 includes emergency stop mode s.
t16, a deceleration stop mode st17, and a step stop mode st18. The hold mode ST4 includes a CPU stop mode st19, a control release mode st20, a control recovery mode st21, and a diagnostic mode st22.
In T7, the abnormal stop mode st23 and the emergency stop mode s
There is t24. The contents of each mode are as described above. Further, the procedure for performing the transition to each mode can be described in the same manner as the process from the start mode ST0 to the operation mode st15 of the normal operation mode ST2 described above.

【0068】このように、警報モードST7を除く各モ
ードへの遷移は、図8に示すように、最上位の制御モジ
ュールM(8)から下位の制御モジュールM(6)、M
(7)、さらに下位の制御モジュールM(1)〜M
(5)へとイベントコードが転送されることにより行わ
れる。各種フラグは最上位の制御モジュールM(8)が
ON/OFFし、下位の制御モジュールM(1)〜M
(7)はこのフラグを参照して遷移を実行する。また、
警報モードST7に含まれる異常停止モードst23お
よび非常停止モードst24については、図9に示すよ
うに、アラームフラグおよび非常停止(異常停止)フラ
グを各制御モジュールM(1)〜M(8)が自律分散的
に処理する。
As shown in FIG. 8, the transition to each mode except the alarm mode ST7 is performed from the uppermost control module M (8) to the lower control modules M (6), M
(7), further lower control modules M (1) to M
This is performed by transferring the event code to (5). The various flags are turned ON / OFF by the uppermost control module M (8), and the lowermost control modules M (1) to M
(7) executes transition by referring to this flag. Also,
Regarding the abnormal stop mode st23 and the emergency stop mode st24 included in the alarm mode ST7, as shown in FIG. 9, each of the control modules M (1) to M (8) autonomously sets an alarm flag and an emergency stop (abnormal stop) flag. Process in a decentralized manner.

【0069】次に、シーケンス・データ・テーブルにつ
いて図10ないし図15を参照して説明する。図10は
シーケンス・データ・テーブル作成部の要部構成図であ
る。図11はシーケンス・データ・テーブルの作成手順
を示すフローチャートである。図12はタイムチャート
の一例を示す図である。図13はシーケンス・データ・
テーブルの一例を示す図である。図14はフローチャー
トの一例を示す図である。図15はシーケンス表の一例
を示す図である。
Next, the sequence data table will be described with reference to FIGS. FIG. 10 is a configuration diagram of a main part of the sequence data table creation unit. FIG. 11 is a flowchart showing a procedure for creating a sequence data table. FIG. 12 is a diagram showing an example of a time chart. FIG. 13 shows the sequence data
It is a figure showing an example of a table. FIG. 14 is a diagram showing an example of the flowchart. FIG. 15 is a diagram showing an example of the sequence table.

【0070】図13に示すようなシーケンス・データ・
テーブルは、図6に示すアクセス制御部10の図10に
示すシーケンス・データ・テーブル作成部によって作成
され、図6に示した通信用メモリCOMの各制御モジュ
ールM(1)〜M(8)に割当てられた領域m(1)〜
m(8)にそれぞれ書込まれている。
The sequence data shown in FIG.
The table is created by the sequence data table creation unit shown in FIG. 10 of the access control unit 10 shown in FIG. 6, and is sent to each control module M (1) to M (8) of the communication memory COM shown in FIG. Assigned area m (1) ~
m (8).

【0071】図10に示すシーケンス・データ・テーブ
ル作成部は、データ抽出部11およびテーブル作成部1
2により構成される。図4に示した旋盤を例にとりシー
ケンス・データ・テーブルの作成手順を説明する。ま
ず、ユーザは被制御要素E(1)〜E(7)である油圧
シリンダOS−1、OS−2、サーボモータSM−2、
SM−3、油圧シリンダOS−3、オイルバルブOV−
1、サーボモータSM−1の制御および動作に変更が生
じた場合には、ユーザが通常に理解できる形式で前記制
御および動作の変更を記述する。その形式は、例えば、
図12に示すようなタイムチャートでよい。図12の例
は、起動スイッチが「ON」になると、油圧シリンダO
S−1によってワークがチャックされ、油圧シリンダO
S−2によってワークが芯押しされ、油圧シリンダOS
−3によって刃物がクランプされ、ワークを回転させる
ためのサーボモータSM−1が回転を始め、オイルバル
ブOV−1が切削油をワークに供給し始め、サーボモー
タSM−2、SM−3によって刃物がワークを加工し始
めるという動作を示す。
The sequence data table creator shown in FIG. 10 includes a data extractor 11 and a table creator 1
2. A procedure for creating a sequence data table will be described using the lathe shown in FIG. 4 as an example. First, the user operates the controlled elements E (1) to E (7) such as the hydraulic cylinders OS-1, OS-2, the servo motor SM-2,
SM-3, hydraulic cylinder OS-3, oil valve OV-
1. When a change occurs in the control and operation of the servo motor SM-1, the change in the control and operation is described in a format that can be normally understood by the user. The format is, for example,
A time chart as shown in FIG. 12 may be used. In the example of FIG. 12, when the start switch is turned “ON”, the hydraulic cylinder O
The work is chucked by S-1 and the hydraulic cylinder O
The work is centered by S-2, and the hydraulic cylinder OS
-3, the cutting tool is clamped, the servo motor SM-1 for rotating the work starts to rotate, the oil valve OV-1 starts to supply the cutting oil to the work, and the cutting tool is controlled by the servo motors SM-2, SM-3. Shows the operation of starting to process the work.

【0072】図11に示すように、シーケンス・データ
・テーブル作成部では、図12に示したようなユーザ・
データが入力されると(S1)、データ抽出部11で
は、各制御モジュールM(1)〜M(8)毎に、自己の
制御モジュールM(1)〜M(8)にかかわる動作があ
るか否かを判定する(S2)。その結果として自己の制
御モジュールM(1)〜M(8)にかかわる動作があれ
ばそれを抽出する(S3)。また、このとき、入力され
たユーザ・データが不適当であれば(S4)、ユーザに
対してデータ再入力要求を行う(S7)。このデータ再
入力要求は、ユーザ・データの不足箇所をユーザの端末
装置に表示してユーザ・データの不足分を補うようにす
る。この動作は各モードST1〜ST9に分類されてテ
ーブル作成部12に転送され(S5)、各モードST1
〜ST9毎にシーケンス・データ・テーブルが作成され
る(S6)。
As shown in FIG. 11, the sequence data table creating section performs the user data as shown in FIG.
When data is input (S1), the data extraction unit 11 determines whether there is an operation related to its own control module M (1) to M (8) for each of the control modules M (1) to M (8). It is determined whether or not it is (S2). As a result, if there is an operation related to its own control module M (1) to M (8), it is extracted (S3). At this time, if the input user data is inappropriate (S4), a data re-input request is made to the user (S7). This data re-input request displays a shortage of user data on the user's terminal device to compensate for the shortage of user data. This operation is classified into the modes ST1 to ST9 and transferred to the table creation unit 12 (S5).
A sequence data table is created for each of steps ST9 to S9 (S6).

【0073】図13のシーケンス・データ・テーブルの
例は、制御モジュールM(1)および制御モジュールM
(2)における正常動作モードST2のシーケンス・デ
ータ・テーブルである。図13のシーケンス・データ・
テーブルを作成する場合には、まず、データ抽出部11
では、制御モジュールM(1)およびM(2)の正常動
作モードST2にかかわるユーザ・データを抽出する。
制御モジュールM(1)はチャックを制御するので、油
圧シリンダOS−1、ワークにかかわるユーザ・データ
を抽出する。また、制御モジュールM(2)は芯押し台
を制御するので、油圧シリンダOS−2、ワークにかか
わるユーザ・データを抽出する。例えば、図12に示す
タイムチャートから、油圧シリンダOS−1が動作して
ワークをチャックしてから油圧シリンダOS−2が動作
してワークの芯押しを行うことを読取り、テーブル作成
部12の正常運転モードST2にその旨の情報を伝達す
ることにより、図13の制御モジュールM(1)および
M(2)のシーケンス・データ・テーブルが作成され
る。
The example of the sequence data table shown in FIG. 13 is the control module M (1) and the control module M
It is a sequence data table of normal operation mode ST2 in (2). The sequence data of FIG.
When creating a table, first, the data extraction unit 11
Then, user data relating to the normal operation mode ST2 of the control modules M (1) and M (2) is extracted.
Since the control module M (1) controls the chuck, it extracts user data relating to the hydraulic cylinder OS-1 and the work. Further, since the control module M (2) controls the tailstock, it extracts user data related to the hydraulic cylinder OS-2 and the work. For example, it is read from the time chart shown in FIG. 12 that the hydraulic cylinder OS-1 operates to chuck the work, and then the hydraulic cylinder OS-2 operates to perform centering of the work. By transmitting information to that effect to the operation mode ST2, a sequence data table of the control modules M (1) and M (2) in FIG. 13 is created.

【0074】図13の制御モジュールM(1)のシーケ
ンス・データ・テーブルでは、ステップ0でセンサAが
「ON」であるか否かを判定し、センサAが「ON」で
あればステップ1でCNフラグを「ON」にする。ここ
でセンサAはチャックの定位置を確認するためのもので
ある。CNフラグが「ON」になればステップ2で原点
モードst12に状態が遷移する。さらに、ステップ3
でセンサAが「ON」であるか否かを判定し、センサA
が「ON」であればステップ4でORフラグを「ON」
にする。ここでセンサAはチャックの原点位置を確認す
るためのものである。さらに、ステップ5でセンサAが
「ON」であるか否かを判定し、センサAが「ON」で
あればステップ6でRSフラグを「ON」にする。ここ
でセンサAはチャックの復元位置を確認するためのもの
である。RSフラグが「ON」になればステップ7で準
備モードst14に状態が遷移する。さらに、ステップ
8でセンサBが「ON」であるか否かを判定し、センサ
Bが「ON」であればステップ9でRDフラグを「O
N」にする。ここでセンサBはワークの有無を確認する
ためのものである。RDフラグが「ON」になればステ
ップ10で運転モードst15に状態が遷移する。
In the sequence data table of the control module M (1) shown in FIG. 13, it is determined whether or not the sensor A is "ON" at step 0, and if the sensor A is "ON", the process proceeds to step 1. Set the CN flag to “ON”. Here, the sensor A is for confirming the fixed position of the chuck. When the CN flag becomes "ON", the state transits to the origin mode st12 in step 2. Step 3
To determine whether or not the sensor A is "ON".
Is "ON", the OR flag is set to "ON" in step 4.
To Here, the sensor A is for confirming the origin position of the chuck. Further, it is determined whether or not the sensor A is "ON" in step 5, and if the sensor A is "ON", the RS flag is set to "ON" in step 6. Here, the sensor A is for confirming the restoration position of the chuck. If the RS flag becomes "ON", the state transits to the preparation mode st14 in step 7. Further, it is determined whether or not the sensor B is “ON” in step 8. If the sensor B is “ON”, the RD flag is set to “O” in step 9.
N ". Here, the sensor B is for confirming the presence or absence of a work. If the RD flag becomes “ON”, the state transits to the operation mode st15 in step 10.

【0075】図13の制御モジュールM(2)のシーケ
ンス・データ・テーブルでは、ステップ0でセンサCが
「ON」であるか否かを判定し、センサCが「ON」で
あればステップ1でCNフラグを「ON」にする。ここ
でセンサCは芯押し台の定位置を確認するためのもので
ある。CNフラグが「ON」になればステップ2で原点
モードst12に状態が遷移する。さらに、ステップ3
でセンサCが「ON」であるか否かを判定し、センサC
が「ON」であればステップ4でORフラグを「ON」
にする。ここでセンサCは芯押し台の原点位置を確認す
るためのものである。さらに、ステップ5でセンサCが
「ON」であるか否かを判定し、センサCが「ON」で
あればステップ6でRSフラグを「ON」にする。ここ
でセンサCは芯押し台の復元位置を確認するためのもの
である。RSフラグが「ON」になればステップ7で準
備モードst14に状態が遷移する。さらに、ステップ
8でセンサBが「ON」であるか否かを判定し、センサ
Bが「ON」であればステップ9でRDフラグを「O
N」にする。ここでセンサBはワークの有無を確認する
ためのものである。RDフラグが「ON」になればステ
ップ10で運転モードst15に状態が遷移する。
In the sequence data table of the control module M (2) shown in FIG. 13, it is determined whether or not the sensor C is "ON" in step 0, and if the sensor C is "ON", the process proceeds to step 1. Set the CN flag to “ON”. Here, the sensor C is for confirming the fixed position of the tailstock. When the CN flag becomes "ON", the state transits to the origin mode st12 in step 2. Step 3
To determine whether the sensor C is "ON" or not.
Is "ON", the OR flag is set to "ON" in step 4.
To Here, the sensor C is for confirming the origin position of the tailstock. Further, it is determined whether or not the sensor C is "ON" in step 5, and if the sensor C is "ON", the RS flag is set to "ON" in step 6. Here, the sensor C is for confirming the restoring position of the tailstock. If the RS flag becomes "ON", the state transits to the preparation mode st14 in step 7. Further, it is determined whether or not the sensor B is “ON” in step 8. If the sensor B is “ON”, the RD flag is set to “O” in step 9.
N ". Here, the sensor B is for confirming the presence or absence of a work. If the RD flag becomes “ON”, the state transits to the operation mode st15 in step 10.

【0076】このようにして、各制御モジュールM
(1)〜M(8)に含まれる各モードST1〜ST9の
それぞれについて、シーケンス・データ・テーブルが自
動的に作成される。図12はユーザ・データとしてタイ
ムチャートを用いた例であるが、図14に示すように、
フローチャートを用いることもできる。また、図15に
示すように、シーケンス表を用いることもできる。この
ように、ユーザが専門的な知識を有しなくとも、一般に
ユーザが日常用いている形式で被制御要素の動作を記述
することにより、本発明の制御装置が自動的にこれを理
解して当該制御装置が制御を行うために必要な形式に翻
訳する。これにより、ユーザ自身が被制御装置の動作お
よび制御の変更を簡単に行うことができる。このとき、
ユーザが記述した被制御要素の動作が本発明の制御装置
が理解する上で不適当である場合には、不適当である旨
をユーザに通知するとともに、データの過不足の箇所を
ユーザに指摘する対話形式を採ることにより、さらに、
ユーザの利便性を向上させることができる。
In this manner, each control module M
A sequence data table is automatically created for each of the modes ST1 to ST9 included in (1) to M (8). FIG. 12 is an example using a time chart as user data. As shown in FIG.
A flowchart can also be used. Also, as shown in FIG. 15, a sequence table can be used. As described above, even if the user does not have any specialized knowledge, the control device of the present invention automatically understands this by describing the operation of the controlled element in a format generally used by the user on a daily basis. It is translated into a format necessary for the control device to perform control. This allows the user to easily change the operation and control of the controlled device. At this time,
If the operation of the controlled element described by the user is inappropriate for the control device of the present invention to understand, the user is notified that the operation is inappropriate, and the user is informed of the excessive or insufficient data. In addition, by adopting an interactive
User convenience can be improved.

【0077】[0077]

【発明の効果】以上説明したように、本発明によれば、
制御モジュールを基本モジュールに基づき統一化して利
用することができるから、過去に設計した制御モジュー
ルのプログラムの重要部分を、そのまま利用することが
できる。したがって、制御モジュールを組み合わせて作
成する制御系の制御プログラム作成のための工数を著し
く小さくすることができる。本発明により、制御プログ
ラム作成の工程を合理化することができる。本発明によ
り、制御対象となる装置、被制御要素が異なる場合であ
っても、過去に設計した制御モジュールのプログラムを
わずかな変更により組み込むことができるし、被制御要
素や制御条件に変更や修正が発生した場合でも、小さい
作業工数でこれに対応することができる。被制御要素や
制御条件に変更や修正が発生した場合でも、専門的な知
識を有しない一般ユーザがこれに対応することができ
る。
As described above, according to the present invention,
Since the control module can be integrated and used based on the basic module, the important part of the program of the control module designed in the past can be used as it is. Therefore, the number of steps for creating a control program for a control system created by combining control modules can be significantly reduced. According to the present invention, the process of creating a control program can be streamlined. According to the present invention, even if the device to be controlled and the controlled element are different, the program of the control module designed in the past can be incorporated by a slight change, and the controlled element and the control condition can be changed or modified. Can be dealt with with a small number of work steps. Even when a change or correction occurs in the controlled element or the control condition, a general user who does not have specialized knowledge can cope with this.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明実施例の統一化された制御モジュールの
モードおよびモードの遷移を示す図。
FIG. 1 is a diagram showing modes and mode transitions of a unified control module according to an embodiment of the present invention.

【図2】一つの制御系の構成を模式的に説明するための
系統図。
FIG. 2 is a system diagram for schematically explaining the configuration of one control system.

【図3】被制御要素の一つが制御モジュールを含む新た
な階層の制御系統に置換されるときの例を説明する図。
FIG. 3 is a diagram illustrating an example in which one of the controlled elements is replaced with a control system of a new hierarchy including a control module.

【図4】旋盤の要部構成図。FIG. 4 is a configuration diagram of a main part of a lathe.

【図5】旋盤の制御系統図。FIG. 5 is a control system diagram of a lathe.

【図6】通信用メモリの要部構成図。FIG. 6 is a configuration diagram of a main part of a communication memory.

【図7】制御モジュールの接続関係を示す概念図。FIG. 7 is a conceptual diagram showing a connection relationship between control modules.

【図8】イベントコードおよび各種フラグの転送形態を
示す概念図。
FIG. 8 is a conceptual diagram showing a transfer form of an event code and various flags.

【図9】アラームフラグおよび非常停止(異常停止)フ
ラグの転送形態を示す概念図。
FIG. 9 is a conceptual diagram showing a transfer form of an alarm flag and an emergency stop (abnormal stop) flag.

【図10】シーケンス・データ・テーブル作成部の要部
構成図。
FIG. 10 is a main part configuration diagram of a sequence data table creation unit.

【図11】シーケンス・データ・テーブルの作成手順を
示すフローチャート。
FIG. 11 is a flowchart showing a procedure for creating a sequence data table.

【図12】タイムチャートの一例を示す図。FIG. 12 is a diagram showing an example of a time chart.

【図13】シーケンス・データ・テーブルの一例を示す
図。
FIG. 13 is a diagram showing an example of a sequence data table.

【図14】フローチャートの一例を示す図。FIG. 14 is a diagram showing an example of a flowchart.

【図15】シーケンス表の一例を示す図。FIG. 15 is a diagram showing an example of a sequence table.

【符号の説明】[Explanation of symbols]

10 アクセス制御部 11 データ抽出部 12 テーブル作成部 E 被制御要素 M 制御モジュール C 通信線 COM 通信用メモリ Reference Signs List 10 access control unit 11 data extraction unit 12 table creation unit E controlled element M control module C communication line COM communication memory

Claims (13)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の被制御要素をそれぞれ制御する複
数の制御モジュールと、この複数の制御モジュールを階
層的に制御する一以上の制御モジュールと、前記制御モ
ジュール間の通信手段とを備え全体で一つの系を制御す
る制御装置であり、 前記制御モジュールのモードおよびモードの遷移とし
て、 対応する被制御要素の起動を制御する起動モードと、 この起動モードから直接に移行できその被制御要素の正
常動作を制御する正常動作モードと、 この正常動作モードと相互にかつ直接に移行できその被
制御要素の停止を制御する停止モードと、 この停止モードと相互にかつ直接に移行でき前記起動モ
ードへ直接に移行できかつ前記被制御要素を保留状態に
制御する保留モードと、 この保留モードから直接に移行できるとともに前記停止
モードと相互に移行でき前記被制御要素を逆転状態に制
御する逆転モードと、 前記保留モードから直接に移行できるとともに前記停止
モードと相互に移行でき前記正常動作モードまたは前記
起動モードに移行可能であり前記被制御要素を手動制御
する手動制御モードと、 前記各モードから移行でき警報を発生させる警報モード
と、 前記保留モードから直接に移行でき前記被制御要素の制
御を終了させる終了モードと を含み、 前記複数の制御モジュールには、それぞれ階層的に上位
の制御モジュールからの命令により前記複数の被制御要
素を制御する手順を記録した具体的なシーケンス・デー
タ・テーブルと、このシーケンス・データ・テーブルを
参照して前記被制御要素の制御を実行するインタープリ
タ制御手段とを備えたことを特徴とする制御装置。
1. A method for controlling a plurality of controlled elements, respectively.
Control modules and this plurality of control modules
One or more control modules for layered control;
Control means for controlling one system as a whole
Control deviceYes, The mode and mode transition of the control module
hand, An activation mode for controlling activation of a corresponding controlled element; It is possible to shift directly from this start mode and correct the controlled element.
A normal operation mode for controlling normal operation, It is possible to transition directly and directly to this normal operating mode
A stop mode for controlling the stop of the control element, The start mode can be changed directly and mutually with this stop mode.
Mode and the controlled element can be put on hold.
Hold mode to control, You can go directly from this hold mode and stop
Mode and control the controlled element to the reverse state.
Reverse mode to control, It is possible to shift directly from the hold mode and stop
Mode and the normal operation mode or the
Start mode can be entered and the controlled element is manually controlled
Manual control mode to Alarm mode for generating an alarm that can be shifted from each of the above modes
When, A transition can be made directly from the hold mode to control the controlled element.
The end mode to end Including  Each of the plurality of control modules is hierarchically higher.
The plurality of controlled
Specific sequence data that records the procedure for controlling
Data table and this sequence data table
An interpreter for executing control of the controlled element with reference to the interpreted element
A control device comprising:
【請求項2】 前記制御モジュールの非動作時に前記シ
ーケンス・データ・テーブルは端末装置からのアクセス
により変更可能に設定された請求項1記載の制御装置。
2. The control device according to claim 1, wherein the sequence data table is set to be changeable by access from a terminal device when the control module is not operating.
【請求項3】 前記シーケンス・データ・テーブルは中
間言語により記録され、前記端末装置に入力される通常
言語による表示を前記シーケンス・データ・テーブルの
形式に自動的に翻訳する翻訳手段を備えた請求項2記載
の制御装置。
3. The sequence data table is recorded in an intermediate language, and is provided with a translating means for automatically translating a display in a normal language input to the terminal device into a format of the sequence data table. Item 3. The control device according to Item 2.
【請求項4】 前記通常言語による表示は、フローチャ
ート、タイムチャート、シーケンス表のうちの一つであ
る請求項3記載の制御装置。
4. The control device according to claim 3, wherein the display in the normal language is one of a flowchart, a time chart, and a sequence table.
【請求項5】 前記翻訳手段は、前記端末装置に入力さ
れた前記通常言語による表示が不適当であり翻訳が実行
できないときにはその端末装置に再入力を促す表示を行
う手段を含む請求項3記載の制御装置。
5. The translation device according to claim 3, wherein the translation unit includes a unit for prompting the terminal device to re-input when the display in the normal language input to the terminal device is inappropriate and the translation cannot be executed. Control device.
【請求項6】 前記起動モードは、制御ファイルを作成
するコールドスタートモードと、このコールドスタート
モードから移行されファイルデータをRAMに書込むホ
ットスタートモードとを含む請求項1記載の制御装置。
6. A control file is created in the start mode.
Cold start mode and this cold start
Mode to transfer file data to RAM
The control device according to claim 1 , further comprising: a start mode .
【請求項7】 前記正常動作モードは、前記被制御要素
が原点にあることを確認する原点モードと、自動運転さ
れる前記被制御要素のシーケンスをシーケンス中断直前
の状態に戻す復元モードと、前記被制御要素を自動運転
するための準備を行う準備モードと、前記被制御要素の
自動運転を行うための運転モードとを含む請求項記載
の制御装置。
7. The controlled element according to claim 6 , wherein
Origin mode to check that the
Immediately before the sequence is interrupted.
Restore mode to return to the state, and automatic operation of the controlled element
A preparation mode for preparing to perform
The control system of claim 1 further comprising a driving mode for automatic operation.
【請求項8】 前記停止モードは、前記被制御要素の運
転を緊急に停止する緊急停止モードと、前記被制御要素
の運転を徐々に停止する減速停止モードと、前記被制御
要素の運転をそのシーケンスの区切りで停止するステッ
プ停止モードとを含む請求項記載の制御装置。
8. The stop mode includes operating the controlled element.
An emergency stop mode for urgently stopping the rotation, and the controlled element
Deceleration stop mode for gradually stopping the operation of the
Step to stop the operation of the element at the break of the sequence
The control system of claim 1 further comprising a flop stop mode.
【請求項9】 前記保留モードは、CPUを停止するこ
とができるCPU停止モードと、前記被制御要素を制御
から解放する制御解放モードと、制御から解放された前
記被制御要素を制御下に戻す制御回復モードと、前記被
制御要素の運転状況を情報化するとともに制御仕様を変
更することができる診断モードとを含む請求項記載の
制御装置。
9. The suspension mode according to claim 1, wherein the CPU is stopped.
CPU stop mode that can control the controlled element
Release mode to release from control and before release from control
A control recovery mode for returning the controlled element to control;
Information on the operating status of control elements and change of control specifications
The control system of claim 1 further comprising a diagnostic mode which may be further.
【請求項10】 前記警報モードは、前記被制御要素の
運転に異常が検出されたときに運転を停止する異常停止
モードと、運転状況にかかわらず外部の指示にしたがっ
て非常停止を行う非常停止モードとを含む請求項記載
の制御装置。
10. The alarm mode includes the step of
Abnormal stop to stop operation when abnormality is detected in operation
Mode and external instructions regardless of driving conditions.
Control device according to claim 1, further comprising a emergency stop mode in which an emergency stop Te.
【請求項11】 モードおよびモードの遷移には、前記
起動モード、前記正常動作モード、前記停止モード、前
記保留モード、前記逆転モード、前記手動制御モードの
各モードから移行でき前記各モードの少なくとも一部に
ついて一時的に同期から外れた動作を行わせる例外動作
モードを含む請求項1ないし10のいずか記載の制御装
置。
11. A mode and a mode transition,
Start mode, normal operation mode, stop mode, before
Of the hold mode, the reverse mode, and the manual control mode.
Can shift from each mode and at least part of each mode
Exceptions that cause actions to be temporarily out of sync
The control device according to any one of claims 1 to 10, including a mode .
【請求項12】 モードおよびモードの遷移が設定され
た基本モジュールを複数個複製する工程と、複製された
基本モジュールのモードおよびモードの遷移の形態を固
定したままこの基本モジュールをそれぞれ加工すること
により各仕様に対応する複数の制御モジュールを作成す
る工程と、この複数の制御モジュールを階層的に組合せ
ることにより一つの系の制御プログラムを作成する工程
とを含み、 前記モードおよびモードの遷移は、 対応する被制御要素の起動を制御する起動モードと、 この起動モードから直接に移行できその被制御要素の正
常動作を制御する正常動作モードと、 この正常動作モードと相互にかつ直接に移行できその被
制御要素の停止を制御する停止モードと、 この停止モードと相互にかつ直接に移行でき前記起動モ
ードへ直接に移行できかつ前記被制御要素を保留状態に
制御する保留モードと、 この保留モードから直接に移行できるとともに前記停止
モードと相互に移行でき前記被制御要素を逆転状態に制
御する逆転モードと、 前記保留モードから直接に移行できるとともに前記停止
モードと相互に移行でき前記正常動作モードまたは前記
起動モードに移行可能であり前記被制御要素を手動制御
する手動制御モードと、 前記各モードから移行でき警報を発生させる警報モード
と、 前記各モードから移行でき前記各モードの少なくとも一
部について一時的に同期から外れた動作を行わせる例外
動作モードと、 前記保留モードから直接に移行でき前記被制御要素の制
御を終了させる終了モードとを含むことを特徴とする制
御プログラムの作成方法。
12. A step of duplicating a plurality of basic modules in which modes and mode transitions are set, and processing each of the basic modules while fixing the mode and mode transition modes of the duplicated basic modules. A step of creating a plurality of control modules corresponding to each specification, and a step of creating a control program of one system by hierarchically combining the plurality of control modules, wherein the mode and mode transition are: A start mode for controlling the start of the corresponding controlled element, a normal operation mode for directly shifting from this start mode and controlling the normal operation of the controlled element, and a normal mode for mutually and directly shifting to the normal operation mode. A stop mode for controlling the stop of the controlled element; A hold mode in which the controllable element can be directly shifted to the hold state, and a reverse mode in which the hold mode can be shifted directly and the stop mode can be mutually shifted to control the controlled element in the reverse state. A manual control mode for directly controlling the controlled element, wherein the mode can be shifted directly from the hold mode and can be shifted to the stop mode, the mode can be shifted to the normal operation mode or the start mode, and the mode can be shifted from each mode. An alarm mode for generating an alarm; an exceptional operation mode for shifting from each of the modes and temporarily performing an operation out of synchronization for at least a part of each mode; and the controlled element for directly shifting from the hold mode. And a termination mode for terminating the control of the control program.
【請求項13】 制御プログラムを作成するための基本
モジュールが記録された機械読取可能な記憶媒体であっ
て、前記基本モジュールは、モードおよびモードの遷移
として、対応する被制御要素の起動を制御する起動モー
ドと、この起動モードから直接に移行できその被制御要
素の正常動作を制御する正常動作モードと、この正常動
作モードと相互にかつ直接に移行できその被制御要素の
停止を制御する停止モードと、この停止モードと相互に
かつ直接に移行でき前記起動モードへ直接に移行できか
つ前記被制御要素を保留状態に制御する保留モードと、
この保留モードから直接に移行できるとともに前記停止
モードと相互に移行でき前記被制御要素を逆転状態に制
御する逆転モードと、前記保留モードから直接に移行で
きるとともに前記停止モードと相互に移行でき前記正常
動作モードまたは前記起動モードに移行可能であり前記
被制御要素を手動制御する手動制御モードと、前記各モ
ードから移行でき警報を発生させる警報モードと、前記
各モードから移行でき前記各モードの少なくとも一部に
ついて一時的に同期から外れた動作を行わせる例外動作
モードと、前記保留モードから直接に移行でき前記被制
御要素の制御を終了させる終了モードとを含むことを特
徴とする機械読取可能な記憶媒体。
13. A machine-readable storage medium on which a basic module for creating a control program is recorded, wherein the basic module controls a start of a corresponding controlled element as a mode and a transition of the mode. A start mode, a normal operation mode that can directly transition from this start mode and controls the normal operation of the controlled element, and a stop mode that can directly and directly transition to the normal operation mode and control the stop of the controlled element. A suspend mode in which the stop mode can be shifted to each other directly and directly to the start mode, and the controlled element is controlled to be in a suspended state;
The reverse mode, which can directly shift from the hold mode and can also shift to the stop mode and control the controlled element to the reverse state, and can shift directly from the hold mode and can shift to the stop mode mutually, At least one of a manual control mode capable of shifting to the operation mode or the start mode and manually controlling the controlled element, an alarm mode capable of shifting from each mode and generating an alarm, and an alarm mode capable of shifting from each mode. A machine-readable storage, comprising: an exceptional operation mode for temporarily performing an operation that is out of synchronization with respect to the unit; and an end mode for directly shifting from the suspension mode and terminating control of the controlled element. Medium.
JP10146103A 1998-02-23 1998-05-27 Control device and method of creating control program therefor Expired - Fee Related JP3084012B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP10146103A JP3084012B2 (en) 1998-05-27 1998-05-27 Control device and method of creating control program therefor
GB9900528A GB2334596B (en) 1998-02-23 1999-01-11 Control system
US09/244,846 US6591152B1 (en) 1998-02-23 1999-02-04 Control system
DE19904946A DE19904946A1 (en) 1998-02-23 1999-02-06 Control for a system comprising a large number of controlled elements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10146103A JP3084012B2 (en) 1998-05-27 1998-05-27 Control device and method of creating control program therefor

Publications (2)

Publication Number Publication Date
JPH11338517A JPH11338517A (en) 1999-12-10
JP3084012B2 true JP3084012B2 (en) 2000-09-04

Family

ID=15400224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10146103A Expired - Fee Related JP3084012B2 (en) 1998-02-23 1998-05-27 Control device and method of creating control program therefor

Country Status (1)

Country Link
JP (1) JP3084012B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4032799B2 (en) * 2002-04-09 2008-01-16 Jfeスチール株式会社 Hot stove control software
KR100932546B1 (en) 2007-07-13 2009-12-17 한국생산기술연구원 Computer-readable recording medium recording integrated software development program for robot control logic design

Also Published As

Publication number Publication date
JPH11338517A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
US5032975A (en) Controller for automatic assembling apparatus
JP3373115B2 (en) Control software input setting method for numerical control device
US8688258B2 (en) Method of controlling a machine tool
US6757568B2 (en) Automation system for merging automation components
US8499277B2 (en) Programming support apparatus, programming support method, program for causing computer to implement the method, and recording medium containing the program
JP4850556B2 (en) Program creation support apparatus and method
JPH05216515A (en) Machine-tool controller, which can be constituted
US5984499A (en) Method and apparatus for a numerical control system for processing multiple job streams
JPS61161506A (en) Link system of programmable controller
JP3084012B2 (en) Control device and method of creating control program therefor
JPH0259901A (en) Fault diagnosing system
US20010049562A1 (en) Control system and control method
JPH09212227A (en) Method for setting operation information of machine controlled and driven by numerical controller
JPH09128255A (en) Programable logic controller
JP3389498B2 (en) Control device and program creation method thereof
GB2334596A (en) Modular, hierarchical control system
US8095619B2 (en) Automation system and method for operating such an automation system
JP2852986B2 (en) Processing system
JP2514235B2 (en) Flexible production system
JP2002062912A (en) Control unit and control method
US6988191B1 (en) Method for the synchronized start-up of a numerical control
JP2829928B2 (en) Automatic machine control device
JP2646026B2 (en) Control method for multi-system machine tools
JPH0957576A (en) Production cell
JP2005107819A (en) Fail/safe method for computer network system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees