JPS63269202A - Monitoring method for sequence program control system - Google Patents

Monitoring method for sequence program control system

Info

Publication number
JPS63269202A
JPS63269202A JP62104011A JP10401187A JPS63269202A JP S63269202 A JPS63269202 A JP S63269202A JP 62104011 A JP62104011 A JP 62104011A JP 10401187 A JP10401187 A JP 10401187A JP S63269202 A JPS63269202 A JP S63269202A
Authority
JP
Japan
Prior art keywords
abnormality
independent
monitoring
determined
sequence program
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
JP62104011A
Other languages
Japanese (ja)
Inventor
Yoshinori Abe
義典 阿部
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP62104011A priority Critical patent/JPS63269202A/en
Publication of JPS63269202A publication Critical patent/JPS63269202A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily cope with the change of an equipment to be controlled by monitoring each operation of this equipment based on an abnormality decision signal obtained from a monitor controller. CONSTITUTION:A monitor controller 100 takes in data Dx, which corresponds to respective operation states of a carrying machine 12, a clamping device 14, working machines 16A and 16B, and working machine driving parts 18A and 18B indicated by a signal Sx, from a controller 50 for driving control at a prescribed period. Based on taken-in data Dx, it is discriminated whether the operation of each device accords with the transition order, the allowable time, and the precedence stored in an incorporated memory or not. If it does not accord with them, an abnormality display signal Cg is supplied to a display device 90 and data Dy for countermeasure against abnormality is supplied to the controller 50. Then, the operation of each device is stopped and the abnormality is located in accordance with contents displayed on the display device 90 to take a countermeasure against the abnormality.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、シーケンスプログラムに従ってその動作制御
が行われる被制御設備における一連の動作を監視するた
めのシーケンスプログラム制御系のモニター方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for monitoring a sequence program control system for monitoring a series of operations in a controlled facility whose operations are controlled according to a sequence program.

(従来の技術) シーケンスプログラムに従ってその動作制御が行われる
被制御設備においては、それを構成する装置類が、シー
ケンスプログラムに従って適正に動作しているか否かの
監視を行う必要がある。そのため、従来、被制御設備に
おける一連の動作を監視する方法として、例えば、装置
類の前進動作あるいは後退動作等に連動してオン・オフ
状態が切り換わるリミットスイッチ等を被制御設備に配
置するとともに、そのリミットスイッチ等から得られる
信号に基づいて、各動作に要した時間が適正であるか否
かを判別する、時間監視回路部を用意し、その時間監視
回路部から得られる異常判別信号に基づいて、被制御設
備における各動作の監視を行う方法、あるいは、正常動
作が行われているときには、同時にオン状態をとること
がないように配置された二つのリミットスイッチが、同
時にオン状態とされたか否か等の、正常動作時には起こ
り得ない矛盾が発生したか否かを判別する、矛盾判別回
路部を用意し、この矛盾判別回路部から得られる異常判
別信号に基づいて、被制御設備における各動作の監視を
行う方法等が知られている。
(Prior Art) In a controlled facility whose operation is controlled according to a sequence program, it is necessary to monitor whether or not the devices constituting the facility are operating properly according to the sequence program. Therefore, as a conventional method for monitoring a series of operations in controlled equipment, for example, limit switches that switch on and off states in conjunction with the forward or backward movement of devices are placed in the controlled equipment. , a time monitoring circuit unit is prepared that determines whether the time required for each operation is appropriate based on the signal obtained from the limit switch, etc., and an abnormality determination signal obtained from the time monitoring circuit unit is used. Based on the above, there is a method for monitoring each operation in controlled equipment, or a method for monitoring two limit switches that are arranged so that they are not in the on state at the same time when normal operation is being performed. A contradiction determination circuit unit is provided that determines whether a contradiction that cannot occur during normal operation has occurred, such as whether the Methods of monitoring each operation are known.

しかしながら、上述の如くの、時間監視回路部や矛盾判
別回路部等を用いるようにされた監視方法は、複雑で大
規模な被制御設備に適用することが難しく、また、被制
御整備に若干の変更があった場合にも、斯かる変更に対
して専用回路部の変更を容易に行うことができない場合
が多い。
However, the above-mentioned monitoring method that uses a time monitoring circuit, a contradiction discriminating circuit, etc. is difficult to apply to complex and large-scale controlled equipment, and it is difficult to apply the monitoring method to controlled maintenance. Even if there is a change, it is often not possible to easily change the dedicated circuit section in response to the change.

また、上述の方法とは別の方法として、被制御設備にお
ける各動作の遷移順序が一定となるように、所謂、工程
歩進形のシーケンスプログラムを作成し、このシーケン
スプログラムに従って、被制御設備における動作制御を
行うようにし、各動作の遷移順序が、シーケンスプログ
ラムに従っているか否かを監視する方法が考えられてい
る。
In addition, as an alternative method to the above method, a so-called step-by-step sequence program is created so that the transition order of each operation in the controlled equipment is constant, and according to this sequence program, the transition order of each operation in the controlled equipment is constant. A method has been considered that controls the operations and monitors whether the transition order of each operation follows a sequence program.

