JP3337145B2 - Error recovery device for sequence control device - Google Patents

Error recovery device for sequence control device

Info

Publication number
JP3337145B2
JP3337145B2 JP20260692A JP20260692A JP3337145B2 JP 3337145 B2 JP3337145 B2 JP 3337145B2 JP 20260692 A JP20260692 A JP 20260692A JP 20260692 A JP20260692 A JP 20260692A JP 3337145 B2 JP3337145 B2 JP 3337145B2
Authority
JP
Japan
Prior art keywords
operation command
unit
time schedule
value
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP20260692A
Other languages
Japanese (ja)
Other versions
JPH0651815A (en
Inventor
潔 石井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP20260692A priority Critical patent/JP3337145B2/en
Publication of JPH0651815A publication Critical patent/JPH0651815A/en
Application granted granted Critical
Publication of JP3337145B2 publication Critical patent/JP3337145B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シーケンス制御装置の
異常復旧装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormality recovery device for a sequence control device.

【0002】[0002]

【従来の技術】プログラマブルコントローラで代表され
るシーケンス制御装置は、複数の機器の動作状態信号を
入力し、これらの信号に基づいてシーケンス処理を行
い、複数の機器へ動作指令出力を与える。機器の異常動
作状態が入力された場合、またはシーケンス処理内部で
異常状態を判断した場合、異常情報を出力し、操作台や
CRTの表示でオペレータがその異常を認識することが
できる。異常状態を認識したオペレータは、異常原因を
取り除き、さらにシーケンス処理が正常に動作できる状
態まで単独で種々の機器を動作させ、その後で機器の動
作指令をシーケンス処理へ移行させている。
2. Description of the Related Art A sequence controller represented by a programmable controller inputs operation state signals of a plurality of devices, performs sequence processing based on these signals, and outputs operation commands to the plurality of devices. When an abnormal operation state of the device is input or an abnormal state is determined in the sequence processing, abnormal information is output, and the operator can recognize the abnormality on the display of the operation console or the CRT. The operator who recognizes the abnormal state removes the cause of the abnormality, operates various devices by itself until the sequence processing can operate normally, and then shifts the operation command of the device to the sequence processing.

【0003】ところで、シーケンス制御装置の異常復旧
方法として、特開平2−96201号公報では、異常発
生時の態様とその異常に対する復旧シーケンスを予め記
憶させ、異常発生時にこの記憶した復旧シーケンスを元
に機器を動作させようとすることが提案されている。
As a method of restoring an error in a sequence control device, Japanese Patent Application Laid-Open No. 2-96201 discloses a method in which an abnormality occurs and a restoration sequence for the abnormality are stored in advance, and based on the stored restoration sequence when an abnormality occurs. It has been proposed to try to operate the device.

【0004】[0004]

【発明が解決しようとする課題】ところが、従来技術で
はオペレータが復旧操作を行っているため、オペレータ
の経験や主観に大きく依存し、必ずしも最適な復旧操作
ができず、装置停止時間が長引いたり、動力のロスが発
生することも少なくないこと、未熟なオペレータでは復
旧操作が適切にできないこと、などの問題点がある。一
方、上記公報に記載のものは、異常を復旧するための復
旧シーケンスを記憶させておかなければならず、すべて
の復旧シーケンスをシーケンス制御装置に記憶できない
場合も起こり得る。また復旧シーケンスの処理が複雑な
ため、誤った復旧シーケンスで動作が行われる可能性も
ある。そこで本発明が解決すべき課題は、オペレータが
異常原因を取り除いた後の復旧シーケンスをオペレータ
の操作によらず自動的に、かつ復旧シーケンスの記憶部
を持たずに異常復旧を行う装置を提供することにある。
However, in the prior art, since the operator performs the recovery operation, the operation greatly depends on the experience and subjectivity of the operator, and the optimum recovery operation cannot always be performed. There are problems that power loss often occurs and that an inexperienced operator cannot perform a recovery operation properly. On the other hand, in the technique disclosed in the above publication, a restoration sequence for restoring an abnormality must be stored, and it may happen that not all restoration sequences can be stored in the sequence control device. Further, since the processing of the restoration sequence is complicated, the operation may be performed in an erroneous restoration sequence. The problem to be solved by the present invention is to provide an apparatus for automatically performing a recovery sequence after an operator removes the cause of an abnormality without using an operator's operation and without having a storage unit for the recovery sequence. It is in.

【0005】[0005]

【課題を解決するための手段】上記問題点を解決するた
め、本発明は、複数の機器の動作状態を検出するための
入力部と、この入力部からの機器の動作状態信号に基づ
いてシーケンス処理を行うシーケンス制御部と、シーケ
ンス制御部での結果により複数の機器に動作指令を与え
る出力部とを有するシーケンス制御装置において、タイ
ムスケジュールにより予め設定された動作指令数値で機
器の動作指令を与えるタイムスケジュール制御部と、同
タイムスケジュール制御部により機器の動作指令が与え
られた時の動作指令数値を記憶する動作指令数値記憶部
と、機器の異常検出で一時停止したシーケンスを異常原
因除去後、前記動作指令数値記憶部の動作未完情報に
づき前記タイムスケジュール制御部の動作指令値を最適
な値に戻す異常復旧部を備えたことを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides an input unit for detecting operating states of a plurality of devices and a sequence based on an operating state signal of the devices from the input unit. In a sequence control device having a sequence control unit for performing processing and an output unit for giving operation commands to a plurality of devices based on a result of the sequence control unit, an operation command of the device is given by an operation command value set in advance according to a time schedule. A time schedule control unit, an operation command value storage unit that stores an operation command value when an operation command of the device is given by the time schedule control unit, and after removing a cause of the abnormality that has been temporarily stopped by detecting a device abnormality, based on the operation unfinished information of the operation command numeric storage unit
Optimal operation command value of the time schedule control unit
It is characterized by having an abnormality recovery unit for returning the value to a proper value .

【0006】[0006]

【作用】上記手段により、オペレータが異常原因を取り
除いた後の復旧シーケンスが、オペレータの判断によら
ず、復旧入操作のみで自動的に行われることとなる。
According to the above means, the recovery sequence after the operator has removed the cause of the abnormality is automatically performed only by the recovery input operation, irrespective of the judgment of the operator.

【0007】[0007]

【実施例】以下、本発明を図面に示した実施例に基づい
て具体的に説明する。図1は本発明の実施例を示すブロ
ック図である。同図において、10はタイムスケジュー
ル制御部、20は動作指令数値記憶部、30は異常復旧
部である。タイムスケジュール制御部10には、複数の
機器、本例では1〜4の機器からの動作完了信号が入力
され、その動作状態信号に基づいて予め設定されたシー
ケンス処理を行うための機器動作指令を出力する。例え
ば、図2のタイムスケジュール制御タイムチャートに示
すように、機器1〜4は、開閉動作を行い、タイムスケ
ジュール制御部での動作指令数値は機器1が開1・閉
9、機器2が開11・閉19、機器3が開21・閉3
4、機器4が開6・閉19に設定され、指令カウンタが
一致した時点で該当機器の指令を与えるものとする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be specifically described based on embodiments shown in the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 10 is a time schedule control unit, 20 is an operation command numerical value storage unit, and 30 is an abnormality recovery unit. Operation completion signals from a plurality of devices, in this example, devices 1 to 4, are input to the time schedule control unit 10, and a device operation command for performing a preset sequence process based on the operation state signal is input to the time schedule control unit 10. Output. For example, as shown in the time schedule control time chart of FIG. 2, the devices 1 to 4 perform an opening / closing operation, and the operation command values in the time schedule control unit are such that the device 1 is open 1 / close 9 and the device 2 is open 11・ Close 19, device 3 open 21 ・ Close 3
4. Assume that the device 4 is set to open 6 / close 19 and a command of the device is given when the command counters match.

【0008】次に、図3のフローチャートを参照しなが
ら図1の実施例の動作を説明する。タイムスケジュール
制御部10より機器の動作指令が与えられる時の動作指
令数値が動作指令数値記憶部20に記憶され、該当機器
の動作完了した時点で記憶した数値をクリアする(図3
ステップ100〜120)。図1はカウンタ12の数値
10で異常信号オンとなり、機器1は開端まで行き閉指
令は与えられたが閉端まで行っていない状態で、機器4
は開指令は与えられたが開端まで行っていない状態を示
す。この時カウンタ12は、異常検出により一時停止し
ているものとする。上記のような異常状態が発生した時
(図3ステップ130)、オペレータはまず異常原因を
取り除く(同ステップ140)。その後、復旧入プッシ
ュボタンをオンさせ、自動復旧を指令する(同ステップ
150)。復旧入プッシュボタンオンにて異常復旧部3
0は、動作指令数値記憶部20に記憶された動作指令数
値の最小値を最小値検出部32で検出するとともに(同
ステップ160)、その最小値をタイムスケジュール制
御部10のカウンタ12へ強制セットし(図1では数値
“6”)、カウンタの加算を再開させる(同ステップ1
70)。その結果、再度カウント値6で機器4の開指令
が与えられ、次にカウント値9で機器1の閉指令が与え
られシーケンスが続行されることとなる。
Next, the operation of the embodiment of FIG. 1 will be described with reference to the flowchart of FIG. The operation command value when the operation command of the device is given from the time schedule control unit 10 is stored in the operation command value storage unit 20, and the stored value is cleared when the operation of the device is completed (FIG. 3).
Steps 100 to 120). In FIG. 1, the abnormal signal is turned on when the value of the counter 12 is 10, and the device 1 goes to the open end and the close command is given, but the device 4 is not operated to the closed end.
Indicates that an open command has been given but has not been performed to the open end. At this time, it is assumed that the counter 12 is temporarily stopped due to abnormality detection. When the above abnormal state occurs (step 130 in FIG. 3), the operator first removes the cause of the abnormality (step 140). After that, the recovery ON push button is turned on to instruct automatic recovery (step 150). Abnormality recovery unit 3 when recovery input push button is on
0 indicates that the minimum value of the operation command value stored in the operation command value storage unit 20 is detected by the minimum value detection unit 32 (step 160), and the minimum value is forcibly set to the counter 12 of the time schedule control unit 10. (In FIG. 1, the numerical value “6”), and the counter is restarted (step 1).
70). As a result, a command to open the device 4 is given again with the count value 6, and then a command to close the device 1 is given with the count value 9, and the sequence is continued.

