JPH04100112A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH04100112A
JPH04100112A JP19693990A JP19693990A JPH04100112A JP H04100112 A JPH04100112 A JP H04100112A JP 19693990 A JP19693990 A JP 19693990A JP 19693990 A JP19693990 A JP 19693990A JP H04100112 A JPH04100112 A JP H04100112A
Authority
JP
Japan
Prior art keywords
abnormality
control
control group
signal
storage unit
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
JP19693990A
Other languages
Japanese (ja)
Inventor
Mitsunori Kuzushima
光則 葛島
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 JP19693990A priority Critical patent/JPH04100112A/en
Publication of JPH04100112A publication Critical patent/JPH04100112A/en
Pending legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To prevent the malfunction of sequence control by processing the sequence control by a sequence control storage part, an abnormality control group storage part, and an abnormality control storage part. CONSTITUTION:A sequence control storage part 4, an abnormality control group storage part 5, an abnormality control storage part 6, and a sequence control processing part 7 are provided, and an abnormality control individual designation column and an abnormality control group number designation column are stored for each step of sequence control. The abnormality registered in the corresponding abnormality control individual designation column is decided at the time of executing the sequence control. If the abnormality is detected, the step is switched to a registered abnormality processing step; but otherwise, the abnormality registered in an abnormality control group number is decided in accordance with the abnormality control group number in the corresponding abnormality control group number designation column. If the abnormality is detected, the step is switched to the registered abnormality processing step. Thus, the malfunction of sequence control due to overlooking of an abnormal signal is easily prevented.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ステップ及び遷移という概念をもつ記述にて
プログラミングを行なうシーケンスコントローラに係り
、特に、異常処理を簡単に行なうのに好適なプログラマ
ブルコントローうに関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a sequence controller that performs programming using descriptions having the concepts of steps and transitions, and in particular to a programmable controller suitable for easily handling abnormalities. Regarding.

