JP2000267706A - Sequence control method and its device - Google Patents

Sequence control method and its device

Info

Publication number
JP2000267706A
JP2000267706A JP11068380A JP6838099A JP2000267706A JP 2000267706 A JP2000267706 A JP 2000267706A JP 11068380 A JP11068380 A JP 11068380A JP 6838099 A JP6838099 A JP 6838099A JP 2000267706 A JP2000267706 A JP 2000267706A
Authority
JP
Japan
Prior art keywords
signal
actuator
controlling
forming
sequence control
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.)
Pending
Application number
JP11068380A
Other languages
Japanese (ja)
Inventor
Shinji Moriyama
伸治 守山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP11068380A priority Critical patent/JP2000267706A/en
Publication of JP2000267706A publication Critical patent/JP2000267706A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a sequence control method and device therefor capable of confirming the operation of software related with the operation of an actuator or an interlock operation between facilities without actually operating the actuator or the like. SOLUTION: In this sequence controller, a machine lock setting for inhibiting the operations of whole facilities or each of actuators 4-10 is operated by a control board 18. Then, a machine lock program is executed by a facility controller 2A so that the pseudo preparation of the signal state of a coming limit or returning limit when the actuator whose machine-lock is set is originally operated can be executed, and the operations of the other actuators or facilities can be realized based on this signal. Thus, it is possible to confirm the operation of software including the interlock operation between facilities without actually operating the actuators 4-10.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、シーケンス制御方
法およびその装置に関し、特に、制御用のソフトウエア
の動作確認が容易にできるシーケンス制御方法およびそ
の装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence control method and apparatus, and more particularly, to a sequence control method and apparatus capable of easily confirming operation of control software.

【0002】[0002]

【従来の技術】ロボット等の設備の動作は、制御用プロ
グラム等のソフトウエアに基づいて制御されることが多
くなっている。したがって、ロボット等の設備を制御す
る装置は、実際の制御機構などのハードウエアの他に、
制御用のプログラム等のソフトウエアを必要とし、実際
の設備実稼動前にソフトウエアの動作確認を行い、不具
合があればこれを事前に修正する必要がある。
2. Description of the Related Art The operation of equipment such as robots is often controlled based on software such as control programs. Therefore, a device for controlling equipment such as a robot is not limited to hardware such as an actual control mechanism,
Software such as a control program is required, and it is necessary to confirm the operation of the software before actually operating the actual equipment, and to correct any defects in advance.

【0003】実際上、動作手段であるアクチュエータ、
リミットスイッチ、電磁バルブ等(以下、「アクチュエ
ータ等」と称する。)を制御して、ロボット等を制御す
る制御装置では、制御用のソフトウエアが正常に機能す
ることが、各アクチュエータ等を正常に動作させる上で
極めて重要である。
In practice, an actuator as an operating means,
In a control device that controls a robot or the like by controlling a limit switch, an electromagnetic valve or the like (hereinafter, referred to as an “actuator or the like”), it is necessary that the control software function normally. It is extremely important for operation.

【0004】また、アクチュエータ等と他のアクチュエ
ータ等との間、あるいは、複数のアクチュエータ等が設
けられている設備と他の設備との間では、インタロック
が設けられており、設備の誤動作防止等のため、あるア
クチュエータ等の動作が完了するまでは、別のアクチュ
エータ等の動作を開始しないようになっていることが多
い。このようなインタロックが正常に機能することも、
前記制御用のソフトウエアが正常に機能するかどうかに
基づいている。
[0004] An interlock is provided between an actuator or the like and another actuator or the like or between a facility having a plurality of actuators or the like and another facility to prevent malfunction of the facility. Therefore, in many cases, the operation of another actuator or the like is not started until the operation of one actuator or the like is completed. If such interlocks work properly,
This is based on whether the control software functions normally.

【0005】したがって、新たな制御用のソフトウエア
を制御装置に搭載する際には、このソフトウエアが正常
に機能するか、つまり、各動作手段を動かすための制御
や各アクチュエータ間のインタロックの制御をうまく行
うことができるかを十分に確認する必要がある。このた
めには、例えば、物の生産機械を制御する装置の場合で
あれば、実際に物を生産する前に、ある程度の期間、物
がない状態で空運転(以下「ドライラン」という)さ
せ、ソフトウエアの動作確認をすることが行われてい
る。
Therefore, when new control software is installed in the control device, the software functions normally, that is, the control for moving each operating means and the interlock between the actuators are performed. It is necessary to confirm that control can be performed well. For this purpose, for example, in the case of a device for controlling a product production machine, before a product is actually produced, it is idled for a certain period of time without any product (hereinafter referred to as "dry run"), Checking the operation of software is being performed.

【0006】かかるソフトウエアの動作確認としては、
制御装置によって制御されるアクチュエータ等を実際に
動作させて行うことが多かった。
[0006] In order to confirm the operation of such software,
In many cases, an actuator or the like controlled by the control device is actually operated.

【0007】[0007]

【発明が解決しようとする課題】しかし、ソフトウエア
の動作を確認するために、実際にアクチュエータ等を動
作させドライランを行うには、アクチュエータ等、言い
替えれば、ロボットや溶接機等のようにアクチュエータ
等が集まって構成される設備(以下、単に「設備」とい
う)がドライランの時までに用意できていなければなら
ない。また、アクチュエータ等の種類によっては、以下
のような問題点がある。
However, in order to confirm the operation of software, in order to actually operate an actuator or the like to perform a dry run, it is necessary to use an actuator or the like, in other words, an actuator such as a robot or a welding machine. Must be ready by the time of the dry run. Further, depending on the type of the actuator and the like, there are the following problems.

【0008】1つは、アクチュエータやその付属品の種
類によっては、長期にわたるドライランの間に磨耗が進
んで設備実稼働前に使えなくなってしてしまう場合もあ
る。この場合には、設備の実稼働の際に、磨耗が進んだ
アクチュエータやその付属品を新たに取り替える必要が
あり、コストがかかる。
One is that, depending on the type of the actuator and its accessories, the wear may progress during a long-term dry run and may become unusable before the actual operation of the equipment. In this case, during actual operation of the equipment, it is necessary to newly replace the worn actuator and its accessories, which is costly.

【0009】例えば、溶接ロボットを考えると、ソフト
ウエアの確認の際に、溶接ガンを連続ドライランで実際
に2500サイクル程度動かすと溶接ガンの先端の電極
チップが磨耗してしまうおそれがある。
For example, considering a welding robot, when checking the software, if the welding gun is actually moved about 2500 cycles in a continuous dry run, the electrode tip at the tip of the welding gun may be worn.

【0010】もう1つは、特に設備間のインタロックの
確認を行うためにアクチュエータ等、すなわち、複数の
アクチュエータ等が集まっている設備を実際に動かす
と、動作確認の段階では設備間で干渉を起こす可能性が
ある。
Another problem is that when an actuator or the like, that is, a facility in which a plurality of actuators or the like are gathered, is actually moved to check interlock between the facilities, interference between the facilities occurs at the operation confirmation stage. May cause.

【0011】本発明は、このような従来のシーケンス制
御装置の不具合を少しでも解消するために成されたもの
であり、アクチュエータ等を実際に動作させることな
く、アクチュエータの動作やアクチュエータ間あるいは
設備間のインタロックの動作等に関する制御用ソフトウ
エアの動作確認を行うことができるシーケンス制御方法
およびその装置を提供することを目的とする。
The present invention has been made to solve such a problem of the conventional sequence control device as much as possible. It is an object of the present invention to provide a sequence control method and apparatus capable of confirming the operation of control software relating to the interlock operation and the like of the present invention.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
の本発明は、次のように構成される。
The present invention for achieving the above object is constituted as follows.

【0013】請求項1に記載の発明は、動作手段を制御
するためのシーケンス制御方法において、前記動作手段
を動作した場合と同様の信号を形成する信号形成段階
と、前記信号形成段階によって形成された前記信号を基
に他の動作手段を制御する動作制御段階とを有すること
を特徴とする。
According to a first aspect of the present invention, in the sequence control method for controlling the operating means, a signal forming step for forming a signal similar to a case where the operating means is operated is formed by the signal forming step. An operation control step of controlling other operation means based on the signal.