【0009】[0009]

【発明の効果】以上述べたように、本発明によればシー
ケンス制御装置の異常復旧をオペレータの判断によらず
に行うことができ、かつシーケンス制御装置のプログラ
ムも簡素化が可能となる。
As described above, according to the present invention, abnormality recovery of the sequence controller can be performed without depending on the judgment of the operator, and the program of the sequence controller can be simplified.

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

【図1】 本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】 本発明実施例のタイムスケジュールのタイム
チャートである。
FIG. 2 is a time chart of a time schedule according to the embodiment of the present invention.

【図3】 本発明実施例のフローチャートである。FIG. 3 is a flowchart of the embodiment of the present invention.

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

10 タイムスケジュール制御部、12 カウンタ、2
0 動作指令数値記憶部、30 異常復旧部、32 最
小値検出部
10 time schedule control unit, 12 counter, 2
0 Numerical operation command storage unit, 30 error recovery unit, 32 minimum value detection unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の機器の動作状態を検出するための
入力部と、この入力部からの機器の動作状態信号に基づ
いてシーケンス処理を行うシーケンス制御部と、シーケ
ンス制御部での結果により複数の機器に動作指令を与え
る出力部とを有するシーケンス制御装置において、 タイムスケジュールにより予め設定された動作指令数値
で機器の動作指令を与えるタイムスケジュール制御部
と、同タイムスケジュール制御部より機器の動作指令が
与えられた時の動作指令数値を記憶する動作指令数値記
憶部と、機器の異常検出で一時停止したシーケンスを異
常原因除去後、前記動作指令数値記憶部の動作未完情報
基づき前記タイムスケジュール制御部の動作指令値を
最適な値に戻す異常復旧部を備えたことを特徴とするシ
ーケンス制御装置の異常復旧装置。
An input unit for detecting an operation state of a plurality of devices, a sequence control unit for performing a sequence process based on an operation state signal of the device from the input unit, and a plurality of units based on a result of the sequence control unit. A sequence control device having an output unit for giving an operation command to the device, a time schedule control unit for giving a device operation command with an operation command value set in advance by a time schedule, and a device operation command from the time schedule control unit. The operation command numerical value storage unit that stores the operation command value when is given, and the time schedule control based on the operation incomplete information of the operation command numerical value storage unit after removing the cause of the abnormality that has been temporarily stopped by the device abnormality detection. Operation command value
An error recovery device for a sequence control device, comprising: an error recovery unit for returning to an optimum value .
【請求項2】 前記タイムスケジュール制御部より機器2. The apparatus according to claim 2, wherein said time schedule control unit controls
の動作指令が与えられる時の動作指令数値をカウントCounts the operation command value when the operation command is given
し、異常検出により停止するカウンターと、異常原因除Counter that stops when an error is detected, and
去後、自動復旧の指令により前記動作指令数値記憶部にAfter leaving, the operation command numerical value storage unit
記憶された動作指令数値の最小値を最小値検出部で検出Minimum value of stored operation command value is detected by minimum value detector
するとともに、その最小値を前記カウンタへ強制セットAnd the minimum value is forcibly set to the counter.
し、前記カウンタの加算を再開させる異常復旧部を備えAnd an abnormality recovery unit for restarting the addition of the counter.
たことを特徴とする請求項1記載のシーケンス制御装置2. The sequence control device according to claim 1, wherein
の異常復旧装置。Abnormal recovery device.
JP20260692A 1992-07-29 1992-07-29 Error recovery device for sequence control device Expired - Fee Related JP3337145B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20260692A JP3337145B2 (en) 1992-07-29 1992-07-29 Error recovery device for sequence control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20260692A JP3337145B2 (en) 1992-07-29 1992-07-29 Error recovery device for sequence control device

