JP2938246B2 - Behavioral description programmable controller - Google Patents
Behavioral description programmable controllerInfo
- Publication number
- JP2938246B2 JP2938246B2 JP28624191A JP28624191A JP2938246B2 JP 2938246 B2 JP2938246 B2 JP 2938246B2 JP 28624191 A JP28624191 A JP 28624191A JP 28624191 A JP28624191 A JP 28624191A JP 2938246 B2 JP2938246 B2 JP 2938246B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- state
- input
- plant
- control output
- 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
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 a programmable controller for controlling, for example, equipment of a plant to be controlled, and more particularly to a programmable controller capable of immediately leading and outputting a control output corresponding to a state change of a plant to be controlled. The present invention relates to an operation description type programmable controller.
【0002】[0002]
【従来の技術】最近、各種のプラントにおいては、プラ
ントの機器等を制御するプログラマブルコントローラが
多く用いられている。通常、この種のプログラマブルコ
ントローラは、ストアードプログラム方式であり、グラ
フィックプログラマ等のツールを用いて、あたかもハー
ドワイヤードシーケンス回路を作成するかのように、例
えば図8に示すようにプログラム設計を行なっている。
なお、図8の(a)と図8の(b)とは、同一動作を示
す異種表現のラダーダイアグラムである。2. Description of the Related Art Recently, in various plants, programmable controllers for controlling plant equipment and the like are often used. Normally, the programmable controller of this type are stored-program method, is performed by using a tool such as a graphics programmer, as if creating a hard-wired sequence circuit, for example, a program designed as shown in FIG. 8 .
8A and 8B are ladder diagrams of different expressions showing the same operation.
【0003】しかしながら、シーケンスに不慣れな利用
者等は、プログラムの設計作業に時間が多くかかってし
まうばかりでなく、繁雑なシーケンスプログラムを構築
してしまい、プログラムのデバックメンテナンスに支障
をきたすケースも少なからず発生している。However, users who are unfamiliar with the sequence not only take a lot of time to design the program, but also construct a complicated sequence program, which often hinders the debug maintenance of the program. Have occurred.
【0004】すなわち、前述のようなシーケンスプログ
ラムでは、制御対象を仕様通り(仕様上決めた一定の動
作)に動作させるための方法は、一意的に決定されるも
のではなく、様々なシーケンスプログラムで実現するこ
とができ、プラントの動作と一対一対応していない。従
って、シーケンスに不慣れな利用者は、ますます複雑な
シーケンスプログラムを作成してしまう傾向にある。That is, in the above-described sequence program, the method for operating the control target according to the specification (constant operation determined in the specification) is not uniquely determined, but is determined by various sequence programs. It can be realized and does not correspond one-to-one with the operation of the plant. Therefore, users unfamiliar with sequences tend to create increasingly complex sequence programs.
【0005】[0005]
【発明が解決しようとする課題】以上のように、従来の
プログラマブルコントローラにおいては、制御対象のプ
ラントの動作とプログラムとを一対一対応させることが
できず、プログラムの設計を行なうのが困難であるとい
う問題があった。As described above, in the conventional programmable controller, the operation of the plant to be controlled cannot be made to correspond one-to-one with the program, and it is difficult to design the program. There was a problem.
【0006】本発明の目的は、制御対象のプラントの動
作とプログラムとを一意的に決定してプログラムの設計
を容易に行なうことができ、制御対象のプラントの状態
変化に対応する制御出力を直ちに出力することが可能な
極めて信頼性の高い動作記述式プログラマブルコントロ
ーラを提供することにある。An object of the present invention is to uniquely determine the operation of a plant to be controlled and a program to easily design a program, and to immediately output a control output corresponding to a state change of a plant to be controlled. An object of the present invention is to provide an extremely reliable operation description type programmable controller capable of outputting.
【0007】[0007]
【課題を解決するための手段】上記の目的を達成するた
めに本発明では、制御対象のプラントの状態データを一
定の周期で入力する入力手段と、制御対象のプラントの
状態データと制御出力データとを関連付けて表わした制
御対象のプラントの動作を示す予め設計されたタイムチ
ャートが複数のステップに分割され、プラントの状態変
化と当該状態変化に続くプラントの状態とからなるデー
タテーブル形式に変換されて入力されたプログラムデー
タを蓄えるプログラムデータ格納部、および被入力処理
データ格納部を有する記憶手段と、入力手段により入力
された状態データについて入力処理を行ない、前回状態
データと今回状態データとの比較により、状態変化があ
った状態データについては状変データを、また状態変化
がなかった状態データについては今回状態データを、被
入力処理データとして記憶手段の被入力処理データ格納
部に蓄える入力処理機能、被入力処理データ格納部に蓄
えられた被入力処理データとプログラムデータ格納部に
蓄えられたプログラムデータの全てのステップとを比較
し、一致したステップを抽出するパターンチェック処理
機能、および抽出されたステップに続く次のステップに
規定されている制御出力データをプログラムデータ格納
部より抽出する制御出力処理機能を有する演算処理手段
と、演算処理手段により抽出された制御出力データに対
応する制御出力を、制御対象に対して出力する出力手段
とを備えて構成している。In order to achieve the above object, the present invention provides an input means for inputting state data of a plant to be controlled at a constant cycle, state data and control output data of a plant to be controlled. is divided into pre-designed time chart several steps shows the operation of the control target plant, expressed in association with bets, is converted into a data table format consisting of a state of the state change and plant following the state change of the plant Program data entered
Data storage for storing data and input processing
A storage unit having a data storage unit and an input process are performed on the state data input by the input unit, and by comparing the previous state data and the current state data, state change data is obtained for state data having a state change, and For the status data having no status change, the input processing function of storing the current status data in the input processing data storage unit of the storage means as the input processing data, the input processing data and the program stored in the input processing data storage unit A pattern check processing function that compares all the steps of the program data stored in the data storage unit and extracts a matched step, and outputs control output data specified in the next step following the extracted step to the program data Arithmetic processing means having a control output processing function for extracting from a storage part, and arithmetic processing means A control output corresponding to a more extracted control output data constitutes an output means for outputting to the control object.
【0008】[0008]
【作用】従って、本発明の動作記述式プログラマブルコ
ントローラにおいては、入力手段より入力された状態デ
ータが入力処理され、前回状態データと今回状態データ
とが比較され、状態変化があった状態データについては
状変データが、状態変化がなかった状態データについて
は今回状態データが、被入力処理データとして記憶手段
に蓄えられる。次に、記憶手段に蓄えられた被入力処理
データと、あらかじめ蓄えられているプログラムデータ
とが比較され、その結果一致したステップがある場合に
は、そのステップに続く次のステップに規定されている
制御出力データが記憶手段より抽出される。そして、こ
の抽出された制御出力データに対応する制御出力が、制
御対象に対して出力されることにより、制御対象のプラ
ントの状態変化に対応する制御出力を直ちに出力するこ
とができる。Therefore, in the operation description type programmable controller of the present invention, the status data input from the input means is input, the previous status data is compared with the current status data, and the status data having a status change is determined. As for the state data in which the state change data has not been changed, the current state data is stored in the storage means as input processing data. Next, the input process data stored in the storage means is compared with the program data stored in advance, and if there is a matching step, the next step following the step is defined. The control output data is extracted from the storage means. Then, the control output corresponding to the extracted control output data is output to the control target, so that the control output corresponding to the state change of the plant to be controlled can be output immediately.
【0009】[0009]
【実施例】まず、本発明の考え方について説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the concept of the present invention will be described.
【0010】一般に、制御対象をコントロールするため
に設計者達が行なう作業は、制御対象の動きと、その動
きに至る種々の状態の変化をとらえることである。この
状態を端的に記述できる方法は、時系列的に記述したタ
イムチャートである。そこで、本発明では、このタイム
チャートを、種々の状態の変化と、その状変に続く制御
対象の状態(ステータス)とから構成し、このタイムチ
ャート上の状態の変化とその状変に応じた制御対象への
指令とその指令に応じた制御対象の状態とをコントロー
ラに記憶させておき、いつでも参照できるような構成と
する。In general, the tasks performed by designers to control a controlled object are to capture the movement of the controlled object and changes in various states leading to the movement. A method that can briefly describe this state is a time chart that describes the state in chronological order. Therefore, in the present invention, this time chart is composed of changes in various states and states (statuses) of the control target following the state changes, and the states on the time chart correspond to the state changes and the state changes . To the controlled object
The command and the state of the control target corresponding to the command are stored in the controller and can be referred to at any time.
【0011】以上により、コントローラに入力される種
々の状態を、入出力のスキャン毎にチェックして状態の
変化をとらえ、その変化状態をコントローラに記憶させ
た状態の変化データと比較する。その結果、状変が一致
した場合に、データ部より状変が一致したデータに応じ
た制御対象への指令により、それに続く状態へ制御対象
の状態を移して、制御対象をコントロールするものであ
る。以下、上記のような考え方に基づく本発明の一実施
例について、図面を参照して詳細に説明する。As described above, the various states input to the controller are checked for each input / output scan to detect a change in the state, and the changed state is compared with the state change data stored in the controller. As a result, when a state change is matched, according to the data shape from the data unit variable matches
In response to a command to the controlled object, the state of the controlled object is shifted to a subsequent state to control the controlled object. Hereinafter, an embodiment of the present invention based on the above concept will be described in detail with reference to the drawings.
【0012】図1は、本発明による動作記述式プログラ
マブルコントローラの構成例を示す機能ブロック図であ
る。本実施例の動作記述式プログラマブルコントローラ
は、図1に示すように、入力手段1と、プログラム作成
手段であるプログラミングツール2と、記憶手段3と、
演算処理手段4と、出力手段5と、制御手段6とから構
成している。ここで、入力手段1は、後述する制御対象
のプラントの状態データを、制御手段6からのタイミン
グ信号により一定の周期で入力するものである。FIG. 1 is a functional block diagram showing a configuration example of an operation description type programmable controller according to the present invention. As shown in FIG. 1, an operation description type programmable controller according to the present embodiment includes an input unit 1, a programming tool 2 as a program creation unit, a storage unit 3,
It comprises arithmetic processing means 4, output means 5, and control means 6. Here, the input means 1 is for inputting state data of a plant to be controlled, which will be described later, at a constant cycle based on a timing signal from the control means 6.
【0013】また、プログラミングツール2は、制御対
象のプラントの状態データと制御出力データとを関連付
けて表わした制御対象のプラントの動作を示すタイムチ
ャートを複数のステップに分割し、プラントの状態変化
と当該状態変化に続くプラントの状態とからなるデータ
テーブル形式でプログラムデータとして作成するもので
ある。Further, the programming tool 2 divides the time chart showing the operation of the plant to be controlled, which shows the state data of the plant to be controlled and the control output data in association with each other, into a plurality of steps, This is created as program data in a data table format including the state of the plant following the state change.
【0014】さらに、記憶手段3は、被入力処理データ
格納部、およびプログラミングツール2により作成され
たプログラムデータを蓄えるプログラムデータ格納部を
有するものである。Further, the storage means 3 has an input processing data storage section and a program data storage section for storing program data created by the programming tool 2.
【0015】一方、演算処理手段4は、入力手段1によ
り入力された状態データについて入力処理を行ない、前
回状態データと今回状態データとの比較により、状態変
化があった状態データについては状変データを、また状
態変化がなかった状態データについては今回状態データ
を、被入力処理データとして記憶手段3の被入力処理デ
ータ格納部に蓄える入力処理機能、被入力処理データ格
納部に蓄えられた被入力処理データとプログラムデータ
格納部に蓄えられたプログラムデータの全てのステップ
とを比較し、一致したステップを抽出するパターンチェ
ック処理機能、および抽出されたステップに続く次のス
テップに規定されている制御出力データをプログラムデ
ータ格納部より抽出する制御出力処理機能を有するもの
である。また、出力手段5は、演算処理手段4により抽
出された制御出力データに対応する制御出力を、制御対
象に対して出力するものである。さらに、制御手段6
は、上記入力手段1、記憶手段3、演算処理手段4、出
力手段5の同期をとるためのタイミング信号を発生する
ものである。On the other hand, the arithmetic processing means 4 performs an input process on the state data input by the input means 1 and compares the previous state data with the current state data to determine the state data having a state change. And an input processing function for storing the current state data in the input processing data storage section of the storage means 3 as input processing data for the state data in which the state has not changed, the input processing stored in the input processing data storage section. A pattern check processing function for comparing the process data with all the steps of the program data stored in the program data storage unit and extracting a matched step, and a control output defined in the next step following the extracted step It has a control output processing function of extracting data from the program data storage unit. The output unit 5 outputs a control output corresponding to the control output data extracted by the arithmetic processing unit 4 to a control target. Further, the control means 6
Generates a timing signal for synchronizing the input means 1, the storage means 3, the arithmetic processing means 4, and the output means 5.
【0016】次に、上記プログラミングツール2から入
力するデータ、およびそのデータの記憶手段3上のフォ
ーマットの構成例を、図2および図3に示すような仕様
のプラントを例として説明する。Next, data input from the programming tool 2 and a configuration example of the format of the data on the storage means 3 will be described with reference to a plant having specifications as shown in FIGS. 2 and 3 as an example.
【0017】図2において、ポンプ7によって下槽8よ
り水を上槽9へ送るシステム(制御対象のプラント)
で、ポンプ7の駆動用電動機10は、コンタクタ(8
8)11の入/切によってコントロールするようにして
いる。また、コンタクタ(88)11、すなわちポンプ
7の制御内容としては、例えば上槽9の水位L以下(33
W2L )で運転(ON)、水位H以上で(33W2H )停止
(OFF)させると共に、吸込側の下槽8の水位LL以
下(33W1LL) では緊急停止させるものとする。このよう
な条件を規定する(プラントに課せられた仕様)ことに
より、信号33W2H ,33W2L ,33W1LLとコンタクタ(8
8)11に係わるタイムチャートは、図3に示すように
横軸を時間として記することができる。そして、このタ
イムチャートは、制御対象のプラントの機器の必要な動
作(プラントに課せられた仕様)と一対一対応となって
いる。In FIG. 2, a system for sending water from a lower tank 8 to an upper tank 9 by a pump 7 (a plant to be controlled)
The driving motor 10 of the pump 7 is provided with a contactor (8
8) Control is performed by turning on / off 11. The control contents of the contactor (88) 11, that is, the pump 7, include, for example, the water level L of the upper tank 9 or lower (33
W2L), the operation is stopped (OFF) when the water level is higher than H (33W2H), and the emergency stop is performed when the water level is lower than LL (33W1LL) in the lower tank 8 on the suction side. By defining such conditions (specifications imposed on the plant), the signals 33W2H, 33W2L, 33W1LL and the contactor (8
8) In the time chart relating to 11, the horizontal axis can be described as time, as shown in FIG. The time chart is in one-to-one correspondence with the required operation of the equipment of the plant to be controlled (specification imposed on the plant).
【0018】一方、プログラミングツール2では、前述
のタイムチャートを入力する訳であるが、まず、タイム
チャートの分割を行なう。このタイムチャートは、状態
の変化とその状変に続く状態を示すものであるから、状
変部分とそれに続く状態部分とに区分すれば取扱いが容
易になる。このような処理を施したものが、図4の上段
のようになる。ここで、構成している状変が、OFFか
らONへ変化するのをピックアップ(P)、ONからO
FFへ変化するものをドロップアウト(D)、ON状態
を(1)、OFF状態を(0)と表現すれば、分割され
たタイムチャートは図4の下段のようなデータテーブル
に変換できる。そして、この変換されたデータテーブル
をそのままのイメージで、プログラミングツール2によ
りコントローラ内の記憶手段3にローディングしてい
る。次に、以上のように構成した本実施例の動作記述式
プログラマブルコントローラの作用について、図5ない
し図7を用いて説明する。On the other hand, the programming tool 2 inputs the above-described time chart. First, the time chart is divided. Since this time chart shows a state change and a state following the state change, handling is easy if it is divided into a state change part and a state part following the state change part. The result of such processing is shown in the upper part of FIG. Here, the pickup (P) and the change from ON to O in which the configuration change is changed from OFF to ON.
If the change to FF is expressed as dropout (D), the ON state is expressed as (1), and the OFF state is expressed as (0), the divided time chart can be converted into a data table as shown in the lower part of FIG. Then, the converted data table is loaded into the storage means 3 in the controller by the programming tool 2 as it is. Next, the operation of the operation description type programmable controller of the present embodiment configured as described above will be described with reference to FIGS.
【0019】まず、状態データは入力手段1より入力さ
れ、演算処理手段4内で入力処理して記憶手段3の被入
力処理データ格納部へ格納される。すなわち、演算処理
手段4内の入力処理部では、各状態データについて、
“OLD”“NEW”“状変”の3種類のデータに処理
される。まず、コントローラのスキャンのタイミングで
状態データが読み込まれ、“NEW”データとして扱わ
れる。そして、この“NEW”データと“OLD”デー
タとを比較して、状変が検出される。図5の例では、33
W2L のデータが新しくONとなった場合を示しており、 {“OLD”XOR“NEW”}AND“NEW”→1
ならばP(ピックアップ) すなわち33W2L 信号がPピックアップ状態になった(状
変)ことが検出される。そして、この状変データが“状
変部”へ格納される。First, the state data is input from the input means 1, input processed in the arithmetic processing means 4, and stored in the input processing data storage section of the storage means 3. That is, in the input processing unit in the arithmetic processing means 4, for each state data,
Processing is performed on three types of data, “OLD”, “NEW”, and “state change”. First, state data is read at the timing of scanning by the controller, and is treated as "NEW" data. Then, by comparing the “NEW” data with the “OLD” data, a state change is detected. In the example of FIG.
This shows a case where the data of W2L is newly turned ON. {“OLD” XOR “NEW”} AND “NEW” → 1
Then, it is detected that the P (pickup), that is, the 33W2L signal has entered the P pickup state (change of state). Then, the shape change data is stored in the “state change portion”.
【0020】次に、“OLD”データを更新して“NE
W”データと置き換えられた後、状変がなかったデータ
(本例の場合、33W1LL,33W2H)は、“NEW”データ
が“状変部”へ書き込まれ、最終的に記憶手段3上の被
入力処理データ格納部へ、被入力処理データとして転送
処理される。次に、演算処理手段4では、この被入力処
理データとプログラムデータとの比較パターンチェック
処理が、図6に示すような方法によって行なわれる。Next, the "OLD" data is updated to "NE".
After the data is replaced with the “W” data, the data that has not changed state (33W1LL, 33W2H in this example) is written with “NEW” data in the “state change section”, and is finally The input processing data is transferred to the input processing data storage unit as input processing data.The arithmetic processing unit 4 checks the comparison pattern between the input processing data and the program data by a method as shown in FIG. Done.
【0021】すなわち、上記の被入力処理データとプロ
グラムデータ(タイムチャートから転換したデータ)の
全てのステップとが比較され、その結果一致したステッ
プが抽出される。本例では、状変データが33W1LL
“O”、33W2L “P”、32W2H “O”であるから、プロ
グラムデータ上の同一値をもつステップ1状態がこれに
相当する。次に、このようにしてパターンチェック処理
したデータを用いて制御対象に出力を与える制御出力処
理が、図7に示すような方法によって行なわれる。That is, the above-mentioned input processing data and all steps of the program data (data converted from the time chart) are compared, and as a result, the steps which match are extracted. In this example, the state change data is 33W1LL
Since "O", 33W2L "P" and 32W2H "O", the step 1 state having the same value on the program data corresponds to this. Next, a control output process for giving an output to a control target using the data subjected to the pattern check process is performed by a method as shown in FIG.
【0022】すなわち、上記で比較パターンチェック処
理して得られたステップ(本例ではステップ1)に続く
ステップ(本例ではステップ2)へ移行(ステップの遷
移)し、このステップ2上に規定されている制御出力部
のデータが、記憶手段3のプログラムデータ部より抽出
される。そして、この抽出された制御出力データに基づ
く制御出力信号が、出力手段5より制御対象に対して出
力される。本例では、次ステップ2へ状態を遷移させ、
ここにあるコンタクタ(88)11の制御出力データ
“P”が抽出され、この“P”のデータに基づいた制御
出力信号がOFFからONへ変化される。That is, the process proceeds to a step (step 2 in this example) subsequent to the step (step 1 in this example) obtained by the above-described comparison pattern check processing (transition of steps). The data of the control output section is extracted from the program data section of the storage means 3. Then, a control output signal based on the extracted control output data is output from the output means 5 to the control target. In this example, the state is changed to the next step 2,
The control output data “P” of the contactor (88) 11 located here is extracted, and the control output signal based on this “P” data is changed from OFF to ON.
【0023】上述したように、本実施例の動作記述式プ
ログラマブルコントローラは、制御対象のプラントの状
態データを、制御手段6からのタイミング信号により一
定の周期で入力する入力手段1と、制御対象のプラント
の状態データと制御出力データとを関連付けて表わした
制御対象のプラントの動作を示すタイムチャートを複数
のステップに分割し、プラントの状態変化と当該状態変
化に続くプラントの状態とからなるデータテーブル形式
でプログラムデータとして作成するプログラミングツー
ル2と、被入力処理データ格納部、およびプログラミン
グツール2により作成されたプログラムデータを蓄える
プログラムデータ格納部を有する記憶手段3と、入力手
段1により入力された状態データについて入力処理を行
ない、前回状態データと今回状態データとの比較によ
り、状態変化があった状態データについては状変データ
を、また状態変化がなかった状態データについては今回
状態データを、被入力処理データとして記憶手段3の被
入力処理データ格納部に蓄える入力処理機能、被入力処
理データ格納部に蓄えられた被入力処理データとプログ
ラムデータ格納部に蓄えられたプログラムデータの全て
のステップとを比較し、一致したステップを抽出するパ
ターンチェック処理機能、および抽出されたステップに
続く次のステップに規定されている制御出力データをプ
ログラムデータ格納部より抽出する制御出力処理機能を
有する演算処理手段4と、演算処理手段4により抽出さ
れた制御出力データに対応する制御出力を、制御対象に
対して出力する出力手段5とから構成するようにしたも
のである。従って、次のような種々の効果が得られるも
のである。As described above, the operation description type programmable controller according to the present embodiment includes the input means 1 for inputting the state data of the plant to be controlled at a constant period by the timing signal from the control means 6, A data table that divides a time chart showing the operation of the plant to be controlled, which shows the state data of the plant and the control output data in association with each other, into a plurality of steps, and includes a state change of the plant and a state of the plant following the state change Storage means 3 having a programming tool 2 for creating program data in a format, an input processing data storage section, and a program data storage section for storing the program data created by the programming tool 2, and a state inputted by the input means 1 Performs input processing on the data and By comparing the current state data with the current state data, the state change data for the state data having the state change and the current state data for the state data having no state change are input to the storage means 3 as input processing data. The input processing function stored in the processing data storage unit, the input processing data stored in the input processing data storage unit is compared with all the steps of the program data stored in the program data storage unit, and the matched step is extracted. An arithmetic processing means 4 having a pattern check processing function and a control output processing function of extracting control output data defined in the next step following the extracted step from the program data storage unit; Output means 5 for outputting a control output corresponding to the control output data to the control target. In which was to so that. Therefore, the following various effects can be obtained.
【0024】(a)制御プログラムとして、制御対象の
プラントの動作を記述したタイムチャートをモディファ
イしたデータテーブルを用いているため、プラントの動
作仕様が決定すれば、プラント機器の動作と一対一対応
できるプログラムを、極めて容易に作成することが可能
となる。(A) Since a data table obtained by modifying a time chart describing the operation of the plant to be controlled is used as the control program, if the operation specifications of the plant are determined, it is possible to correspond one-to-one with the operation of the plant equipment. A program can be created very easily.
【0025】(b)タイムチャートをモディファイした
データテーブルは、プラントの状変と、その状変に続く
状態(ステータス)とに区分し、密接に関連付けてカッ
プリングしているため、状態の変化に対応する制御出力
を直ちに導くことが可能となると共に、プログラムデー
タのメンテナンス性に極めて優れている。(B) The data table obtained by modifying the time chart is divided into a state change of the plant and a state (status) following the state change, and is closely associated with the coupling. The corresponding control output can be immediately derived, and the maintenance of the program data is extremely excellent.
【0026】(c)タイムチャートをモディファイした
プログラムデータテーブル方式であるため、プラント制
御形態の変更も、データテーブル上のデータの変更、追
加、修正だけで済む。尚、本発明は上記実施例に限定さ
れるものではなく、次のようにしても実施できるもので
ある。(C) Since the program is a program data table system in which the time chart is modified, it is only necessary to change, add, or correct the data on the data table when changing the plant control mode. Note that the present invention is not limited to the above embodiment, but can be implemented as follows.
【0027】上記実施例において、例えばプログラミン
グツール2からタイムチャート読取機能を省略すること
により、設計者が状変とそれに続く状態(ステータス)
の区分をして入力してもよい。 [0027] In the above embodiments, for example, by Rukoto to omit time chart reading function from the programming tool 2, designers state change followed by a state (status)
May be input .
【0028】[0028]
【発明の効果】以上説明したように本発明によれば、制
御対象のプラントの動作とプログラムとを一意的に決定
してプログラムの設計を容易に行なうことができ、制御
対象のプラントの状態変化に対応する制御出力を直ちに
出力することが可能な極めて信頼性の高い動作記述式プ
ログラマブルコントローラが提供できる。As described above, according to the present invention, the operation of the plant to be controlled and the program can be uniquely determined to easily design the program, and the state change of the plant to be controlled can be easily achieved. An extremely reliable operation description type programmable controller capable of immediately outputting a control output corresponding to the above can be provided.
【図1】本発明による動作記述式プログラマブルコント
ローラの一実施例を示す機能ブロック図。FIG. 1 is a functional block diagram showing an embodiment of an operation description type programmable controller according to the present invention.
【図2】同実施例を説明するための仮想プラントモデル
とその動作仕様の一例を示す概要図。FIG. 2 is a schematic diagram showing an example of a virtual plant model for explaining the embodiment and its operation specifications.
【図3】同実施例を説明するためのタイムチャート図。FIG. 3 is a time chart for explaining the embodiment.
【図4】同実施例におけるタイムチャートとその分割方
法およびプログラムデータとの一例を示す相関図。FIG. 4 is a correlation diagram showing an example of a time chart, a division method thereof, and program data in the embodiment.
【図5】同実施例における入力処理方法を説明するため
の図。FIG. 5 is an exemplary view for explaining an input processing method in the embodiment.
【図6】同実施例におけるパターンチェック処理方法を
説明するための図。FIG. 6 is an exemplary view for explaining a pattern check processing method in the embodiment.
【図7】同実施例における制御出力処理方法を説明する
ための図。FIG. 7 is an exemplary view for explaining a control output processing method in the embodiment.
【図8】従来のラダーダイアグラムプログラムの一例を
示す図。FIG. 8 is a diagram showing an example of a conventional ladder diagram program.
1…入力手段、2…プログラミングツール、3…記憶手
段、4…演算処理手段、5…出力手段、6…制御手段、
7…ポンプ、8…下槽、9…上槽、10…電動機、11
…コンタクタ(88)、12…入力処理部、13…被入
力処理データ格納部。DESCRIPTION OF SYMBOLS 1 ... Input means, 2 ... Programming tool, 3 ... Storage means, 4 ... Operation processing means, 5 ... Output means, 6 ... Control means,
7: pump, 8: lower tank, 9: upper tank, 10: electric motor, 11
... contactor (88), 12 ... input processing unit, 13 ... input processing data storage unit.
Claims (1)
の周期で入力する入力手段と、 前記制御対象のプラントの状態データと制御出力データ
とを関連付けて表わした前記制御対象のプラントの動作
を示す予め設計されたタイムチャートが複数のステップ
に分割され、前記プラントの状態変化と当該状態変化に
続くプラントの状態とからなるデータテーブル形式に変
換されて入力されたプログラムデータを蓄えるプログラ
ムデータ格納部、および被入力処理データ格納部を有す
る記憶手段と、 前記入力手段により入力された状態データについて入力
処理を行ない、前回状態データと今回状態データとの比
較により、状態変化があった状態データについては状変
データを、また状態変化がなかった状態データについて
は今回状態データを、被入力処理データとして前記記憶
手段の被入力処理データ格納部に蓄える入力処理機能、
前記被入力処理データ格納部に蓄えられた被入力処理デ
ータと前記プログラムデータ格納部に蓄えられたプログ
ラムデータの全てのステップとを比較し、一致したステ
ップを抽出するパターンチェック処理機能、および前記
抽出されたステップに続く次のステップに規定されてい
る制御出力データを前記プログラムデータ格納部より抽
出する制御出力処理機能を有する演算処理手段と、 前記演算処理手段により抽出された制御出力データに対
応する制御出力を、前記制御対象に対して出力する出力
手段と、 を備えて成ることを特徴とする動作記述式プログラマブ
ルコントローラ。1. An input means for inputting state data of a plant to be controlled at a constant period, and an operation of the plant to be controlled, wherein the state data of the plant to be controlled is associated with control output data. The previously designed time chart is divided into a plurality of steps, and the time chart is converted into a data table format including a state change of the plant and a state of the plant following the state change.
Program data storage unit for storing program data entered is conversion, and storage means having the input processing data storage unit performs the input processing for the state data input by the input means, the previous state data and the current state As a result of comparison with the data, the status data having the status change is the status change data, the status data having no status change is the current status data, and the input process data storage section of the storage means is the input process data. Input processing function,
A pattern check processing function for comparing the input process data stored in the input process data storage unit with all the steps of the program data stored in the program data storage unit, and extracting a matched step; An arithmetic processing unit having a control output processing function of extracting control output data defined in the next step following the step performed from the program data storage unit, and corresponding to the control output data extracted by the arithmetic processing unit. An operation description type programmable controller, comprising: output means for outputting a control output to the control target.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28624191A JP2938246B2 (en) | 1991-10-31 | 1991-10-31 | Behavioral description programmable controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28624191A JP2938246B2 (en) | 1991-10-31 | 1991-10-31 | Behavioral description programmable controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05127708A JPH05127708A (en) | 1993-05-25 |
| JP2938246B2 true JP2938246B2 (en) | 1999-08-23 |
Family
ID=17701812
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28624191A Expired - Lifetime JP2938246B2 (en) | 1991-10-31 | 1991-10-31 | Behavioral description programmable controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2938246B2 (en) |
-
1991
- 1991-10-31 JP JP28624191A patent/JP2938246B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05127708A (en) | 1993-05-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11809697B2 (en) | Procedure for configuring a modular safety switching device | |
| US6173208B1 (en) | Method for generating control codes for use in a process control system | |
| WO2001063370A1 (en) | System and method for monitoring a control process in a process plant | |
| US20170083017A1 (en) | Ladder diagram monitoring device capable of additionally displaying operation situation of cnc in comment | |
| JP2938246B2 (en) | Behavioral description programmable controller | |
| US5621639A (en) | Process control | |
| JPH02310604A (en) | Picture data display system | |
| JPH03223901A (en) | Semiconductor manufacturing equipment | |
| JPH10124443A (en) | Plant control system | |
| JP4032799B2 (en) | Hot stove control software | |
| JP2020149520A (en) | Control systems, control methods, and control programs | |
| KR100423742B1 (en) | Exclusive control system by sequential function chart | |
| EP0474725B1 (en) | Process control | |
| US20230134007A1 (en) | Support device, non-transitory computer-readable storage medium, and support method | |
| JP2507616B2 (en) | Data non-editing display method | |
| JPH10149208A (en) | Program comparison method and controller program creation device | |
| JPH0643906A (en) | Fuzzy controller | |
| JPS6218054B2 (en) | ||
| JPH0520151A (en) | Data changing system | |
| JPH0410032A (en) | Expert system | |
| JPH07271287A (en) | Plant simulator and method for setting initial state thereof | |
| JPH04211825A (en) | Program creation device | |
| JPH01124001A (en) | Robot control system | |
| JPH02187804A (en) | Engineering device | |
| CN116300669A (en) | General simulation system for analog signal of marine control box |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090611 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 10 Free format text: PAYMENT UNTIL: 20090611 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100611 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 11 Free format text: PAYMENT UNTIL: 20100611 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 12 Free format text: PAYMENT UNTIL: 20110611 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 13 Free format text: PAYMENT UNTIL: 20120611 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120611 Year of fee payment: 13 |