(発明が解決しようとする問題点) しかしながら、通常、多数の装置類で構成される被制御
設備においては、一つの装置類におけるある動作に対し
て、他の装置類におけるある動作が重複して同時に行わ
れることが多いので、被制御設備における各動作を一定
の順序で行わせるシーケンスプログラムが組めるのは、
極めて限られた被制御設備においてのみであり、上述の
方法の実用範囲は極めて狭いものとなる。また、同時動
作をなくして工程歩進形のシーケンスプログラムを組む
ことは、被制御設備の効率的な運用を図る面からは好ま
しいことではない。
(Problem to be Solved by the Invention) However, in controlled equipment that is usually composed of a large number of devices, certain operations in one device are duplicated in certain operations in other devices. Since they are often performed simultaneously, it is possible to create a sequence program that causes each operation of the controlled equipment to be performed in a fixed order.
This is only applicable to extremely limited controlled equipment, and the practical range of the above method is extremely narrow. Furthermore, it is not preferable to create a step-by-step sequence program without simultaneous operations from the viewpoint of efficient operation of the controlled equipment.

斯かる点に鑑み、本発明は、被制御設備の変更に対して
容易に対応することができるとともに、被制御設備の効
率的な運用を妨げることなく実用範囲を拡大することが
できるようにされた、シーケンスプログラム制御系のモ
ニター方法を提供することを目的とする。
In view of these points, the present invention is designed to be able to easily respond to changes in the controlled equipment, and to expand the scope of practical use without hindering the efficient operation of the controlled equipment. Another purpose of this invention is to provide a method for monitoring a sequence program control system.

(問題点を解決するための手段) 上述の目的を達成すべく、本発明に係るシーケンスプロ
グラム制御系のモニター方法は、各動作の遷移順序が一
定とされる複数の独立動作グループに分割され、予め定
められたシーケンスプログラムに従って動作制御が行わ
れる被制御設備における、独立動作グループの夫々にお
ける各動作の遷移順序と、複数の独立動作グループの夫
々における各動作の遷移条件と、複数の独立動作グルー
プのうちの一つの動作グループにおける特定の動作に対
する他の独立動作グループにおける特定の動作の先後関
係とを記憶するとともに、記憶された遷移順序、遷移条
件及び先後関係に基づいて、複数の独立動作グループの
夫々における各動作についての異常の有無を、各独立動
作グループ毎に個別に判別し、上記異常の有無に応じて
異常判別信号を発生するモニター用コントローラを用意
し、斯かるモニター用コントローラから得られる異常判
別信号に基づいて被制御設備における各動作の監視を行
うものとされる。
(Means for Solving the Problems) In order to achieve the above-mentioned object, a method for monitoring a sequence program control system according to the present invention is divided into a plurality of independent operation groups in which the transition order of each operation is constant, A transition order of each operation in each of the independent operation groups, a transition condition of each operation in each of the plurality of independent operation groups, and a plurality of independent operation groups in a controlled equipment whose operation is controlled according to a predetermined sequence program. A plurality of independent motion groups is stored based on the stored transition order, transition conditions, and precedence relationships. A monitor controller is provided that determines whether or not there is an abnormality in each operation in each of the independent operation groups, and generates an abnormality determination signal depending on the presence or absence of the above-mentioned abnormality. Each operation in the controlled equipment is monitored based on the abnormality determination signal.

(作 用) 上述の如くの構成を有するシーケンスプログラム制御系
のモニター方法が採用された場合には、モニター用コン
トローラにより、被制御設備における複数の独立動作グ
ループの夫々における各動作についての異常の有無を、
各独立動作グループ毎に個別に判別するようになされる
ので、一つの独立動作グループにおけるある動作と、他
の独立動作グループにおけるある動作が同時に行われる
被制御設備においても、適正に各動作の監視が行われる
。また、一つの独立動作グループを構成する装置類にお
ける動作態様に変更が生じ、斯かる独立動作グループに
おける各動作の遷移条件が変更されても、記憶手段に記
憶される他の独立動作グループにおける各動作の遷移条
件を変更する必要が殆ど生じないので、被制御設備にお
ける変更に対して容易に対応することができる。
(Function) When a method for monitoring a sequence program control system having the above-mentioned configuration is adopted, the monitoring controller detects whether or not there is an abnormality in each operation of each of a plurality of independent operation groups in the controlled equipment. of,
Since each independent action group is discriminated individually, each action can be properly monitored even in controlled equipment where a certain action in one independent action group and a certain action in another independent action group are performed at the same time. will be held. Furthermore, even if the operation mode of devices constituting one independent operation group is changed and the transition conditions of each operation in the independent operation group are changed, the transition conditions of each operation in the other independent operation groups stored in the storage means are changed. Since there is almost no need to change the operation transition conditions, it is possible to easily respond to changes in the controlled equipment.

(実施例) 以下、本発明の実施例を図面を参照して説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明に係るシーケンスプログラム制御系の
モニター方法の一例が適用された被制御設備を示す。
FIG. 1 shows controlled equipment to which an example of a method for monitoring a sequence program control system according to the present invention is applied.