Publications (2)

Publication Number Publication Date
JPH0651815A JPH0651815A (en) 1994-02-25
JP3337145B2 true JP3337145B2 (en) 2002-10-21

Family

ID=16460214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20260692A Expired - Fee Related JP3337145B2 (en) 1992-07-29 1992-07-29 Error recovery device for sequence control device

Country Status (1)

Country Link
JP (1) JP3337145B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5962839B2 (en) * 2013-02-15 2016-08-03 株式会社安川電機 Controller, time chart creation device, computer program, and computer-readable information storage medium
WO2015162793A1 (en) 2014-04-25 2015-10-29 三菱電機株式会社 Programmable logic controller

Also Published As

Publication number Publication date
JPH0651815A (en) 1994-02-25

Similar Documents

Publication Publication Date Title
JP3842246B2 (en) Numerical controller
JP3337145B2 (en) Error recovery device for sequence control device
JP2000056887A (en) Misoperation suppression system for screen operation
JP3692990B2 (en) Numerical controller
CN115061415B (en) Automatic process monitoring method and device and computer readable storage medium
JP2935278B2 (en) Error handling support device
JP3374399B2 (en) Skip input device
JP2911256B2 (en) Digital controller
JPH0388634A (en) Cassette automatic charger device
JPH07152416A (en) Numerical controller having program restarting function
JP2590108B2 (en) Monitor for sequence program control system
JPS63174105A (en) Control method for safety of automatic machine tool
JPH0396815A (en) Operation history controller
JP2005219138A (en) Robot control method, robot control device, robot control program, and recording medium
JPH1091215A (en) Programmable controller
JPH02310633A (en) Fault restoration processing system for virtual computer system
JPH01292505A (en) Servo controller
JPH05274017A (en) Partial automatic operation system
JP4301753B2 (en) Device for resuming press working
JPH08286714A (en) Monitor device for programmable display device
JPH11202913A (en) Controller for pmc
JPS6398001A (en) Stop control method for device due to fault detection
JPH07120173B2 (en) Program control method
JPH01253042A (en) Self-decision system for processing function
JPS63257006A (en) Method for restarting automatic operation of nc device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080809

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090809

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090809

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100809

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110809

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees