JP2813277B2 - Sequence control program creation method - Google Patents

Sequence control program creation method

Info

Publication number
JP2813277B2
JP2813277B2 JP4303203A JP30320392A JP2813277B2 JP 2813277 B2 JP2813277 B2 JP 2813277B2 JP 4303203 A JP4303203 A JP 4303203A JP 30320392 A JP30320392 A JP 30320392A JP 2813277 B2 JP2813277 B2 JP 2813277B2
Authority
JP
Japan
Prior art keywords
sequence control
sfc
interlock
macro
control 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.)
Expired - Lifetime
Application number
JP4303203A
Other languages
Japanese (ja)
Other versions
JPH06131013A (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.)
Tsubakimoto Chain Co
Original Assignee
Tsubakimoto Chain Co
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 Tsubakimoto Chain Co filed Critical Tsubakimoto Chain Co
Priority to JP4303203A priority Critical patent/JP2813277B2/en
Publication of JPH06131013A publication Critical patent/JPH06131013A/en
Application granted granted Critical
Publication of JP2813277B2 publication Critical patent/JP2813277B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シーケンシャルファン
クションチャート(SFC)によるシーケンス制御方法
における制御システムのプログラム作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control system program creation method in a sequence control method using a sequential function chart (SFC).

【0002】[0002]

【従来の技術】プログラム可能なシーケンス制御装置を
用いて行われる複数の作動工程のシーケンス制御は、作
動工程の変更が容易である他、多くの利点を有するた
め、各種の技術分野で広く応用されている。プログラム
可能なシーケンス制御装置に対して指令を与えるプログ
ラムを作成するためのシーケンス制御用言語にはラダー
図方式、フロー式、ロジックシンボル方式、ペトリネッ
ト、ニーモニック方式、テーブル方式等がある。
2. Description of the Related Art Sequence control of a plurality of operation steps performed by using a programmable sequence controller is easy to change the operation steps and has many advantages, so that it is widely applied in various technical fields. ing. There are ladder diagram systems, flow systems, logic symbol systems, Petri nets, mnemonic systems, table systems, and the like as sequence control languages for creating a program for giving a command to a programmable sequence controller.

【0003】この中のラダー図方式のうちでもリレーラ
ダー処理方式が最も知られていたが、この方式は修理、
改造が困難であるため、グラフィック表現形式のシーケ
ンス制御用装置及びシーケンス制御用言語が利用される
ようになった。
[0003] Among these ladder diagram systems, the relay ladder processing system is the best known, but this system is used for repair,
Because of the difficulty in remodeling, a sequence control device and a sequence control language in a graphic expression format have been used.

【0004】グラフィック表現形式の言語の一つである
シーケンシャルファンクションチャート(以下、SF
C)は、シーケンス制御に使用される全言語に共通の順
序制御における実行順序や処理内容の表現形式で、国際
電気標準会議(IEC)の国際規格でもあるため、今後
に期待されている。
[0004] A sequential function chart (hereinafter referred to as SF), which is one of languages in a graphic expression format,
C) is an expression form of execution order and processing content in order control common to all languages used for sequence control, and is also an international standard of the International Electrotechnical Commission (IEC), and is therefore expected in the future.

【0005】一方、シーケンス制御の動作処理の記述に
は、従来、フローチャートまたはタイムチャートが用い
られてきた。フローチャートは、条件や制御及びデータ
処理の流れが直感的に理解できる反面、並列処理機能の
表現が難しく、タイムチャートは制御対象の動きと処理
機能との関係が並列的に理解できるが、構造化表現が困
難で複雑となるといった難点がある。
On the other hand, a flow chart or a time chart has conventionally been used for describing the operation processing of the sequence control. Flow charts allow intuitive understanding of the flow of conditions, control, and data processing, but it is difficult to express parallel processing functions, and time charts allow the relationship between the movement of the control target and the processing functions to be understood in parallel, but are structured. There is a drawback that expression is difficult and complicated.

【0006】シーケンス制御は逐次形順序制御であるた
め、一般的には、動作処理の記述はフロー図で行われて
きた。しかし、フローチャートは割り込み動作の記述が
出来ず、動作の因果関係や運転モードの分岐等が示しに
くいといった欠点がある。
[0006] Since the sequence control is a sequential order control, generally, the description of the operation processing has been performed in a flow chart. However, the flowchart has a drawback that the interrupt operation cannot be described, and the causal relationship of the operation, the branching of the operation mode, and the like are hardly shown.