[従来の技術j 近年、産業用設備の自動化シーケンス制御の記述方式と
して、ペトリネットの流れをくむGRAFCETを基本
とするシーケンシャルファンクションチャート(以下、
SFCと略す)が用いられている。SFCは、順序制御
における実行順序や処理内容を数種の記述要素により表
現したものである。(第3図) 第3図で5O1S1、・・・、S6で表わされたものが
ステップと呼ばれる。ステップは順序制御において与え
られた条件を満足した時に実行するシーケンスの単位を
表わす。通常ステップには、ゼロまたは複数のアクショ
ンが付随し、そのステップが実行状態になった時に実行
される。各ステップ間はリンクと呼ばれる方向技で接続
され、リンクに直行して書かれる横線に前者のステ・ノ
ブから後者のステップに実行状態が移行する条件を示す
遷移条件が書かれる。遷移条件は遷移するための論理的
条件で、第3図で10.1゛1、・・・、T7で示され
たものである。第3圓でステップS2からは、遷移条件
T2が成立すればステップS3へ遷移しステップS3に
付随するアクションを実行し、遷移条件T2が不成立で
かつ遷移条件T5が成立すればステップS5へ遷移しス
テップS5に付随するアクションを実行する順序制御の
選択動作を表わしている。遷移条件T2、T5ともに不
成立であれば、実行ステップはステ、プS2に停滞し、
ステップS2に付随するアクションを実行する。
[Conventional technology] In recent years, sequential function charts (hereinafter referred to as
(abbreviated as SFC) is used. SFC expresses the execution order and processing contents in order control using several types of descriptive elements. (Fig. 3) What is represented by 5O1S1, . . . , S6 in Fig. 3 is called a step. A step represents a unit of a sequence that is executed when a given condition is satisfied in order control. A step typically has zero or more actions associated with it, which are executed when the step is put into the execution state. Each step is connected by a directional technique called a link, and a transition condition indicating the condition for the execution state to transition from the former step knob to the latter step is written on the horizontal line drawn perpendicular to the link. The transition condition is a logical condition for transition, and is indicated by 10.1゛1, . . . , T7 in FIG. In the third circle, from step S2, if transition condition T2 is satisfied, the process moves to step S3 and an action accompanying step S3 is executed, and if transition condition T2 is not satisfied and transition condition T5 is satisfied, the process moves to step S5. This represents a sequential control selection operation for executing actions associated with step S5. If both transition conditions T2 and T5 are not satisfied, the execution step stalls at step S2,
Execute the action associated with step S2.

また、遷移条件T2、T5が同時に成立した時は、左側
ずなわちステップS3への遷移が優先する。
Further, when transition conditions T2 and T5 are satisfied at the same time, the transition to the left side, that is, to step S3 takes priority.

このようにSFCで記述された順序制御は、ステップ間
の遷移条件の成立によって制御対象に対するシーケンス
の動作を表現するため、プログラムの構造とその流れを
判りやすくしている。
In this way, the sequence control described in SFC expresses a sequence of operations for a controlled object by establishing transition conditions between steps, making the structure of a program and its flow easy to understand.

しかし、順序制御実行中に制御対象になんらかの異常が
発生した場合、異常の内容や順序制御実行中の実行ステ
ップ位置などにより実行すべき異常処理ソーケンスが異
なってくるのが一般的である。順序制御実行中Gこ発生
する異常に対し、第3図のSFCを異常処理を考慮し記
述すると第4図のようになる。第4図のSIE、S2E
、・・36F、で示したステップは、順序制御実行中に
発生した異常信号に対する異常処理ステップを表わ17
、Tel、1゛e2、・・・、Te6は任意のステ。
However, when some kind of abnormality occurs in the controlled object during sequential control execution, the abnormality processing sequence to be executed generally differs depending on the content of the abnormality, the execution step position during sequential control execution, and the like. When the SFC of FIG. 3 is described in consideration of the abnormality processing that occurs during execution of sequence control, the result is as shown in FIG. 4. SIE, S2E in Figure 4
, . . 36F represents an abnormality processing step for an abnormal signal generated during sequential control execution.
, Tel, 1゛e2, ..., Te6 are arbitrary steps.

ブ実行中に発生した異常信号を表わした遷移条件である
。第4図において、順序制御実行ステップがステップS
1にある時、遷移条件TIの論理状態を調べ、条件が成
立していればステップS2へ遷移し、遷移・条件T1が
不成立であれば異常信号]゛e1の論理状態を調べ、条
件が成立していれば異常処理ステップS I F、へ遷
移しステップSIEにイ」随するアクションずなわち異
常処理シーケンスを実行り1、異常信号Telが不成立
であれば異常仏q Te2の論理状態を調べ条件が成立
していれば異常処理ステップ32Eへ遷移しステップ3
2Hにイ・1随するアクシづンすなわち異常処理シーケ
ンスを実行し、異常信号1′c2が不成立であれば異常
信号]゛c4の論理状態を調べ条件が成立していれば異
常処理ステップ34Eへ遷移しステップ54Eに付随す
るアクションすなわち異常処理ソーケンスを実行する6
3FCで記述された順序制御において、先行ステップが
?M数の遷移条イ1とステップの鉗に接続されている場
合(選択ソーケンスと称す)は+iil述したごとく左
側が優先されるため、通常処理ンーノγンスと異常処理
シーケンスの選択シーケンス記述ではその記述イ1装置
によっては巽常処理シーツrンスが実行されない場合が
ある。
This is a transition condition that represents an abnormal signal that occurs during execution of a program. In FIG. 4, the sequential control execution step is step S.
1, the logic state of the transition condition TI is checked, and if the condition is met, the process moves to step S2, and if the transition/condition T1 is not met, an abnormality signal] is checked, and the logic state of e1 is checked, and the condition is met. If so, the process moves to the abnormality processing step SIF, and goes to step SIE.1.The associated actions, that is, the abnormality processing sequence, are executed1.If the abnormality signal Tel is not established, the logic state of the abnormality signal qTe2 is checked. If the conditions are met, the process moves to abnormality processing step 32E and step 3
Execute the action associated with 2H, that is, the abnormality processing sequence, and if the abnormality signal 1'c2 does not hold, check the logic state of the abnormality signal ゛c4 and if the condition is satisfied, proceed to abnormality processing step 34E. Transition and execute the action accompanying step 54E, that is, the abnormality processing sequence 6
In order control written in 3FC, what is the preceding step? When M number of transition lines are connected to step forceps (referred to as selection sequence), priority is given to the left side as mentioned above. Description A1 Depending on the device, the normal processing sheet run may not be executed.