【0014】請求項2に記載の発明は、動作手段を制御
するためのシーケンス制御方法において、前記動作手段
を選択して動作禁止を設定する動作禁止設定段階と、前
記動作禁止設定段階によって動作を禁止された動作手段
に関し該動作手段を動作した場合と同様の信号を形成す
る信号形成段階と、前記信号形成段階によって形成され
た前記信号を基に他の動作手段を制御する動作制御段階
とを有することを特徴とする。
According to a second aspect of the present invention, in the sequence control method for controlling the operation means, an operation prohibition setting step of selecting the operation means and setting the operation prohibition, and performing the operation by the operation prohibition setting step. A signal forming step of forming the same signal as when the operating means is operated with respect to the prohibited operating means, and an operation controlling step of controlling other operating means based on the signal formed by the signal forming step. It is characterized by having.

【0015】請求項3に記載の発明は、動作手段を制御
するためのシーケンス制御装置において、前記動作手段
を選択して動作禁止を設定する動作禁止設定手段と、前
記動作禁止設定手段によって動作を禁止された動作手段
に関し該動作手段を動作した場合と同様の信号を形成す
る信号形成手段と、前記信号形成手段によって形成され
たの前記信号を基に他の動作手段を制御する制御手段と
を有することを特徴とする。
According to a third aspect of the present invention, in the sequence control device for controlling the operation means, an operation inhibition setting means for selecting the operation means and setting the operation inhibition, and controlling the operation by the operation inhibition setting means. Signal forming means for forming a signal similar to the case of operating the operating means with respect to the prohibited operating means, and control means for controlling other operating means based on the signal formed by the signal forming means. It is characterized by having.

【0016】請求項4に記載の発明は、動作手段を制御
するためのシーケンス制御装置において、前記動作手段
を選択して動作禁止を設定する動作禁止設定手段と、前
記動作禁止設定手段によって動作を禁止された動作手段
に関し該動作手段を動作した場合と同様の信号を形成す
る信号形成手段と、前記信号形成手段によって形成され
たの前記信号を基に他の動作手段を制御する制御手段と
を有することを特徴とする。
According to a fourth aspect of the present invention, in the sequence control apparatus for controlling the operation means, an operation inhibition setting means for selecting the operation means and setting the operation inhibition, and controlling the operation by the operation inhibition setting means. Signal forming means for forming a signal similar to the case of operating the operating means with respect to the prohibited operating means, and control means for controlling other operating means based on the signal formed by the signal forming means. It is characterized by having.

【0017】請求項5に記載の発明は、請求項4に記載
のシーケンス制御装置において、前記信号形成手段にお
いて形成された信号を他の設備を制御するための制御手
段に対して出力する信号出力手段をさらに有することを
特徴とする。
According to a fifth aspect of the present invention, in the sequence control device according to the fourth aspect, a signal output for outputting a signal formed by the signal forming means to a control means for controlling other equipment. It is characterized by further comprising means.

【0018】請求項6に記載の発明は、請求項4または
請求項5に記載のシーケンス制御装置において、前記信
号形成手段は、前記動作禁止設定手段によって動作禁止
が設定された動作手段に関する動作手段情報を取り込む
手段と、当該動作禁止が設定された場合に制御を行うた
めのプログラムを取り込む手段と、前記プログラムを起
動し前記動作手段情報に基づいて前記動作手段の動作開
始に伴う動作限情報の信号変化を仮想的に形成する動作
開始信号形成手段と、前記動作開始信号形成手段によっ
て信号変化が仮想的に形成されてからの時間を計測する
時間計測手段と、前記時間計測手段により所定の動作時
間が経過したときに前記動作手段の動作終了に伴う動作
限情報の信号変化を仮想的に形成する動作終了信号形成
手段とを有することを特徴とする。
According to a sixth aspect of the present invention, in the sequence control device according to the fourth or fifth aspect, the signal forming means includes an operation means related to the operation means whose operation inhibition is set by the operation inhibition setting means. Means for taking in information, means for taking in a program for performing control when the operation prohibition is set, and operation start information of the operation means accompanying the start of operation of the operation means based on the operation means information based on the program information. An operation start signal forming means for virtually forming a signal change; a time measuring means for measuring a time since the signal change is virtually formed by the operation start signal forming means; and a predetermined operation by the time measuring means. Operation end signal forming means for virtually forming a signal change of the operation limit information accompanying the end of the operation of the operation means when time has elapsed. The features.

【0019】[0019]

【発明の効果】請求項1に記載したシーケンス制御方法
によれば、前記動作手段を動作した場合と同様の信号を
形成する信号形成段階を有するようにしたので、実際に
動作手段を動作させることなく、動作制御段階での不具
合の有無を確認をすることができ、この確認の際に動作
手段等が磨耗してしまうことを防止し、また、設備間の
干渉を未然に防止することができる。
According to the sequence control method described in the first aspect, a signal forming step for forming a signal similar to that when the operating means is operated is provided, so that the operating means is actually operated. In addition, it is possible to confirm the presence or absence of a defect in the operation control stage, to prevent the operation means and the like from being worn at the time of this confirmation, and to prevent interference between the facilities beforehand. .

【0020】請求項2に記載したシーケンス制御方法に
よれば、前記動作手段を選択して動作禁止を設定する動
作禁止設定段階と、前記動作禁止設定段階によって動作
を禁止された動作手段に関し該動作手段を動作した場合
と同様の信号を形成する信号形成段階とを有するように
したので、磨耗や設備間の干渉等が懸念される動作手段
を自由に選択して動作を禁止しつつ、動作制御段階での
不具合の有無を確認でき、動作手段が実稼動前に磨耗し
てしまうことを防止できる。
According to a second aspect of the present invention, there is provided an operation prohibition setting step of selecting the operation means and setting operation prohibition, and the operation means for which the operation is prohibited by the operation prohibition setting step. And a signal forming step of forming a signal similar to the case of operating the means. It is possible to confirm the presence or absence of a defect at the stage, and it is possible to prevent the operating means from being worn before actual operation.

【0021】請求項3に記載したシーケンス制御装置に
よれば、前記動作手段を動作した場合と同様の信号を形
成する信号形成手段を有するようにしたので、動作手段
を実際に動作させることなく動作制御手段の動作確認を
することができ、動作制御手段の確認の際に動作手段が
磨耗してしまうことを防止し、また、設備間の干渉を未
然に防止することができる。
According to the third aspect of the present invention, since the sequence control device includes the signal forming means for forming the same signal as when the operating means is operated, the operation is performed without actually operating the operating means. It is possible to confirm the operation of the control means, to prevent the operation means from being worn when confirming the operation control means, and to prevent interference between the equipment.

【0022】請求項4に記載したシーケンス制御装置に
よれば、前記動作手段を選択して動作禁止を設定する動
作禁止設定手段と、前記動作禁止設定手段によって動作
を禁止された動作手段に関し該動作手段を動作した場合
と同様の信号を形成する信号形成手段とを有するように
したので、磨耗や設備間の干渉等が懸念される動作手段
を自由に選択して動作を禁止しつつ、動作制御手段の動
作確認を実行でき、実稼動前に動作手段が磨耗してしま
うことを防止できる。
According to a fourth aspect of the present invention, there is provided the sequence control device, wherein the operation prohibition setting means for selecting the operation means and setting the operation prohibition, and the operation means for which the operation is prohibited by the operation prohibition setting means. And a signal forming means for forming the same signal as when the means is operated. It is possible to check the operation of the means and prevent the operating means from being worn before the actual operation.

【0023】請求項5に記載したシーケンス制御装置に
よれば、請求項4に記載のシーケンス制御装置におい
て、前記信号形成手段において形成された信号を他の設
備を制御するための制御手段に対して出力する信号出力
手段をさらに有するようにしたので、初めに動作手段を
動作禁止状態にしつつ複数の設備間でのインタロックの
確認をでき、設備間の干渉等を未然に防ぐことができ
る。
According to the sequence control device described in claim 5, in the sequence control device described in claim 4, the signal formed by the signal forming unit is transmitted to a control unit for controlling other equipment. Since there is further provided a signal output means for outputting, it is possible to confirm the interlock between a plurality of facilities while first setting the operation means to the operation prohibited state, and to prevent interference between the facilities.