【0007】この点でも、SFCはステップをマクロな
機能ブロックで表現し、そのステップを順次詳細なSF
Cで表現するので構造化が容易である。SFCは、シー
ケンス制御の実行順序や処理内容を視覚的に分かりやす
く記述できる表記法であると同時に、プログラム作成を
容易にする言語でもある。
[0007] Also in this regard, the SFC expresses steps by macro functional blocks, and sequentially describes the steps in detail SF.
Since it is represented by C, structuring is easy. SFC is a notation that can describe the execution order and processing contents of sequence control in a visually understandable manner, and is also a language that facilitates program creation.

【0008】図1は、従来のSFCの一例のモデルを示
す説明図である。SFCはステップ、トランジション、
リンクの3つの記述要素によって構成される。ステップ
は1つのアクションを表すもので、アクティブな論理状
態とイナクティブな論理状態を持ち、アクティブな状態
(条件成立状態)のときだけに1対1に対応するアクシ
ョンの内容を実行する。
FIG. 1 is an explanatory diagram showing a model of an example of a conventional SFC. SFC is a step, transition,
The link is composed of three description elements. The step represents one action, has an active logical state and an inactive logical state, and executes the contents of the action corresponding to one-to-one only in the active state (condition satisfied state).

【0009】各ステップにはそれぞれ対応する動作回路
がある。トランジションは、あるアクティブな論理状態
のステップからリンクを介して隣接するイナクティブな
論理状態のステップへ遷移するための実行処理遷移条件
を示すものである。各トランジションにはそれぞれ対応
する遷移条件回路がある。リンクはステップ間を接続
し、遷移の道程を示すもので、同時分岐、選択分岐の形
がある。
Each step has a corresponding operation circuit. A transition indicates an execution process transition condition for transitioning from a certain active logical state step to an adjacent inactive logical state step via a link. Each transition has a corresponding transition condition circuit. The link connects the steps and indicates the path of the transition, and includes a simultaneous branch and a selective branch.

【0010】その結果、1対1に対応する遷移条件は上
に接続されるステップがアクティブ状態の時のみに実行
され、遷移条件の処理結果は論理値「0」または論理条
件「1」(遷移条件成立)で示される。このような形で
書かれたSFCは、どのようなステップ、トランジショ
ンであっても、SFC対応のシーケンス制御装置のプロ
グラムに書き換えが可能である。
As a result, the transition condition corresponding to one-to-one is executed only when the step connected above is in the active state, and the processing result of the transition condition is a logical value “0” or a logical condition “1” (transition condition). The condition is satisfied). An SFC written in such a form can be rewritten to a program of an SFC-compatible sequence control device at any step or transition.

【0011】[0011]

【発明が解決しようとする課題】シーケンス制御は、予
め定められた順序、または一定の論理によって定められ
た順序にしたがって制御の各段階を逐次進める、非同期
性と並列性を有する離散システムであるといえる。
The sequence control is a discrete system having asynchronous and parallel properties in which each stage of the control is sequentially advanced according to a predetermined order or an order defined by a certain logic. I can say.

【0012】シーケンス制御を状態方程式と出力方程式
で示すと、 (1) z(k+1)=H{z(k),v(k)} (2) W(k)=Q{z(k),v(k)} となる。
The sequence control is represented by a state equation and an output equation: (1) z (k + 1) = H {z (k), v (k)} (2) W (k) = Q {z (k), v (k)}.

【0013】ここで、vはm個の構成要素への操作ベク
トル、zはm個の構成要素がそれぞれn個の内部状態を
持つことを示す状態ベクトル、Wはm個の構成要素とそ
れぞれの構成要素のn個の内部状態との組み合わせ出力
ベクトル即ち各ステップのアクティブ/イナクティブな
論理状態、H、Qは行列関数を示している。
Here, v is an operation vector to m components, z is a state vector indicating that m components have n internal states, and W is m components and each of them. The output vector in combination with the n internal states of the component, that is, the active / inactive logic state of each step, H and Q indicate matrix functions.

【0014】(1)式は次ステップの各構成要素の内部
状態がそのときのステップの各構成要素の内部状態と入
力によって与えられることを示している。(2)式は出
力が各構成要素の内部状態とそのときの入力から与えら
れることを示している。
Equation (1) indicates that the internal state of each component in the next step is given by the internal state of each component in the current step and the input. Equation (2) indicates that the output is given from the internal state of each component and the input at that time.