第1図に示される被制御設備は、ワーク10を、第1の
ステーションST、から第2のステーションST2ヘリ
フトアンドキャリ一方式で搬送する搬送機12.第2の
ステーションST、へ搬送されたワーク10のクランプ
を行うクランプ装置14、クランプ装置14によりクラ
ンプされたワーク10の両側部に、穿孔等の加工を施す
二つの加工機16A及び16B、及び、この加工機16
A及び16Bを加工位置まで前進駆動するとともに、加
工位置から原位置まで後退駆動する加工機駆動部18A
及び18B等の装置類から構成されている。
The controlled equipment shown in FIG. 1 includes a transport machine 12. A clamp device 14 that clamps the work 10 transported to the second station ST, two processing machines 16A and 16B that perform processing such as drilling on both sides of the work 10 clamped by the clamp device 14, and This processing machine 16
A processing machine drive section 18A that drives A and 16B forward to the processing position and drives them backward from the processing position to the original position.
It consists of devices such as and 18B.

また、第1図における二点鎖線で示される部分には、図
示されていないが、各装置類の動作状態を検出するため
のりミントスイッチ等の検出手段が配されており、それ
らの検出手段から駆動制御用コントローラ50に、各装
置類の動作状態をあられす各種の信号Sxが供給される
。駆動制御用コントローラ50は、信号Sxに基づいて
、予め定められて内蔵メモリに記憶されたシーケンスプ
ログラムに従い、制御信号Ca、Cb、Cc、Cd、C
e及びCfを形成してそれらを搬送機12゜クランプ装
置14.加工機16A及び16B1及び、加工機駆動部
18A及び18Bに供給する。
Furthermore, although not shown, in the area indicated by the two-dot chain line in FIG. Various signals Sx indicating the operating status of each device are supplied to the drive controller 50. Based on the signal Sx, the drive control controller 50 generates control signals Ca, Cb, Cc, Cd, and C according to a sequence program determined in advance and stored in the built-in memory.
e and Cf are formed and transferred to a conveyor 12 and a clamp device 14. It is supplied to processing machines 16A and 16B1 and processing machine drive units 18A and 18B.

それにより、搬送機」2.クランプ装置14、及び、加
工機駆動部18A及び18Bが、夫々、第2図において
、一点鎖線A、B、C及びDで囲まれて示される範囲を
1サイクルとしてシーケンスプログラムに従う動作を行
う。即ち、搬送it2は、始動指令をあられす制御信号
Caが供給されると、上昇動作を行って第1のステーシ
ョンST、に配された受治具に載置されたワーク10を
受は取って、それを上昇させ、その後、前進動作を行っ
てワーク10を第2のステーションS T 2まで搬送
した後、下降動作を行って、ワーク10を第2のステー
ションST、に配された受治具に載置し、その後、後退
動作を行って原状前に復帰し、始動指令をあられす制御
信号Caが供給されるまで原状前で待機する。斯かる搬
送機12の動作時においては、その上昇動作、前進動作
、下降動作及び後退動作が夫々完了したことを、駆動制
御用コントローラ50が検出手段から供給される信号S
xに基づいて検知する。そして、搬送機12の下降動作
が完了したことが検知されたとき、始動指令をあられす
制御信号cbをクランプ装置14に供給する。従って、
搬送機12は、下降動作完了時点でクランプ装置14を
始動させるためのタイミング信号を発生することになる
。なお、搬送機12を始動させるためのタイミング信号
は、例えば、第1のステーションSTIにおける受治具
にワーク10を載置するワーク送り装置等が発生するも
のとされる。
As a result, the conveyor"2. The clamp device 14 and the processing machine drive units 18A and 18B each perform operations according to a sequence program, with the range indicated by the dashed lines A, B, C, and D in FIG. 2 as one cycle. That is, when the transport IT2 is supplied with the control signal Ca that instructs the start, it performs an upward movement and receives and picks up the workpiece 10 placed on the receiving jig arranged at the first station ST. , and then performs a forward movement to transport the workpiece 10 to the second station ST2, and then performs a downward movement to transport the workpiece 10 to the receiving jig disposed at the second station ST. Thereafter, it performs a backward movement to return to its original state, and waits in its original state until a control signal Ca is supplied to issue a start command. When the conveyor 12 is in operation, the drive controller 50 uses a signal S supplied from the detection means to indicate that each of its upward movement, forward movement, downward movement, and backward movement has been completed.
Detect based on x. Then, when it is detected that the lowering operation of the carrier 12 is completed, a control signal cb for issuing a start command is supplied to the clamp device 14. Therefore,
The carrier 12 will generate a timing signal to start the clamp device 14 at the completion of the lowering operation. Note that the timing signal for starting the transport machine 12 is generated by, for example, a workpiece feeding device that places the workpiece 10 on a receiving jig at the first station STI.

クランプ装置14は、始動指令をあられす制御信号cb
が供給されると、第2のステーションST2における受
治具に載置されたワーク10のクランプ動作を行い、こ
のクランプ動作完了時点で、上述の搬送機12における
場合と同様に、加工機駆動部18A及び18Bを始動さ
せるためのタイミング信号を発生し、その後、ワーク1
0をクランプした状態を保持し、復帰指令をあられす制
御信号cbが供給されると、ワーク10のクランプ解除
動作を行って原状前に復帰し、始動指令をあられす制御
信号cbが供給されるまで原状前で待機する。
The clamping device 14 receives a control signal cb that generates a start command.
When the workpiece 10 is supplied, the workpiece 10 placed on the receiving jig at the second station ST2 is clamped, and when this clamping operation is completed, the processing machine drive unit Generates a timing signal to start 18A and 18B, then works 1
When the control signal cb that holds the clamped state of 0 and issues a return command is supplied, the workpiece 10 is unclamped and returned to its original state, and the control signal cb that issues a start command is supplied. Wait in front of the original condition until