【0024】請求項6に記載したシーケンス制御装置に
よれば、請求項4または請求項5に記載のシーケンス制
御装置において、前記信号形成手段は、前記動作禁止設
定手段によって動作禁止が設定された動作手段に関する
動作手段情報を取り込む手段と、当該動作禁止が設定さ
れた場合に制御を行うためのプログラムを取り込む手段
と、前記プログラムを起動し前記動作手段情報に基づい
て前記動作手段の動作開始に伴う動作限情報の信号変化
を仮想的に形成する動作開始信号形成手段と、前記動作
開始信号形成手段によって信号変化が仮想的に形成され
てからの時間を計測する時間計測手段と、前記時間計測
手段により所定の動作時間が経過したときに前記動作手
段の動作終了に伴う動作限情報の信号変化を仮想的に形
成する動作終了信号形成手段とを有するようにしたの
で、動作手段の動作禁止設定を自在に行うことができ、
また、動作手段における戻限、出限の信号変化に合わせ
た動作制御手段の動作確認をすることができる。
According to the sequence control device described in claim 6, in the sequence control device according to claim 4 or 5, the signal forming unit is configured to perform an operation in which the operation inhibition is set by the operation inhibition setting unit. Means for taking in operation means information on the means, means for taking in a program for performing control when the operation prohibition is set, and starting of the program to start the operation of the operation means based on the operation means information Operation start signal forming means for virtually forming a signal change of operation limit information, time measuring means for measuring a time since a signal change is virtually formed by the operation start signal forming means, and the time measuring means An operation end signal for virtually forming a signal change of operation limit information accompanying the end of operation of the operation means when a predetermined operation time elapses Since to have a forming means, it is possible to carry out freely the operation prohibition setting operation unit,
Further, it is possible to confirm the operation of the operation control means in accordance with the return limit and limit signal change in the operation means.

【0025】[0025]

【発明の実施の形態】本発明のシーケンス制御装置で
は、操作盤によって設備全体または個別のアクチュエー
タ等の実動作を禁止する設定(以下「マシンロック設
定」という)が可能となる。そして、このマシンロック
設定がされたアクチュエータが本来の動作をした場合の
出限または戻限の信号状態を擬似的につくり、この信号
に基づき他のアクチュエータ、設備の動作を行なう。こ
のように構成すると、マシンロック設定をすることによ
ってアクチュエータ等を実際に動作させることなく、設
備間のインタロックの確認を含めてソフトウエアの動作
確認をできる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the sequence control device of the present invention, a setting (hereinafter referred to as "machine lock setting") for prohibiting actual operation of the whole equipment or individual actuators or the like can be made by an operation panel. Then, a signal state of an end limit or return limit when the actuator in which the machine lock is set performs an original operation is simulated, and other actuators and equipment are operated based on this signal. With this configuration, it is possible to confirm the operation of the software including the confirmation of the interlock between the facilities without actually operating the actuator or the like by setting the machine lock.

【0026】以下に、本発明の1実施形態を図面に基づ
いて詳細に説明する。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

【0027】図1は、本発明のシーケンス制御装置の概
略構成図である。
FIG. 1 is a schematic configuration diagram of a sequence control device according to the present invention.

【0028】設備コントローラ2Aは、アクチュエータ
等の動作手段を実際に制御するものである。実際の動作
手段であるアクチュエータ等としては、例えば、電磁バ
ルブ4、リミットスイッチ6、モータ8、ランプ10が
考えられる。このような複数の動作手段が集まって一つ
の設備が構成される。
The equipment controller 2A actually controls operation means such as an actuator. For example, an electromagnetic valve 4, a limit switch 6, a motor 8, and a lamp 10 are conceivable as actuators and the like as actual operation means. A plurality of such operation means are assembled to form one facility.

【0029】このような構成によって、設備コントロー
ラ2Aから電磁バルブ4、リミットスイッチ6、モータ
8等に対して出指令や戻指令がなされ、これら指令に基
づいて電磁バルブ4、リミットスイッチ6等が動作する
こととなる。
With such a configuration, an outgoing command and a return command are issued from the equipment controller 2A to the electromagnetic valve 4, the limit switch 6, the motor 8, and the like, and the electromagnetic valve 4, the limit switch 6, and the like operate based on these commands. Will be done.

【0030】他の設備コントローラ2B、2Cも前記設
備コントローラ2Aと同様に動作する。溶接ロボットを
制御する制御コントローラを例にとれば、各設備コント
ローラ2B、2Cによって、複数のアクチュエータ等を
有する溶接タイマ12や、ロボット14等の各設備が制
御されることになる。
The other equipment controllers 2B and 2C operate similarly to the equipment controller 2A. Taking the controller for controlling the welding robot as an example, the equipment controllers 2B and 2C control the equipment such as the welding timer 12 having a plurality of actuators and the robot 14, and the like.

【0031】尚、設備コントローラ2Aには、アクチュ
エータ等を動作させるための制御用プログラム(図示し
ていない。以下「アクチュエータ動作プログラム」とい
う)が設けられている。
The equipment controller 2A is provided with a control program (not shown; hereinafter, referred to as an "actuator operation program") for operating an actuator or the like.

【0032】操作盤18は、設備コントローラ2Aの各
種の設定を行なうものであり、本発明のシーケンス制御
装置では、操作盤18によってマシンロックの設定を行
なうことができる。また、マシンロック設定に関する各
種アクチュエータ情報の入力、及びマシンロックの設定
がされたときの制御を行なうためのプログラムであるマ
シンロックプログラムの入力を行なうことができる。
The operation panel 18 performs various settings of the equipment controller 2A. In the sequence control device of the present invention, machine lock can be set by the operation panel 18. Further, it is possible to input various types of actuator information relating to the machine lock setting, and to input a machine lock program which is a program for performing control when the machine lock is set.

【0033】尚、操作盤18は、操作パネル部と表示部
(図示していない)とを有するように構成することがで
きる。この表示部には、各アクチュエータ等のうち、ど
のアクチュエータがマシンロック設定されているかを随
時表示させることができる。また、操作パネル部によ
り、新たにマシンロックするアクチュエータを設定した
り、または、マシンロックするアクチュエータを変更し
たりすることもできる。
The operation panel 18 can be configured to have an operation panel section and a display section (not shown). On this display unit, which actuator among the actuators and the like is set to machine lock can be displayed at any time. Further, an actuator to be newly machine-locked can be set or an actuator to be machine-locked can be changed by the operation panel unit.

【0034】したがって、完成したソフトウエア、特に
アクチュエータ動作プログラムの動作確認のためにドラ
イランする場合には、状況に応じてマシンロックするア
クチュエータの設定範囲を適時変更して行なうことがで
きるようにすることも可能である。例えば、ドライラン
で実際に動作させると磨耗するおそれがあるアクチュエ
ータについてマシンロックを設定し、その動作を禁止す
ることができる。
Therefore, when performing a dry run for confirming the operation of the completed software, in particular, the actuator operation program, the setting range of the actuator to be machine-locked can be appropriately changed according to the situation. Is also possible. For example, a machine lock can be set for an actuator that may be worn out when actually operated in a dry run, and the operation can be prohibited.

【0035】マシンロックは設備全体に対して設定する
こともでき、一部の動作手段についてのみ設定すること
もできる。
The machine lock can be set for the entire equipment, or can be set for only a part of the operation means.

【0036】操作盤18によって設定されたマシンロッ
クの設定情報等の各設定情報やアクチュエータ動作プロ
グラムやマシンロックプログラムは、設備コントローラ
2Aの内部に記憶される。
The setting information such as the machine lock setting information set by the operation panel 18, the actuator operation program and the machine lock program are stored in the equipment controller 2A.

【0037】図2は、設備コントローラ2Aの概略構成
を示すブロック図である。他の設備コントローラ2B、
2Cについても同様に構成することができる。
FIG. 2 is a block diagram showing a schematic configuration of the equipment controller 2A. Other equipment controller 2B,
The same applies to 2C.

【0038】制御部19は、アクチュエータ動作プログ
ラムおよびマシンロックプログラムを起動して実行した
り、アクチュエータ情報などの種々のデータ設定するな
ど、本発明のシーケンス制御装置全体の制御を行うもの
で、通常はCPUを有している。
The control unit 19 controls the entire sequence controller of the present invention, such as activating and executing an actuator operation program and a machine lock program, and setting various data such as actuator information. It has a CPU.