【0015】SFCの動作記述の基本構成は、状態方程
式及び出力方程式をほぼ反映しており、記述したことと
併せても、たいへん優秀なシーケンス制御の動作の記述
方法であって、特に自動運転などの正常動作の順序制御
を表現するのに適当であることが分かる。
The basic structure of the operation description of the SFC substantially reflects the state equation and the output equation. In addition to the description, it is a very excellent description method of the operation of the sequence control. Is suitable for expressing the order control of the normal operation of.

【0016】しかし、SFCは条件論理の表現が難しい
という欠点がある。条件論理とは「常時見ている必要の
ある条件」であって、シーケンス制御システムには当然
存在しているが、例えば、SFCは、任意に操作される
異常時の処理内容などの表現が出来ない。
However, the SFC has a drawback that it is difficult to express conditional logic. The condition logic is a condition that needs to be constantly monitored, and naturally exists in the sequence control system. For example, the SFC can express the processing contents at the time of abnormal operation that is arbitrarily operated. Absent.

【0017】先述の状態方程式及び出力方程式に示され
る「出力は各構成要素の内部状態とそのときの入力から
与えられる」の内部状態を示す要素として、各ステップ
及び各トランジションの内部条件を示すには、SFCだ
けではまだ不十分である。
The internal condition of each step and each transition is shown as an element indicating the internal state of “the output is given from the internal state of each component and the input at that time” shown in the above-mentioned state equation and output equation. Is still not enough with SFC alone.

【0018】つまり、SFCだけでは、ステップの動作
条件を的確に表現できない。そのためインターロックを
的確に記述することが出来ない。SFCは、従来のシー
ケンス制御の動作処理の記述に使われていたフローチャ
ート同様、割り込み動作及び、割り込み動作後の復旧等
の動作の記述も出来ない。
That is, the SFC alone cannot accurately represent the operating conditions of the step. Therefore, the interlock cannot be accurately described. The SFC cannot describe the interrupt operation and the operation such as recovery after the interrupt operation, as in the flow chart used to describe the operation processing of the conventional sequence control.

【0019】本発明は、シーケンス制御の実行順序や処
理内容が視覚的に分かりやすく、プログラムへの書き換
えも容易な表記法であって、内部状態を明白に表現で
き、割り込み動作等に充分対応できるシーケンス制御の
プログラム作成方法を提供することを目的とする。
The present invention is a notation system in which the execution order and processing contents of the sequence control are visually easy to understand and can be easily rewritten into a program, which can express the internal state clearly and can sufficiently cope with an interrupt operation and the like. An object of the present invention is to provide a sequence control program creation method.

【0020】[0020]

【課題を解決するための手段】上記の課題を解決するた
めに、常時見ている必要のある条件を表記したシーケン
シャルファンクッションチャートの各ステップ及び各ト
ランジションにインターロックマクロを加えるととも
に、このインターロックマクロが読み出す割り込み動作
及び割り込みからの復旧動作を記述することにより、条
件論理の表現、即ち、任意に操作される異常時の処理内
容などの表現に対応する。
In order to solve the above-mentioned problems, an interlock macro is added to each step and each transition of a sequential fan cushion chart in which conditions that must be constantly viewed are written. By describing the interrupt operation read by the macro and the recovery operation from the interrupt, it is possible to cope with the expression of the conditional logic, that is, the expression of the processing contents at the time of abnormality which is arbitrarily operated.

【0021】RFCで記述するものは、任意に発生す
る、ないし、通常発生する動作と処理条件である。具体
的にはシーケンス制御上重要な、トラブル、運転モード
切り換え、運転/停止等をRFCで記述する。
What is described by RFC are operations and processing conditions which are arbitrarily generated or normally generated. Specifically, troubles, operation mode switching, operation / stop, etc., which are important in sequence control, are described in RFC.

【0022】SFCの各ステップ及び各トランジション
にインターロックマクロという要素を追加することによ
り、各ステップ及び各トランジションの内部条件の充分
な表現を可能とする。
By adding an element called an interlock macro to each step and each transition of the SFC, it is possible to sufficiently express the internal conditions of each step and each transition.