[発明が解決しようとする課題1 このように、緊象を要する異常処理ノーケンスを含めた
順序制御をS F Cで記述した場合、順序制御実行中
の各のステップCコて1つ以」二の異常信号をチエツク
する場合において、各ステップごとに該当の異常を判定
する処理を設けなければならず記述が?!雑となり、さ
らにその記述位置によっては異常処理シーケンスが実行
されないなどの問題があった。
[Problem to be Solved by the Invention 1] In this way, when sequential control including emergency processing failures is described in SFC, each step C during sequential control execution must be When checking for abnormal signals, it is necessary to provide a process to determine the relevant abnormality for each step. ! Furthermore, depending on the position of the description, the abnormality processing sequence may not be executed.

そこで本発明の目的は、順序制御実行中にチア丁ツクす
る1つ以−1−の異常信−号に対する異常判定、異常処
理をSFCの記述を複雑化することなく、かつ異常信号
の見逃しによるシーケンス制御の誤動作の防止を容易に
実現できるプログラマブルコントローラを提供すること
にある。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to perform abnormality judgment and abnormality processing for one or more abnormal signals checked during sequential control execution without complicating the SFC description and without causing failure of abnormal signals to be overlooked. An object of the present invention is to provide a programmable controller that can easily prevent malfunctions in sequence control.

[課題を解決するための手段] 上記目的を達成するため、本発明は、外部の信号を取り
込むための入力部と、外部へ信号を出力するための出力
部之、データメモリ部と、制御プログラムを記憶してい
るプログラムメモリ部とプログラムメモリ部に記憶され
た制御プログラムに従って演算する演算部を有するプロ
グラマブルコントローラにおいて、 順序制御における実行ステップ番号とステップごとの実
行プログラムと、実行順序を制御する条件を記憶してい
る順序制御記憶部と、順序制御中の複数のステップにて
行う同一の異常判定、異常処理に対して異常信号名と当
該異常信号の状態値と当該異常信号が前記異常信号の状
態値と一致した時に実行する異常処理ステップ番号を異
常制御グループ番号ごとに記憶している異常制御グルー
プ記憶部と、順序制御中の各ステップに7個別に行う異
常判定、異常処理に対して異常信号名と当該異常信号の
状態値と当該異常信号が前記異常信号の状態値と一致し
た時に実行する異常処理ステップ番号を指定する異常制
御個別指定欄と前記異常制御グループ記憶部の異常制御
グループ番号を指定する異常制御グループ番号指定欄と
からなり順序制御のステップごとに前記異常制御個別指
定欄と前記異常制御グループ番号指定欄をii[2憶し
ている異常制御記憶、部と、前記順序制御記憶部と前記
異常制御グループ記憶部と前記異常制御記憶部とによっ
て順序側fftlを処理する順序制御処理部を備えたこ
とを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides an input section for taking in external signals, an output section for outputting signals to the outside, a data memory section, and a control program. In a programmable controller that has a program memory section that stores a program memory section and a calculation section that performs calculations according to a control program stored in the program memory section, an execution step number in sequential control, an execution program for each step, and conditions for controlling the execution order are The stored sequence control storage unit, the same abnormality judgment and abnormality processing performed in multiple steps during sequence control, the abnormal signal name, the state value of the abnormal signal, and the state of the abnormal signal. An abnormality control group storage unit that stores the abnormality processing step number to be executed when the value matches each abnormality control group number, and an abnormality judgment and abnormality signal for abnormality processing performed individually for each step during sequential control. an individual error control specification field that specifies the name, the status value of the abnormal signal, the abnormality processing step number to be executed when the abnormal signal matches the status value of the abnormal signal, and the abnormality control group number in the abnormality control group storage section. an abnormality control group number specification field to be specified; and the abnormality control individual specification field and the abnormality control group number specification field for each step of sequential control; The present invention is characterized by comprising a sequence control processing unit that processes the sequence side fftl using the abnormality control group storage unit, the abnormality control group storage unit, and the abnormality control storage unit.

(作用〕 本発明は、順序制御中の鞠数のステップにて行う同一の
異常判定、異常処理に対して異常信号名と当該異常信号
の状態値と当該異常仏閣が前記異常信号の状p 4fj
と一致した時に実行する異常処理ステ・ノブ番号をyI
常制御グループ番号ごとに1ケ所にまとめて登録し、て
おき、順序制御中の各ステップ個別に行う異常判定、異
常処理に対して異常信号名と当該異常信号の状態値と当
該異常信号が前記異常信号の状態イ【へと一致した時に
実行する異常処理ステップ番号を指定する異常制御個別
指定欄と前記異常制御グループ番号を指定する異常制御
グループ番号指定欄を設け、順序制御の各ステップごと
に前記異常制御個別指定欄と前記異常制御グループ番号
指定欄を記憶し、順序制御実行時に当該ステ、ノブに対
応する異常制御個別指定欄に登録されている異常を判定
し、もし異常が検出された場合には登録された異常処理
ステップへ遷移されるようにし、異常が検出されなかっ
た場合には当該ステップに対応する異常制御グループ番
号指定欄の異常制御グループ番号から当該異常制御グル
ープ番号に登録されている異常を判定j7、もし異常が
検出された場合には登録された異常処理ステップへ遷移
させるようにするものである。
(Operation) The present invention provides the same abnormality judgment and abnormality processing performed in the number of steps during sequence control, and the abnormality signal name, the status value of the abnormality signal, and the abnormality temple.
The error processing step knob number to be executed when it matches yI
Each normal control group number is registered in one place, and the abnormal signal name, the status value of the abnormal signal, and the abnormal signal are An individual abnormality control specification field for specifying the abnormality processing step number to be executed when the abnormality signal status A matches the abnormality control group number and an abnormality control group number specification field for specifying the abnormality control group number are provided for each step of sequential control. The abnormality control individual designation field and the abnormality control group number designation field are memorized, and when sequential control is executed, the abnormality registered in the abnormality control individual designation field corresponding to the relevant step or knob is determined, and if an abnormality is detected. If no abnormality is detected, the abnormality control group number in the abnormality control group number specification field corresponding to the step is registered to the abnormality control group number. If an abnormality is detected, a transition is made to a registered abnormality processing step.

[実施例] 以下、本発明を図面に基づいて説明する。[Example] Hereinafter, the present invention will be explained based on the drawings.

第1図は、本発明のプログラマブルコントローラの演算
部において、SFCの記述によって順序制御を実行する
演算部の構成図である。第1図において、1は順序制御
の実行スーテー、ブ番号を記憶しているステ、・ブ番号
記憶部、2は各ステップごとに実行するシーケアメスの
Qj位を記jgQ、 L、 7いるアクソヨン記憶部、
3は各ステップ間の1テ移条件を記憶している遷移条件
、it!(つ部、4は前記ステ、ノブ番号記憶部1、前
記アクソヨン記憶部2および前記i!移条件記憶部3か
ら構成される順序制御記憶部、5は順序制御中の?、3
f数のスう〜、・ブにて行″)同一の異常判定、異常処
理乙こ対して異常(へ号名と当該異常信号の状態値と当
該異常伝号が1r1記異常信号の状態値と一致し7た時
に実行−4るW常処理スう〜ノブ番4jを異常制御グル
ープ番号ごとに記1f(7ている異常制御グループ記憶
部、(jは皿(序制御中の各ステ・ノブにて個別に行う
異常′1す定、異常処理に対して異常信号名と当該異常
信号の状態(+6と当該異常信号が前記異常信刊の状態
(1hと一致した時に実行する異常処理ステップ番号を
指定する異常制御個別指定欄とfi’il記異常制御グ
ループ記憶部の7g常制御グループ番号を指定する異常
制御グループ番号指定欄とからなり順序制御のステップ
ごとに前記異常制御個別指定欄と前記異常制御グループ
番号指定欄を記憶している異常制御記憶部、7は前記ス
テップ番号記憶部1から実行ステンプ番号を読み出し、
前記異常制御グループ記憶部5と、前記異常制御記憶部
6と、G記順序制御記憶部4によって順序制御の処理を
実行する順序制御処理部、8は前記アクション記憶部2
と、前記遷移条件記憶部3と、前記異常制御グループ記
憶部5と、Ail記異常制御記憶部6に記憶されている
プログラムおよび設定データの読み出し、書き込みを行
うためのプログラム入力’Jlとのインターフェース部
を示している。
FIG. 1 is a block diagram of the arithmetic unit of the programmable controller of the present invention that executes order control based on SFC descriptions. In FIG. 1, 1 is an execution step for sequential control, a step number storage unit that stores the step number, and 2 is an axion memory that records the Qj position of the sea care scalpel to be executed for each step. Department,
3 is a transition condition that stores one transition condition between each step, it! (Part 4 is a sequence control storage unit composed of the step, knob number storage unit 1, axion storage unit 2, and i! transfer condition storage unit 3; 5 is a sequence control storage unit; 3)
The same abnormality judgment, abnormality processing B, and the abnormality (f number name, status value of the abnormal signal, and status value of the abnormal signal in question) Execute when 7 matches with -4 W normal process ~ Record knob number 4j for each abnormal control group number 1f (7) abnormal control group storage section (j is plate (each step in order control) Anomaly '1 is set individually with the knob, and for abnormal processing, the abnormal signal name and the state of the abnormal signal (+6) and the abnormal processing step to be executed when the abnormal signal matches the state of the abnormal signal (1h) It consists of an abnormal control individual designation field for specifying a number and an abnormal control group number designation field for designating the 7g normal control group number of the fi'il abnormal control group storage section. The abnormal control storage unit 7 that stores the abnormal control group number designation field reads the execution step number from the step number storage unit 1,
A sequence control processing unit that executes sequence control processing using the abnormality control group storage unit 5, the abnormality control storage unit 6, and the sequence control storage unit 4; 8 is the action storage unit 2;
and an interface with a program input 'Jl for reading and writing programs and setting data stored in the transition condition storage section 3, the abnormality control group storage section 5, and the Ail abnormality control storage section 6. It shows the part.

第1表は、前記異常制御記憶部6に記憶されている異常
制御個別指定欄と異常制御グループ番号指定欄に順序制
御の各ステップごとに設定した例である。なお第1表に
おいて、異常制御個別指定欄に記入していないステ、プ
は個別に判定する異常がないことを示し、異常制御グル
ープ番号指定欄に記入していないステップは異常判定を
行う異常制御グループがないことを示している。
Table 1 shows an example in which the abnormal control individual designation column and the abnormal control group number designation column stored in the abnormal control storage section 6 are set for each step of sequential control. In Table 1, steps that are not entered in the abnormal control individual designation column indicate that there are no abnormalities to be determined individually, and steps that are not entered in the abnormal control group number designation column are abnormal control that performs abnormality determination. Indicates that there is no group.

第  1  表 第2表は、前記異常制御グループ記憶部5に記憶されて
いる順序制御中に判定する異常信号名と当該異常信号の
状態値と当該異常信号が前記異常信号の状態値と一致し
た時に実行する異常処理ステップ番号を異常制御グルー
プ番号ごとに設定した例である。
Table 1 Table 2 shows the name of the abnormal signal to be determined during sequential control stored in the abnormal control group storage unit 5, the state value of the abnormal signal, and whether the abnormal signal matches the state value of the abnormal signal. This is an example in which the abnormality processing step number to be executed at the time is set for each abnormality control group number.

第  2  表 なお、第1表は、第3図のSFCによって記述された順
序制御をもとに各ステップごとに異常判定を行う異常制
御個別指定欄と異常制御グループ番号指定欄を設定した
ものであり、第2表は前記異常制御グループ番号ごとに
判定する異常信号名と、前記異常信号の状態イ1^と、
当該異常信号が前記異常信号の状態値と一致した時に実
行する異常処理ステ、ブを設定したものである。すなわ
ち、第1表は、第4図の5FCcこよって記述された1
1頃序制illのうち異常処理ノーケンスのみを抜き出
して、各ステップに個別の異常判定、異常処理は異常制
御個別指定欄に設定し、複数のステップに同一の異常判
定、異常処理はグループ分けし、そのグループ番号を異
常制御グループ番ぢ一指定欄に設定したものである。ま
た、第2表は、前記グループ番号ごとに判定する異常信
号名と、前記異常信号の状態値と、当該異常信号が前記
異常信号の状態値と一致した時に実行する異常処理ステ
ップを設定したものである。例えば、実行ステップ番号
がSlにある時、第1表により異常制御個別指定欄から
異常信号Te4がONであれば異常処理ステップ34E
にi!!(多し、異常信号1゛e4がOFドであれば異
常側fillグループ番号指定欄をチエツクする。異常
制御グループ番号指定欄には異常制御グループ番号“l
“が設定されている。そこで、第2表に設定されている
異常制御グループ番号が1の項を参照し、異常(ハ号′
T’elがONであれば異常処理ステップSIEに遷移
し、異常信号Te2がOFFであれば異常処理ステップ
32Eに遷1多することを表わしている。
Table 2 Note that Table 1 has an individual abnormality control specification column and an abnormality control group number specification column that perform abnormality determination for each step based on the sequential control described by the SFC in Figure 3. Yes, Table 2 shows the name of the abnormal signal determined for each abnormal control group number, the status of the abnormal signal, and
This is a set of abnormality processing steps to be executed when the abnormality signal matches the state value of the abnormality signal. That is, Table 1 is based on 1 written by 5FCc in Figure 4.
Extract only the abnormality processing failures from the 1st sequential ill, set individual abnormality judgments and abnormal processings in the abnormality control individual specification field for each step, and group the same abnormality judgments and abnormal processings for multiple steps. , the group number is set in the error control group number specification field. Further, Table 2 sets the name of the abnormal signal to be determined for each group number, the status value of the abnormal signal, and the abnormal processing step to be executed when the abnormal signal matches the status value of the abnormal signal. It is. For example, when the execution step number is Sl, if the abnormality signal Te4 is ON from the abnormality control individual specification column according to Table 1, the abnormality processing step 34E
Nii! ! (If the error signal 1e4 is OF mode, check the error side fill group number specification column.The error control group number specification column should be
" is set. Therefore, refer to the item with the abnormality control group number 1 set in Table 2, and
This indicates that if T'el is ON, the process transitions to the abnormality processing step SIE, and if the abnormality signal Te2 is OFF, the process transitions to the abnormality processing step 32E.

第2図は、本実施例の順序制御処理部の動作手順を示す
フローチャートである。第2図に基づいて順序制御部の
動作手順を説明する。まず、ステップ番号記憶部1から
実行ステップ番号を読み出す(ステート])。読み出し
た実行ステンプ番υから異常制御記憶部6の異常制御個
別指定欄に異常判定条件が登録されていなければステー
ト5の処理に移行し、登録されていればステート3の処
理に移行する(ステート2)。ステー1・3では、異常
制御個別指定欄に登録されている異常判定条件が成立し
ていればステート9に移行し、成立していなければステ
ート4に移行する。ステー1・4では、異常制御個別指
定欄にまだ登録されていないか8周べ、あればステート
3にもと′す、なければステー15に移行する。ステー
ト5では、ステート1で読み出した実行ステップ番号か
ら異常制御グループ番号指定jrIIに異常制御グルー
プ番号が登録されていなければステート10の処理に移
行し、登録されていればステート6の処理に移行する。
FIG. 2 is a flowchart showing the operation procedure of the order control processing section of this embodiment. The operation procedure of the order control section will be explained based on FIG. First, the execution step number is read from the step number storage section 1 (state). If the abnormality judgment condition is not registered in the abnormality control individual specification column of the abnormality control storage unit 6 from the read execution step number υ, the process moves to state 5, and if it is registered, the process moves to state 3 (state 2). In states 1 and 3, if the abnormality determination conditions registered in the abnormality control individual specification field are satisfied, the process moves to state 9, and if not, the process moves to state 4. In stays 1 and 4, it is checked 8 times to see if it has been registered in the abnormal control individual designation column, and if it is, it returns to state 3, otherwise it moves to stay 15. In state 5, if the abnormal control group number is not registered in the abnormal control group number designation jrII from the execution step number read in state 1, the process moves to state 10, and if it is registered, the process moves to state 6. .

ステート6では、実行ステップ番号から異常制御グルー
プ番号指定欄に登録されている異常制御グループ番号を
取り出す。ステート7では、取り出した異常制j1nグ
ループ番号から巽常制御グループ記憶部5に登録されて
いる異常判定条件が成立していればステー1・9の処理
に移行し、成立していなければステート8に移行する。
In state 6, the abnormality control group number registered in the abnormality control group number specification column is extracted from the execution step number. In state 7, if the abnormality judgment condition registered in the Tatsumi control group storage unit 5 based on the extracted abnormality control j1n group number is satisfied, the process moves to steps 1 and 9, and if it is not satisfied, the process moves to state 8. to move to.

ステー1・8では、異常制御記憶部5にステート6で取
り出した異常制御グループ番号り対応する異常判定条件
が他にまだ登録されていないかgli、lべ、あればス
テート7にもどり、なUればステー1・IOに処理を移
行する。ステート9では、該当異常処理ステップ番号を
新たに実行ステップ番号乙こ置き換え、ステーI・12
の処理に移行する。ステート10では、各ステップごと
に遷移条件を記憶している遷移条件記憶部3から実行ス
テップ番号に対応する遷移条イ1の論理状態を調べ、成
立していれば実行ステップから実行状態が遷移する先の
ステップ番号を新たに実行ステップ番号として置き換え
(ステートll)、ステート]2の処理に移行し、成立
していなければ実行ステップ番号はそのままとしてステ
ート12の処理に移行する。ステー1・12の処理では
、各ステップごとにアクションを記憶しているアクショ
ン記憶部2から実行ステ、プ番号に対応するアクション
を実行し、実行ステップ番号をステップ番号記憶部1に
保存して順序制御処理を終了する。
In steps 1 and 8, if the abnormality judgment condition corresponding to the abnormality control group number retrieved in state 6 is not yet registered in the abnormality control storage unit 5, the process returns to state 7. If so, the process moves to STATE 1 IO. In state 9, the corresponding abnormality processing step number is replaced with a new execution step number, and state I/12 is executed.
Shift to processing. In state 10, the logical state of transition condition 1 corresponding to the execution step number is checked from the transition condition storage unit 3 that stores transition conditions for each step, and if it is true, the execution state transitions from the execution step. The previous step number is replaced with a new execution step number (state 11), and the process moves to state 2. If not satisfied, the execution step number remains unchanged and the process moves to state 12. In the processing of steps 1 and 12, the action corresponding to the execution step number is executed from the action storage unit 2 that stores the action for each step, and the execution step number is stored in the step number storage unit 1 and the order Control processing ends.

U発明の効果] 以上述べたように本発明によれば、同一の異常判定を繰
り返し定義することなく、同じ効果を持つプログラマブ
ルコントローラを実現でき、しかも下記の効果を有する
U Effects of the Invention] As described above, according to the present invention, a programmable controller having the same effect can be realized without repeatedly defining the same abnormality determination, and has the following effects.

(1)いちいち異常判定のための遷移条件を記述する必
要がないので、制御の記述が簡単になる。
(1) Since there is no need to describe transition conditions for each abnormality determination, the control description becomes simple.

(2)正常処理が連続した記述になるので、処理内容が
見やすく、変更・保守も容易となる。
(2) Since the normal processing is described in a continuous manner, the processing contents are easy to see, and changes and maintenance are also easy.

(3)SFCによって記述された順序制御プログラムと
、異常判定と異常処理とを分けることによって、異常信
号の見逃しによるシーケンス動作の誤動作の防止ができ
るようになり、システムの信転性が向上する。
(3) By separating the sequential control program written by SFC, abnormality determination, and abnormality processing, it becomes possible to prevent malfunctions in sequence operations due to missed abnormality signals, and the reliability of the system is improved.

(4)従来は、異常判定の遷移条件にて判定しない限り
チエツクできなかったものが、各ステップに個別の異常
判定、異常処理と複数ステップに同一の異常判定、異常
処理に分けることによって、各ステ、ブに応して故多く
の異常をチエツクできるようになり、システムの信顧性
が向Jxする。
(4) In the past, things that could not be checked unless the abnormality judgment transition conditions were checked can now be divided into individual abnormality judgments and abnormality processing for each step, and the same abnormality judgment and abnormality processing for multiple steps. It becomes possible to check for many abnormalities depending on the status and operation, and the reliability of the system is improved.

(5)シーケンス動作を実際に錆認する場合、種々の条
件設定が必要な場合が多く、この条件設定に多くの時間
を要したり、また十分な条件設定ができない場合もある
。本発明によれば、異常信号名、異常信号の状態値、異
常処理ステップのいずれかまたは同時に変更することで
仔Q゛のステップに遷移させることができるため、ソー
ケンス動作のb育i!>のための複雑な条件設定が不要
となり、動作Gi iUのための時間を短縮でき、また
ノーケンス動作のも育認もれがなくなる。
(5) When actually checking the sequence operation for rust, it is often necessary to set various conditions, and it may take a lot of time to set the conditions, or it may not be possible to set the conditions sufficiently. According to the present invention, it is possible to change the abnormal signal name, the state value of the abnormal signal, and the abnormal processing step or at the same time to make a transition to the child Q' step. There is no need to set complicated conditions for >, the time required for the motion Gi iU can be shortened, and there will be no oversight in the no-kense motion.

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

第1図は本発明の実施例を示すし」、第2圓は本実施例
に用いられるハ1α序制御処理部の動イ1手順を示すフ
ローチャート、第3図はSFCを説明するための図、第
4図は従来の記述例を示す図である。 ■・・・ステ、プ番号記憶部、2・・・アクンヨン記憶
部・・遷移条件記憶部、 4・・順序制御処理記憶部 異常制御グル ブ記憶部 ・異常制御グル部、 7・・・順序制御処理部 8・・・プログラム入力装置とのインターフェース部特
工り出1頭人 株式会社 安j 電機製作所 第 図 正を 了 第 図 第 図
Fig. 1 shows an embodiment of the present invention, Fig. 2 is a flowchart showing the operation procedure of the control processing unit used in this embodiment, and Fig. 3 is a diagram for explaining SFC. , FIG. 4 is a diagram showing an example of conventional description. ■...Step, number storage unit, 2...Acun Yong storage unit...Transition condition storage unit, 4...Sequence control processing storage unit, abnormal control group storage unit/abnormal control group unit, 7...Sequence control Processing section 8: Interface section with program input device Specially manufactured by Anj Electric Manufacturing Co., Ltd.

Claims (1)

【特許請求の範囲】  外部の信号を取り込むための入力部と、外部へ信号を
出力するための出力部と、データメモリ部と、制御プロ
グラムを記憶しているプログラムメモリ部とプログラム
メモリ部に記憶された制御プログラムに従って演算する
演算部を有するプログラマブルコントローラにおいて、 順序制御における実行ステップ番号とステップごとの実
行プログラムと、実行順序を制御する条件を記憶してい
る順序制御記憶部と、順序制御中の複数のステップにて
行う同一の異常判定、異常処理に対して異常信号名と当
該異常信号の状態値と当該異常信号が前記異常信号の状
態値と一致した時に実行する異常処理ステップ番号を異
常制御グループ番号ごとに記憶している異常制御グルー
プ記憶部と、順序制御中の各ステップにて個別に行う異
常判定、異常処理に対して異常信号名と当該異常信号の
状態値と当該異常信号が前記異常信号の状態値と一致し
た時に実行する異常処理ステップ番号を指定する異常制
御個別指定欄と前記異常制御グループ記憶部の異常制御
グループ番号を指定する異常制御グループ番号指定欄と
からなり順序制御のステップごとに前記異常制御個別指
定欄と前記異常制御グループ番号指定欄を記憶している
異常制御記憶部と、前記順序制御記憶部と前記異常制御
グループ記憶部と前記異常制御記憶部とによって順序制
御を処理する順序制御処理部を備えたことを特徴とする
プログラマブルコントローラ。
[Claims] An input section for taking in an external signal, an output section for outputting a signal to the outside, a data memory section, a program memory section that stores a control program, and a program memory section that stores the control program. In a programmable controller that has an arithmetic unit that performs calculations according to a control program that has been set, a sequence control storage unit that stores execution step numbers and execution programs for each step in sequence control, conditions for controlling the execution order, and For the same abnormality judgment and abnormality processing performed in multiple steps, abnormality control is performed using the abnormality signal name, the state value of the abnormality signal, and the abnormality processing step number to be executed when the abnormality signal matches the state value of the abnormality signal. An abnormality control group storage unit that stores each group number, abnormality judgment performed individually at each step during sequential control, and abnormality processing for abnormality signal name, state value of the abnormality signal, and abnormality signal as described above. It consists of an individual abnormality control specification field for specifying the abnormality processing step number to be executed when it matches the status value of the abnormality signal, and an abnormality control group number specification field for specifying the abnormality control group number in the abnormality control group storage section. Sequential control is performed by an abnormality control storage unit storing the abnormality control individual designation field and the abnormality control group number designation field for each step, the sequence control storage unit, the abnormality control group storage unit, and the abnormality control storage unit. A programmable controller characterized by comprising a sequence control processing section that processes.
JP19693990A 1990-07-24 1990-07-24 Programmable controller Pending JPH04100112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19693990A JPH04100112A (en) 1990-07-24 1990-07-24 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19693990A JPH04100112A (en) 1990-07-24 1990-07-24 Programmable controller

Publications (1)

Publication Number Publication Date
JPH04100112A true JPH04100112A (en) 1992-04-02

Family

ID=16366169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19693990A Pending JPH04100112A (en) 1990-07-24 1990-07-24 Programmable controller

Country Status (1)

Country Link
JP (1) JPH04100112A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06131013A (en) * 1992-10-16 1994-05-13 Tsubakimoto Chain Co Sequence control program generating method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06131013A (en) * 1992-10-16 1994-05-13 Tsubakimoto Chain Co Sequence control program generating method

Similar Documents

Publication Publication Date Title
JPH03105405A (en) Formation of evaluation signal and circuit apparatus
US6169991B1 (en) Client server system and control method thereof
Yue et al. Petri-net-based robust supervisory control of automated manufacturing systems
JPH04100112A (en) Programmable controller
JPH0944203A (en) Redundancy control system
JP4296888B2 (en) Electronic control unit
CN113360159B (en) Method and device for software automation operation and maintenance deployment
JP2723925B2 (en) Computer-based online relocation method
JPH04100108A (en) Programmable controller
JPS61141001A (en) Structure diagnosis system of process control system
JPH0577099B2 (en)
US7006877B2 (en) Method for automatically recording an intervention in a production facility
JPS62243008A (en) Signal trace controlling system for pmc
JPH0357001A (en) Programming system
JPH0346034A (en) Information processing system
JPH04125716A (en) Power supply diagnostic system
JPH01161571A (en) Supporting system for project management
JPH0344797A (en) Monitoring system
JPH03263202A (en) Programmable controller
JP3606743B2 (en) Method and apparatus for controlling valve driving device
KR910007023B1 (en) Process monitor device and production of network chart used for the same
JP6108983B2 (en) Production system, production management device, and production management program
JPS62212730A (en) Stored programmable controller
JPH0233653A (en) Programmable controller
JPS6117014B2 (en)