【0039】操作盤入力I/F部20は、操作盤18か
ら入力されたマシンロックの設定情報、アクチュエータ
情報、およびマシンロックプログラム等を入力するため
のインターフェースである。また、操作盤出力I/F部
22は、マシンロック設定状態を操作盤18に出力し
て、マシンロックの設定状態を操作盤18の前記表示部
に表示させるため等に用いられるインターフェースであ
る。
The operation panel input I / F section 20 is an interface for inputting machine lock setting information, actuator information, a machine lock program, and the like input from the operation panel 18. The operation panel output I / F unit 22 is an interface used to output a machine lock setting state to the operation panel 18 and display the machine lock setting state on the display unit of the operation panel 18.

【0040】アクチュエータ入力I/F部24は、各ア
クチュエータ等からの出限情報や戻限情報等の動作限情
報を受け取るためのインターフェースであり、アクチュ
エータ出力I/F部26は、各アクチュエータ等の動作
手段への出指令、戻指令等の動作指令を出力するための
インターフェースである。
The actuator input I / F unit 24 is an interface for receiving operation limit information such as limit information and return limit information from each actuator or the like. This is an interface for outputting operation commands such as an output command and a return command to the operation means.

【0041】また、他の設備コントローラ2B、2Cと
のデータのやり取りをするためには、他コントローラ入
力I/F部23、他コントローラ出力I/F部25が設
けられている。
In order to exchange data with the other equipment controllers 2B and 2C, another controller input I / F unit 23 and another controller output I / F unit 25 are provided.

【0042】アクチュエータ動作プログラム記憶部27
は、アクチュエータ等を動作させるための制御用プログ
ラムである前記アクチュエータ動作プログラムを記憶す
るためのメモリである。アクチュエータ動作プログラム
は、個々の設備ごとにアクチュエータ等を動作させるよ
うに各設備コントローラ2A、2B、2Cごとにインス
トールすることができる。
Actuator operation program storage unit 27
Is a memory for storing the actuator operation program, which is a control program for operating an actuator or the like. The actuator operation program can be installed for each of the equipment controllers 2A, 2B, and 2C so as to operate the actuator and the like for each individual equipment.

【0043】このような構成により通常時においては、
アクチュエータ動作プログラム記憶部27に記憶されて
いるアクチュエータ動作プログラムが起動され実行され
て、このプログラムに基づいてアクチュエータ出力I/
F部26から所定のアクチュエータ等に対して出指令、
戻指令等の動作指令がなされ、所定のアクチュエータ等
が実際に動作する。また、出限情報や戻限情報がアクチ
ュエータ入力I/F部24から入力される。さらに複数
の設備コントローラ2A、2B、2Cにまたがって制御
するためには、他コントローラ入力I/F部23及び他
コントローラ出力I/F部25を介して他の設備コント
ローラ2B,2Cと前記出限情報や戻限情報等のやり取
りがされる。
With such a configuration, at normal time,
The actuator operation program stored in the actuator operation program storage unit 27 is activated and executed, and the actuator output I /
An output command from the F unit 26 to a predetermined actuator or the like,
An operation command such as a return command is issued, and a predetermined actuator or the like actually operates. In addition, limit information and return limit information are input from the actuator input I / F unit 24. Further, in order to perform control over a plurality of equipment controllers 2A, 2B, and 2C, it is necessary to communicate with the other equipment controllers 2B and 2C via the other controller input I / F unit 23 and the other controller output I / F unit 25. Information and return limit information are exchanged.

【0044】尚、このとき、アクチュエータ入力I/F
部24から入力された出限情報や戻限情報、及び他コン
トローラ入力I/F部23から入力された他の設備での
出限情報や戻限情報によりインタロックを考慮しなが
ら、順番にアクチュエータ等を動作させることになる。
At this time, the actuator input I / F
In consideration of the interlock based on the limit information and return limit information input from the unit 24 and the limit information and return limit information of other equipment input from the other controller input I / F unit 23, the actuators are sequentially turned on. Etc. will be operated.

【0045】このようにアクチュエータ動作プログラム
が記憶されたアクチュエータ動作プログラム記憶部27
は、制御部19とともに、アクチュエータ等の動作を制
御する動作制御手段として機能する。
The actuator operation program storage section 27 in which the actuator operation program is stored as described above.
Functions together with the control unit 19 as operation control means for controlling the operation of the actuator and the like.

【0046】設定情報記憶部28は、マシンロック設定
情報や、マシンロック設定に伴うアクチュエータ情報を
記憶するためのメモリである。
The setting information storage unit 28 is a memory for storing machine lock setting information and actuator information accompanying the machine lock setting.

【0047】マシンロックプログラム記憶部30は、前
記操作盤18によってマシンロック設定がされた場合の
処理を行うためのマシンロックプログラムを記憶するた
めののメモリである。
The machine lock program storage section 30 is a memory for storing a machine lock program for performing a process when a machine lock is set by the operation panel 18.

【0048】したがって、前記アクチュエータ動作プロ
グラムに応じてアクチュエータ出力I/F部26から動
作指令がなされる前の段階で前記設定情報記憶部28を
参照しマシンロック設定がされているかを判断し、マシ
ンロック設定がされていると判断される場合には、この
マシンロックプログラム記憶部30に記憶されているマ
シンロックプログラムが起動される。
Therefore, at a stage before an operation command is issued from the actuator output I / F unit 26 in accordance with the actuator operation program, the setting information storage unit 28 is referred to to determine whether the machine lock setting has been performed. If it is determined that the lock is set, the machine lock program stored in the machine lock program storage unit 30 is activated.

【0049】この場合、マシンロックがされているアク
チュエータ等に対しては、実際の動作指令は出力され
ず、その代わりに、例えば、前記アクチュエータ情報に
基づいてRAMメモリ32等の内部のデータをあたかも
動作指令出力がONされたように設定する。
In this case, an actual operation command is not output to the actuator or the like that is machine-locked. Instead, for example, the data inside the RAM memory 32 or the like is simulated based on the actuator information. Set as if the operation command output was turned on.

【0050】また、本来、実際にアクチュエータ等が動
作すると、それにともなって、戻限情報や、出限情報な
どが変化し、これがアクチュエータ入力I/F部24を
介して入力されるが、マシンロックされている場合に
は、アクチュエータ等が実際に動作しないので、かかる
戻限や出限の情報が変化しない。
Originally, when the actuator or the like actually operates, return limit information, limit information, and the like change accordingly, and are input via the actuator input I / F unit 24. In such a case, the actuator and the like do not actually operate, so that the return limit and the limit information do not change.

【0051】したがって、この場合には、前記設定情報
記憶部28に記憶されたアクチュエータ情報に基づい
て、あたかも前記アクチュエータが実際に動作したよう
に戻限情報および出限情報が記憶されているRAMメモ
リ32等の内部のデータを変える。つまり、設備コント
ローラ2A内部においては、実際にアクチュエータが動
作したような状態になる。したがって、同一設備のコン
トローラ2A内では、インタロックの制限を受けずに他
のアクチュエータの動作を続けることができる。
Therefore, in this case, based on the actuator information stored in the setting information storage unit 28, a RAM memory storing return limit information and limit information as if the actuator actually operated. Change the internal data such as 32. That is, the interior of the equipment controller 2A is in a state where the actuator is actually operated. Therefore, in the controller 2A of the same equipment, the operation of another actuator can be continued without being restricted by the interlock.

【0052】一方、他の設備コントローラ2B、2Cに
対して前記戻限情報や出限情報が出力されることを条件
として他の設備コントローラ2B、2Cのインタロック
が解除され他の設備が動作を始めることができる場合あ
る。この場合には、あたかも前記アクチュエータが実際
に動作したような戻限情報および出限情報を、前記他の
設備コントローラに対して出力する。これにより、他の
設備も動作を続けることができる。
On the other hand, the interlock of the other equipment controllers 2B and 2C is released on condition that the return limit information and the limit information are output to the other equipment controllers 2B and 2C, and the other equipment operates. Sometimes you can get started. In this case, return limit information and limit information as if the actuator actually operated are output to the other equipment controller. This allows other equipment to continue operating.