【0023】本発明のシーケンス制御システムの動作の
記述方法は、SFCとインターロックマクロ一覧表とR
FCによって構成されるものである。インターロックマ
クロとは、システムの操作、運転に関する許可あるいは
禁止などの制約条件で、具体的には、運転条件、条件、
記憶、トラブル、故障診断、安全に分類され、簡単な記
述で表現される。
The description method of the operation of the sequence control system of the present invention is based on the SFC, the interlock macro list, and the R
It is constituted by FC. An interlock macro is a constraint condition such as permission or prohibition on operation and operation of the system. Specifically, the operation condition, condition,
It is classified into memory, trouble, failure diagnosis, and safety, and is expressed in a simple description.

【0024】[0024]

【実施例】本発明の実施例を図面とともに説明する。図
2及び3は、本発明のシーケンス制御システムの動作の
記述方法を用いて構成したマテリアルハンドリング自動
制御システムにおける実施例を示す図面である。
An embodiment of the present invention will be described with reference to the drawings. FIGS. 2 and 3 are views showing an embodiment of a material handling automatic control system configured using the method for describing the operation of the sequence control system of the present invention.

【0025】図2は、SFCで記述されたシーケンス制
御の動作処理である。図3は、ステップ/トランジショ
ン(SFC)とインターロックマクロとの対応関係を示
したものであり、動作モードはオート、マニュアル、イ
ンチングの3モードからなる。各モードのSFC右欄の
インターロックマクロには、条件論理として例えば定位
値停止と表記されているように、トラブル、モード切り
換え、運転と停止が表記されるものである。
FIG. 2 shows an operation process of sequence control described in SFC. FIG. 3 shows the correspondence between the step / transition (SFC) and the interlock macro. The operation mode includes three modes: auto, manual, and inching. In the interlock macro in the SFC right column of each mode, trouble, mode switching, operation and stop are described as conditional logic, for example, described as stop of localization value.

【0026】図5には、常時見ている必要のある条件を
表記したSFCに、対応するインターロックマクロ一覧
表を示す。図3のインターロックマクロ中に記された運
転条件に対応する内容が図5のマクロ一覧表に一括して
記述されている。一連のインターロックマクロの条件が
整うまで動作が保持される。
FIG. 5 shows a list of interlock macros corresponding to the SFC in which conditions that need to be constantly viewed are described. The contents corresponding to the operating conditions described in the interlock macro of FIG. 3 are collectively described in the macro list of FIG. The operation is held until the conditions of a series of interlock macros are satisfied.

【0027】図4には、テーブル方式のRFCを示す。
図5のインターロックマクロ条件にあった、インターロ
ックマクロが読み出す条件論理に対応する機器の具体的
な操作と動作が記述されている。
FIG. 4 shows a table type RFC.
The specific operation and operation of the device corresponding to the condition logic read by the interlock macro, which corresponds to the interlock macro condition of FIG. 5, are described.

【0028】[0028]

【発明の効果】上記したように、本発明のシーケンス制
御システムの動作の記述方法によれば、SFCによるシ
ーケンス制御の動作の正確な記述が可能となる。インタ
ーロックマクロとこのインターロックマクロが必要とす
る場合だけ読み出すRFCによって、従来のようなSF
Cが苦手としていた割り込み動作及び割り込み復旧動作
を補完することができる。
As described above, according to the method for describing the operation of the sequence control system of the present invention, it is possible to accurately describe the operation of the sequence control by the SFC. The interlock macro and the RFC which is read only when required by the interlock macro make it possible to use a conventional SF.
It is possible to complement the interrupt operation and the interrupt recovery operation that C was not good at.

【0029】また、インターロックマクロ一覧表を用い
ているため、ステップ及びトランジションの動作条件を
的確に記述できる。本発明のシーケンス制御システムの
動作の記述方法で書かれた動作は、ラダー図方式等のシ
ーケンス制御用プログラムに容易に書き換えられること
も出来るため、プログラミングが容易になる等の効果が
ある。
Further, since the interlock macro list is used, the operation conditions of the steps and transitions can be accurately described. The operation described by the method for describing the operation of the sequence control system of the present invention can be easily rewritten to a sequence control program of a ladder diagram system or the like, and thus has an effect of facilitating programming.

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

【図1】 従来のSFCの一例のモデルを示す説明図で
ある。
FIG. 1 is an explanatory diagram showing a model of an example of a conventional SFC.

【図2】 本発明の実施例におけるSFCを示す図であ
る。
FIG. 2 is a diagram showing an SFC in an embodiment of the present invention.

【図3】 本発明の実施例におけるSFCとインターロ
ックマクロとの対応関係を示す図である。
FIG. 3 is a diagram illustrating a correspondence relationship between an SFC and an interlock macro in the embodiment of the present invention.