また、加工機駆動部18A及び18Bは、夫々、始動指
令をあられす制御信号Ce及びCfが供給されると、加
工機16A及び16Bを夫々前進駆動し、加工機16A
及び16Bが加工位置に達すると前進駆動を停止し、復
帰指令をあられす制御信号Ce及びCrが供給されると
、加工機16A及び16Bを、夫々、後退駆動し、後退
駆動完了時点において、クランプ装置14に復帰動作を
行わせるためのタイミング信号を発生し、その後、原状
前で待機する。なお、加工116A及び16Bに後退移
動を行わせるためのタイミング信号は、例えば、第2図
にはその動作が示されていない加工機16A及び16B
が、ワーク1oの加工動作を完了したとき発生するもの
とされ、また、クランプ装置14におけるクランプ解除
動作は、加工機駆動部18A及び18Bが共に後退駆動
を完了した後、行われるようにされる。
In addition, when the processing machine drive units 18A and 18B are supplied with control signals Ce and Cf that issue a start command, respectively, they drive the processing machines 16A and 16B forward, respectively.
When the processing machines 16A and 16B reach the processing position, the forward drive is stopped, and when the control signals Ce and Cr are supplied to issue a return command, the processing machines 16A and 16B are driven backward, and when the backward drive is completed, the clamping A timing signal is generated to cause the device 14 to perform a return operation, and then the device 14 waits in front of its original state. Note that the timing signal for causing the machining machines 116A and 16B to perform the backward movement is, for example, for the machining machines 16A and 16B whose operation is not shown in FIG.
is assumed to occur when the machining operation of the workpiece 1o is completed, and the clamp release operation in the clamp device 14 is performed after both the processing machine drive units 18A and 18B complete the backward drive. .

上述の如くの制御が行われるもとでは、搬送機12、ク
ランプ装置14.加工機16A及び16B、及び、加工
駆動部18A及び18Bの夫々における各動作の遷移順
序が一定とされ、また、被制御設備に異常が生じていな
い場合には、搬送機12、クランプ装置14.加工機1
6A及び16B、及び、加工駆動部18A及び18Bに
おける各動作に要する時間は然程変化しないものとされ
る。
Under the control as described above, the conveyor 12, the clamp device 14. If the transition order of each operation in the processing machines 16A and 16B and the processing drive units 18A and 18B is constant, and there is no abnormality in the controlled equipment, the transfer machine 12, the clamp device 14. Processing machine 1
It is assumed that the time required for each operation in the processing drive units 6A and 16B and the processing drive units 18A and 18B does not change appreciably.

そして、上・述の如くの制御を受ける搬送機12゜クラ
ンプ装置14.加工機16A及び16B、及び、加工機
駆動部18A及び18Bにおける各動作が適正に行われ
ているか否かを判別すべく、モニター用コントローラ1
00が備えられている。
The conveyor 12 and the clamp device 14 are controlled as described above. In order to determine whether each operation in the processing machines 16A and 16B and the processing machine drive units 18A and 18B is being performed properly, the monitor controller 1
00 is provided.

モニター用コントローラ100の内蔵メモリには、上述
の如くに駆動制御用コントローラ50による動作制御が
行われた際の、搬送機12.クランプ装置14.加工機
16A及び16B、及び、加工機駆動部18A及び18
Bの夫々における各動作の適正な遷移順序、各動作につ
いての許容時間。
The built-in memory of the monitor controller 100 stores information about the transport machine 12. when the operation is controlled by the drive controller 50 as described above. Clamp device 14. Processing machines 16A and 16B and processing machine drive units 18A and 18
Proper transition order of each operation in each of B, and allowable time for each operation.

搬送機12における下降動作完了時点に対するクランプ
装置14におけるクランプ開始時点の先後関係、及び、
クランプ装置14におけるクランプ完了時点に対する加
工機駆動部18A及び18Bにおける前進駆動開始時点
の先後関係等が予め記憶されている。
The relationship between the start time of clamping in the clamp device 14 and the time of completion of the descending operation in the conveyor 12, and
The relationship between the time when the clamp device 14 completes clamping and the forward drive start time of the processing machine drive units 18A and 18B is stored in advance.

モニター用コントローラ100は、駆動制御用コントロ
ーラ50から信号Sxがあられす搬送機12、クランプ
装置14.加工機16A及び16B、及び、加工機駆動
部18A及び18Bの各動作状態に対応するデータDx
を所定の周期で取り込み、取り込まれたデータDxに基
づいて、搬送機12.クランプ装置14.加工機16A
及び16B、及び、加工機駆動部18A及び18Bにお
ける各動作が内蔵メモリに記憶された上述の遷移順序、
許容時間及び先後関係に適合しているが否かを、搬送機
12.クランプ装置14.加工機16A及び16B、及
び、加工機駆動部18A及び18B(7)各々について
個別に判別し、適合し°ζいないと判断された場合には
、表示器9oに、その適合していない動作状態にある装
置類の種別とその動作状態とを表示させるべく、異常表
示信号Cgを供給するとともに、駆動制御用コントロー
ラ50に異常対策用のデータ[)yを供給する。それに
より、例えば、各装置類の動作が停止され、表示器90
に表示された内容から異常箇所が明らかにされ、異常に
対する対策がとられることになる。
The monitor controller 100 controls the transport machine 12, clamp device 14, etc. to which the signal Sx is sent from the drive control controller 50. Data Dx corresponding to each operating state of the processing machines 16A and 16B and the processing machine drive units 18A and 18B
is captured at a predetermined period, and based on the captured data Dx, the transport machine 12. Clamp device 14. Processing machine 16A
and 16B, and the above-mentioned transition order in which each operation in the processing machine drive units 18A and 18B is stored in the built-in memory,
Conveyor 12. Clamp device 14. The processing machines 16A and 16B and the processing machine drives 18A and 18B (7) are individually determined, and if it is determined that they are not compatible, the display 9o will indicate the non-compatible operating state. In order to display the type of equipment and its operating state, an abnormality display signal Cg is supplied, and data [)y for abnormality countermeasures is supplied to the drive control controller 50. As a result, for example, the operation of each device is stopped, and the display 90
The location of the abnormality will be clarified from the content displayed, and countermeasures will be taken against the abnormality.

このように、各動作の遷移順序が一定とされる、搬送機
12.クランプ装置14.加工機16A及び16B、及
び、加工機駆動部18A及び18Bにおける各動作が、
夫々、装置類毎に個別に監視されることにより、被制御
設備に加工機駆動部18A及び18Bの如くの同時動作
を行う装置類が配されている場合でも、各装置類の夫々
の動作が監視されることになる。
In this way, the transporting machine 12. Clamp device 14. Each operation in the processing machines 16A and 16B and the processing machine drive units 18A and 18B is
By individually monitoring each device, even if the controlled equipment is equipped with devices that operate simultaneously, such as the processing machine drive units 18A and 18B, the individual operations of each device can be controlled. You will be monitored.

また、被制御設備における一つの装置類における動作態
様に変更が生じても、他の装置類における各動作につい
ての許容時間等の遷移条件を変更する必要が生じないの
で、被制御設備における各装置類の動作に、若干の変更
が加えられても容易に対応することが可能となる。
In addition, even if there is a change in the operation mode of one device in the controlled equipment, there is no need to change the transition conditions such as the allowable time for each operation in other equipment, so each device in the controlled equipment Even if some changes are made to similar operations, it can be easily accommodated.

上述の如くの制御を行うモニター用コントローラ100
は、例えば、マイクロコンビニーりが用いられて構成さ
れるが、斯かる場合におけるマイクロコンピュータが実
行するプログラムの一例を、第3図〜第7図のフローチ
ャートを参照して説明する。
Monitor controller 100 that performs control as described above
is configured using, for example, a microcomputer, and an example of a program executed by the microcomputer in such a case will be explained with reference to the flowcharts of FIGS. 3 to 7.

第3図は、搬送機12における各動作の監視を行うため
のルーチンを示し、このルーチンは、スタート後、プ、
ロセス101でデータDxを取り込み、続くディシジョ
ン102において、データDXに基づいて搬送機12の
上昇動作が開始されたか否かを判断し、上昇動作が開始
されていないと判断された場合には元に戻り、上昇動作
が開始されたと判断された場合には、プロセス103に
進む。プロセス103においては、搬送機12の上昇動
作を監視すべく、後述される第4図に示される如くの、
サブルーチンを実行する。
FIG. 3 shows a routine for monitoring each operation in the conveyor 12, and after starting, the routine
Process 101 captures data Dx, and in subsequent decision 102, it is determined based on the data DX whether or not the lifting operation of the carrier 12 has started, and if it is determined that the lifting operation has not started, the original If it is determined that the ascending operation has started, the process proceeds to process 103. In the process 103, in order to monitor the upward movement of the conveyor 12, as shown in FIG. 4, which will be described later,
Execute a subroutine.

第4図に示されるサブルーチンは、スタート後、プロセ
ス111において所定のカウント数Taから1を減算し
て、それを新たなカウント数Taとおいてプロセス11
2に進む。プロセス112においてはデータDxを取り
込み、続くディシジョン113において、データDxに
基づいて搬送機12の上昇動作が完了したか否かを判断
し、上昇動作が完了したと判断された場合には、ディシ
ジョン114においてカウント数Taが所定の値T、を
越えるか否かを判断し、カウント数Taが値T1を越え
ると判断された場合には、上昇動作に要した時間がそれ
について定められた許容時間より短いので、プロセス1
16において表示器90に異常表示信号Cgを供給する
とともに、駆動制御用コントローラ50にデータDyを
供給して、このプログラムを終了する。また、ディシジ
ョン113において上昇動作が完了していないと判断さ
れた場合には、プロセス117においてカウント数Ta
が零であるか否かを判断し、カウント数Taが零でない
と判断された場合には元に戻り、カウント数Taが零で
あると判断された場合には、上昇動作に要した時間が、
それについて定められた許容時間を越えるので、プロセ
ス118において表示器90に異常表示信号Cgを供給
するとともに、駆動制御用コントローラ50にデータD
yを供給してプロセス112に戻る。
After starting, the subroutine shown in FIG. 4 subtracts 1 from a predetermined count Ta in process 111, sets it as a new count Ta, and runs process 111.
Proceed to step 2. In process 112, data Dx is taken in, and in subsequent decision 113, it is determined whether or not the lifting operation of the conveyor 12 has been completed based on the data Dx.If it is determined that the lifting operation has been completed, decision 114 It is determined whether the count number Ta exceeds a predetermined value T, and if it is determined that the count number Ta exceeds the value T1, the time required for the upward movement is longer than the permissible time specified for it. Since it is short, process 1
At step 16, the abnormality display signal Cg is supplied to the display 90, and data Dy is supplied to the drive control controller 50, and this program ends. Further, if it is determined in decision 113 that the rising operation is not completed, then in process 117 the count number Ta
If it is determined that the count number Ta is not zero, it returns to the original state, and if it is determined that the count number Ta is zero, the time required for the upward movement is determined. ,
Since the predetermined allowable time is exceeded, an abnormality display signal Cg is supplied to the display 90 in process 118, and data D is supplied to the drive control controller 50.
Supply y and return to process 112.

斯かるサブルーチンが終了した後は、プロセス105及
び106において順次、上述の上昇動作の監視と同様に
して、前進動作の監視及び下降動作の監視を行い、続く
プロセス107において、下降動作が完了したか否かを
あられすフラグF。
After this subroutine ends, in processes 105 and 106, the forward movement and the downward movement are monitored in the same manner as the above-mentioned upward movement, and in the following process 107, it is determined whether the downward movement has been completed. Hail flag F.

を1に設定し、次ぎに、プロセス108において、上述
の上昇動作の監視と同様に後退動作の監視を行って元に
戻る。
is set to 1, and then, in process 108, the backward movement is monitored in the same manner as the upward movement described above, and the process returns to the original state.

第5図は、クランプ装置14における各動作の監視を行
うためのルーチンを示し、このルーチンは、スタート後
プロセス121においてフラグF、を取り込み、プロセ
ス122においてフラグF1が1であるか否かを判断し
、フラグF、が1でないと判断された場合には元に戻り
、フラグF。
FIG. 5 shows a routine for monitoring each operation in the clamp device 14. After starting, this routine takes in a flag F in a process 121, and in a process 122 judges whether the flag F1 is 1 or not. However, if it is determined that flag F is not 1, the flag F returns to the original state.

が1であると判断された場合には、搬送機12の下降動
作が完了しているので、プロセス123において所定の
カウント数Toから1−+t−減算して、それを新たな
カウント数Teとおいてディシジョン124に進む。デ
ィシジョン124においては、カウント数Teが零であ
るか否かを判断し、カウント数Teが零でないと判断さ
れた場合には、プロセス123に戻り、カウント数Te
が零であると判断された場合には、プロセス125にお
いてデータDxを取り込み、ディシジョン126におい
て、データDxに基づきクランプ動作が開始されたか否
かを判断し、クランプ動作が開始されていないと判断さ
れた場合には、プロセス127において表示器90に異
常表示信号Cgを供給するとともに、駆動制御用コント
ローラ50にデータDxを供給してプロセス125に戻
り、ディシジョン126においてクランプ動作が開始さ
れたと判断された場合には、プロセス128において、
前述の搬送機12における上昇動作の監視と同様にして
、クランプ動作の監視を行い、続くプロセス129にお
いて、クランプ動作が完了したか否かをあられすフラグ
F2を1に設定した後、プロセス130に進む。
If it is determined that is 1, the lowering operation of the conveyor 12 has been completed, so in process 123, 1-+t- is subtracted from the predetermined count number To, and it is set as the new count number Te. Then proceed to decision 124. In decision 124, it is determined whether or not the count number Te is zero. If it is determined that the count number Te is not zero, the process returns to process 123 and the count number Te
If it is determined that is zero, data Dx is fetched in process 125, and in decision 126, it is determined whether or not the clamping operation has been started based on the data Dx, and it is determined that the clamping operation has not been started. In this case, in process 127, the abnormality display signal Cg is supplied to the display 90, and the data Dx is supplied to the drive control controller 50, and the process returns to process 125, and in decision 126, it is determined that the clamping operation has started. In the case, in process 128,
The clamping operation is monitored in the same manner as the above-mentioned monitoring of the lifting operation in the conveyor 12, and in the subsequent process 129, the hail flag F2 is set to 1 to determine whether the clamping operation is completed, and then in the process 130. move on.

プロセス130においては、後述される加工機駆動部1
8Aにおける各動作の監視を行うためのルーチンにおい
て設定される、加工機駆動部18Aの後退駆動動作が完
了したか否かをあられすフラグF3を取り込み、続くデ
ィシジョン131においてフラグF3が1であるか否か
を判断し、フラグF、が1でないと判断された場合には
、プロセス、130に戻り、フラグF3が1であると判
断された場合には、加工機駆動部18Aの後退駆動動作
が完了しているのでプロセス132に進み、加工機駆動
部18Bにおける各動作の監視を行うためのルーチンに
おいて設定される、加工機駆動部18Aの後退駆動動作
が完了していたが否がをあられすフラグF4を取り込み
、続くディシジョン133においてフラグF4が1であ
るか否かを判断し、フラグF4が1でないと判断された
場合には、プロセス132に戻り、フラグF4が1であ
ると判断された場合には、プロセス134に進む。
In the process 130, the processing machine drive unit 1, which will be described later,
A flag F3 is set in the routine for monitoring each operation in Step 8A, and indicates whether the backward drive operation of the processing machine drive section 18A has been completed. If it is determined that the flag F is not 1, the process returns to step 130, and if it is determined that the flag F3 is 1, the backward drive operation of the processing machine drive unit 18A is performed. Since the process has been completed, the process proceeds to process 132, where the backward driving operation of the processing machine drive unit 18A, which is set in the routine for monitoring each operation in the processing machine drive unit 18B, has been completed. The flag F4 is fetched, and in the subsequent decision 133 it is determined whether or not the flag F4 is 1. If it is determined that the flag F4 is not 1, the process returns to process 132 and it is determined that the flag F4 is 1. If so, proceed to process 134.