【0053】このように、マシンロック設定がされた場
合に、アクチュエータ情報に基づき、アクチュエータ等
が動作したかのようにRAMメモリ32内のデータ設定
を行い、また、他の設備コントローラ2B、2Cに対し
ては、実際に戻限情報や出限情報を擬似的に出力するた
めのロックプログラムが記憶されたロックプログラム記
憶部30は、制御部19とともに、動作手段を動作した
場合と同様の信号を形成する信号形成手段として機能す
る。
As described above, when the machine lock is set, the data in the RAM memory 32 is set on the basis of the actuator information as if the actuator or the like has operated, and the other equipment controllers 2B and 2C are set. On the other hand, the lock program storage unit 30 in which the lock program for actually outputting the return limit information and the limit information in a pseudo manner is stored together with the control unit 19, outputs the same signal as when the operating unit is operated. It functions as a signal forming means.

【0054】尚、以上、複数の設備を設備コントローラ
2A、2B、2Cによって制御する場合について設備コ
ントローラ2Aを中心にその概略構成を説明したが、他
の設備コントローラ2B、2Cについても同様に構成で
きる。
The schematic configuration of the equipment controller 2A has been described mainly for the case where a plurality of equipments are controlled by the equipment controllers 2A, 2B, and 2C. However, the other equipment controllers 2B and 2C can be similarly configured. .

【0055】また、複数の設備コントローラ2A、2
B、2Cを一元的に管理するために、さらに各設備コン
トローラ2A、2B、2Cに接続するように統括コント
ローラ16を設けてもよい。この場合の概略構成図を図
3に示す。
Further, a plurality of equipment controllers 2A, 2A,
In order to centrally manage B and 2C, a general controller 16 may be provided so as to be connected to each of the equipment controllers 2A, 2B and 2C. FIG. 3 shows a schematic configuration diagram in this case.

【0056】各設備コントローラ2A、2B、2Cの各
種設定を行うための操作盤18は、統括コントローラ1
6に接続することができる。
The operation panel 18 for making various settings of the equipment controllers 2A, 2B, 2C is provided by the general controller 1
6 can be connected.

【0057】また、各設備を制御するためのアクチュエ
ータ動作プログラムは、各設備コントローラ2A、2
B、2Cに各々設けられた前記アクチュエータ動作プロ
グラム記憶部27にインストールする一方、マシンロッ
ク設定情報やアクチュエータ情報、及びマシンロックプ
ログラム等のマシンロック機能に関するものは、統括コ
ントローラ16内に設けられた設定情報記憶部28およ
びマシンロックプログラム記憶部30に記憶するように
構成することも可能である。
Further, the actuator operation program for controlling each facility includes the facility controllers 2A, 2A and 2B.
B and 2C are installed in the actuator operation program storage unit 27 provided respectively. Machine lock setting information, actuator information, and a machine lock function such as a machine lock program are set in the general controller 16. It is also possible to configure so that the information is stored in the information storage unit 28 and the machine lock program storage unit 30.

【0058】また、操作盤入力I/F部20及び操作盤
出力I/F部22は、統括コントローラ16に設けら
れ、1つの操作盤18の表示部によってすべてのアクチ
ュエータ等のマシンロック設定状況を確認しつつ、マシ
ンロック設定の変更を行うようにすることも可能であ
る。
The operation panel input I / F section 20 and the operation panel output I / F section 22 are provided in the general controller 16 and the display section of one operation panel 18 displays the machine lock setting status of all actuators and the like. It is also possible to change the machine lock setting while checking.

【0059】このような構成によれば、多くの設備コン
トローラを有する制御装置の場合に一元管理が可能とな
り、管理しやすくなるというメリットがある。
According to such a configuration, in the case of a control device having many equipment controllers, unified management becomes possible and there is an advantage that management becomes easy.

【0060】尚、マシンロック設定がされたときの、ア
クチュエータの指令や、戻限や出限のアドレスは、上述
したように「アクチュエータ情報」として操作盤18等
により入力され、前記設定情報記憶部28に記憶される
こととなる。以下、このアクチュエータ情報の一例を図
4に示す。
When the machine lock is set, the command of the actuator and the addresses of the return limit and the limit are input as "actuator information" by the operation panel 18 or the like as described above, and are stored in the setting information storage section. 28. Hereinafter, an example of this actuator information is shown in FIG.

【0061】図4は、アクチュエータがn個ある場合
の、アクチュエータ情報の一例を示している。
FIG. 4 shows an example of actuator information when there are n actuators.

【0062】アクチュエータ情報には、アクチュエータ
No.1からアクチュエータNo.nにいたるまで各ア
クチュエータにナンバーを付けて、各アクチュエータに
対応づけて、出指令や戻指令の出力先のアドレス、出限
情報や戻限情報が入力されるアドレス、および、原位置
状態などが入力されている。また、各アクチュエータの
特性に起因する各データ、例えば、出指令があってか
ら、出限に達するまでの時間(以下「動作時間」とい
う)などのデータを入力しておくように構成することも
可能である。
The actuator information includes the actuator No. 1 to the actuator No. Numbers are assigned to each actuator up to n, and the output destination address of the output command and return command, the address to which limit information and return limit information are input, and the original position state are associated with each actuator. Has been entered. In addition, it is also possible to configure such that data such as time from when there is an output command to when the limit is reached (hereinafter referred to as “operation time”) is input beforehand due to the characteristics of each actuator. It is possible.

【0063】このようなアクチュエータ情報に基づい
て、マシンロック設定時に処理先や、他設備の設備コン
トローラへの出力先等が決定されることとなる。
Based on such actuator information, the processing destination and the output destination to the equipment controller of another equipment are determined when the machine lock is set.

【0064】以上のように構成されている本発明のシー
ケンス制御装置は、次のように動作する。この動作をシ
ーケンス制御装置の処理を示した図5のフローチャート
にしたがって説明する。
The sequence control device of the present invention having the above-described structure operates as follows. This operation will be described with reference to the flowchart of FIG. 5 showing the processing of the sequence control device.

【0065】まず、操作盤18によってドライランが選
択されていなければ、通常運転の制御を行う。例えば、
生産加工機用の制御装置であれば、実際にワークを生産
加工するように通常の処理がされる(S1、S2)。こ
の場合は、当然マシンロックの設定は不要であり、アク
チュエータ動作プログラム記憶部27に記憶されている
アクチュエータ動作プログラムにしたがい、アクチュエ
ータ出力I/F部26から各アクチュエータ等、すなわ
ち、電磁バルブ4、リミットスイッチ6、モータ8、ラ
ンプ10等に対して動作指令がなされ、次々に動作が実
行されていく。
First, if the dry run is not selected by the operation panel 18, the control of the normal operation is performed. For example,
In the case of a control device for a production processing machine, normal processing is performed so as to actually produce and process a work (S1, S2). In this case, it is not necessary to set the machine lock, and according to the actuator operation program stored in the actuator operation program storage unit 27, the actuator output I / F unit 26 sends each actuator, such as the electromagnetic valve 4, the limit, and the like. An operation command is issued to the switch 6, the motor 8, the lamp 10, and the like, and the operation is performed one after another.

【0066】一方、操作盤18によってドライランが選
択されている場合、つまり、ソフトウエアの動作確認お
よびこれに伴う設備間のインタロックの確認などのため
に連続してドライランする場合には、磨耗しやすい等の
理由により実際の動作を禁止したいアクチュエータ等を
操作盤18等によって選択することにより、マシンロッ
ク設定をすることができる。操作盤18によって入力さ
れたマシンロックの設定情報は、操作盤入力I/F部2
0を介してコントローラ内に入力され、設定情報記憶部
28に記憶される。また、このマシンロックの設定状況
は、操作盤出力I/F部22から出力され、随時、操作
盤18の表示部に表示させておくことができ、この表示
部の表示を実際に見ながら、マシンロックの設定内容を
簡単に追加、変更することができる。
On the other hand, when the dry run is selected by the operation panel 18, that is, when the dry run is continuously performed to confirm the operation of the software and the interlock between the facilities accompanying the dry run, the wear may occur. The machine lock can be set by selecting an actuator or the like whose actual operation is to be prohibited for the reason such as easy operation using the operation panel 18 or the like. The machine lock setting information input by the operation panel 18 is transmitted to the operation panel input I / F unit 2.
0 and is input into the controller and stored in the setting information storage unit 28. The setting status of the machine lock is output from the operation panel output I / F unit 22 and can be displayed on the display unit of the operation panel 18 at any time. Machine lock settings can be easily added or changed.

【0067】そして、マシンロック設定に伴って必要と
なる上記のアクチュエータ情報が操作盤18等によって
入力される。アクチュエータ情報も、操作盤18の操作
部から簡単に入力することができ、前記設定情報記憶部
28に記憶される(S1、S3)。
Then, the above-described actuator information necessary for setting the machine lock is input from the operation panel 18 or the like. Actuator information can also be easily input from the operation unit of the operation panel 18, and is stored in the setting information storage unit 28 (S1, S3).

【0068】いずれのアクチュエータについてもマシン
ロックが設定されなかった場合には、通常運転の場合と
同様に、アクチュエータ動作プログラム記憶部27に記
憶されているアクチュエータ動作プログラムが実行さ
れ、このプログラムにしたがって、実際にアクチュエー
タ等が動作することとなる(S4、S5)。つまり、ス
テップ1でドライランが選択されていない場合と同様
に、実際の動作指令が、アクチュエータ出力I/F部2
6から出力され、各アクチュエータ等が実動作を行う。
また、アクチュエータ等の実動作に伴って生じる出限、
戻限の信号は、アクチュエータ入力I/F部24から設
備コントローラ2A内に入力される。さらに、当該出
限、戻限の信号等は、他コントローラ入力I/F部2
5、同出力I/F23を介して他の設備コントローラ2
B、2Cとの間でやり取りされる。これによって、各ア
クチュエータ等の間、および各設備間でのインタロック
を考慮しながら実動作が進むことになる。
If the machine lock is not set for any of the actuators, the actuator operation program stored in the actuator operation program storage unit 27 is executed as in the case of the normal operation. The actuator and the like actually operate (S4, S5). That is, as in the case where the dry run is not selected in step 1, the actual operation command is transmitted to the actuator output I / F unit 2
6, each actuator and the like perform an actual operation.
In addition, due to the actual operation of the actuator and the like,
The return limit signal is input from the actuator input I / F unit 24 into the equipment controller 2A. Further, the output limit and return limit signals and the like are transmitted to the other controller input I / F unit 2.
5. Other equipment controller 2 via the same output I / F 23
B and 2C. As a result, the actual operation proceeds while considering the interlock between the actuators and the like and between the facilities.

【0069】一方、マシンロックの設定がされた場合に
は、マシンロック設定下の処理モードに入る。このマシ
ンロック設定下の処理モードにおいては、前記アクチュ
エータ動作プログラムだけでなく、マシンロックプログ
ラム記憶部30に記憶されているマシンロックプログラ
ムも起動される(S6)。
On the other hand, when the machine lock is set, the processing enters the processing mode under the machine lock setting. In the processing mode under the machine lock setting, not only the actuator operation program but also the machine lock program stored in the machine lock program storage unit 30 is started (S6).

【0070】つまり、アクチュエータ動作プログラムが
実行される際に、マシンロックが設定されているアクチ
ュエータに対する出指令、および戻指令がされていると
制御部19が判断した場合には、マシンロックプログラ
ム記憶部30に記憶されているマシンロックプログラム
が実行される。マシンロックプログラムは、前記設定情
報記憶部28に記憶されているアクチュエータ情報に基
づいて、あたかも実際にアクチュエータが動作したかの
ようにRAMメモリ32内のデータの状態を変化させた
り、また、他の設備コントローラ2A、2B、2Cに対
して、他コントローラ出力I/F25を介して擬似的に
出限情報や戻限情報を出力したりする。これによって、
異なる設備コントローラ2A、2B、2Cによって各々
制御されている複数の設備間におけるインタロックがあ
る場合であっても、この擬似的な出限情報や戻限情報に
よってインタロックが正常に解除されて後続する動作処
理を行うことができる。換言すれば、インタロックが正
常に機能するかについて、ソフトウエアの動作確認がで
きることとなる。
That is, when the control unit 19 determines that the outgoing command and the returning command to the actuator for which the machine lock is set are issued when the actuator operation program is executed, the machine lock program storing unit The machine lock program stored in 30 is executed. The machine lock program changes the state of data in the RAM memory 32 as if the actuator actually operated, based on the actuator information stored in the setting information storage unit 28, It outputs pseudo limit information and return limit information to the equipment controllers 2A, 2B, and 2C via the other controller output I / F 25. by this,
Even if there is an interlock between a plurality of facilities controlled respectively by different facility controllers 2A, 2B, and 2C, the interlock is normally released by the pseudo limit information and return limit information and the subsequent Can be performed. In other words, it is possible to confirm the operation of the software as to whether the interlock functions normally.

【0071】マシンロック設定下における処理(S6)
のサブルーチンを図6に示したフローチャートにしたが
って説明する。
Processing under Machine Lock Setting (S6)
Will be described with reference to the flowchart shown in FIG.

【0072】アクチュエータNo.1から順々に最終の
アクチュエータまで処理がされていく場合を考えると、
まず、前記アクチュエータ動作プログラムの実行中に、
アクチュエータNo.1に対する動作指令の箇所があ
る。動作指令は、出指令であっても戻指令であってもよ
いが、ここでは、当初、アクチュエータNo.1が戻限
にあった場合に、出指令がなされた場合を考えることと
する(S7)。
Actuator No. Consider the case where the processing is sequentially performed from 1 to the final actuator.
First, during execution of the actuator operation program,
Actuator No. There is a part of the operation command for 1. The operation command may be an output command or a return command. Let us consider a case where an outgoing command is issued when 1 is in the return limit (S7).

【0073】このようにアクチュエータNo.1に対す
る動作指令があった場合には、アクチュエータNo.1
についてマシンロック設定がされているか否かが設定情
報記憶部28の記憶内容に基づき判断される(S8)。
As described above, the actuator No. When there is an operation command for the actuator No. 1, 1
Is determined based on the contents stored in the setting information storage unit 28 (S8).

【0074】その結果、アクチュエータNo.1に対し
てマシンロックが設定されていない場合には、実際に、
アクチュエータ出力I/F部26からアクチュエータN
o.1の出ソレノイドに対して出指令が出力され、この
出指令に基づき、アクチュエータNo.1が実際の動作
を行なう。戻限および出限の状態をセンサ(図示してい
ない)等で検知するタイプのアクチュエータの場合であ
れば、アクチュエータの出動作が開始されると、戻限が
OFFとなり、暫くしてアクチュエータが出限に達する
と、出限がONとなる。
As a result, the actuator No. If no machine lock has been set for 1,
From the actuator output I / F unit 26 to the actuator N
o. An output command is output to the output solenoid of the actuator No. 1 based on the output command. 1 performs the actual operation. In the case of an actuator of a type in which the return limit and the limit state are detected by a sensor (not shown) or the like, the return limit is turned off when the actuator operation starts, and after a while the actuator is released. When the limit is reached, the limit is turned ON.

【0075】アクチュエータNo.1の出限がONにな
るのをまって、次のアクチュエータが動作指令を受け
る。つまり、アクチュエータNo.1の出限信号を受け
て、次のアクチュエータのインタロックが解除されるこ
ととなる(S10、S11)。
Actuator No. When the limit of 1 is turned on, the next actuator receives an operation command. That is, the actuator No. Upon receiving the limit signal of 1, the interlock of the next actuator is released (S10, S11).

【0076】一方、アクチュエータNo.1に対してマ
シンロックが設定されている場合には、マシンロックプ
ログラム記憶部30に記憶されているマシンロックプロ
グラムが次のような動作をすることとなる。マシンロッ
クプログラムは、設定情報記憶部28に記憶されている
アクチュエータ情報におけるアクチュエータNo.1の
データに基づき、仮想的に、アクチュエータNo.1が
動作する場合と同様の状況をつくる。
On the other hand, the actuator No. When the machine lock is set for 1, the machine lock program stored in the machine lock program storage unit 30 performs the following operation. The machine lock program stores the actuator No. in the actuator information stored in the setting information storage unit 28. 1 based on the data of the actuator No. 1 creates the same situation as when it works.

【0077】実際は、アクチュエータ出力I/F部26
には、動作指令は出されず、出ソレノイドには通電され
ないのでアクチュエータNo.1は動作しない。したが
って、アクチュエータNo.1は、戻限付近に制止した
ままであり、動作に応じた戻限情報および出限情報の変
化はない。
Actually, the actuator output I / F section 26
, No operation command is issued, and the output solenoid is not energized. 1 does not work. Therefore, the actuator No. No. 1 remains stopped near the return limit, and the return limit information and the output limit information do not change according to the operation.

【0078】そこで、マシンロックプログラムは、戻限
を強制的にOFFして、タイマ(図示していない)によ
りアクチュエータNo.1の動作時間を計測して、その
後、出限を強制的にONする(S12、S13、S1
4)。実際に、他の設備コントローラ2B、2Cに対し
ては、戻限を強制的にOFFして、タイマによる動作時
間の経時の後、出限をONするように信号を他コントロ
ーラ出力I/F部25から出力する。これによって、他
の設備コントローラ2B、2Cが制御をしている各アク
チュエータのインタロックの動作も確認でき、インタロ
ックが正常に動作していれば、他の設備コントローラが
制御する各アクチュエータの動作が順次されることとな
る。
Therefore, the machine lock program forcibly turns off the return limit and sets the actuator No. by a timer (not shown). 1 is measured, and then the limit is forcibly turned ON (S12, S13, S1).
4). Actually, for the other equipment controllers 2B and 2C, the return limit is forcibly turned off, and after a lapse of the operation time by the timer, a signal is sent to the other controller output I / F unit so that the limit is turned on. Output from 25. Thereby, the interlock operation of each actuator controlled by the other equipment controllers 2B and 2C can also be confirmed, and if the interlock is operating normally, the operation of each actuator controlled by the other equipment controller can be checked. It will be done sequentially.

【0079】また、他の設備ではなく、同じ設備を制御
する制御コントローラ2A内においては、あたかもアク
チュエータNo.1が出動作をしたような状態を仮想的
にRAMメモリ32上に現す。すなわち、戻限がOFF
されて、出限がONせれているように前記アクチュエー
タ情報に基づいてRAMメモリ32の所定のアドレスの
データを出限ONの状態に設定する。
In the controller 2A for controlling the same equipment, not the other equipment, it is as if the actuator No. A state in which the device 1 performs the output operation is virtually represented on the RAM memory 32. That is, the return limit is OFF
Then, based on the actuator information, the data at a predetermined address in the RAM memory 32 is set to the limit ON state so that the limit is ON.

【0080】したがって、当該データをもとに、制御コ
ントローラの内部では、アクチュエータNo.1の出限
がONされたものと判断されるので、次のアクチュエー
タの動作に移行する(S10、S11)。
Therefore, based on the data, the actuator No. is set inside the controller. Since it is determined that the limit of 1 has been turned ON, the operation shifts to the operation of the next actuator (S10, S11).

【0081】その後は、アクチュエータ2、アクチュエ
ータ3・・・、アクチュエータn、・・・という順番に
したがって、各アクチュエータにマシンロックが設定さ
れているかが設定情報記憶部28のデータによって判断
され、マシンロックが設定されている場合には、順次、
戻限情報および出限情報を、あたかも実際にアクチュエ
ータが動作しているように強制的に設定し、その結果を
他の設備における設備コントローラ2B、2Cに対して
は、実際に出力してインタロックを解除させ、また、当
設備における設備コントローラ2Aの内部においては、
内部のメモリアドレスのデータを書き替えるなどの処理
をすることで、仮想的にアクチュエータが実際に動いた
のと同様な状況を制御装置内部で作り出していく(S1
5〜S18)。
After that, in accordance with the order of the actuator 2, the actuator 3,..., The actuator n,... Is set,
The return limit information and the limit information are forcibly set as if the actuator were actually operating, and the results were actually output to the equipment controllers 2B and 2C of other equipment and interlocked. And inside the equipment controller 2A of the equipment,
By performing processing such as rewriting the data of the internal memory address, a situation similar to the actual movement of the actuator is created in the control device virtually (S1).
5 to S18).

【0082】このように本発明のシーケンス制御装置が
処理をすることで、実際に、動作手段たるアクチュエー
タ等の動作をさせなくとも、ソフトウエアの動作確認の
ためのドライランを行なうことができる。
As described above, by performing the processing by the sequence control device of the present invention, the dry run for confirming the operation of the software can be performed without actually operating the actuator or the like as the operating means.

【0083】また、実際に動作手段、つまりアクチュエ
ータ等が動作したかのように、戻限情報および出限情報
の信号を形成して、内部のメモリのデータを設定し、適
時他の設備コントローラ2B、2Cに対して出力するこ
とで、各動作手段間、および各設備間のインタロックの
動作についても確認をとることが可能となる。
Also, as if the operating means, that is, the actuator or the like actually operated, the signals of the return limit information and the limit information are formed, the data in the internal memory are set, and the other equipment controller 2B 2C, it is possible to confirm the interlock operation between the operation means and between the facilities.

【0084】尚、各設備コントローラ2A、2B、2
C、及び統括コントローラ16は、PLC(プログラマ
ブルロジックコントローラ)を利用して実現することが
できる。
The equipment controllers 2A, 2B, 2
The C and the overall controller 16 can be realized using a PLC (programmable logic controller).

【0085】また、上述したアクチュエータ動作プログ
ラム記憶部27、設定情報記憶部28、マシンロックプ
ログラム記憶部30、およびRAMメモリ32等は、物
理的に分離されたメモリ素子を個別に用意しなければな
らないことを意味するのではなく、例えば、1つのメモ
リ素子の領域を各記憶部の領域として使用するように構
成しても、本発明のシーケンス制御装置が実現可能であ
ることは、明らかである。
In the above-described actuator operation program storage unit 27, setting information storage unit 28, machine lock program storage unit 30, RAM memory 32, and the like, physically separated memory elements must be prepared individually. This does not mean that the sequence controller of the present invention can be realized even when, for example, a configuration is used in which one memory element area is used as an area of each storage unit.

【0086】尚、図5及び図6のフローチャートにおい
て説明したように、動作手段であるアクチュエータ等を
動作した場合と同様の出限、戻限等の信号を形成する信
号形成段階と、この信号形成段階において形成された出
限、戻限等の信号を受けて、インタロックの動作確認を
行いつつ後続するアクチュエータの動作を制御する動作
制御段階を有するようなシーケンス制御方法を当業者が
実施できることは明らかである。また、動作を禁止する
動作手段を選択する段階をさらに設け、動作が禁止され
た動作手段に限って前記方法と同様のシーケンス制御方
法を実施できることも明らかであるといえる。
As described with reference to the flow charts of FIGS. 5 and 6, a signal forming step for forming the same limit and return signals as when the actuator or the like as the operating means is operated, and the signal forming step. A person skilled in the art can execute a sequence control method having an operation control step of controlling the operation of a subsequent actuator while receiving a signal of a limit, return limit, or the like formed in the step, while confirming the operation of the interlock. it is obvious. It is also apparent that a step of selecting an operation means for which operation is prohibited is further provided, and a sequence control method similar to the above-described method can be performed only for the operation means for which operation is prohibited.

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

【図1】 本発明のシーケンス制御装置の概略構成図で
ある。
FIG. 1 is a schematic configuration diagram of a sequence control device of the present invention.

【図2】 設備コントローラの概略構成を示すブロック
図である。
FIG. 2 is a block diagram illustrating a schematic configuration of an equipment controller.

【図3】 統括コントローラを設けた場合の本発明のシ
ーケンス制御装置の概略構成図である。
FIG. 3 is a schematic configuration diagram of a sequence control device according to the present invention when a general controller is provided.

【図4】 アクチュエータ情報の一例を示した図であ
る。
FIG. 4 is a diagram showing an example of actuator information.

【図5】 本発明のシーケンス制御装置の処理内容を示
したフローチャートである。
FIG. 5 is a flowchart showing processing contents of a sequence control device of the present invention.

【図6】 マシンロック設定化におけるサブルーチンの
内容を示したフローチャートである。
FIG. 6 is a flowchart showing the contents of a subroutine in machine lock setting.

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

2A…設備コントローラ、 2B、2C…他の設備コントローラ、 4…電磁バルブ、 6…リミットスイッチ、 8…モータ、 10…ランプ、、 12…溶接タイマ、 14…ロボット、 16…統合コントローラ、 18…操作盤、 19…制御部、 20…操作盤入力I/F部、 22…操作盤出力I/F部、 23…他コントローラ入力I/F部、 24…アクチュエータ入力I/F部、 26…アクチュエータ出力I/F部、 27…アクチュエータ動作プログラム記憶部、 28…設定情報記憶部、 30…マシンロックプログラム記憶部、 32…RAMメモリ。 2A: Equipment controller, 2B, 2C: Other equipment controller, 4: Electromagnetic valve, 6: Limit switch, 8: Motor, 10: Ramp, 12: Weld timer, 14: Robot, 16: Integrated controller, 18: Operation Panel: 19: Control unit, 20: Operation panel input I / F unit, 22: Operation panel output I / F unit, 23: Other controller input I / F unit, 24: Actuator input I / F unit, 26: Actuator output I / F section, 27: Actuator operation program storage section, 28: Setting information storage section, 30: Machine lock program storage section, 32: RAM memory.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 動作手段を制御するためのシーケンス制
御方法において、 前記動作手段を動作した場合と同様の信号を形成する信
号形成段階と、 前記信号形成段階によって形成された前記信号を基に他
の動作手段を制御する動作制御段階とを有することを特
徴とするシーケンス制御方法。
1. A sequence control method for controlling an operating means, comprising: a signal forming step of forming a signal similar to a case where the operating means is operated; and a signal forming step based on the signal formed by the signal forming step. And an operation control step of controlling the operation means.
【請求項2】 動作手段を制御するためのシーケンス制
御方法において前記動作手段を選択して動作禁止を設定
する動作禁止設定段階と、 前記動作禁止設定段階によって動作を禁止された動作手
段に関し該動作手段を動作した場合と同様の信号を形成
する信号形成段階と、 前記信号形成段階によって形成された前記信号を基に他
の動作手段を制御する動作制御段階とを有することを特
徴とするシーケンス制御方法。
2. An operation prohibition setting step of selecting the operation means and setting operation prohibition in a sequence control method for controlling the operation means, and the operation of the operation means prohibited by the operation prohibition setting step. A signal forming step of forming a signal similar to that when the means is operated; and an operation control step of controlling another operating means based on the signal formed by the signal forming step. Method.
【請求項3】 動作手段を制御するためのシーケンス制
御装置において、 前記動作手段を動作した場合と同様の信号を形成する信
号形成手段と、 前記信号形成手段によって形成された前記信号を基に他
の動作手段を制御する動作制御手段とを有することを特
徴とするシーケンス制御装置。
3. A sequence control device for controlling an operation means, comprising: a signal forming means for forming a signal similar to a signal obtained when the operation means is operated; and a sequence control apparatus for controlling the operation means based on the signal formed by the signal formation means. And an operation control means for controlling the operation means.
【請求項4】 動作手段を制御するためのシーケンス制
御装置において、 前記動作手段を選択して動作禁止を設定する動作禁止設
定手段と、 前記動作禁止設定手段によって動作を禁止された動作手
段に関し該動作手段を動作した場合と同様の信号を形成
する信号形成手段と、 前記信号形成手段によって形成されたの前記信号を基に
他の動作手段を制御する制御手段とを有することを特徴
とするシーケンス制御装置。
4. A sequence control device for controlling an operation means, comprising: an operation prohibition setting means for selecting the operation means to set operation prohibition; and an operation means for which operation is prohibited by the operation prohibition setting means. A sequence comprising: signal forming means for forming a signal similar to the case of operating the operating means; and control means for controlling other operating means based on the signal formed by the signal forming means. Control device.
【請求項5】 前記信号形成手段において形成された信
号を他の設備を制御するための制御手段に対して出力す
る信号出力手段をさらに有することを特徴とする請求項
4に記載のシーケンス制御装置。
5. The sequence control device according to claim 4, further comprising signal output means for outputting the signal formed by said signal formation means to a control means for controlling other equipment. .
【請求項6】 前記信号形成手段は、前記動作禁止設定
手段によって動作禁止が設定された動作手段に関する動
作手段情報を取り込む手段と、当該動作禁止が設定され
た場合に制御を行うためのプログラムを取り込む手段
と、 前記プログラムを起動し前記動作手段情報に基づいて前
記動作手段の動作開始に伴う動作限情報の信号変化を仮
想的に形成する動作開始信号形成手段と、 前記動作開始信号形成手段によって信号変化が仮想的に
形成されてからの時間を計測する時間計測手段と、 前記時間計測手段により所定の動作時間が経過したとき
に前記動作手段の動作終了に伴う動作限情報の信号変化
を仮想的に形成する動作終了信号形成手段とを有するこ
とを特徴とする請求項4または請求項5に記載のシーケ
ンス制御装置。
6. The signal forming means includes means for fetching operation means information on the operation means for which operation prohibition has been set by the operation prohibition setting means, and a program for performing control when the operation prohibition is set. Means for fetching, operation start signal forming means for activating the program and virtually forming a signal change of operation limit information accompanying operation start of the operation means based on the operation means information; and Time measuring means for measuring the time since the signal change is virtually formed; and, when a predetermined operation time has elapsed by the time measuring means, the signal change of the operation limit information accompanying the end of the operation of the operation means is virtually assumed. The sequence control device according to claim 4, further comprising: an operation end signal forming unit configured to form the sequence control signal.
JP11068380A 1999-03-15 1999-03-15 Sequence control method and its device Pending JP2000267706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11068380A JP2000267706A (en) 1999-03-15 1999-03-15 Sequence control method and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11068380A JP2000267706A (en) 1999-03-15 1999-03-15 Sequence control method and its device

Publications (1)

Publication Number Publication Date
JP2000267706A true JP2000267706A (en) 2000-09-29

Family

ID=13372082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11068380A Pending JP2000267706A (en) 1999-03-15 1999-03-15 Sequence control method and its device

Country Status (1)

Country Link
JP (1) JP2000267706A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012198636A (en) * 2011-03-18 2012-10-18 Mitsubishi Electric Corp Controller
JP2013517151A (en) * 2010-01-21 2013-05-16 デュール システムズ ゲゼルシャフト ミット ベシュレンクテル ハフツング Test device for testing control programs for robotic devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013517151A (en) * 2010-01-21 2013-05-16 デュール システムズ ゲゼルシャフト ミット ベシュレンクテル ハフツング Test device for testing control programs for robotic devices
US9436172B2 (en) 2010-01-21 2016-09-06 Duerr Systems Gmbh Test installation for testing control programs for a robot installation
JP2012198636A (en) * 2011-03-18 2012-10-18 Mitsubishi Electric Corp Controller

Similar Documents

Publication Publication Date Title
CN101751004B (en) Simulation apparatus
US20140364989A1 (en) Controller for controlling machine tool and robot
JP2003122427A (en) Facility monitor device
JPH103307A (en) Numerical controller
WO2014118918A1 (en) Numerical control device
US5355482A (en) Apparatus and method for controlling a system process
US9971331B2 (en) Monitoring device for programmable controller
JP2000288976A (en) Robot control unit
JP2000267706A (en) Sequence control method and its device
US4498130A (en) Apparatus for remotely operating output terminals of a copying machine or the like during self-diagnosis
JP2008264928A (en) Industrial robot, and initial setting method of industrial robot
JP2011108008A (en) Hmi-screen automatic generation method
JP2001042907A (en) Sequence controller
JP3895482B2 (en) Time switch function setting system and setting method
JP3890462B2 (en) Equipment operation control apparatus and method
JP4427734B2 (en) Loop controller
JP2009223779A (en) Control system
JP2539264B2 (en) Sequence controller
JPH0464103A (en) Program controller
JP3531593B2 (en) Virtual prototype of programmable controller
WO1992021073A1 (en) Method for debugging sequential program
JPH04215105A (en) Sequence program simulator
JP2009289156A (en) Simulation device
JPH1097307A (en) Sequencer operation verification device and medium recording sequencer operation verification program
JPH05341817A (en) Control process display system for programmable controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090127

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090602