【図4】 本発明の実施例におけるテーブル方式のRF
Cを示す。
FIG. 4 is a table type RF according to an embodiment of the present invention.
C is shown.

【図5】 本発明の実施例におけるインターロックマク
ロ一覧表である。
FIG. 5 is a list of interlock macros according to the embodiment of the present invention.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 シーケンシャルファンクッションチャー
トを用いるシーケンス制御プログラム作成方法におい
て、常時見ている必要のある条件を表記したシーケンシ
ャルファンクッションチャートの各ステップ及び各トラ
ンジションにインターロックマクロを加えるとともに、
該インターロックマクロが読み出す割り込み動作及び割
り込みからの復旧動作を記述するランダムファンクッシ
ョンチャートを用いることを特徴とするシーケンス制御
プログラム作成方法。
In a method for creating a sequence control program using a sequential fan cushion chart, an interlock macro is added to each step and each transition of the sequential fan cushion chart in which conditions that need to be constantly viewed are described.
A method for creating a sequence control program, characterized by using a random fan cushion chart describing an interrupt operation read by the interlock macro and a recovery operation from the interrupt.
【請求項2】 前記ランダムファンクッションチャート
がテーブル方式の一覧表であることを特徴とする請求項
1記載のシーケンス制御プログラム作成方法。
2. The sequence control program creating method according to claim 1, wherein the random fan cushion chart is a table-type list.
JP4303203A 1992-10-16 1992-10-16 Sequence control program creation method Expired - Lifetime JP2813277B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4303203A JP2813277B2 (en) 1992-10-16 1992-10-16 Sequence control program creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4303203A JP2813277B2 (en) 1992-10-16 1992-10-16 Sequence control program creation method

Publications (2)

Publication Number Publication Date
JPH06131013A JPH06131013A (en) 1994-05-13
JP2813277B2 true JP2813277B2 (en) 1998-10-22

Family

ID=17918127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4303203A Expired - Lifetime JP2813277B2 (en) 1992-10-16 1992-10-16 Sequence control program creation method

Country Status (1)

Country Link
JP (1) JP2813277B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4529312B2 (en) * 2001-04-26 2010-08-25 富士電機システムズ株式会社 Program specification creation device, creation method, and sequence control system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5599602A (en) * 1979-01-22 1980-07-29 Omron Tateisi Electronics Co Process advance type sequence controller
JPS5960501A (en) * 1982-09-30 1984-04-06 Toshiba Corp Sequence control device
JP2523191B2 (en) * 1989-09-01 1996-08-07 富士機械製造株式会社 Sequence control device
JPH04100108A (en) * 1990-06-26 1992-04-02 Yaskawa Electric Corp Programmable controller
JPH04100112A (en) * 1990-07-24 1992-04-02 Yaskawa Electric Corp Programmable controller
JP3328686B2 (en) * 1992-08-04 2002-09-30 オムロン株式会社 Programmable controller

Also Published As

Publication number Publication date
JPH06131013A (en) 1994-05-13

Similar Documents

Publication Publication Date Title
Erickson Programmable logic controllers
JP4754793B2 (en) State machine function block with user modifiable output configuration database
US9348329B2 (en) Multiple Boolean inputs and outputs for device function blocks
CN101669077B (en) Debug system for diagram of orogrammable controller, its programming device and its debugging method
US5963446A (en) Extended relay ladder logic for programmable logic controllers
JP2813277B2 (en) Sequence control program creation method
JP2011002868A (en) Sequence control program automatic generation device
JP2001005517A (en) Monitor method for control program and its device
Baracos Grafcet step by step
JP2008118518A (en) Plant monitoring controller
JP7404645B2 (en) Programmable controller operation history recording method and sequence program
JP2003223204A (en) Programming method of programmable controller, system thereof and recording medium thereof
Vingron The SCV-Module
JP2533373B2 (en) Control program creation method
JP3730844B2 (en) Sequence control system modeling system, sequence program creation support system, and medium storing the creation support program
KR100423742B1 (en) Exclusive control system by sequential function chart
Olsson Programmable Logic Controllers
JPH11212606A (en) Programming device and program monitoring device
JPH0552961B2 (en)
JPH11167409A (en) Program controller operating by parallel language
JP6132675B2 (en) Plant operation monitoring device
JP4551665B2 (en) Diagram language programming method
JP2653409B2 (en) Programmable controller program development equipment
JPH02267602A (en) Sequence controller
JP3015598B2 (en) Programmable controller