プロセス134においては、プロセス125〜プロセス
127と同様にして、クランプ解除動作開始を監視し、
続くプロセス135において、前述のクランプ動作と同
様にしてクランプ解除動作を監視し、次ぎにプロセス1
36においてフラグFt、Fz及びF4を零に設定して
元に戻る。
In process 134, similar to processes 125 to 127, the start of the clamp release operation is monitored,
In the following process 135, the unclamping operation is monitored in the same way as the clamping operation described above, and then process 1
At step 36, flags Ft, Fz and F4 are set to zero and the process returns to the original state.

第6図は、加工機駆動部18Aにおける各動作の監視を
行うためのルーチンを示し、このルーチンは、スタート
後プロセス141においてフラグF2を取り込み、続く
ディシジョン142においてフラグF2が1であるか否
かを判断し、フラグF2が1でないと判断された場合に
は、元に戻り、フラグF2が1であると判断された場合
には、プロセス143及び144において、順次、前述
のクランプ装置14における動作の監視と同様にして、
前進駆動開始及び前進駆動動作を監視して、プロセス1
45に進む。
FIG. 6 shows a routine for monitoring each operation in the processing machine drive unit 18A. After the start, this routine takes in the flag F2 in a process 141, and in the subsequent decision 142, determines whether the flag F2 is 1 or not. If it is determined that the flag F2 is not 1, the process returns to the original state, and if it is determined that the flag F2 is 1, the operation in the clamp device 14 described above is sequentially performed in processes 143 and 144. Similarly to the monitoring of
Process 1 by monitoring the forward drive start and forward drive operation.
Proceed to step 45.

プロセス145においては、データDxを取り込み、続
くディシジョン146において加工機16Aによるワー
ク10の加工動作が完了したが否かを判断し、加工動作
が完了していないと判断された場合には、プロセス14
5に戻り、加工動作が完了していると判断された場合に
は、プロセス147及び148において、順次、前述の
クランプ装置14における動作の監視と同様にして、後
退駆動開始及び後退駆動動作を監視してプロセス149
に進み、前述のフラグF3を1に設定して元に戻る。
In the process 145, the data Dx is taken in, and in the subsequent decision 146, it is determined whether or not the machining operation of the workpiece 10 by the processing machine 16A is completed.If it is determined that the machining operation is not completed, the process 14
Returning to step 5, if it is determined that the machining operation is complete, in processes 147 and 148, the start of the backward drive and the backward drive operation are sequentially monitored in the same manner as the operation of the clamp device 14 described above. and process 149
The program then proceeds to set the aforementioned flag F3 to 1 and returns to the previous step.

なお、加工機駆動部18Bにおける各動作の監視を行う
ためのルーチンは、上述の加工機駆動部18Aにおける
各動作の監視を行うためのルーチンと略同様とされてい
るので、そのフローチャートを第7図に示してその詳細
説明を省略する。
Note that the routine for monitoring each operation in the processing machine drive section 18B is substantially the same as the routine for monitoring each operation in the processing machine drive section 18A described above, so the flowchart is shown in the seventh section. It is shown in the figure and its detailed explanation will be omitted.

(発明の効果) 以上の説明から明らかな如く、本発明に係るシーケンス
プログラム制御系のモニター方法は、モニター用コント
ローラにより、被制御設備における複数の独立動作グル
ープの夫々における各動作についての異常の有無を、各
独立動作グループ毎に個別に判別するようになされ、一
つの独立動作グループにおける、ある動作と他の独立動
作グループにおけるある動作が同時に行われる被制御設
備においても、適正に各動作の監視を行うことができ、
被制御設備における効果的な運用を妨げることなく、実
用範囲を拡大することができる。また、一つの独立動作
グループを構成する装置類における動作態様に変更が生
じて、斯かる独立動作グループにおける各動作の遷移条
件が変更されても、記憶手段に記憶される他の独立動作
グループにおける各動1作の遷移条件を変更する必要が
殆ど生じないので、被制御設備における変更に対して容
易に対応することができる。
(Effects of the Invention) As is clear from the above description, the method for monitoring a sequence program control system according to the present invention allows the monitoring controller to detect abnormalities in each operation in each of a plurality of independent operation groups in the controlled equipment. is determined individually for each independent action group, and even in controlled equipment where a certain action in one independent action group and a certain action in another independent action group are performed simultaneously, each action can be properly monitored. can be done,
The scope of practical use can be expanded without hindering effective operation of controlled equipment. Furthermore, even if there is a change in the operation mode of devices constituting one independent operation group and the transition conditions of each operation in the independent operation group are changed, the transition conditions of each operation in the independent operation group stored in the storage means will be changed. Since there is almost no need to change the transition conditions of each operation, it is possible to easily respond to changes in the controlled equipment.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係るシーケンスプログラム制御系のモ
ニター方法の一例が適用された被制御設備を示す概略構
成図、第2図は第1図に示される被制御設備の動作説明
に供される図、第3図〜第7図は第1図に示されるモニ
ター用コントローラにマイクロコンピュータが用いられ
た場合における、斯かるマイクロコンピュータが実行す
るプログラムの一例を示すフローチャートである。 図中、10はワーク、12は搬送機、14はクランプ装
置、16A及び16Bは加工機、18A及び18Bは加
工機駆動部、50は駆動制御用コントローラ、90は表
示器、100はモニター用コントローラである。
FIG. 1 is a schematic configuration diagram showing a controlled equipment to which an example of the method for monitoring a sequence program control system according to the present invention is applied, and FIG. 2 is provided to explain the operation of the controlled equipment shown in FIG. 1. 3 to 7 are flowcharts showing an example of a program executed by a microcomputer when the microcomputer is used as the monitor controller shown in FIG. 1. In the figure, 10 is a workpiece, 12 is a conveyor, 14 is a clamp device, 16A and 16B are processing machines, 18A and 18B are processing machine drive units, 50 is a drive control controller, 90 is a display, and 100 is a monitor controller It is.

Claims (1)

【特許請求の範囲】[Claims] 各動作の遷移順序が一定とされる複数の独立動作グルー
プに分割され、予め定められたシーケンスプログラムに
従って動作制御が行われる被制御設備における、上記独
立動作グループの夫々における各動作の遷移順序と、上
記複数の独立動作グループの夫々における各動作の遷移
条件と、上記複数の独立動作グループのうちの一つの動
作グループにおける特定の動作に対する他の独立動作グ
ループにおける特定の動作の先後関係とを記憶するとと
もに、記憶された上記遷移順序、遷移条件及び先後関係
に基づいて、上記複数の独立動作グループの夫々におけ
る各動作についての異常の有無を、各独立動作グループ
毎に個別に判別し、上記異常の有無に応じて異常判別信
号を発生するモニター用コントローラを用意し、該モニ
ター用コントローラから得られる上記異常判別信号に基
づいて上記被制御設備における各動作の監視を行うこと
を特徴とするシーケンスプログラム制御系のモニター方
法。
A transition order of each operation in each of the independent operation groups in a controlled equipment that is divided into a plurality of independent operation groups in which the transition order of each operation is constant and whose operation is controlled according to a predetermined sequence program; A transition condition for each motion in each of the plurality of independent motion groups, and a successor relationship of a specific motion in another independent motion group to a specific motion in one of the plurality of independent motion groups are stored. At the same time, based on the stored transition order, transition conditions, and successor relationship, the presence or absence of an abnormality for each operation in each of the plurality of independent operation groups is individually determined for each independent operation group, and the abnormality is determined for each independent operation group. Sequence program control characterized in that a monitoring controller that generates an abnormality determination signal depending on the presence or absence is prepared, and each operation in the controlled equipment is monitored based on the abnormality determination signal obtained from the monitoring controller. How to monitor the system.
JP62104011A 1987-04-27 1987-04-27 Monitoring method for sequence program control system Pending JPS63269202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62104011A JPS63269202A (en) 1987-04-27 1987-04-27 Monitoring method for sequence program control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62104011A JPS63269202A (en) 1987-04-27 1987-04-27 Monitoring method for sequence program control system

Publications (1)

Publication Number Publication Date
JPS63269202A true JPS63269202A (en) 1988-11-07

Family

ID=14369326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62104011A Pending JPS63269202A (en) 1987-04-27 1987-04-27 Monitoring method for sequence program control system

Country Status (1)

Country Link
JP (1) JPS63269202A (en)

Similar Documents

Publication Publication Date Title
JP2782777B2 (en) Control device for FMS line
CN110340386B (en) Support control method and system based on rotary machining
JPS62166952A (en) Automatic line operating device
JPS63269202A (en) Monitoring method for sequence program control system
CN114625087A (en) Method, system and equipment for analyzing station abnormal actions and storage medium
JPH04160605A (en) Collision preventing device for automatic operating machine tool
JPS58182707A (en) Robot control system
JP3037862B2 (en) Processing line operation control method and apparatus
CN218938800U (en) Intelligent monitoring system
JP3068165B2 (en) Processing machine with pallet loading device
JPH0810526Y2 (en) Manufacturing line control device
JP3642549B2 (en) Feed monitoring device for press machine
JPH067880Y2 (en) Transport control device
JPS62292350A (en) Method and device for monitoring
JPH03198107A (en) Control method for industrial robot
JP2684135B2 (en) How to supply / collect parts
JPH0379285A (en) Robot device
JPS6399161A (en) Control method for line operation by robot
JP3334927B2 (en) Robot controller
JPH06328346A (en) Deburring system
CN117484252A (en) PLC control method based on robot vision feeding and discharging
JPS62124897A (en) Safety device for robot
JPS6389903A (en) Abnormality processing device for work following device
JPH0256390A (en) Industrial robot device
JPH06143104A (en) Rework controller in fms